CN111641717A - Management method of node data in Internet of things system - Google Patents

Management method of node data in Internet of things system Download PDF

Info

Publication number
CN111641717A
CN111641717A CN202010484421.1A CN202010484421A CN111641717A CN 111641717 A CN111641717 A CN 111641717A CN 202010484421 A CN202010484421 A CN 202010484421A CN 111641717 A CN111641717 A CN 111641717A
Authority
CN
China
Prior art keywords
node
business card
nodes
card file
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010484421.1A
Other languages
Chinese (zh)
Other versions
CN111641717B (en
Inventor
林孝康
张文通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Gaokai Qingxin Zhilian Network Technology Co ltd
Original Assignee
Chongqing Gaokai Qingxin Zhilian Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Gaokai Qingxin Zhilian Network Technology Co ltd filed Critical Chongqing Gaokai Qingxin Zhilian Network Technology Co ltd
Priority to CN202010484421.1A priority Critical patent/CN111641717B/en
Publication of CN111641717A publication Critical patent/CN111641717A/en
Application granted granted Critical
Publication of CN111641717B publication Critical patent/CN111641717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The invention relates to a method for managing node data in an Internet of things system, which comprises the following steps: packaging the data of each node according to a standardized format to obtain a business card file of each node, and correspondingly storing the business card files; exchanging the business card files among the nodes, so that the business card files of the set nodes are stored in the node state information table in each node; and carrying out dynamic interaction among the nodes according to the node state information table, and executing corresponding actions. The invention directly transmits data among the nodes, thereby improving the transmission efficiency.

Description

Management method of node data in Internet of things system
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method for managing node data in an Internet of things system.
Background
With the continuous progress of information technology, the internet of things industry is rapidly developing, and various internet of things terminal products are increasingly abundant in the consumer market. However, the internet of things terminals from different equipment manufacturers or different batches and different models of the same manufacturer often cannot directly interact or share data among the equipment terminals due to the fact that the service data format packaging standards are not uniform or the software and hardware interfaces are not uniform. The range of product choices for consumers is therefore somewhat limited. The homologous barriers between the devices can cause that the terminal node cannot perform efficient data transmission, sharing and management with other non-homologous nodes, and also cause that the nodes lack effective management on data, cannot fully mine system and environment state information, and can execute corresponding operations in time.
Disclosure of Invention
The invention aims to provide a method for managing node data in an Internet of things system, so that efficient data transmission, sharing and management can be performed among nodes.
In order to achieve the purpose, the invention provides the following scheme:
a management method for node data in an Internet of things system comprises the following steps:
packaging the data of each node according to a standardized format to obtain a business card file of each node, and correspondingly storing the business card files;
exchanging the business card files among the nodes, so that the business card files of the set nodes are stored in the node state information table in each node;
and carrying out dynamic interaction among the nodes according to the node state information table, and executing corresponding actions.
Preferably, the standardized format is specifically:
based on the national standard of the Internet of things, regarding the content related to the national standard of the Internet of things, deleting and/or supplementing according to the actual use scene by using the format in the national standard of the Internet of things; and for the content which is not related in the national standard of the Internet of things, performing extension design according to an actual use scene by taking the national standard of the Internet of things as a reference.
Preferably, the exchanging of the business card files among the nodes is performed so that the business card file of the set node is stored in the node state information table in each node, and specifically includes:
when the transmission protocol is UDP, each node sends a broadcast message containing the business card file to a set node in a broadcast mode, so that the business card file of the set node is stored in a node state information table in each node;
when the transmission protocol is TCP, each node broadcasts a testability message to a set node, the set node responds after receiving the testability message, each node acquires IP address information/MAC address information of the set node and establishes connection, and each node sends a data packet containing the business card file to the set node through the connection, so that the business card file of the set node is stored in a node state information table in each node.
Preferably, the business card files in the data packet are business card files only including self nodes or business card files including self nodes and business card files including set nodes;
the business card file in the broadcast message is the business card file only comprising the node of the business card file or the business card file comprising the node of the business card file and the set node of the business card file.
Preferably, each node is provided with a C-IoT module, and the exchange and dynamic interaction of the business card files are performed between the nodes through the C-IoT modules.
Preferably, the method further comprises:
and updating the business card file of each node, and updating the business card file of the set node stored in the node state information table in each node.
Preferably, the connection is a connection established by a three-way handshake.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention relates to a method for managing node data in an Internet of things system, which comprises the following steps: packaging the data of each node according to a standardized format to obtain a business card file of each node, and correspondingly storing the business card files; exchanging the business card files among the nodes, so that the business card files of the set nodes are stored in the node state information table in each node; and carrying out dynamic interaction among the nodes according to the node state information table, and executing corresponding actions. The invention directly transmits data among the nodes, thereby improving the transmission efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flow chart of a method for managing node data in an Internet of things system according to the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a method for managing node data in an Internet of things system, so that efficient data transmission, sharing and management can be performed among nodes.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a flowchart of a method for managing node data in an internet of things system according to the present invention, and as shown in fig. 1, the present invention provides a method for managing node data in an internet of things system, including:
and packaging the data of each node according to a standardized format to obtain a business card file of each node, and correspondingly storing the business card files. The standardized format specifically includes:
based on the national standard of the Internet of things, regarding the content related to the national standard of the Internet of things, deleting and/or supplementing according to the actual use scene by using the format in the national standard of the Internet of things; and for the content which is not related in the national standard of the Internet of things, performing extension design according to an actual use scene by taking the national standard of the Internet of things as a reference.
In the embodiment, an air conditioner is taken as an example, and the designed business card file is as shown in table 1.
TABLE 1 name card file of air conditioner
Figure BDA0002518498540000031
Figure BDA0002518498540000041
And exchanging the business card files among the nodes, so that the business card files of the set nodes are stored in the node state information table in each node.
The set nodes are all nodes except self nodes in the current Internet of things system or a plurality of nodes set in the current Internet of things system.
Specifically, when the transmission Protocol is a User Datagram Protocol (UDP), each node sends a broadcast packet including the business card file to a set node in a broadcast manner, so that the node state information table in each node stores the business card file of the set node.
When the Transmission Protocol is a Transmission Control Protocol (TCP), each node broadcasts a testability packet to a set node, the set node receives the testability packet and then responds, each node obtains IP address information/MAC address information of the set node and establishes a connection, and each node sends a data packet containing the name card file to the set node through the connection, so that the name card file of the set node is stored in a node state information table in each node. In this embodiment, the connection is established through three-way handshake.
As an optional implementation manner, the business card file in the data packet of the present invention is a business card file that only includes its own node or a business card file that includes both its own node and a set node.
The business card file in the broadcast message is the business card file only comprising the node of the business card file or the business card file comprising the node of the business card file and the set node of the business card file.
Specifically, the method is actually selected according to the link quality, for example, if the link quality of a certain node is poor, only the business card file of the node is sent; if the network quality of a certain node is particularly poor and data cannot be sent, the business card file of the node with particularly poor network quality needs to be sent out by other certain nodes.
And generating corresponding instructions according to a service logic rule determined by user requirements, performing dynamic interaction among the nodes according to the node state information table, and executing corresponding actions.
As an optional implementation manner, each node of the present invention is provided with a cellular internet of Things (C-IoT) module, and the exchange of the business card files and the transmission of instructions are performed between the nodes through the C-IoT module.
As an optional embodiment, the method of the present invention further comprises:
and updating the business card file of each node, and updating the business card file of the set node stored in the node state information table in each node.
The specific update conditions include:
and updating after adding or deleting nodes in the Internet of things system.
And updating after dynamic interaction.
And setting an updating period and updating according to the updating period.
The technical scheme described in the application is specifically described below by taking an intelligent home as an example.
The intelligent home Internet of things system comprises 4 nodes, wherein the node 1 is a temperature sensor, the node 2 is an air conditioner, the node 3 is a curtain, and the node 4 is a light intensity sensor.
Before the system initially operates, the data of each node is packaged by 4 nodes according to GB/T-35143 Internet of things intelligent home data and equipment codes, and a business card file of each node is obtained.
Each node broadcasts a testability message to other nodes, the other nodes respond after receiving the testability message, each node acquires IP address information/MAC address information of the other nodes, connection is established through three-way handshake, each node sends a name card file to the other nodes through the connection, and the node state information table in each node stores the name card files of the other nodes.
The temperature sensor senses that the ambient temperature changes, generates a corresponding instruction and sends the instruction to the air conditioner, and the air conditioner enables the ambient temperature to return to the preset range by adjusting the self setting, so that the intelligent home system is in the set stable state. After the air conditioner adjusts the self setting, the parameters are changed, the business card files need to be updated, and the business card files of the air conditioners in the other nodes are updated through the updating method.
The light intensity sensor senses that the light intensity of the surrounding environment changes, corresponding instructions are generated and sent to the curtain, and the curtain enables the light intensity of the surrounding environment to return to the preset range by adjusting the state of the curtain, so that the intelligent home system is in the set stable state. After the state of the air conditioner is adjusted by the initial bar, the parameters are changed, the business card files need to be updated, and the business card files of the air conditioners in the other nodes are updated through the updating method.
If the node 5 is newly added during the operation of the system, the business card file of the node 5 is obtained according to the method, and the node state information table in each node is updated through the method.
Aiming at the traditional scheme, the invention provides a novel node data management method in a communication chip protocol layer operating system in an auxiliary Internet of things terminal communication module based on a distributed decentralized architecture. Information including node state information, operation instructions and the like is packaged into a node business card file through a unified service data format, and specific processes in three aspects of data storage, data updating and data transmission are designed on the basis. The invention solves the problems that non-homologous equipment from different equipment manufacturers or different product models are difficult to directly interconnect and intercommunicate, so that the information sharing is difficult, the interoperability is poor and the data cooperation among the nodes is difficult to realize.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (7)

1. A method for managing node data in an Internet of things system is characterized by comprising the following steps:
packaging the data of each node according to a standardized format to obtain a business card file of each node, and correspondingly storing the business card files;
exchanging the business card files among the nodes, so that the business card files of the set nodes are stored in the node state information table in each node;
and carrying out dynamic interaction among the nodes according to the node state information table, and executing corresponding actions.
2. The management method according to claim 1, characterized in that said standardized format is in particular:
based on the national standard of the Internet of things, regarding the content related to the national standard of the Internet of things, deleting and/or supplementing according to the actual use scene by using the format in the national standard of the Internet of things; and for the content which is not related in the national standard of the Internet of things, performing extension design according to an actual use scene by taking the national standard of the Internet of things as a reference.
3. The management method according to claim 1 or 2, wherein the exchanging of the business card files between the nodes is performed so that the node state information table in each node stores the business card file of the set node, and specifically includes:
when the transmission protocol is UDP, each node sends a broadcast message containing the business card file to a set node in a broadcast mode, so that the business card file of the set node is stored in a node state information table in each node;
when the transmission protocol is TCP, each node broadcasts a testability message to a set node, the set node responds after receiving the testability message, each node acquires IP address information/MAC address information of the set node and establishes connection, and each node sends a data packet containing the business card file to the set node through the connection, so that the business card file of the set node is stored in a node state information table in each node.
4. The management method according to claim 3, wherein the business card files in the data packet are business card files including only self nodes or business card files including both self nodes and set nodes;
the business card file in the broadcast message is the business card file only comprising the node of the business card file or the business card file comprising the node of the business card file and the set node of the business card file.
5. The management method according to claim 1 or 2, wherein each of the nodes is provided with a C-IoT module, and the exchange and dynamic interaction of the business card files between the nodes are performed through the C-IoT module.
6. The method for managing according to claim 1 or 2, characterized in that it further comprises:
and updating the business card file of each node, and updating the business card file of the set node stored in the node state information table in each node.
7. The data management method according to claim 1 or 2, wherein the connection is a connection established through a three-way handshake.
CN202010484421.1A 2020-06-01 2020-06-01 Management method of node data in Internet of things system Active CN111641717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010484421.1A CN111641717B (en) 2020-06-01 2020-06-01 Management method of node data in Internet of things system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010484421.1A CN111641717B (en) 2020-06-01 2020-06-01 Management method of node data in Internet of things system

Publications (2)

Publication Number Publication Date
CN111641717A true CN111641717A (en) 2020-09-08
CN111641717B CN111641717B (en) 2022-11-11

Family

ID=72331049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010484421.1A Active CN111641717B (en) 2020-06-01 2020-06-01 Management method of node data in Internet of things system

Country Status (1)

Country Link
CN (1) CN111641717B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948687A (en) * 2021-03-25 2021-06-11 重庆高开清芯智联网络科技有限公司 Node message recommendation method based on name card file characteristics
CN112954658A (en) * 2021-02-09 2021-06-11 重庆高开清芯智联网络科技有限公司 Business card system suitable for data exchange of communication protocol layer and data exchange method
CN112965381A (en) * 2021-02-09 2021-06-15 重庆高开清芯智联网络科技有限公司 Method for establishing cooperative intelligent self-adaptive decision model

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070079081A1 (en) * 2005-09-30 2007-04-05 Cleversafe, Llc Digital data storage system
CN101533477A (en) * 2008-03-10 2009-09-16 上海十进制网络信息科技有限公司 Information search and information exchange search process of business network and internet of things
CN103458014A (en) * 2013-08-21 2013-12-18 中国物品编码中心 Internet of things uniform identification code analysis method and system
CN103491145A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Analytic method and system of internet-of-things isomerism identification
US20140067887A1 (en) * 2012-08-29 2014-03-06 Sas Institute Inc. Grid Computing System Alongside A Distributed File System Architecture
CN106603565A (en) * 2016-12-30 2017-04-26 上海浦东软件园汇智软件发展有限公司 Data transmission and display method and equipment thereof
US20190150074A1 (en) * 2017-11-15 2019-05-16 Arris Enterprises Llc Flexible gateway for heterogenous-device management
CN110012121A (en) * 2019-03-18 2019-07-12 安徽师范大学 Isomery Internet of things node based on connection identifier accesses IPv6 network method
CN110062295A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 A kind of file resource acquisition methods and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070079081A1 (en) * 2005-09-30 2007-04-05 Cleversafe, Llc Digital data storage system
CN101533477A (en) * 2008-03-10 2009-09-16 上海十进制网络信息科技有限公司 Information search and information exchange search process of business network and internet of things
US20140067887A1 (en) * 2012-08-29 2014-03-06 Sas Institute Inc. Grid Computing System Alongside A Distributed File System Architecture
CN103458014A (en) * 2013-08-21 2013-12-18 中国物品编码中心 Internet of things uniform identification code analysis method and system
CN103491145A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Analytic method and system of internet-of-things isomerism identification
CN106603565A (en) * 2016-12-30 2017-04-26 上海浦东软件园汇智软件发展有限公司 Data transmission and display method and equipment thereof
US20190150074A1 (en) * 2017-11-15 2019-05-16 Arris Enterprises Llc Flexible gateway for heterogenous-device management
US20200162933A1 (en) * 2017-11-15 2020-05-21 Arris Enterprises Llc Flexible Gateway for Heterogeneous-Device Management
CN110012121A (en) * 2019-03-18 2019-07-12 安徽师范大学 Isomery Internet of things node based on connection identifier accesses IPv6 network method
CN110062295A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 A kind of file resource acquisition methods and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
魏子良等: "基于EXI的物联网信息交换数据格式设计与实现", 《软件》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954658A (en) * 2021-02-09 2021-06-11 重庆高开清芯智联网络科技有限公司 Business card system suitable for data exchange of communication protocol layer and data exchange method
CN112965381A (en) * 2021-02-09 2021-06-15 重庆高开清芯智联网络科技有限公司 Method for establishing cooperative intelligent self-adaptive decision model
CN112954658B (en) * 2021-02-09 2022-11-04 重庆高开清芯智联网络科技有限公司 Business card system suitable for data exchange of communication protocol layer and data exchange method
CN112965381B (en) * 2021-02-09 2022-11-11 重庆高开清芯智联网络科技有限公司 Method for establishing cooperative intelligent self-adaptive decision model
CN112948687A (en) * 2021-03-25 2021-06-11 重庆高开清芯智联网络科技有限公司 Node message recommendation method based on name card file characteristics

Also Published As

Publication number Publication date
CN111641717B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN111641717B (en) Management method of node data in Internet of things system
CN105577736B (en) A kind of electric line carrier communication terminal control mechanism, system and method
CN104509216B (en) Timed lighting control
Bergmann et al. A CoAP-gateway for smart homes
CN107592367A (en) Resource share method, device and the computer-readable recording medium of home appliance
CN205281140U (en) Smart home system
CN111913397B (en) Device control method, device, storage medium, and electronic apparatus
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
US11855894B2 (en) Control system, server, terminal device, control device, communication control method, and recording medium
CN105530268A (en) Heterogeneous protocol interconnection method and controller
CN111585801A (en) ZigBee device upgrading method and related device
CN114285695B (en) Communication method, device, apparatus, system and storage medium
US9391797B2 (en) Dynamic host profiles for option modules
US20070201696A1 (en) Profile acquiring method, apparatus, program, and storage medium
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
CN109587749B (en) Data sending method and system
CN115866104A (en) Data processing method, data processing device and equipment
CN104468696A (en) Method, server and device for performing point-to-point connection
CN114125725B (en) Broadcast message sending method, broadcast message receiving method, broadcast message sending device, broadcast message receiving device, and storage medium
CN114576828B (en) Communication management method, bifurcation box, multi-split air conditioning system and storage medium
CN113630298A (en) Intelligent control system, method and device
CN109640339B (en) Method, device, system and storage medium for managing multiple Bluetooth antenna devices
CN106411552A (en) Virtual machine state management method and apparatus thereof
CN102710017B (en) MMS-based interaction method and system of real-time data of intelligent substation
CN113542078A (en) Equipment linkage method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant