CN111431879A - Scene response method for Zwave guest control system - Google Patents

Scene response method for Zwave guest control system Download PDF

Info

Publication number
CN111431879A
CN111431879A CN202010189046.8A CN202010189046A CN111431879A CN 111431879 A CN111431879 A CN 111431879A CN 202010189046 A CN202010189046 A CN 202010189046A CN 111431879 A CN111431879 A CN 111431879A
Authority
CN
China
Prior art keywords
zwave
scene data
data
group
gateway
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
CN202010189046.8A
Other languages
Chinese (zh)
Other versions
CN111431879B (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.)
Shandong Bittel Intelligent Technology Co ltd
Original Assignee
Shandong Bittel Electronics 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 Shandong Bittel Electronics Co ltd filed Critical Shandong Bittel Electronics Co ltd
Priority to CN202010189046.8A priority Critical patent/CN111431879B/en
Publication of CN111431879A publication Critical patent/CN111431879A/en
Application granted granted Critical
Publication of CN111431879B publication Critical patent/CN111431879B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a scene response method for a Zwave guest control system, belongs to the field of Zwave guest control, and aims to solve the technical problem of how to realize Zwave guest control scene response under the condition of reducing time. The method comprises the following steps: when a scene needs to be executed, reading related scene data corresponding to the scene from the Zwave gateway; screening related scene data based on the Zwave module group, dividing the related scene data corresponding to the same Zwave module group into one group, and respectively storing each group of related scene data through a Zwave gateway; the Zwave gateway sequentially sends each group of related scene data to a corresponding Zwave module; and after each Zwave module node receives corresponding related scene data, executing the scene.

Description

