CN109218147B - Method for realizing Internet of things module - Google Patents

Method for realizing Internet of things module Download PDF

Info

Publication number
CN109218147B
CN109218147B CN201811230275.9A CN201811230275A CN109218147B CN 109218147 B CN109218147 B CN 109218147B CN 201811230275 A CN201811230275 A CN 201811230275A CN 109218147 B CN109218147 B CN 109218147B
Authority
CN
China
Prior art keywords
module
internet
main control
things
software
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.)
Active
Application number
CN201811230275.9A
Other languages
Chinese (zh)
Other versions
CN109218147A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201811230275.9A priority Critical patent/CN109218147B/en
Publication of CN109218147A publication Critical patent/CN109218147A/en
Application granted granted Critical
Publication of CN109218147B publication Critical patent/CN109218147B/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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an implementation method of an internet of things module, which comprises the internet of things module and a main control board of a product, wherein the internet of things module is in communication connection with the main control board of the product in a main control mode or a non-main control mode, the internet of things module comprises an internet of things hardware module, a serial port used for being connected with the main control board is arranged on the internet of things hardware module, the main control module and serial port communication software which are connected through a software interface are operated on the main control board, an IPP software module is integrated in the internet of things hardware module, and the main control mode is as follows: calling an IPP software module in the Internet of things hardware module by a main control module of the product through a software interface, and establishing connection between the product and the Internet of things module; the non-master control mode is as follows: the main control board of the product is connected with the serial port of the hardware module of the Internet of things, and the serial port communication software on the main control board is connected with the IPP software module through a software interface. The invention realizes the connection between the traditional non-networked electronic equipment and the Internet of things module, quickly accesses the Internet and realizes the interconnection of everything of the product.

Description

