Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time stream data processing method and system for smart city

A data processing system and data processing technology, applied in the field of data processing, can solve problems such as high concurrency of the server, data delay, and reduced analysis ability of the Logstash acquisition module, so as to reduce the pressure of data transmission, provide stable data, and improve high concurrent access Effects on Sex and Usability

Inactive Publication Date: 2019-01-25
中国东盟信息港股份有限公司
View PDF5 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Data analysis is only based on the data of the government business system, the data source is single, the social reality reflected by the data lacks a three-dimensional sense, and the purpose of using big data technology to promote the development of smart cities cannot be realized;
[0005] 2. The throughput of a large amount of data will reduce the analysis ability of the Logstash collection module, consume large resources, slow the transmission speed, and there is a possibility of data loss;
[0006] 3. As a streaming computing framework, Spark Streaming is actually a "micro-batch" processing form, which cannot form a real streaming computing, and the real-time performance of data will be slowly reduced, which will cause problems such as data delay and data transmission cannot be synchronized ;
[0007] 4. HTTP is a non-persistent protocol, and the Ajax polling method needs to continuously establish connections to obtain data, and needs to continuously call server resources. The server faces the danger of high concurrency and consumes a lot of resources, and the real-time performance is relatively poor.

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
  • Real-time stream data processing method and system for smart city
  • Real-time stream data processing method and system for smart city

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The specific implementation of the invention will be further described below in conjunction with the accompanying drawings.

[0036] Such as figure 1 , figure 2 As shown, the real-time streaming data processing method of smart city includes the following steps:

[0037]S1. The data terminal feeds back source data information in real time. The source data information includes user behavior information, wireless Wi-Fi device status data, official account operation data and Internet industry-related data, and judges whether the data is real-time streaming data or non-real-time streaming data according to the type If the data is real-time streaming data, start the Flume module in the data collection module 1 to collect data and build a big data resource pool. Read the data information through the rule engine and find the corresponding location file, start the Flume module in the data collection module 1 to collect data.

[0038] The rule engine sets job scheduling and d...

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 discloses a real-time stream data processing method and system of a smart city. The method comprises the steps of data collection, data type classification, data cleaning, data calculation and analysis, data display, data persistence storage and the like. The invention sets up a data collection module in the mode of mainly using Flume and supplemented by API collection, and utilizeschannel to carry out data persistence, so as to ensure reliability in the process of data transmission. Using Kafka as a stream processing platform and introducing the fault-tolerant mechanism of Flink to consume Kafka data in high level, the real real-time stream data processing can be realized, which can support millisecond-level computation. In addition, perfect window support of Flink providesmore perfect window aggregation computation API than Storm. Finally, WebSocket is used to establish the connection channel between a server and a Web end to provide real-time data service, reduce thepressure of data transmission, and improve the high concurrent access and availability of the system.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and system for processing real-time stream data of a smart city. Background technique [0002] Among the existing smart city big data solutions, the batch processing system based on government business system data is the mainstream, and Logstash is often used as the collection tool, and Spark Streaming or Storm is used as the streaming computing framework, and finally the computing results are sent through the HTTP protocol. Send it to the web front end, and the web front end will display the page. Among them, Logstash can realize data transmission, format processing, formatted output, and powerful plug-in functions, which are often used for log processing. [0003] With the development of technology and the popularization of applications, the amount of data in smart cities is increasing day by day. The following problems will arise in the adoption of the above ...

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 Applications(China)
IPC IPC(8): G06F16/2455G06F16/215
Inventor 林僚张超婧韦建福梁冬明蒋莉芳鲁东亮李珩李昌金
Owner 中国东盟信息港股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products