CN106685595A - Binding communication method for device based on Sub-GHz small wireless radio frequency - Google Patents

Binding communication method for device based on Sub-GHz small wireless radio frequency Download PDF

Info

Publication number
CN106685595A
CN106685595A CN201710019030.0A CN201710019030A CN106685595A CN 106685595 A CN106685595 A CN 106685595A CN 201710019030 A CN201710019030 A CN 201710019030A CN 106685595 A CN106685595 A CN 106685595A
Authority
CN
China
Prior art keywords
data
communication unit
communication
sub
small wireless
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
Application number
CN201710019030.0A
Other languages
Chinese (zh)
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.)
Hangzhou Gubei Electronic Technology Co Ltd
Original Assignee
Hangzhou Gubei Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Gubei Electronic Technology Co Ltd filed Critical Hangzhou Gubei Electronic Technology Co Ltd
Priority to CN201710019030.0A priority Critical patent/CN106685595A/en
Publication of CN106685595A publication Critical patent/CN106685595A/en
Priority to PCT/CN2017/114838 priority patent/WO2018103667A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1803Stop-and-wait protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]

Landscapes

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

Abstract

The invention relates to a binding communication method for a device based on Sub-GHz small wireless radio frequency, which overcomes the shortcomings of the prior art. The technical scheme comprises that the initialization is performed for a cloud device, a mobile terminal, a host, a first communication unit and a second communication unit which are configured, then the cloud device and the mobile terminal negotiate the binding and authorization of a small wireless device, and a mobile phone enters a message flow with a first communication device and a second communication device; the message flow includes a binding command and an unbinding command, the binding command and unbinding command are transparent to the host, the return to the host is synchronized upon the execution of the binding command and the unbinding command; and finally, bi-directional data communication is initiated between the first communication unit and the second communication unit, and a corresponding scene action is performed.

Description

