A method and device for processing Internet of things log based on hadoop platform

A technology of the Internet of Things and logs, applied to database models, file system types, electrical components, etc., can solve the problems of large amount of log information and poor log analyzability, and achieve the effect of enhanced analyzability

Active Publication Date: 2019-09-17
TCL CORPORATION
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the logs output by the existing Hadoop platform-based Internet of Things log processing solutions not only have a large amount of information, but also contain various types of log information. The analyzability is poor. If the business needs to periodically output the analysis results, the above-mentioned processing scheme of the IoT log cannot meet this demand.

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for processing Internet of things log based on hadoop platform
  • A method and device for processing Internet of things log based on hadoop platform
  • A method and device for processing Internet of things log based on hadoop platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the objectives, technical solutions, and beneficial effects of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0024] The embodiment of the present invention provides an IoT log processing method based on a Hadoop platform. The method includes: configuring a log format of the IoT log and collecting the IoT log according to the configured log format, and the log format is an IoT log. The log includes a separator, a category identification string and a log content string separated by the separator; the collected IoT logs are classified and aggregated according to the category identified by the category identification string, and the categories are aggregated The storage path of the subsequent I...

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 an Internet of things log processing method and device based on a Hadoop platform, and aims at improving the analyzability of logs output by a system and meeting the periodic output requirement of report forms of service. The method comprises the steps that the log format of Internet of things logs is configured, and the Internet of things logs are collected according to the configured log format; classification and aggregation are conducted on the collected Internet of things logs according to categories identified by category identification character strings, and storage paths of the Internet of things logs subjected to classification and aggregation are recorded to a log memo sheet; the log memo sheet is periodically updated, or the Internet of things logs, needing to form a data report form, in the Internet of things logs subjected to classification and aggregation are loaded to a date partition of a hive sheet. According to the Internet of things log processing method and device based on the Hadoop platform, the analyzability of the output logs is significantly enhanced, and the service requirement for periodically outputting the analysis results can be met.

Description

Technical field [0001] The invention belongs to the field of data storage, and in particular relates to a method and device for processing Internet of Things logs based on a Hadoop platform. Background technique [0002] With the rapid development of the Internet of Things, more and more devices are connected to the Internet of Things, making the data generated by users, applications, and devices show a trend of rapid growth. The emergence of massive data and the complexity and change of data structures give the Internet of Things server End management and data analysis and processing have brought huge challenges. On the other hand, these data, such as the user's operating habits, equipment (refrigerators, washing machines, air conditioners, etc.) of the water use records, electricity consumption records, etc., often require a long storage period to mine user behavior data , Make smart recommendations. With the increase in the number of users and device connections, the demand ...

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): G06F16/18G06F16/28H04L29/08
Inventor 廖召正
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products