Method for realizing Internet of things module
Technical Field
The invention relates to the technical field of Internet of things, in particular to a realization method of an Internet of things module.
Background
Under the heavy stream of the internet of things, big data, cloud computing and the like, equipment and products are required to be connected to a network to realize the interconnection of everything, then the remote monitoring of the equipment and the products can be realized, the product state can be checked, the remote monitoring is interacted with scenes of other equipment, the equipment data is collected, and the big data and the subsequent product scale analysis are realized. Many devices without networking capability, such as air conditioners, refrigerators, lamps, floor sweeping machines, smoke cookers, air purifiers, and other household cooking appliances, have been used traditionally. If each development and production equipment needs to develop the Internet of things function from the beginning, the development period is long, manpower is consumed, the product development period is prolonged, the product is delayed to be on the market, and the product competitiveness is influenced. Based on the above problems, a module which is specially used for providing an access network function for the non-networking devices is provided, the internet can be accessed by selecting a use scheme provided by the module according to the requirements of the original non-networking product, the networking function is not required to be concerned, and the realization of the application function of the product is only required to be concentrated.
Disclosure of Invention
The invention aims to provide an implementation method of an internet of things module, which is used for rapidly accessing non-networked equipment and products such as air conditioners, refrigerators, lamps, floor sweeping machines, smoke stoves, air purifiers and other household appliances, kitchen utensils, lamps and the like to a network to realize the function of internet of everything, is used for solving the problem that the equipment without networking capability cannot be accessed to the internet without reopening in the prior art, and further realizes the monitoring and data collection of the equipment through IPP cloud and mobile phone end app interaction.
The invention solves the problems through the following technical scheme:
the method for realizing the Internet of things module comprises the Internet of things module and a main control board of a product, wherein the Internet of things module is in communication connection with the main control board of the product in a main control mode or a non-main control mode.
Furthermore, the thing allies oneself with the module and includes thing allies oneself with the hardware module, be provided with on the thing allies oneself with the hardware module be used for with the serial ports that the main control board is connected.
Further, a main control module and serial port communication software connected through a software interface are operated on the main control board, an IPP software module is integrated in the internet of things hardware module, and the main control mode is as follows: calling an IPP software module in the Internet of things hardware module by a main control module of the product through a software interface, and establishing connection between the product and the Internet of things module; the non-master control mode is as follows: the main control board of the product is connected with the serial port of the hardware module of the Internet of things, and the serial port communication software on the main control board is connected with the IPP software module through a software interface.
Further, the IPP software module includes a serial port communication module, a protocol conversion module, an IPP service module, a WiFi network distribution module, and a cloud platform communication module, wherein:
the serial port communication module is used for communicating with serial port communication software of the main control board through a serial port of the Internet of things hardware module in a non-main control mode;
the IPP protocol conversion module is used for converting a third-party protocol and an IPP protocol;
the IPP service module is used for being responsible for service logic, message cloud length connection, message receiving, processing, APP instruction receiving, analysis, serial port downlink command packaging and sending;
the WiFi distribution network module is responsible for communicating with a mobile phone, acquiring a router user name and a password and connecting the router;
and the cloud platform communication module is used for communicating with the cloud platform in an MQTT/XMPP or HTTP mode.
The Internet of things module comprises an Internet of things hardware module and an IPP software module which is operated on the Internet of things hardware module and is accessed into IPP Internet of things. The IOT hardware module has hardware modules with different resources according to the application requirements of products, including ESP8266 and ESP32 in Lexin, RTL8710 in Reyi, and the like. The hardware module of the internet of things and a product which does not have the networking function are interconnected in two modes, namely a master control mode and a non-master control mode. The main control mode is that the product application function can be directly realized and operated on the hardware of the Internet of things, namely, the function of the Internet of things module and the product application function are realized on the same hardware. The non-master control mode is that the internet of things module is used as a communication module to realize the function, the product application function and the product application function are respectively borne by two pieces of hardware, and the two pieces of hardware are connected through hardware serial ports and realize communication interaction through software interfaces, so that product application and networking are realized, and the hardware module for realizing the application function of the product is a master control board.
The software design of the non-master control scheme comprises an IPP software module on the Internet of things module and serial port communication software on the master control board, wherein the serial port communication software is connected with the Internet of things module. The IPP software module comprises: a serial port communication module; an IPP protocol conversion module; an IPP service module: a WiFi distribution network module; cloud platform communication module.
Under the non-master control scheme, a product side connects a product master control board with an internet of things module through a serial port, a product application side uses serial port communication software SDK provided by the non-master control scheme to run on the product master control module, the SDK is used as an application function library for calling, and the serial port communication module software library provides a network configuration interface for configuring the attribute of the internet of things module and connecting a network; when the human-computer interaction app needs to actively acquire the product attribute state and equipment control, the method is realized by calling an equipment query and control interface; when the equipment runs and the environment state is detected to be changed and the user needs to be informed, the data reporting interface is called to report the information to the user.
In the software design of the main control scheme, the internal functional structure of the IPP software is basically consistent with that of a non-main control scheme, and the difference is that the IPP software does not need to be connected with a serial port of a main control board, and serial port communication software in non-main control is removed. The functions of the product application side and the functions of the Internet of things module are operated on the hardware of the Internet of things module, the software of the Internet of things module is called as a library supply function, IPP software is called through a software interface, and the software interface is basically consistent with a serial port communication software interface in a non-master control scheme. The equipment application can realize the equipment internet of things by calling a software interface provided by the internet of things module.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention realizes the functions of establishing connection with an internet of things module, adding the internet of things, rapidly accessing the internet, and realizing the internet of everything and remote monitoring of products through cloud service and human-computer interaction app monitoring of traditional non-networked electronic equipment such as household appliances, consumer electronic products and the like.
Drawings
Fig. 1 is a functional diagram of a non-master mode internet of things module implementation according to the present invention;
fig. 2 is a functional diagram of the implementation of the master control mode internet of things module.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1:
the method for realizing the Internet of things module comprises the Internet of things module and a main control board of a product, wherein the Internet of things module is in communication connection with the main control board of the product in a main control mode or a non-main control mode. The thing allies oneself with the module and includes thing allies oneself with the hardware module, be provided with on the thing allies oneself with the hardware module be used for with the serial ports that the main control board is connected, the operation has main control module and serial ports communication software through software interface connection on the main control board, integrated IPP software module in the thing allies oneself with the hardware module, the master control mode is: calling an IPP software module in the Internet of things hardware module by a main control module of the product through a software interface, and establishing connection between the product and the Internet of things module; the non-master control mode is as follows: the main control board of the product is connected with the serial port of the hardware module of the Internet of things, and the serial port communication software on the main control board is connected with the IPP software module through a software interface. The IPP software module comprises a serial port communication module, a protocol conversion module, an IPP service module, a WiFi distribution network module and a cloud platform communication module, wherein:
the serial port communication module is used for communicating with serial port communication software of the main control board through a serial port of the Internet of things hardware module in a non-main control mode;
the IPP protocol conversion module is used for converting a third-party protocol and an IPP protocol;
the IPP service module is used for being responsible for service logic, message cloud length connection, message receiving, processing, APP instruction receiving, analysis, serial port downlink command packaging and sending;
the WiFi distribution network module is responsible for communicating with a mobile phone, acquiring a router user name and a password and connecting the router;
and the cloud platform communication module is used for communicating with the cloud platform in an MQTT/XMPP or HTTP mode.
Fig. 1 is a non-master control mode, in which a product side connects a product master control board and an internet of things module through a serial port, a product application side uses serial communication module software SDK provided by a non-master control scheme to run on the product master control module, the serial communication module software is called as a library of application functions, and a serial communication module software library provides a network configuration interface for configuring attributes of the internet of things module and connecting a network; when the human-computer interaction app needs to actively acquire the product attribute state and equipment control, the method is realized by calling an equipment query and control interface; when the equipment runs and the environment state is detected to be changed and the user needs to be informed, the data reporting interface is called to report the information to the user.
The implementation of the Internet of things module comprises 2 parts
1) Thing allies oneself with hardware module (hardware), 5 IPP software modules of internal integration:
a) a serial port communication module;
b) a protocol conversion module: converting a serial port protocol into a network protocol;
c) a service module: the system is in charge of the whole service logic, runs completely and independently and does not need to be concerned by users; starting 1 thread: the message cloud leader receives and processes the message: receiving an APP instruction, analyzing, packaging a serial port downlink command, and sending;
d) wifi distribution network module: the router is responsible for communicating with the mobile phone, acquiring a router user name and a password and connecting the router;
e) cloud platform communication module: and the method adopts MQTT/XMPP, Http and other modes to communicate with the cloud platform.
2) Serial port communication module (SDK software)
a) The serial port communication module is used as software running on the main control board and is provided for the main control logic to receive and send IPP related data
b) Support master control data/state reporting and support device control and query
In the master control mode shown in fig. 2, both the functions of the product application side and the functions of the internet of things module are operated on the hardware of the internet of things module, the software of the internet of things module is called as a library for supply, and the software of the internet of things is called through a software interface. The architectures of the master and the non-master are basically consistent. The software interface is basically consistent with the serial communication software interface in the non-master control scheme. In the master control mode, no SPI/I2C hardware interface is needed for communication between the two systems, so only the serial port module is cancelled.
According to the invention, a product side selects different schemes according to requirements, and calls a software interface by hardware and software SDK provided by the Internet of things module and interface description, so that the Internet of things function of the product can be realized.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (2)