BOUND communication method based on the equipment of Sub-GHz small wireless radio frequencies
Technical field
It is more particularly to a kind of based on Sub-GHz small wireless radio frequencies the present invention relates to a kind of BOUND communication method of equipment The BOUND communication method of equipment.
Background technology
Existing general small wireless(The free frequency range such as 433MHz)Frequency communication devices mostly adopt simple without code communication, And all it is mostly unidirectional communication, supports without corresponding wireless communication protocol, cause communication efficiency poor, safety is low. Jing cannot meet the application scenarios of current quickly Internet of Things development.
China Patent Publication No.:101345557, a kind of frequency communication devices are disclosed in 2009-01-14, wrap Include cabinet, power amplifier module, wave filter, it is characterised in that also including jointing, one end of the jointing and the work( Amplification module directly connects, and the other end directly connects with the wave filter, and the power amplifier module, the wave filter are located at the machine In case.This technical scheme and existing small wireless(The free frequency range such as 433MHz)Frequency communication devices are mostly adopted simply without coding Communication, and be all mostly unidirectional communication, support without corresponding wireless communication protocol, cause communication efficiency poor, safety It is low.The application scenarios of current quickly Internet of Things development cannot have been met.Therefore develop one kind to penetrate based on Sub-GHz small wireless The two-way wireless communication agreement of frequency equipment can be widely used in the related application scenario of all kinds of Internet of Things, such as intelligent family Residence, intelligent building etc., make small wireless device transmission process more stable, healthy and strong imperative.
The content of the invention
It is an object of the invention to solve the existing small wireless of above-mentioned prior art(The free frequency range such as 433MHz)Radio frequency leads to T unit mostly adopts simple without code communication, and is all mostly unidirectional communication, without corresponding wireless communication protocol Hold, cause communication efficiency poor, safety is low.The problem of the application scenarios of current quickly Internet of Things development cannot have been met, There is provided the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies.
The technical solution adopted for the present invention to solve the technical problems is:A kind of setting based on Sub-GHz small wireless radio frequencies Standby BOUND communication method, the cloud device for configuring first, mobile phone terminal, main frame, the first communication unit and the second communication unit Initialization is completed, then the binding of cloud device and mobile phone terminal negotiation small wireless equipment and is authorized, mobile phone and the first communication equipment And the second inbound message flow process between communication equipment;Described message flow includes bind command and unbind order, binding life Order and unbind order are transparent for main frame, perform when bind command conciliates bind command and synchronously return main frame;Finally, first Bidirectional data communication is proceeded by between communication unit and the second communication unit, and performs corresponding scene action.Using above-mentioned Small wireless radio frequency turn binding mode, with following advantage:The communications control mode of Two-way Feedback, makes scenery control process more Stable, stalwartness.Binding between sub- equipment can independently be selected by user, and Control on Communication not exclusively relies on main frame again.Can be extensive Apply in the related application scenario of all kinds of Internet of Things, such as smart home, intelligent building etc..
Preferably, proceed by bidirectional data communication between the first communication unit and the second communication unit to include sending step Rapid and receiving step:
Forwarding step includes:
Forwarding step one:Initial data is through encryption so that every time output is all different randoms number;
Forwarding step two:The coded data with code correction function is produced after encoding to random number;
Forwarding step three:Coded data is constituted into a complete frame data to be sent;
Forwarding step four:A complete frame data are sent in channel clear period;
Forwarding step five:Send to be entered after data and wait other side's feeding back ACK mechanism, if it is anti-to receive other side in stipulated time T Feedback ACK, then successful launch;Retransmission mechanism is entered if not receiving;
Forwarding step six:Carry out retransmission mechanism to continue to resend same data frames;If it exceeds maximum number of retransmissions is then exited;
Receiving step includes:
Receiving step one:Receiver is received and first parse after data frame, is discriminated whether as effective device id;It is as invalid in verified, abandon Data;Effective then continuation is transmitted;
Receiving step two:It is as invalid in verified after channel decoding and error and verification, abandon data;Effective then continuation is transmitted;
Receive step 3:After decoding, the effective rolling code of correspondence is discriminated whether;As invalid, data are abandoned, effectively then at continuation Reason;
Receive step 4:Continue to differentiate whether data are feeding back ACK frame or general valid data;In this way feeding back ACK frame is then passed Pass transmitting terminal process;If general valid data then report application layer process;
Receiving step five:Receive and produce after valid data an ACK frame and send.
The present invention adopts the communication of Two-way Feedback, anticollision and retransmission mechanism to make small wireless device transmission process more steady Fixed, stalwartness.Present invention uses channel error correction encoding mechanism, transmitted error rate is extremely low;The present invention can be widely used in respectively The related application scenario of class Internet of Things, such as smart home, intelligent building etc..
Preferably, in forwarding step one, initial data is encrypted through AES rolling codes.Due to having used AES rolling codes to encrypt Mechanism, effectively prevents truthful data by hack and Replay Attack.
Preferably, in forwarding step two, after channel Hamming codings the volume with code correction function is produced Data after code;In sub-step three is sent, coded data is further added by into device id and network address information, constitutes complete one Frame data.
Preferably, in receiving step two:After channel Hamming decoding and errors and CRC check, it is invalid such as to verify Then abandon data;Effective then continuation is transmitted.
Preferably, in forwarding step four, before sending by intercepting the anticollision mechanism of channel, present channel is determined Idle period.
Preferably, the application layer of the first communication unit and the second communication unit is responsible for preserving binding information, binding information The binding interface called during including the sub- equipment and communication key, each power-up initializing bound and notification protocol stack.
Preferably, the first communication unit and the second communication unit are single communicator equipment or several communicators setting Standby set.
The substantial effect of invention is:Turn binding mode using above-mentioned small wireless radio frequency, with following advantage:It is two-way anti- The communications control mode of feedback, makes that scenery control process is more stable, stalwartness.Binding between sub- equipment can independently be selected by user Select, Control on Communication not exclusively relies on main frame again.The related application scenario of all kinds of Internet of Things can be widely used in, for example intelligently Household, intelligent building etc..There is code correction function after channel Hamming codings.
Specific embodiment
Below by specific embodiment, technical scheme is described in further detail.
Embodiment:
A kind of BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies, it is characterised in that:The high in the clouds for configuring first Equipment, mobile phone terminal, main frame, the first communication unit and the second communication unit complete initialization, and then cloud device is assisted with mobile phone terminal The binding of business's small wireless equipment is simultaneously authorized, the inbound message flow process between mobile phone and the first communication equipment and the second communication equipment;
Described message flow includes bind command and unbind order, bind command and unbind order for main frame be it is transparent, Perform when bind command conciliates bind command and synchronously return main frame;Finally, open between the first communication unit and the second communication unit Beginning carries out bidirectional data communication, and performs corresponding scene action.
Bidirectional data communication is proceeded by between first communication unit and the second communication unit including forwarding step and reception Step:
Forwarding step includes:
Forwarding step one:Initial data is through encryption so that every time output is all different randoms number;
Forwarding step two:The coded data with code correction function is produced after encoding to random number;
Forwarding step three:Coded data is constituted into a complete frame data to be sent;
Forwarding step four:A complete frame data are sent in channel clear period;
Forwarding step five:Send to be entered after data and wait other side's feeding back ACK mechanism, if it is anti-to receive other side in stipulated time T Feedback ACK, then successful launch;Retransmission mechanism is entered if not receiving;
Forwarding step six:Carry out retransmission mechanism to continue to resend same data frames;If it exceeds maximum number of retransmissions is then exited;
Receiving step includes:
Receiving step one:Receiver is received and first parse after data frame, is discriminated whether as effective device id;It is as invalid in verified, abandon Data;Effective then continuation is transmitted;
Receiving step two:It is as invalid in verified after channel decoding and error and verification, abandon data;Effective then continuation is transmitted;
Receive step 3:After decoding, the effective rolling code of correspondence is discriminated whether;As invalid, data are abandoned, effectively then at continuation Reason;
Receive step 4:Continue to differentiate whether data are feeding back ACK frame or general valid data;In this way feeding back ACK frame is then passed Pass transmitting terminal process;If general valid data then report application layer process;
Receiving step five:Receive and produce after valid data an ACK frame and send.
In forwarding step one, initial data is encrypted through AES rolling codes.
In forwarding step two, after channel Hamming codings the coded data with code correction function is produced; In sub-step three is sent, coded data is further added by into device id and network address information, constitutes a complete frame data.
In receiving step two:It is as invalid in verified after channel Hamming decoding and errors and CRC check, abandon number According to;Effective then continuation is transmitted.
In forwarding step four, before sending by intercepting the anticollision mechanism of channel, determine present channel it is idle when Section.
First communication unit and the second communication unit are single communicator equipment or the set of several communicator equipment.
The application layer of the first communication unit and the second communication unit is responsible for preserving binding information, and binding information includes binding The binding interface called when sub- equipment and communication key, each power-up initializing and notification protocol stack.
The present embodiment turns binding mode using above-mentioned small wireless radio frequency, with following advantage:The communication control of Two-way Feedback Molding formula, makes that scenery control process is more stable, stalwartness.Binding between sub- equipment can independently be selected by user, Control on Communication Main frame is not exclusively relied on again.The related application scenario of all kinds of Internet of Things, such as smart home, intelligent building can be widely used in Space etc..There is code correction function after channel Hamming codings.
Embodiment described above is one kind preferably scheme of the present invention, not makees any pro forma to the present invention Limit, also have other variants and remodeling on the premise of without departing from the technical scheme described in claim.

Claims (8)

1. a kind of BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies, it is characterised in that:The cloud for configuring first End equipment, mobile phone terminal, main frame, the first communication unit and the second communication unit complete initialization, then cloud device and mobile phone terminal Consult the binding of small wireless equipment and authorize, the inbound message stream between mobile phone and the first communication equipment and the second communication equipment Journey;
Described message flow includes bind command and unbind order, bind command and unbind order for main frame be it is transparent, Perform when bind command conciliates bind command and synchronously return main frame;Finally, open between the first communication unit and the second communication unit Beginning carries out bidirectional data communication, and performs corresponding scene action.
2. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:Bidirectional data communication is proceeded by between first communication unit and the second communication unit including forwarding step and receiving step:
Forwarding step includes:
Forwarding step one:Initial data is through encryption so that every time output is all different randoms number;
Forwarding step two:The coded data with code correction function is produced after encoding to random number;
Forwarding step three:Coded data is constituted into a complete frame data to be sent;
Forwarding step four:A complete frame data are sent in channel clear period;
Forwarding step five:Send to be entered after data and wait other side's feeding back ACK mechanism, if it is anti-to receive other side in stipulated time T Feedback ACK, then successful launch;Retransmission mechanism is entered if not receiving;
Forwarding step six:Carry out retransmission mechanism to continue to resend same data frames;If it exceeds maximum number of retransmissions is then exited;
Receiving step includes:
Receiving step one:Receiver is received and first parse after data frame, is discriminated whether as effective device id;It is as invalid in verified, abandon Data;Effective then continuation is transmitted;
Receiving step two:It is as invalid in verified after channel decoding and error and verification, abandon data;Effective then continuation is transmitted;
Receive step 3:After decoding, the effective rolling code of correspondence is discriminated whether;As invalid, data are abandoned, effectively then at continuation Reason;
Receive step 4:Continue to differentiate whether data are feeding back ACK frame or general valid data;In this way feeding back ACK frame is then passed Pass transmitting terminal process;If general valid data then report application layer process;
Receiving step five:Receive and produce after valid data an ACK frame and send.
3. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:
In forwarding step one, initial data is encrypted through AES rolling codes.
4. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:In forwarding step two, after channel Hamming codings the coded data with code correction function is produced;Sending out In sending sub-step three, coded data is further added by into device id and network address information, constitutes a complete frame data.
5. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:In receiving step two:It is as invalid in verified after channel Hamming decoding and errors and CRC check, abandon data;Have Effect then continues to transmit.
6. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:In forwarding step four, before sending by intercepting the anticollision mechanism of channel, the idle period of present channel is determined.
7. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 1, its feature exists In:The application layer of the first communication unit and the second communication unit is responsible for preserving binding information, and binding information includes that the son of binding sets The binding interface called when standby and communication key, each power-up initializing and notification protocol stack.
8. the BOUND communication method of the equipment based on Sub-GHz small wireless radio frequencies according to claim 7, its feature exists In:First communication unit and the second communication unit are single communicator equipment or the set of several communicator equipment.
CN201710019030.0A 2016-12-09 2017-01-11 Binding communication method for device based on Sub-GHz small wireless radio frequency Pending CN106685595A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710019030.0A CN106685595A (en) 2017-01-11 2017-01-11 Binding communication method for device based on Sub-GHz small wireless radio frequency
PCT/CN2017/114838 WO2018103667A1 (en) 2016-12-09 2017-12-06 Method and apparatus for processing information, communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710019030.0A CN106685595A (en) 2017-01-11 2017-01-11 Binding communication method for device based on Sub-GHz small wireless radio frequency

Publications (1)

Publication Number Publication Date
CN106685595A true CN106685595A (en) 2017-05-17

Family

ID=58849435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710019030.0A Pending CN106685595A (en) 2016-12-09 2017-01-11 Binding communication method for device based on Sub-GHz small wireless radio frequency

Country Status (1)

Country Link
CN (1) CN106685595A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018103667A1 (en) * 2016-12-09 2018-06-14 杭州古北电子科技有限公司 Method and apparatus for processing information, communication device and storage medium
CN111682995A (en) * 2020-06-02 2020-09-18 东莞市日东智能装备有限公司 Electric curtain control method applying Sub-GHz

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660293A (en) * 2013-11-21 2015-05-27 国家电网公司 Terminal, intelligent electricity consuming system and method for acquiring electricity consumption information
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN105430502A (en) * 2014-09-19 2016-03-23 国家广播电影电视总局广播科学研究院 Set top box remote wake-up method and system
CN106027604A (en) * 2016-04-29 2016-10-12 北京航天控制仪器研究所 Container monitoring system based on hybrid networking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660293A (en) * 2013-11-21 2015-05-27 国家电网公司 Terminal, intelligent electricity consuming system and method for acquiring electricity consumption information
CN105430502A (en) * 2014-09-19 2016-03-23 国家广播电影电视总局广播科学研究院 Set top box remote wake-up method and system
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN106027604A (en) * 2016-04-29 2016-10-12 北京航天控制仪器研究所 Container monitoring system based on hybrid networking

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018103667A1 (en) * 2016-12-09 2018-06-14 杭州古北电子科技有限公司 Method and apparatus for processing information, communication device and storage medium
CN111682995A (en) * 2020-06-02 2020-09-18 东莞市日东智能装备有限公司 Electric curtain control method applying Sub-GHz

Similar Documents

Publication Publication Date Title
JP2006504337A5 (en)
CN103051928B (en) wireless audio and video data transmission method and device
SE0202321D0 (en) Apparatus and method for retransmitting high-speed data in a CDMA mobile communication system
JP2011019237A5 (en)
WO2014012386A1 (en) Data transmission method, system and device, method for terminal to acquire data and terminal
CN108631789A (en) Coding, interpretation method and equipment
EP3637657B1 (en) Communication method, network device and terminal
CN103716129A (en) Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus
WO2010097017A1 (en) Wireless communication system and data transmission method thereof
CN108370293B (en) Relay method, relay, destination device, and communication system thereof
CN105847199B (en) The method and device of PUSCH Channel Detection ACK/NACK state
CN103607264A (en) 3G network-based in-band data transmission method
CN106685595A (en) Binding communication method for device based on Sub-GHz small wireless radio frequency
CN104113722A (en) Wireless video conference transmission method
KR20170107533A (en) On-demand file recovery methods and systems
RU2010109752A (en) METHODS AND DEVICES FOR TRANSFER OF NON-DECODABLE PACKAGES
CN1988537A (en) Data transmission protocol
US8306545B2 (en) Method and system for reassigning traffic channel configuration in wireless communication system
WO2011009375A1 (en) Method and user equipment for transmitting precoding control indication information
WO2015168873A1 (en) Sending device, receiving device, and wireless communication method and system
CN106603525A (en) Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device
WO2018103667A1 (en) Method and apparatus for processing information, communication device and storage medium
CN103475454A (en) Method and device for accessing base station in communication system with selection confirming mechanism
CN107483299A (en) Internet of things access method and device
WO2018072159A1 (en) Data transmission method, network device and terminal device

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
CB02 Change of applicant information

Address after: 310000 Room 101, 1st Floor, Block C, No. 57, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Bolian Intelligent Technology Co., Ltd.

Address before: Room 106, Building No. 1, 611 Jianghong Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou Gubei Electronic Technology Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication