Internet of Things message service system

A message service and Internet of Things technology, applied in the field of data gateway service and data queue service, can solve the problems that the broadcast system cannot support massive terminals, diverse protocols, and massive data communication, so as to achieve long-term non-stop operation, improve usability and The effect of throughput

Active Publication Date: 2017-03-22
NORTH CHINA UNIVERSITY OF TECHNOLOGY
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to solve the problem that the current broadcast system cannot support massive terminals, diverse protocols and massive data communication, and provide a system that supports high-throughput distributed broadcast services under the Internet of Things environment

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
  • Internet of Things message service system
  • Internet of Things message service system
  • Internet of Things message service system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] In a specific embodiment, the system provided by the present invention can be provided with three parts, combining figure 1 Describe in detail the various parts of the IoT message service system. in:

[0038] The gateway service included in the invention accepts terminal connection requests, realizes load balancing among distributed systems, manages asynchronous connection channels, manages thread pools, and guarantees availability. Among them, load balancing can be realized based on Apache or Nginx; asynchronous channel can be realized based on EPoll or Java NIO; thread pool can be realized based on Netty.

[0039] The queue service contained in the present invention authenticates the identities of the sending and receiving parties, maintains the queue, persists the data, and performs data preprocessing. Among them, identity authentication can be based on encrypted / decrypted user name and password identification, commonly used encryption methods include Base64 and MD...

Embodiment 2

[0042] combine figure 2 , in a specific embodiment, the asynchronous communication mode of the IoT message service system of the present invention is described.

[0043]The asynchronous communication of the Internet of Things message service system of the present invention exists between the listening thread, the working thread and the event service. The listening thread of the networked message service system is used to monitor connection requests, and is responsible for opening service channels, binding service addresses and ports, registering channels and monitoring connection requests. After discovering the connection request, the listening thread dispatches the connection request to a specific worker thread for subsequent service. The working thread of the networked message service system is the thread actually used for data sending and receiving and processing. It is responsible for creating a handle, accepting the connection request after activation, and sending the r...

Embodiment 3

[0046] combine image 3 , in a specific embodiment, the thread model of the IoT message service system of the present invention is described.

[0047] The thread model of the Internet of Things message service system of the present invention actually includes two thread pools, one listening thread pool and one working thread pool. Wherein, the listening thread pool is a collection of listening threads described in Embodiment 2, and is configured according to predetermined parameters after the networked message service system is started. The asynchronous channel registered by the service will trigger the selection of listening threads and activate specific listening threads. The default number of threads in the listening thread pool is twice the number of CPU cores of the current server. The worker thread pool is a collection of worker threads described in Embodiment 2. When a specific listening thread dispatches a connection request, selection of a worker thread and activati...

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 message service system, including a gateway service module used for maintenance and guarantee of connection between the system and a terminal, a queue service module used for data buffering and persistence and data pretreatment, and a configuration service module used for configuration and edition of customized protocols, configuration and definition of data structures and maintenance of configuration files. The Internet of Things message service system can adapt to message service under various conditions, improve the availability and the throughput in large-scale data broadcasting, and achieve long-time non-stop operation.

Description

technical field [0001] The invention relates to the field of network communication and parallel computing, specifically, a data gateway service and a data queue service oriented to the message service of the Internet of Things. Background technique [0002] With the continuous improvement of Internet of Things technology, many business fields generate massive and real-time data, and different fields have their own needs for data processing. The current Internet of Things data is gradually dominated by continuous and real-time streaming data. The analysis and utilization of large-scale, multivariate, and heterogeneous data is based on the premise that the data can be accessed, so the broadcast technology for Internet of Things big data has become a technical trend , and higher technical performance indicators have also become a challenge for system implementation. [0003] The number of sensors in the business field is growing exponentially. Changes in business requirements ...

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
IPC IPC(8): H04L29/06H04L29/08G06F9/50
CPCG06F9/5038G06F9/5083H04L63/08H04L67/1004H04L67/1095H04L67/1097H04L67/30
Inventor 丁维龙赵卓峰乔通曹娅琪胡雅鹏
Owner NORTH CHINA UNIVERSITY OF TECHNOLOGY
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