Data acquisition and transmission method and 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 of a data acquisition and transmission method is shown, such as figure 1 As shown, the method specifically includes the following steps:
[0030] Step S12, count 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 collection frameworks such as figure 2As shown, Flume uses agent as the smallest independent running 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. , the channel component simply caches the data, the sink component obtains data from the channel component, and sends the obtained data to an external storage device, where the source component encapsulates each piece of data into an event during the process of collecting data A message, an e...
Embodiment 2
[0070] An embodiment of the present invention further provides a data acquisition and transmission device, which is mainly used to execute the data acquisition and transmission method provided in the above-mentioned first embodiment.
[0071] Figure 4 is a functional block diagram of a data acquisition and transmission device provided by an embodiment of the present invention, such as Figure 4 As shown, the device mainly includes: a statistics module 10, a judgment module 20, a first control module 30, and a transmission module 40, wherein:
[0072] The statistics module 10 is configured to count the total number of bytes of data collected by the source component in the Flume system within a preset time period.
[0073] The judgment module 20 is used for judging whether the sum of the number of bytes exceeds a preset threshold.
[0074] The first control module 30, if yes, controls the source component to send an event message to the channel component in the Flume system, ...
Embodiment 3
[0094] see Figure 5 , an 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] The memory 61 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), which may use the Internet, a wide area network, a local area network, a metropolitan area network, and the like.
[0096] The bus 62 may be an ISA bus, a PCI bus, an EISA bus, or the l...
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