Data collection and transmission method, device and electronic equipment
A technology of data acquisition and transmission method, applied in the field of data processing, can solve problems such as poor reliability, and achieve the effect of alleviating poor reliability and improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 A flow chart showing a data collection and transmission method, such as figure 1 As shown, the method specifically includes the following steps:
[0030] Step S12, counting the total number of bytes of data collected by the source component in the Flume system within a preset time period.
[0031] Conventional Flume data acquisition frameworks such as figure 2As shown, Flume uses agent as the smallest independent operating unit. An agent is mainly composed of three components: source component, channel component and sink component. The source component is mainly responsible for collecting data from the data source and placing the collected data in the channel component. Among them, the channel component simply caches the data, the sink component obtains data from the channel component, and sends the acquired data to an external storage device, and the source component encapsulates each piece of data into an event during the process of collecting data Messag...
Embodiment 2
[0070] The embodiment of the present invention also provides a data collection and transmission device, the data collection and transmission device is mainly used to implement the data collection and transmission method provided in the first embodiment above, and the data collection and transmission device provided by the embodiment of the present invention will be described in detail below.
[0071] Figure 4 It is a functional block diagram of a data collection and transmission device provided by an embodiment of the present invention, as shown in Figure 4 As shown, the device mainly includes: a statistical module 10, a judgment module 20, a first control module 30, and a sending module 40, wherein:
[0072] The statistical module 10 is used to count the total number of bytes of data collected by the source component in the Flume system within a preset time period.
[0073] A judging module 20, configured to judge whether the sum of the bytes exceeds a preset threshold.
...
Embodiment 3
[0094] see Figure 5 , the embodiment of the present invention provides an electronic device, the electronic device includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, the processor 60, the communication interface 63 and the memory 61 are connected through the bus 62; the processor 60 is used to execute executable modules, such as computer programs, stored in memory 61 .
[0095] Wherein, the memory 61 may include a high-speed random access memory (RAM, RandomAccessMemory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used.
[0096] The bus 62 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be d...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com