A data transmission method and system based on project Reactor framework

A data transmission system and data technology, applied in transmission systems, electrical components, etc., can solve the problems of cumbersome NIO programming or Netty framework interfaces, poor network communication capabilities, etc., and achieve efficient data concurrent processing, reducing blocking waiting, and efficient transmission Effect

Active Publication Date: 2022-08-05
HUAZHONG NORMAL UNIV
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the defects of the prior art, the object of the present invention is to provide a data transmission method and system based on the Project Reactor framework, aiming to solve the problem that the existing data transmission method uses NIO programming or the Netty framework interface is relatively cumbersome and the network communication capability is 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
  • A data transmission method and system based on project Reactor framework
  • A data transmission method and system based on project Reactor framework
  • A data transmission method and system based on project Reactor framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below 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.

[0039] The invention relates to the technical field of data collection, and solves the collection and storage of large-scale and highly concurrent sensor data. The invention discloses a sensor data acquisition method based on a project Reactor framework, which is divided into two parts: a device-side program and a cloud platform. The device-side program is used to connect the sensor device, obtain the data information collected by the sensor, and then establish a TCP connection with the cloud platform of the present invention, and use the MQTT protocol for data transmission. The cloud pla...

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 data transmission method and system based on the Project Reactor framework, including: the device side obtains the data detected by the sensor in real time, and sends the data detected by the sensor in real time to the data acquisition engine of the cloud platform; the data of the device side and the cloud platform The MQTT protocol is used for communication between the acquisition engines; the data acquisition engine of the cloud platform is constructed using the Project Reactor framework; the data acquisition engine of the cloud platform uses Reactive Spring Cloud Stream to construct a responsive message communication component, and sends the data detected by the sensor in real time to the Kafka message The middleware forwards the real-time detection data of the sensors in the Kafka message middleware to the big data platform or database; the data collection engine of the cloud platform uses Spring Reactive Data to build a responsive data access component, and forwards the real-time detection data of the sensors in the Kafka message middleware to the big data platform or database. MongoDB. The present invention is more efficient in the transmission of data.

Description

technical field [0001] The invention belongs to the technical field of data acquisition, and more particularly, relates to a data transmission method and system based on a Project Reactor framework. Background technique [0002] Chinese invention application CN201210228761.3 discloses a simple and efficient socket communication framework based on nio. It adopts an architecture mode in which the TCP connection establishment part and the IO read and write processing part are separated. In the IO read and write part, a message buffer queue is designed to improve the efficiency of read and write. But using the nio programming interface is cumbersome. [0003] Chinese invention application CN201610993370.9 discloses a large-scale concurrent data forwarding method based on Netty, including the construction of a data receiver and a transponder. The data receiver is mainly responsible for receiving data information from a remote host, and the data transponder is mainly responsible...

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): H04L67/562H04L67/141H04L67/01
CPCH04L69/26H04L67/141H04L67/562
Inventor 杨宗凯张立山侯恩硕陈宇飞王姝文刘丽丽戴志诚
Owner HUAZHONG NORMAL UNIV
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