Scene response method for Zwave guest control system
Technical Field
The invention relates to the field of Zwave guest control, in particular to a scene response method of a Zwave guest control system.
Background
The operating frequency band is 908.42MHz (USA) -868.42 MHz (Europe), the data transmission rate is 9.6kbps by adopting FSK (BFSK/GFSK) modulation mode, the effective coverage range of the signal is 30m indoors, the effective coverage range can exceed 100m outdoors, and the system is suitable for narrow bandwidth application occasions. The Zwave technology can be used for wireless control of lamplight, household appliances and the like in the environments of families, hotels and the like. Because the Zwave data transmission rate is low and the Zwave protocol data length is short, real-time performance cannot be provided when the Zwave controls a plurality of devices, and particularly in a hotel environment, the experience effect of customers can be poor for execution of various scenes and realization of atmosphere.
In the Zwave guest control scheme, a plurality of Zwave modules are controlled under one Zwave gateway, each Zwave module is connected with a plurality of devices as a node in a Zwave network and controls the devices, when a user executes a certain scene, the execution devices of the scene are controlled by different Zwave modules, and then the Zwave gateway needs to send instructions to each Zwave module one by one, so that the time spent is longer. For example, a hotel room adopts wireless guest control of the Zwave scheme, 5 Zwave modules are controlled under one Zwave gateway, and 16 devices in the room are controlled by each Zwave module. If the guest enters the room, the door is opened to execute a welcome scene that all devices in the room are opened, so that the Zwave gateway can send 80 pieces of data in total by 5x16 to open all the devices, and the time required by the completion of the sending of each piece of data until the devices are opened is 100 milliseconds, so that the time required by the opening of all the devices is 8 seconds, and the time is long.
Based on the above, how to realize Zwave guest controlled scene response under the condition of reducing time is a technical problem to be solved.
Disclosure of Invention
The invention aims at the defects and provides a scene response method of a Zwave guest control system to solve the problem of how to realize Zwave guest control scene response under the condition of reducing time.
The invention provides a Zwave guest control system scene response method, wherein the Zwave guest control system comprises a Zwave gateway, at least one Zwave module and at least one device, scene data are stored in the Zwave gateway, the scene data comprise but not limited to device labels and device states, each Zwave module is in wireless connection with the Zwave gateway, and each Zwave module is connected with at least one device; the response method comprises the following steps:
when a scene needs to be executed, reading related scene data corresponding to the scene from the Zwave gateway;
screening related scene data based on the Zwave module group, dividing the related scene data corresponding to the same Zwave module group into one group, and respectively storing each group of related scene data through a Zwave gateway;
the Zwave gateway sequentially sends each group of related scene data to a corresponding Zwave module;
and after each Zwave module receives corresponding related scene data, executing the scene.
In the above embodiment, the Zwave gateway filters and groups the scene data before sending the scene data, the scene data corresponding to each Zwave module is taken as a group, the related scene data is sent to each Zwave module one by one, the Zwave module controls the sending of the scene data to the corresponding device, and compared with the traditional Zwave gateway, the Zwave gateway sends the scene data corresponding to each device to the Zwave module, and the Zwave module sends the scene data to the corresponding device, so that the time is saved.
Preferably, after the related scene data corresponding to the same Zwave module is divided into a group, the related scene data is subjected to data compression, each group of compressed related scene data is stored through the Zwave gateway, and each group of compressed related scene data conforms to the data length specified by the Zwave communication protocol;
and after each Zwave module node receives the compressed related scene data, decompressing the compressed related scene data and executing the scene.
Scene data corresponding to the same Zwave module are stored into a group, the Zwave gateway sends the scene data in the group, the problem that the data length is too long and does not accord with the data length specified in the Zwave communication protocol can exist, and after related scene data are grouped, data compression is carried out on the related scene data of each group, so that the problem that the data format does not accord with the Zwave communication protocol can be avoided.
Preferably, the data compression is performed by format conversion of the related scene data, and the compressed related scene data is binary data.
Preferably, the data format of the related scene data before data compression is an ACSII code.
Preferably, each group of related scene data is stored in the Zwave gateway in an array form.
Preferably, the Zwave gateway stores the scene data and each set of related scene data through its ROM.
The scene response method of the Zwave guest control system has the following advantages:
1. before the Zwave gateway sends the scene data, the related scene data is screened and grouped, the related scene data corresponding to the Zwave module is sent to the Zwave module at one time, and the Zwave module distributes the related scene data to corresponding equipment, so that the time is saved;
2. and performing data compression on the related scene data so that the grouped related scene data meets the data length fixed by the Zwave communication protocol.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 based on these drawings without creative efforts.
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a scene response method of a Zwave guest control system in embodiment 1.
Detailed Description
The present invention is further described in the following with reference to the drawings and the specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention, but the embodiments are not to be construed as limiting the present invention, and the embodiments and the technical features of the embodiments can be combined with each other without conflict.
It is to be understood that "a plurality" in the embodiments of the present invention means two or more.
The embodiment of the invention provides a scene response method for a Zwave guest control system, which is used for solving the technical problem of realizing Zwave guest control scene response under the condition of reducing time.
Example 1:
the invention discloses a Zwave guest control system scene response method, which comprises a Zwave gateway, at least one Zwave module and at least one device, wherein scene data are stored in the Zwave gateway, the scene data comprise but not limited to device labels and device states, each Zwave module is in wireless connection with the Zwave gateway, and each Zwave module is connected with at least one device.
The response method comprises the following steps:
s100, when a scene needs to be executed, reading related scene data corresponding to the scene from the Zwave gateway;
s200, screening related scene data based on the Zwave module group, dividing the related scene data corresponding to the same Zwave module group into one group, and respectively storing each group of related scene data through the Zwave gateway;
s300, the Zwave gateway sequentially sends each group of related scene data to a corresponding Zwave module;
and S400, after each Zwave module receives corresponding related scene data, executing the scene.
In this embodiment, the Zwave gateway stores the scene data and each group of related scene data through its ROM, and each group of related scene data is stored in the form of an array.
In the above embodiment, the Zwave gateway filters and groups the scene data before sending the scene data, the scene data corresponding to each Zwave module is taken as a group, the related scene data is sent to each Zwave module one by one, the Zwave module controls the sending of the scene data to the corresponding device, and compared with the traditional Zwave gateway, the Zwave gateway sends the scene data corresponding to each device to the Zwave module, and the Zwave module sends the scene data to the corresponding device, so that the time is saved.
The following examples are given as examples:
the scene content is stored in a ROM of a Zwave gateway, when a scene is executed, scene data to be executed is read from the ROM, if 20 lamps need to be started, the 20 lamps are respectively distributed below 5 Zwave modules, 4 lamps are arranged below each Zwave module, then the scene data need to be screened, the 20 lamps are filtered one by one, 4 lamps below each Zwave module are respectively found, the four lamps below the same Zwave module are put together, an information space capable of storing the 4 lamps needs to be allocated to each Zwave module, the information space can be stored in an array mode, finally the 4 lamps below the 5 Zwave modules are respectively stored, and based on the high frequency of a linux system, the data operation can be completed within nanosecond-level time, and almost no time is consumed. After the operation is finished, the result is shown that the whole scene can be executed only by sending data for 5 times, the data sent each time only aims at one Zwave module, one piece of data contains information of 4 lamps, a second Zwave module can be sent after the information of one Zwave module is sent, and the like. The scene operation is realized, the time required for sending one piece of data to the Zwave module is 100 milliseconds, the execution time required for sending all the data to the 5 Zwave modules in the whole welcome scene is only 500 milliseconds, and through the processing, the real-time response of the equipment is realized, and the experience of a client is increased.
Considering that scene data is an ACSII code, dividing the scene data corresponding to the same Zwave module into a group, wherein the data length of the group of scene data may exceed the data length specified by a Zwave communication protocol, so that data compression needs to be performed on related scene data, the length of each group of related scene data meets the data length specified by the Zwave communication protocol, and the related scene data are respectively stored in a ROM of a Zwave gateway after each group of compressed scene data is compressed; correspondingly, after each Zwave module receives the compressed related scene data, decompressing the compressed related scene data and executing the scene.
In this embodiment, data compression is performed by performing format conversion on related scene data, and the compressed related scene data is binary data.
Taking the above embodiment as an example, after grouping the scene data, the scene data is already integrated together from a scattered state, but because the Zwave communication protocol has a data length limitation, the available length of the data is only 12 bytes, and if the scene data is sent in an ASCII code format, the Zwave module can only send the scene data of one lamp at a time because 4 pieces of lamp-related scene data need to be compressed. Since one ACSII code occupies one byte and one byte has 8 bits, it is necessary to express scene data (device name and device status) using bit, and if the number 1 is expressed by ASCII code, one ASCII code can express only one number, but if it is processed by bit, 8 bits can express eight numbers 1. The number 1 of ASCII code is represented by binary bit (00000001), the rest 7 bits are wasted, 8 bits are represented by binary bit (11111111), through the bit operation of C language, eight numbers 1 are obtained, 16 devices controlled under one Zwave module can be represented by 12 bytes, after all data are processed, the control of the devices can be completed only by sending one piece of control data to each Zwave module, only 5 pieces of data are needed to be sent in total, after each piece of data is sent to the corresponding receiving Zwave module, the compressed data is decompressed reversely, the bits are converted into ASCII code and then sent to 4 lamps under the Zwave module, scene operation is realized, the time needed for sending one piece of data to the Zwave module is 100 milliseconds, the whole welcome scene needs only 500 milliseconds for sending all data to the 5 Zwave modules, through the processing, the real-time response of the equipment is realized, and the experience of a client is increased.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (6)

