Data transmission communication method and system based on Internet of Things
A technology of data transmission and communication methods, applied in the field of Internet of Things, can solve the problems of complicated docking, heavy workload, low efficiency, etc., and achieve the effect of reducing docking costs, improving efficiency, and reducing communication errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Please refer to figure 1 , figure 2 and image 3 , the present invention provides a data transmission and communication method based on the Internet of Things, which is suitable for data transmission and communication of Internet of Things devices.
[0037] Such as image 3 As shown, the method may include the following steps:
[0038] S1: Preset a table of key-value pairs, which records the correspondence between custom field codes and communication data names.
[0039] The key-value pair table, also known as key-value table, is referred to as kv table in this embodiment. The kv table includes custom field codes and corresponding communication data names and descriptions. Among them, all field codes are not repeated, and all communication data that needs to be involved in device transmission are defined in the table; at the same time, it supports custom expansion of the content of the table according to the needs of device data transmission. Through the key-valu...
specific example
[0041]
[0042]
[0043] Table I
[0044] S2: The first Internet of Things device generates a communication message according to the key-value pair table, and sends it to the second Internet of Things device, the communication message includes a packet header and a data packet, and the packet header includes a message type, so The above data packet includes communication data and message sequence number.
[0045] Specifically, when the first Internet of Things device and the second Internet of Things device have communication transmission requirements, the first Internet of Things device will generate a specific communication message according to the definition in the kv table. In this embodiment, the generated communication message at least includes: a packet header and a data packet body (that is, a data packet). Wherein, the message category is recorded in the packet header; the data packet includes communication data and message serial number; and, the data format o...
Embodiment 2
[0058] This embodiment further expands on the basis of the first embodiment, and provides a data transmission method between IoT devices. The device refers to the Internet of Things device; the two ends of the communication docking can be between the client and the server, such as the lower computer device and the server, or the lower computer device and the upper computer device. The network used can be 2G, 3G, 4G, 5G, Wi-Fi, wired network, etc.
[0059] First, develop a data transfer protocol (HIOTP). Such as figure 2 As shown, the protocol does not depend on the specific physical communication method, and is further encapsulated on the UDP or TCP protocol. It is a data exchange protocol at the application layer. This protocol is especially suitable for information transmission of short text messages (such as voltage, current, etc.).
[0060] The data transfer protocol consists of two parts:
[0061] (1) Set the kv table in advance. For the kv table, refer to the descri...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com