A system implementation method for data storage and push of a large number of devices in the Internet of Things system

An Internet of Things system and data storage technology, applied in the field of data storage and push, can solve problems such as database system performance bottlenecks, reduce concurrent write operations, facilitate analysis and statistics, and improve system performance.

Active Publication Date: 2021-04-23
武汉慧联无限科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, there are a large number of concurrent insert and modify operations on the push-data table. With the increase of device data, the database will become more and more the bottleneck of system performance.

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 system implementation method for data storage and push of a large number of devices in the Internet of Things system
  • A system implementation method for data storage and push of a large number of devices in the Internet of Things system
  • A system implementation method for data storage and push of a large number of devices in the Internet of Things system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be described in further detail below, so that those skilled in the art can implement it with reference to the description.

[0023] The present invention provides a system implementation method for data storage and push of a large number of devices in the Internet of Things system, comprising the following steps:

[0024] Step 1: Build the database table structure, including device-topic table, push-data table, okhttp-push table, company url address table;

[0025] Step 2: According to the different recipients to which the device data will be sent, each device is divided into the group topic it belongs to, and the corresponding relationship between the device and the group it belongs to is inserted into the device-topic relationship table;

[0026] Step 3: For the data collected from the device, according to the device dev-eui from which the data comes, determine the topic parameter of the data through the device-topic table, and then insert 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 discloses a system implementation method for data storage and push of a large number of devices in the Internet of Things system, including the following steps: Step 1: respectively divide each device into the group to which it belongs; Step 2: query according to the source of the data collected from the device device-topic table, get the group topic to which the data belongs, and then insert it into the push-data table; Step 3: Establish a mapping relationship between topic and url, and insert it into the okhttp-push table; Step 4: Use okhttp-push The value of topic and mid in each row in the push table is used to query the push-data table, and the data under the topic that has not been successfully received by the user corresponding to the url address is sent sequentially with okhttp; step 5: through the response data of okhttp , to determine whether the user has successfully received the push message, and if it is successfully received, update the mid corresponding to the topic and url in the okhttp‑push table. The present invention realizes storing a large amount of data collected from various devices, such as gateway devices, terminal nodes and other arbitrary devices, in a database, and pushing them to each user.

Description

technical field [0001] The invention relates to the technical field of data storage and pushing. More specifically, the present invention relates to a system implementation method for data storage and push of a large number of devices in the Internet of Things system. Background technique [0002] In the Internet of Things system, there are a large number of various types of equipment, and a large amount of data gathered from various types of equipment needs to be stored in the database and pushed to each user by category. The traditional implementation method is to bind each piece of data collected from the device to the url address to be pushed, and then insert it into the database. When the same piece of data is to be pushed to several different url addresses, several records with the same message content need to be inserted into the push data table push-data, that is, the total number of records in the database is equal to the number of messages multiplied by the number...

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): H04L29/08
CPCH04L67/1097H04L67/12H04L67/55
Inventor 陈文韬吴波
Owner 武汉慧联无限科技有限公司
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