1. The method for realizing the Internet of things module is characterized by comprising the Internet of things module and a main control board of a product, wherein the Internet of things module is in communication connection with the main control board of the product in a main control mode or a non-main control mode; the Internet of things module comprises an Internet of things hardware module, and a serial port for connecting with the main control board is arranged on the Internet of things hardware module; the main control board runs a main control module and serial port communication software which are connected through a software interface, an IPP software module is integrated in the Internet of things hardware module, and the main control mode is as follows: calling an IPP software module in the Internet of things hardware module by a main control module of the product through a software interface, and establishing connection between the product and the Internet of things module; the non-master control mode is as follows: the main control board of the product is connected with the serial port of the hardware module of the Internet of things, and the serial port communication software on the main control board is connected with the IPP software module through a software interface.
2. The method for implementing the internet of things module according to claim 1, wherein the IPP software module comprises a serial port communication module, a protocol conversion module, an IPP service module, a WiFi distribution network module and a cloud platform communication module, wherein:
the serial port communication module is used for communicating with serial port communication software of the main control board through a serial port of the Internet of things hardware module in a non-main control mode;
the IPP protocol conversion module is used for converting a third-party protocol and an IPP protocol;
the IPP service module is used for being responsible for service logic, message cloud length connection, message receiving, processing, APP instruction receiving, analysis, serial port downlink command packaging and sending;
the WiFi distribution network module is responsible for communicating with a mobile phone, acquiring a router user name and a password and connecting the router;
and the cloud platform communication module is used for communicating with the cloud platform in an MQTT/XMPP or HTTP mode.
CN201811230275.9A 2018-10-22 2018-10-22 Method for realizing Internet of things module Active CN109218147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230275.9A CN109218147B (en) 2018-10-22 2018-10-22 Method for realizing Internet of things module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230275.9A CN109218147B (en) 2018-10-22 2018-10-22 Method for realizing Internet of things module

