Unlock instant, AI-driven research and patent intelligence for your innovation.

A distributed system data collection method and data signature generation method

A distributed system and data collection technology, applied in the transmission system, digital transmission system, digital data protection, etc., can solve the problems of information collection that cannot be distributed, and the overall bandwidth, performance, and data loss of the distributed system. Achieve the effect of maximum preservation of the log system

Active Publication Date: 2021-01-05
CHENGDU GUOSHENG TIANFENG NETWORK TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It can be seen that although various existing data acquisition modules can realize the output of monitoring information, they are relatively simple in design.
It is impossible to collect distributed information together, nor can it guarantee the safety and reliability of information, nor can it control the flow according to the overall status of the system. Therefore, in the real-time operation of the application system, if a large amount of data write requests suddenly appear, it will inevitably lead to performance bottlenecks , ranging from data loss to system failure
Moreover, the distributed system has a complexity that cannot be compared with a single computer, and network bandwidth resources are even more important. How to help the monitoring system accurately find the fault site among a large number of servers, these traditional data collection methods are also incompetent
[0007] To sum up, although there are many monitoring data asynchronous collection systems, they cannot provide a safe and stable solution based on the overall bandwidth and performance of the distributed system, and the defects are obvious.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0049] A distributed system data collection method, the specific method is:

[0050] After the application system is started, a separate data acquisition module thread is initialized to be responsible for the data output of the application system; each time the application system calls the data acquisition interface, it calls a write thread and immediately returns the write request; the write thread calls the operating system The file read and write interface, write the data to the configured local disk directory;

[0051] Every certain set time through the file operation interface, query all the files under the configured destination disk directory. If the content in the file is updated, it will be split into two or more parts according to the configuration according to the flow control logic. Each Some call the encryption function separately, encrypt the data and report it;

[0052] The flow control logic is: according to the maximum transmission unit (MTU) configured by th...

specific Embodiment 2

[0071] On the basis of the specific embodiment 1, the method further includes: initializing a single thread of the data collection module through a singleton mode, which can avoid resource overhead caused by concurrency, and at the same time avoid data conflicts that may be caused by concurrency.

specific Embodiment 3

[0073] On the basis of the specific embodiment 1 or 2, said encrypting the data and then reporting is to send the data to the central data bus through the TCP network communication protocol after encrypting the data.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a distributed system data collection method. The method is characterized in that updated file contents are divided into more than 2 parts according to a flow control logic and configurations, an encryption function is called for each part, and data is encrypted and then reported, wherein the flow control logic is as follows: all the data to be reported is segmented accordingto the maximum transmission unit (MTU) configured by a user, a signature function is then called for each segment, and signatures are generated for the data and added to the end of the data. Comparedwith the prior art, the distributed system data collection method provided by the invention has the advantages that distributed data collection can be guaranteed without excessive pressure on a system bandwidth, a log system can be preserved to the largest extent, and a certain degree of information security guarantee can be further provided.

Description

technical field [0001] The invention relates to a method for collecting data in a distributed system and a method for generating a data signature, in particular to a method for collecting data in a distributed system and a method for generating a data signature suitable for collecting a large amount of data. Background technique [0002] With the expansion of the scale of Internet enterprises, the amount of data and data sources they face will increase exponentially, and the complexity of the system will also rise sharply. The corresponding demand for safe data collection will also greatly increase. [0003] Today's mainstream monitoring data acquisition framework more or less draws on the design concept of the Log4j library. Log4j implements a Java-based data logging tool framework, which was originally designed and developed by Ceki, and has now become an open source project of Apache. Three important concepts are defined in Log4j, namely Logger, Appender and Layout: Logg...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/32H04L9/08H04L9/06H04L29/06G06F21/62
CPCG06F21/6218G06F2221/2151H04L9/0643H04L9/0861H04L9/3247H04L9/3297H04L63/0428
Inventor 胡怀勇
Owner CHENGDU GUOSHENG TIANFENG NETWORK TECH CO LTD