1. A scene response method of a Zwave guest control system is characterized in that the Zwave guest control system comprises a Zwave gateway, at least one Zwave module and at least one device, scene data are stored in the Zwave gateway, the scene data comprise but not limited to device labels and device states, each Zwave module is in wireless connection with the Zwave gateway, and each Zwave module is connected with at least one device; the response method comprises the following steps:
when a scene needs to be executed, reading related scene data corresponding to the scene from the Zwave gateway;
screening related scene data based on the Zwave module group, dividing the related scene data corresponding to the same Zwave module group into one group, and respectively storing each group of related scene data through a Zwave gateway;
the Zwave gateway sequentially sends each group of related scene data to a corresponding Zwave module;
and after each Zwave module receives corresponding related scene data, executing the scene.
2. The method for responding to the scenes of the Zwave guest control system according to claim 1, characterized in that after related scene data corresponding to the same Zwave module is divided into a group, the related scene data is compressed, each group of compressed related scene data is stored through a Zwave gateway, and each group of compressed related scene data conforms to the data length specified by the Zwave communication protocol;
and after each Zwave module receives the compressed related scene data, decompressing the compressed related scene data and executing the scene.
3. The method for responding to the scenes of the Zwave guest control system as claimed in claim 2, wherein the data compression is performed by format conversion of the related scene data, and the compressed related scene data is binary data.
4. The method as claimed in claim 2 or 3, wherein the data format of the related scene data before data compression is ACSII code.
5. The method for responding scenes in Zwave guest control system according to claim 1, 2 or 3, wherein each group of related scene data is stored in Zwave gateway in the form of array.
6. The method for responding scenes of Zwave guest system of claim 1, 2 or 3, wherein the Zwave gateway stores scene data and each group of related scene data through its ROM.
CN202010189046.8A 2020-03-18 2020-03-18 Scene response method for Zwave guest control system Active CN111431879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010189046.8A CN111431879B (en) 2020-03-18 2020-03-18 Scene response method for Zwave guest control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010189046.8A CN111431879B (en) 2020-03-18 2020-03-18 Scene response method for Zwave guest control system

Publications (2)

Publication Number Publication Date
CN111431879A true CN111431879A (en) 2020-07-17
CN111431879B CN111431879B (en) 2022-04-26

Family

ID=71548224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010189046.8A Active CN111431879B (en) 2020-03-18 2020-03-18 Scene response method for Zwave guest control system

Country Status (1)