Publications (2)

Publication Number Publication Date
CN109218147A CN109218147A (en) 2019-01-15
CN109218147B true CN109218147B (en) 2021-08-06

Family

ID=64980020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230275.9A Active CN109218147B (en) 2018-10-22 2018-10-22 Method for realizing Internet of things module

Country Status (1)

Country Link
CN (1) CN109218147B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111578369B (en) * 2020-04-28 2022-04-19 同方泰德国际科技(北京)有限公司 Remote management system, method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049480A (en) * 2015-05-29 2015-11-11 四川长虹电器股份有限公司 IPP (Integrated Personal Portal) cloud platform system
CN105242938A (en) * 2014-07-11 2016-01-13 宏碁股份有限公司 Automated program downloading system and method
CN206160374U (en) * 2016-10-11 2017-05-10 泉州师范学院 Novel air conditioner remote controller

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025050A (en) * 2014-04-17 2015-11-04 杭州智尔科技有限公司 Cloud terminal equipment based on cloud computing and system thereof
CN105490700A (en) * 2016-01-04 2016-04-13 广东司南物联股份有限公司 WIFI control module set, system networked with communication product and product upgrading method
CN106453666A (en) * 2016-12-20 2017-02-22 四川长虹电器股份有限公司 Gateway communication system based on dongle agent
CN107040531B (en) * 2017-04-01 2019-12-10 广州极迅客信息科技有限公司 communication assembly

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242938A (en) * 2014-07-11 2016-01-13 宏碁股份有限公司 Automated program downloading system and method
CN105049480A (en) * 2015-05-29 2015-11-11 四川长虹电器股份有限公司 IPP (Integrated Personal Portal) cloud platform system
CN206160374U (en) * 2016-10-11 2017-05-10 泉州师范学院 Novel air conditioner remote controller

Also Published As

Publication number Publication date
CN109218147A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN201887794U (en) Gateway of internet of things
CN110493270B (en) Internet of things equipment access fusion control method and device
CN207380545U (en) A kind of intelligent domestic gateway and intelligent home control system
CN110501988B (en) Method and device for realizing integration control of Internet of things equipment
CN202795029U (en) Network robot control system based on cloud platform
CN111756809B (en) Plug-and-play production industrial adapter for intelligent manufacturing and application thereof
CN104967560B (en) Method and device for realizing linkage with gateway management equipment
KR101458368B1 (en) Session establishment method using relay server active connection of mobile terminal
CN104331041A (en) Intelligent home system structure and control method thereof
CN103107927A (en) Information interactive method of home gateway and home network system and home network system
CN108924638A (en) A kind of network machine top box gateway of internet of things and smart home Internet of Things control system
CN112511388A (en) Method for home Internet of things and Internet of things terminal
CN104219118A (en) Household appliance control device and system
CN105472291A (en) Digital video recorder with multiprocessor cluster and realization method of digital video recorder
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
CN104244047A (en) Projector and household equipment control system
CN105577717A (en) Control method and system having compatibility with various electric appliances
CN102346463A (en) Intelligent monitoring system and method for home appliance
CN109218147B (en) Method for realizing Internet of things module
CN213279693U (en) Internet of things terminal
CN108092990B (en) Data aggregation transmission equipment for mobile terminal
CN104717135A (en) Realization method and device of intelligent home gateway
CN105703986A (en) Middleware-technology-based intelligent household equipment interconnection and intercommunication method
CN113472637A (en) LORA gateway
CN110933114B (en) Configuration parameter management method, device, storage medium and control terminal

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