
技术领域technical field
本发明涉及物联网技术领域,尤其是一种物联网系统及其通讯方法。The invention relates to the technical field of the Internet of Things, in particular to an Internet of Things system and a communication method thereof.
背景技术Background technique
随着物联网和智能家居的普及,越来越多的智能设备通过物联网进行通讯连接。随着入网设备的增多,如何保证物联网系统安全、高效的进行通讯成为了这一领域研究的热点之一。With the popularity of the Internet of Things and smart homes, more and more smart devices communicate and connect through the Internet of Things. With the increase of network devices, how to ensure the safe and efficient communication of the Internet of Things system has become one of the hotspots in this field.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是提供一种物联网系统及其通讯方法,能够解决现有技术的不足,提高了物联网系统通讯的可靠性。The technical problem to be solved by the present invention is to provide an Internet of Things system and a communication method thereof, which can solve the deficiencies of the prior art and improve the communication reliability of the Internet of Things system.
为解决上述技术问题,本发明所采取的技术方案如下。In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows.
一种物联网系统,包括,An IoT system comprising,
互联网网关,通过互联网与用户终端通讯连接;Internet gateway, which communicates with user terminals through the Internet;
局域网网关,实现互联网与局域网的通讯连接;LAN gateway to realize the communication connection between the Internet and the LAN;
物联网智能终端,与局域网网关星形拓扑连接,同时不同物联网智能终端之间形成网状拓扑连接。The IoT smart terminal is connected with the LAN gateway in a star topology, and at the same time, a mesh topology connection is formed between different IoT smart terminals.
一种上述的物联网系统的通讯方法,包括以下步骤:A communication method for the above-mentioned Internet of Things system, comprising the following steps:
A、用户终端将控制信息通过互联网发送至互联网网关;互联网网关将控制信息加密后发送至局域网网关;A. The user terminal sends the control information to the Internet gateway through the Internet; the Internet gateway encrypts the control information and sends it to the LAN gateway;
B、局域网网关对加密后的控制信息进行筛选,将合法信息进行解密后发送至物联网智能终端;B. The LAN gateway screens the encrypted control information, decrypts the legal information and sends it to the IoT smart terminal;
C、当互联网网关或局域网网关出现异常时,物联网智能终端之间进行信息直接传送。C. When the Internet gateway or LAN gateway is abnormal, the information is directly transmitted between the IoT intelligent terminals.
作为优选,步骤A中,对控制信息加密包括以下步骤,Preferably, in step A, encrypting the control information includes the following steps:
A1、用户终端通过随机函数生成随机密钥;A1. The user terminal generates a random key through a random function;
A2、互联网网关使用单向散列算法将随机密钥和互联网网关获得的静态密钥进行合并,得到最终密钥,使用最终密钥对控制信息进行加密。A2. The Internet gateway uses a one-way hash algorithm to combine the random key and the static key obtained by the Internet gateway to obtain a final key, and use the final key to encrypt the control information.
作为优选,静态密钥的获得步骤为,Preferably, the steps of obtaining the static key are:
A21、按照互联网网关接收到的历史信息的地址范围进行分类;A21. Classify according to the address range of the historical information received by the Internet gateway;
A22、将数量最大的一类地址输入静态函数,得到静态数列;A22. Input the largest class of addresses into a static function to obtain a static sequence;
A23、使用最小二乘法对静态数列进行拟合,将拟合结果中的极值点的组合作为静态密钥。A23. Use the least squares method to fit the static sequence, and use the combination of extreme points in the fitting result as the static key.
作为优选,步骤B中,局域网网关对加密后的控制信息进行筛选包括以下步骤,Preferably, in step B, the LAN gateway screening the encrypted control information includes the following steps:
使用静态密钥对加密后的控制信息进行二次加密,若二次加密前后的信息线性相关,则控制信息合法,否则控制信息非法。Use a static key to perform secondary encryption on the encrypted control information. If the information before and after the secondary encryption is linearly correlated, the control information is legal; otherwise, the control information is illegal.
作为优选,步骤C中,在物联网智能终端中随机确定一个控制中心,控制中心暂存所有物联网智能终端的通讯信息。Preferably, in step C, a control center is randomly determined in the Internet of Things intelligent terminal, and the control center temporarily stores the communication information of all the Internet of Things intelligent terminals.
作为优选,步骤C中,物联网智能终端与互联网网关的通讯链路和物联网智能终端与物联网智能终端的通讯链路为相互独立且具有物理隔离的通讯链路。Preferably, in step C, the communication link between the IoT smart terminal and the Internet gateway and the communication link between the IoT smart terminal and the IoT smart terminal are independent and physically isolated communication links.
采用上述技术方案所带来的有益效果在于:本发明通过改进物联网的通讯架构,采用双网关的设计,实现通讯信息的加密传送。同时,在加密过程中利用静态密钥具有的线性特性和相对稳定的特点,实现对于被加密信息合法性的检查。当外部通讯线路出现故障时,物联网内部的智能终端可实现暂时的内部通讯保持,同时利用物理隔离的链路保证物联网内部的安全,从而提高物联网的可靠性。The beneficial effects brought by the above technical solutions are: the present invention realizes encrypted transmission of communication information by improving the communication architecture of the Internet of Things and adopting the design of dual gateways. At the same time, in the encryption process, the linearity and relative stability of the static key are used to check the validity of the encrypted information. When the external communication line fails, the intelligent terminal inside the Internet of Things can realize temporary internal communication maintenance, and at the same time use the physically isolated link to ensure the internal security of the Internet of Things, thereby improving the reliability of the Internet of Things.
附图说明Description of drawings
图1是本发明一个具体实施方式的结构图。FIG. 1 is a structural diagram of a specific embodiment of the present invention.
图中:1、互联网网关;2、互联网;3、用户终端;4、局域网网关;5、局域网;6、物联网智能终端。In the figure: 1. Internet gateway; 2. Internet; 3. User terminal; 4. Local area network gateway; 5. Local area network; 6. IoT intelligent terminal.
具体实施方式Detailed ways
参照图1,本发明一个具体实施方式所述的物联网系统,包括,Referring to FIG. 1, the Internet of Things system according to a specific embodiment of the present invention includes:
互联网网关1,通过互联网2与用户终端3通讯连接;
局域网网关4,实现互联网2与局域网5的通讯连接;
物联网智能终端6,与局域网网关4星形拓扑连接,同时不同物联网智能终端6之间形成网状拓扑连接。The IoT
一种上述的物联网系统的通讯方法,包括以下步骤:A communication method for the above-mentioned Internet of Things system, comprising the following steps:
A、用户终端3将控制信息通过互联网2发送至互联网网关1;互联网网关1将控制信息加密后发送至局域网网关4;A. The
B、局域网网关4对加密后的控制信息进行筛选,将合法信息进行解密后发送至物联网智能终端6;B. The
C、当互联网网关1或局域网网关4出现异常时,物联网智能终端6之间进行信息直接传送。C. When the
步骤A中,对控制信息加密包括以下步骤,In step A, encrypting the control information includes the following steps,
A1、用户终端3通过随机函数生成随机密钥;A1. The
A2、互联网网关1使用单向散列算法将随机密钥和互联网网关1获得的静态密钥进行合并,得到最终密钥,使用最终密钥对控制信息进行加密。A2. The
静态密钥的获得步骤为,The steps to obtain the static key are:
A21、按照互联网网关1接收到的历史信息的地址范围进行分类;A21. Classify according to the address range of the historical information received by the
A22、将数量最大的一类地址输入静态函数,得到静态数列;A22. Input the largest class of addresses into a static function to obtain a static sequence;
A23、使用最小二乘法对静态数列进行拟合,将拟合结果中的极值点的组合作为静态密钥。A23. Use the least squares method to fit the static sequence, and use the combination of extreme points in the fitting result as the static key.
步骤B中,局域网网关4对加密后的控制信息进行筛选包括以下步骤,In step B, the filtering of the encrypted control information by the
使用静态密钥对加密后的控制信息进行二次加密,若二次加密前后的信息线性相关,则控制信息合法,否则控制信息非法。Use a static key to perform secondary encryption on the encrypted control information. If the information before and after the secondary encryption is linearly correlated, the control information is legal; otherwise, the control information is illegal.
步骤C中,在物联网智能终端6中随机确定一个控制中心,控制中心暂存所有物联网智能终端6的通讯信息。In step C, a control center is randomly determined in the Internet of Things
步骤C中,物联网智能终端6与互联网网关1的通讯链路和物联网智能终端6与物联网智能终端6的通讯链路为相互独立且具有物理隔离的通讯链路。In step C, the communication link between the IoT
选择与控制中心直接通讯连接的一个物联网智能终端6作为通讯信息备份单元,当控制中心出现故障时,随机更换另一个不与原控制中心直接通讯连接的物联网智能终端6作为新的控制中心,并读取备份单元中的通讯信息,同时按照上述方式选择新的备份单元。Select an IoT
在本发明的描述中,需要理解的是,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that the terms "portrait", "horizontal", "upper", "lower", "front", "rear", "left", "right", "vertical", The orientation or positional relationship indicated by "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention, rather than indicating or It is implied that the device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention.
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. Those skilled in the art should understand that the present invention is not limited by the above-mentioned embodiments, and the descriptions in the above-mentioned embodiments and the description are only to illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have Various changes and modifications fall within the scope of the claimed invention. The claimed scope of the present invention is defined by the appended claims and their equivalents.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911110981.4ACN110830585B (en) | 2019-11-14 | 2019-11-14 | Internet of things system and communication method thereof |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911110981.4ACN110830585B (en) | 2019-11-14 | 2019-11-14 | Internet of things system and communication method thereof |
| Publication Number | Publication Date |
|---|---|
| CN110830585Atrue CN110830585A (en) | 2020-02-21 |
| CN110830585B CN110830585B (en) | 2022-01-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911110981.4AActiveCN110830585B (en) | 2019-11-14 | 2019-11-14 | Internet of things system and communication method thereof |
| Country | Link |
|---|---|
| CN (1) | CN110830585B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112904734A (en)* | 2020-12-23 | 2021-06-04 | 上海上实龙创智能科技股份有限公司 | Intelligent household appliance control system and method based on Internet of things and block chain double gateways |
| CN114448938A (en)* | 2022-02-11 | 2022-05-06 | 泉州物信科技有限公司 | IOTCP IoT communication protocol |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070136592A1 (en)* | 2000-04-12 | 2007-06-14 | Smith Richard A | Wireless internet gateway |
| CN103236153A (en)* | 2013-03-22 | 2013-08-07 | 中感科技有限公司 | Infrared switch system, switch control method and infrared repeater |
| CN104125124A (en)* | 2014-07-11 | 2014-10-29 | 京信通信系统(中国)有限公司 | Smart home remote control method, device and system |
| US20160277933A1 (en)* | 2015-03-18 | 2016-09-22 | Jongsub Moon | Secure Data Communication system between IoT smart devices and a Network gateway under Internet of Thing environment |
| CN106656776A (en)* | 2017-01-20 | 2017-05-10 | 浙江小尤鱼智能技术有限公司 | Home gateway |
| CN109814397A (en)* | 2019-01-10 | 2019-05-28 | 上海全筑新军住宅科技有限公司 | A kind of interactive mode Intelligent household system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070136592A1 (en)* | 2000-04-12 | 2007-06-14 | Smith Richard A | Wireless internet gateway |
| CN103236153A (en)* | 2013-03-22 | 2013-08-07 | 中感科技有限公司 | Infrared switch system, switch control method and infrared repeater |
| CN104125124A (en)* | 2014-07-11 | 2014-10-29 | 京信通信系统(中国)有限公司 | Smart home remote control method, device and system |
| US20160277933A1 (en)* | 2015-03-18 | 2016-09-22 | Jongsub Moon | Secure Data Communication system between IoT smart devices and a Network gateway under Internet of Thing environment |
| CN106656776A (en)* | 2017-01-20 | 2017-05-10 | 浙江小尤鱼智能技术有限公司 | Home gateway |
| CN109814397A (en)* | 2019-01-10 | 2019-05-28 | 上海全筑新军住宅科技有限公司 | A kind of interactive mode Intelligent household system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112904734A (en)* | 2020-12-23 | 2021-06-04 | 上海上实龙创智能科技股份有限公司 | Intelligent household appliance control system and method based on Internet of things and block chain double gateways |
| CN114448938A (en)* | 2022-02-11 | 2022-05-06 | 泉州物信科技有限公司 | IOTCP IoT communication protocol |
| Publication number | Publication date |
|---|---|
| CN110830585B (en) | 2022-01-28 |
| Publication | Publication Date | Title |
|---|---|---|
| RU2735238C1 (en) | Efficient communication for home network devices | |
| CN111819875B (en) | Device, system and method for connecting and authenticating a local device to a public gateway device | |
| EP3000249B1 (en) | Access network assisted bootstrapping | |
| WO2021203733A1 (en) | Power edge gateway device and device-based sensor data uplink storage method | |
| US20190058697A1 (en) | Systems and methods for implementing data communication with security tokens | |
| US20170302663A1 (en) | BLOCK CHAIN BASED IoT DEVICE IDENTITY VERIFICATION AND ANOMALY DETECTION | |
| CN103634325B (en) | Intelligent domestic Internet of Things security control method and system | |
| Vijayakumaran et al. | A reliable next generation cyber security architecture for industrial internet of things environment | |
| CN104320295B (en) | CAN message method for detecting abnormality and system | |
| KR20190134696A (en) | Signal communication system | |
| CN102547695A (en) | Security authentication method for wireless network | |
| US12212960B1 (en) | Dynamic establishment of trust between locally connected devices | |
| WO2014116152A1 (en) | Communication apparatus, control method thereof, computer program thereof, relaying apparatus, control method thereof, computer program thereof | |
| TW201212614A (en) | Network devices and authentication protocol methods thereof | |
| CN110830585A (en) | Internet of things system and communication method thereof | |
| CN116471575A (en) | Establishment of operating state of machine-to-machine devices | |
| Ilchev et al. | Internet-of-Things communication protocol for low-cost devices in heterogeneous wireless networks | |
| CN114302356B (en) | Communication method, system and storage medium for shared key | |
| JP6804026B2 (en) | Encrypted communication system | |
| AU2015301504B2 (en) | End point secured network | |
| CN114666129B (en) | Network security authentication method, system, computer device and storage medium | |
| WO2018172776A1 (en) | Secure transfer of data between internet of things devices | |
| CN115623576A (en) | Data synchronization method, device and system | |
| Goswami et al. | Securing intra-communication in 6LoWPAN: A PKI integrated scheme | |
| GB2560895A (en) | Secure transfer of data between internet of things devices |
| 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 | ||
| EE01 | Entry into force of recordation of patent licensing contract | ||
| EE01 | Entry into force of recordation of patent licensing contract | Application publication date:20200221 Assignee:Hebei tanmi Technology Co.,Ltd. Assignor:NORTH CHINA University OF SCIENCE AND TECHNOLOGY Contract record no.:X2023980039833 Denomination of invention:A IoT System and Its Communication Method Granted publication date:20220128 License type:Common License Record date:20230815 |