CN113328977A - Data frame and control system for smart home - Google Patents
Data frame and control system for smart home Download PDFInfo
- Publication number
- CN113328977A CN113328977A CN202010130908.XA CN202010130908A CN113328977A CN 113328977 A CN113328977 A CN 113328977A CN 202010130908 A CN202010130908 A CN 202010130908A CN 113328977 A CN113328977 A CN 113328977A
- Authority
- CN
- China
- Prior art keywords
- equipment
- data frame
- intelligent
- data
- command
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a data frame and a control system for smart home, wherein the data frame comprises a data packet header, a data packet length, an equipment type number, an equipment ID number, an equipment port number, a command field, a check field and a data packet tail, the equipment type number and the equipment ID number are used for identifying specific equipment, the equipment port number is used for identifying a specific unit controlled by the equipment, and the command field is used for controlling the equipment or the unit to execute a preset function. The data frame and control system for the intelligent home, provided by the invention, can realize accurate control of each device in the intelligent home.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a data frame and control system for smart home.
Background
The communication protocol requires agreement between communication devices, which provides a unified regulation for problems including data format, transmission speed, synchronization method, verification method and function character definition, and must be complied with in the inter-device communication. In practical communication applications, if a reasonable, strict and normative communication protocol is lacked, the correctness of data transmission and the reliability of communication cannot be guaranteed. The data content of a general transmission is defined as being organized in the form of bytes in a protocol frame and arranged in the frame from front to back.
With the continuous maturity of computer technology, network technology and wireless communication technology, the internet of things is applied to various social fields, and the living and production modes of people are continuously changed. An intelligent control system is a typical intelligent engineering case which is produced in the era of continuous popularization of the Internet of things, and devices such as sensors, household appliances, multimedia and the like are interconnected through a communication network to realize centralized management and control of data. However, the existing intelligent control system adopts a traditional frame coding format, which generally includes: the start-stop flag bit, the data length, the function code, the data, the check sum end flag bit are mostly suitable for communication between an upper computer and a lower computer, cannot meet the communication requirement between multiple devices, and cannot meet the accurate control of a control system on each device.
Disclosure of Invention
The invention aims to provide a data frame and control system for an intelligent home, which can realize the accurate control of each device in the intelligent home.
The invention discloses a data frame and control system for smart home, which adopts the technical scheme that:
the utility model provides a data frame for intelligent house, data frame includes data package head, data packet length, equipment type number, equipment ID number, equipment port number, command field, check field and data package tail, equipment type number and equipment ID number are used for the specific equipment of sign, equipment port number is used for the specific unit of sign equipment control, the command field is used for controlgear or the unit to carry out predetermined function.
Preferably, the command field includes a command word for controlling the type of function executed by the device and a command argument for controlling the function argument executed by the unit.
Preferably, the command parameter includes a MAC address and a data field, and the MAC address is used for addressing the device.
Preferably, the data packet header, the data packet length, the device type number, the device ID number, the device port number, the command word, the check field, and the data packet end are all data of one byte length.
Preferably, the length of the data frame is no more than 32 bytes.
Preferably, the data frame is transmitted in a wireless network.
Preferably, the data frame can be directly transmitted between the devices in the wireless network.
A control system comprises an intelligent central control system, an intelligent lighting system, an energy monitoring and management system, an intelligent security system, an intelligent electric curtain system, an intelligent air conditioning system and an intelligent scene control system, wherein all the systems are communicated through data frames.
The data frame and control system for the smart home disclosed by the invention has the beneficial effects that: each device in the smart home has the device type number and the device ID number, and each unit of each device has the corresponding device port number, so that each device can accurately receive the data received by the device, and each unit is accurately controlled according to the device port number, and accurate control of each device and accurate control of device functions are realized.
Drawings
Fig. 1 is a schematic structural diagram of a data frame for smart home according to the present invention.
Detailed Description
The invention will be further elucidated and described with reference to the embodiments and drawings of the specification:
referring to fig. 1, a data frame for smart home includes a data packet header, a data packet length, a device type number, a device ID number, a device port number, a command field, a check field, and a data packet trailer, where the device type number and the device ID number are used to identify a specific device, the device port number is used to identify a specific unit controlled by the device, and the command field is used to control the device or the unit to execute a preset function.
Each device in the smart home has the device type number and the device ID number, and each unit of each device has the corresponding device port number, so that each device can accurately receive the data received by the device, and each unit is accurately controlled according to the device port number, and accurate control of each device and accurate control of device functions are realized.
The command field includes a command word and command parameters. The device type is data with one byte length and is used for defining the type of each device; the device ID number is data of one byte length for defining an identification number of each device; the device port number is data with one byte length and is used for defining the identification number of each unit on the device; the command word is data with one byte length and is used for defining the type of functions executed by the equipment or the unit; the command field includes a MAC address field, which is a unique identification number of each device, and a data field for controlling parameters of the device or unit to perform a specific function.
The data packet head, the data packet length, the check field and the data packet tail are all data with one byte length. The length of the data frame is not more than 32 bytes, and the length of the data frame is controlled to ensure the quick transmission of the data frame. The data frame may be transmitted in a wireless network or a wired network.
A control system comprises an intelligent central control system, an intelligent lighting system, an energy monitoring and management system, an intelligent security system, an intelligent electric curtain system, an intelligent air conditioning system and an intelligent scene control system, wherein all the systems are communicated through data frames.
1. Central control system
The central control system is an important device for uniformly collecting information and running states of all electrical equipment in the environment, plays a key role in the performance of the whole intelligent control system, and can be used for users to check the living room environment and control the electrical equipment in the room at any time and any place.
The intelligent integrated system based on the ZigBee technology can be designed by adopting a wireless mode and a wireless radio frequency transceiving technology of the current mainstream transmission technology, and an embedded management platform, and has important significance for developing and optimizing the system.
The central control system is a central nerve brain of the intelligent control system, and can make electrical equipment like: the intelligent water heater comprises an air conditioner, a water heater, a television, a socket, a lamp, an electric curtain, a camera, a door magnet, a smoke alarm, a fingerprint lock and other equipment data, wherein the cloud end is uploaded in real time, and an intelligent scene can be customized according to living habits of users.
Data packet format of central control system (16 system)
The data packet length is the total data packet length and comprises a packet head mark and a packet tail mark, and the maximum length does not exceed 32 bytes.
The packet checksum (packet length + device type number + device ID number + device port number + command word + command parameter or response parameter) takes the lower eight bits.
Such as: obtaining all device return values of current connection
2. Intelligent lighting system
The intelligent lighting system can solve the serious problems of excessive consumption of electric power energy and the like, can also enable the lamp to be automatically turned on or turned off when needed, can achieve self-adaptive adjustment, achieves the best lighting effect to the outside, successfully avoids the lamp to be turned off when not needed or turned on when needed, avoids unnecessary electric power energy waste, and can play a huge role in promoting environmental protection and energy conservation. The intelligent lighting system is not only energy-saving and environment-friendly, but also can change the life style and habit of people, and finds a brand-new light environment experience and application for lighting.
The intelligent lighting system has the characteristics that:
the light can be controlled by the traditional control modes such as physical keys, a mobile phone, a tablet, a PC terminal, a touch screen and the like.
The lamp light in any area can be controlled in a timing mode.
The light can be controlled to adjust the light and the color, and the diversity of the light effect is increased.
All lights can be turned off by one key, and also can be turned off remotely, so that energy waste caused by forgetting to turn off and missing turn off is avoided.
The infrared induction switch of the human body can control the lamp to be switched on and off, people can be automatically induced to turn on the lamp, and no people turn off the lamp, so that resources can be reasonably utilized.
Each lighting lamp controller has a device ID number and each group of lamps controlled by the lighting lamp controller has a device port number, and each lamp can be precisely controlled by the device ID number and the device port number.
Data packet format of intelligent lighting system (16 system)
Such as: obtaining the brightness return value of the current dimmable device lamp
3. Energy monitoring and management system
The energy monitoring and energy saving management system can detect and count the electricity using condition in real time. And determining whether the electricity is normal or not according to the trend of electricity consumption in each month, thereby realizing safe electricity utilization. And the electricity utilization condition can be reasonably adjusted according to the electricity consumption, so that the energy and the electricity are saved.
The switching task can be delayed at regular time, so that the energy is saved and the environment is protected; the regional regulation and control of air conditioner, drinking machine, humidifier, purifier and other equipment.
An intelligent socket can be installed to control the one-key power-off of equipment such as a water dispenser, a tea tray lamp, a refrigerator and the like.
The scene mode can be set, and the window, the humidifier, the air conditioner and other equipment can be automatically opened and closed according to the feedback of the installed sensor.
Data packet format of energy monitoring management system (16 system)
Such as: voltage and power correction
4. Intelligent electric curtain system
The intelligent electric curtain system has the functional characteristics that:
can be remotely controlled through a switch panel/a mobile phone/a tablet/a PC terminal/a touch screen, and solves the problem of the traditional manual hand-pulling curtain
Can set various individual scene modes, can simultaneously control the opening and closing of a plurality of curtains by one key, and can also carry out linkage control with a lighting system, a security system and an audio-visual system
Can connect illuminance sensor, through illuminance sensor response illumination intensity, realize the automatically regulated of (window) curtain degree of opening and shutting according to luminance size, form the light quantity that any activity is just in time required, avoid the vexation of frequent switch (window) curtain when enjoying the French window and bringing nice and beautiful, the perfect integration of showing intelligent science and technology and nice home life between opening and shutting.
Data packet format of intelligent electric curtain system (16 system)
Such as: setting the current open and close state of the curtain device
5. Intelligent security system
And connecting the security intelligent control module with various sensors to form a security alarm system.
Such as: human infrared sensor, smoke transducer, water logging detector, audible-visual annunciator, security protection equipment such as glass cracker, nobody in the family, the whole house cloth is prevented the state, and the security is higher.
The security alarm system can efficiently manage security problems. According to sensor equipment such as human body induction, smoke alarm, harmful gas alarm, accurate judgement rapid processing proruption problem avoids causing secondary loss.
When abnormal conditions occur, the audible and visual alarm immediately gives an alarm, and the mobile phone app immediately receives reminding information.
Data packet format of intelligent security system (16 system)
Such as: combustible gas detector reporting current state
6. Intelligent RS485 system
The intelligent RS485 system is used for controlling the equipment with RS485, and the equipment can be carried in the intelligent control system network, for example: central air conditioning, ground heating, fresh air and background audio-visual system. As long as the device has a 485 protocol interface and an open protocol, the device can be accessed into the intelligent control system.
After the equipment is connected into the intelligent control system, the equipment can be remotely controlled through a switch panel, a mobile phone, a tablet, a PC (personal computer) end and a touch screen.
The scene mode can be set and is simultaneously controlled by being linked with other systems.
Data packet format of intelligent RS485 system (16 system)
Such as: background music playing music
7. Intelligent air conditioning system
And a temperature and humidity detector, an air quality detector and other equipment are configured to form an environment monitoring system.
The air quality detector monitors VOC gases such as PM2.5, formaldehyde, toluene, oil smoke, gas and the like floating in the air of a home in real time, rapidly and efficiently, the air state is clear at a glance in indoor and outdoor weather, and a fresh air system is opened in a linkage manner to optimize the air, so that the physical and mental health of the family is guaranteed. The temperature and humidity sensor is matched to automatically measure the air temperature and humidity, and when the temperature and humidity are not under the specified standard, equipment such as an air conditioner and a humidifier can be linked to be opened, so that the temperature and humidity are uniformly distributed, and the air environment suitable for family life is achieved.
Data packet format of intelligent air conditioning system (16 system)
Such as: querying current state of air conditioner
8. Intelligent scene control system
The intelligent lighting system, the intelligent security system, the intelligent RS485 system, the intelligent electric curtain system, the intelligent air conditioning system and other systems can be linked to carry out ad hoc networking among wireless network signals.
Can control multiple devices by one key of switch panel/mobile phone/tablet/PC terminal/touch screen
For example, setting "01" scene number as away mode: and when leaving home, clicking the leaving-home mode. And starting the security protection state while turning off the air conditioner, the lamp, the television and the like in the home. The infrared detector, the monitoring camera and other security equipment are started.
Data packet format of intelligent scene control system (16 system)
Since, the scene number is one byte data.
Such as: obtaining return values of all devices in the current scene
The intelligent scene control system can accurately control each unit or equipment to be controlled through the equipment ID number and the equipment port number, and can control all the equipment or units included in the scene number only by sending a data frame once through the scene number. The data frame transmission can be directly carried out between the devices in the wireless network, and after the wireless network is disconnected, the devices can still carry out direct communication through the MAC address.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (8)
1. The utility model provides a data frame for intelligent house which characterized in that, the data frame includes data package head, data packet length, equipment type model, equipment ID number, equipment port number, command field, check field and data package tail, equipment type model and equipment ID number are used for the specific equipment of sign, equipment port number is used for the specific unit of sign equipment control, command field is used for controlgear or unit execution preset's function.
2. The data frame for smart home as claimed in claim 1, wherein the command field comprises a command word and a command parameter, the command word is used for controlling a type of function executed by the device, and the command parameter is used for controlling a function parameter executed by the unit.
3. The data frame for smart home of claim 2, wherein the command parameters comprise a MAC address and a data field, the MAC address being used for addressing of a device.
4. The data frame for smart homes according to claim 2, wherein the data packet header, the data packet length, the device type number, the device ID number, the device port number, the command word, the check field, and the data packet trailer are data of one byte length.
5. The data frame for smart home as claimed in claim 3, wherein the length of the data frame is not more than 32 bytes.
6. The data frame for smart homes according to claim 1, wherein the data frame is transmitted in a wireless network.
7. The data frame for smart home as claimed in claim 6, wherein the data frame is directly transmitted between devices in the wireless network.
8. A control system comprising an intelligent central control system, an intelligent lighting system, an energy monitoring management system, an intelligent security system, an intelligent motorized window treatment system, an intelligent air conditioning system and an intelligent scene control system, wherein the systems communicate with each other via a data frame according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010130908.XA CN113328977A (en) | 2020-02-28 | 2020-02-28 | Data frame and control system for smart home |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010130908.XA CN113328977A (en) | 2020-02-28 | 2020-02-28 | Data frame and control system for smart home |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113328977A true CN113328977A (en) | 2021-08-31 |
Family
ID=77412852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010130908.XA Pending CN113328977A (en) | 2020-02-28 | 2020-02-28 | Data frame and control system for smart home |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113328977A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713612A (en) * | 2014-01-03 | 2014-04-09 | 左华亮 | Intelligent home system solution facilitating personalized customization and expansion |
CN104539712A (en) * | 2014-12-31 | 2015-04-22 | 广东德豪润达电气股份有限公司 | Intelligent household appliance data transmission method |
CN106803813A (en) * | 2017-03-02 | 2017-06-06 | 重庆邮电大学 | A kind of recognition methods of intelligent home device control command field |
-
2020
- 2020-02-28 CN CN202010130908.XA patent/CN113328977A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713612A (en) * | 2014-01-03 | 2014-04-09 | 左华亮 | Intelligent home system solution facilitating personalized customization and expansion |
CN104539712A (en) * | 2014-12-31 | 2015-04-22 | 广东德豪润达电气股份有限公司 | Intelligent household appliance data transmission method |
CN106803813A (en) * | 2017-03-02 | 2017-06-06 | 重庆邮电大学 | A kind of recognition methods of intelligent home device control command field |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206388060U (en) | Pass through the wearable intelligent house control system of Voice command | |
CN103092172B (en) | Wire arrangement type intelligent home integrated control device based on cloud service platform | |
CN102354194B (en) | Smart home control system | |
CN106950847A (en) | Intelligent home control system based on ZigBee and cloud computing | |
CN202257211U (en) | Intelligent wireless household monitoring system | |
CN204759076U (en) | Home network intelligence remote controller | |
CN201707582U (en) | Smart home control system | |
CN205210546U (en) | Intelligence house environmental conditioning system | |
CN101776907A (en) | Household intelligent control system | |
CN103883198A (en) | Intelligent window control system used for energy conservation and fire fighting | |
CN103676912A (en) | Intelligent home system | |
CN204759188U (en) | Intelligence house sleep system | |
CN105045238A (en) | Intelligent home furnishing sleep system | |
CN105759874A (en) | Intelligent household air environment system | |
CN205405107U (en) | Intelligent housing system based on wireless sensor network | |
CN201167332Y (en) | Intelligent household network control system | |
CN203879193U (en) | Intelligent window control system used for energy conservation and fire fighting | |
CN110955151A (en) | Automatic scene control sensing system and method for smart home | |
CN105657938A (en) | Lamp control system of smart home | |
CN108919764A (en) | A kind of intelligent home control system based on Internet of Things | |
CN209471372U (en) | A kind of intelligent home control system | |
CN113328977A (en) | Data frame and control system for smart home | |
CN207743977U (en) | A kind of energy saving intelligent domestic system based on cloud computing platform | |
CN110376918A (en) | Intelligent home control system and its method based on deep learning | |
CN215599519U (en) | Internet of things home control system based on Aliyun |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210831 |