Country Link
CN (1) CN111431879B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226347A (en) * 2013-03-22 2013-07-31 中感科技有限公司 Personalized switch device and control method thereof
US20140118123A1 (en) * 2012-10-31 2014-05-01 Samsung Electronics Co., Ltd. Method and apparatus for controlling home device based on service logic in home network system
CN106231754A (en) * 2016-08-16 2016-12-14 腾讯科技(深圳)有限公司 Lighting Control Assembly, illumination control method and device
CN106506287A (en) * 2016-09-29 2017-03-15 杭州鸿雁智能科技有限公司 Scenery control method and system based on ZigBee
CN109240111A (en) * 2018-10-15 2019-01-18 深圳市欧瑞博科技有限公司 Intelligent home furnishing control method, device, system and intelligent gateway
US20190116635A1 (en) * 2017-10-17 2019-04-18 Cooper Lighting, Llc Method and System for Controlling Functionality of Lighting Devices from a Portable Electronic Device
CN110190986A (en) * 2019-05-07 2019-08-30 深圳绿米联创科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of device configuration
CN110377210A (en) * 2019-07-19 2019-10-25 西安易朴通讯技术有限公司 Security system automates scene configuration method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140118123A1 (en) * 2012-10-31 2014-05-01 Samsung Electronics Co., Ltd. Method and apparatus for controlling home device based on service logic in home network system
CN103226347A (en) * 2013-03-22 2013-07-31 中感科技有限公司 Personalized switch device and control method thereof
CN106231754A (en) * 2016-08-16 2016-12-14 腾讯科技(深圳)有限公司 Lighting Control Assembly, illumination control method and device
CN106506287A (en) * 2016-09-29 2017-03-15 杭州鸿雁智能科技有限公司 Scenery control method and system based on ZigBee
US20190116635A1 (en) * 2017-10-17 2019-04-18 Cooper Lighting, Llc Method and System for Controlling Functionality of Lighting Devices from a Portable Electronic Device
CN109240111A (en) * 2018-10-15 2019-01-18 深圳市欧瑞博科技有限公司 Intelligent home furnishing control method, device, system and intelligent gateway
CN110190986A (en) * 2019-05-07 2019-08-30 深圳绿米联创科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of device configuration
CN110377210A (en) * 2019-07-19 2019-10-25 西安易朴通讯技术有限公司 Security system automates scene configuration method and device

Also Published As

Publication number Publication date
CN111431879B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN103384155B (en) Automatic matching method for radio frequency channels of multichannel distributed antenna system
GB2444879A (en) System and up,down link transmission method of frequency distribution user inserted in local network
CN112152884B (en) Equipment control method and device and household appliance
CN209373365U (en) Wireless centralized manager and intelligent management system
CN102448098B (en) Based on physical layer test macro and the method for ARM and DSP coenocytism
WO2012174826A1 (en) Data compression and decompression method, apparatus and system in distributed base station system
CN108616927A (en) A kind of data transmission and reception method and device
CN109039837A (en) A kind of communication means and intelligent domestic gateway of smart home system
KR20010005758A (en) IrDA MODULATION/DEMODULATION INTEGRATED CIRCUIT DEVICE
CN108702365A (en) Adapter and its control method
CN111431879B (en) Scene response method for Zwave guest control system
CN205563123U (en) Control panel and control system
CN102098063A (en) Method and device for processing transmission of different bandwidth signals in wireless communication system
CN116489236B (en) Electroencephalogram signal real-time lossless compression method and device, electronic equipment and storage medium
CN110971533A (en) Method, server apparatus, client apparatus, and medium for data communication
CN113556320A (en) Ethernet multi-channel audio real-time transmission method and equipment
US11206574B2 (en) Method and apparatus for data communication between MU and RU using multi-channel compression algorithm
CN100446512C (en) Apparatus and method for relay between networks
CN110087375B (en) Illumination control system based on LoRa and illumination control method thereof
CN101146104A (en) A method and device for quickly transmitting physical chip status and status change
CN116054908A (en) Unified management and control method for network resources of multi-baseband system and related equipment
JP2001189763A (en) Radio equipment whose modulation and demodulation characteristics can be changed
JP2001339393A (en) Connection management system
KR101119147B1 (en) Integrated Remote Controller System Using Short-Distance Wireless Communication Module
CN109495425B (en) Data transmission method, communication module, upper computer and data transmission system

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No. 177, Honghai 1st Road, Donggang District, Rizhao City, Shandong Province, China 276800

Patentee after: SHANDONG BITTEL INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 276800 No. 1 Rizhao North Road, Donggang District, Shandong, Rizhao City

Patentee before: SHANDONG BITTEL INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China