CN106603525A - Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device - Google Patents
Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device Download PDFInfo
- Publication number
- CN106603525A CN106603525A CN201611131941.4A CN201611131941A CN106603525A CN 106603525 A CN106603525 A CN 106603525A CN 201611131941 A CN201611131941 A CN 201611131941A CN 106603525 A CN106603525 A CN 106603525A
- Authority
- CN
- China
- Prior art keywords
- data
- sub
- forwarding step
- sending
- wireless communication
- 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
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/26—Special purpose or proprietary protocols or architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
-
- 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/03—Protocol definition or specification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access, e.g. scheduled or random access
- H04W74/08—Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
- H04W74/0808—Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA
- H04W74/0816—Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using carrier sensing, e.g. as in CSMA carrier sensing with collision avoidance
Abstract
The invention relates to a bidirectional wireless communication protocol based on a Sub-GHz small wireless radio frequency device, and solves defects in the prior art. According to the technical scheme, the protocol includes a sending step and a receiving step: the sending step includes: sending step 1, encrypting original data so that different random numbers are output at each time; sending step 2, encoding the random numbers, and generating coded data with a coding error correction function; sending step 3, forming a complete frame of data to be sent by the coded data; sending step 4, sending a complete frame of data in a channel idle period; sending step 5, entering a mechanism for waiting the feedback of ACK from an opposite side after sending data, wherein if the feedback of ACK from the opposite side is received in a specified time T, the emission is successful, and if the feedback is not received, a retransmission mechanism is entered; and sending step 6, performing the retransmission mechanism, re-sending the same data frame continuously, and exiting if the maximum retransmission number is exceeded. According to the protocol, the transmission process of the small wireless device is more stable and robust.
Description
Technical field
The present invention relates to a kind of two-way wireless communication agreement, more particularly to a kind of to be based on Sub-GHz small wireless radio-frequency apparatus
Two-way wireless communication agreement.
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, security 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, security
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, security is low.The problem of the application scenarios of current quickly Internet of Things development cannot have been met,
There is provided the two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus.
The technical solution adopted for the present invention to solve the technical problems is:One kind is based on Sub-GHz small wireless radio-frequency apparatus
Two-way wireless communication agreement, 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 random numbers;
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 True 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.
The substantial effect of invention is:The present invention adopts the communication of Two-way Feedback, anticollision and retransmission mechanism to make small wireless
Device transmission process is more stable, stalwartness.Present invention uses channel error correction encoding mechanism, transmitted error rate is extremely low;Due to making
With AES rolling code encryption mechanisms, True Data is effectively prevented by hack and Replay Attack.The present invention can be applied widely
In the related application scenario of all kinds of Internet of Things, such as smart home, intelligent building etc., have after channel Hamming codings
Code correction function.
Specific embodiment
Below by specific embodiment, technical scheme is described in further detail.
Embodiment:
A kind of two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus, it is characterised in that: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 random numbers;
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.
The present embodiment adopts the communication of Two-way Feedback, anticollision and retransmission mechanism to make small wireless device transmission process more steady
Fixed, stalwartness.The present embodiment has used channel error correction encoding mechanism, and transmitted error rate is extremely low;Due to having used AES rolling code encryption equipments
System, effectively prevents True Data by hack and Replay Attack.The present embodiment can be widely used in all kinds of Internet of Things phases
The application scenario of pass, such as smart home, intelligent building etc., have 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 (5)
1. a kind of two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus, it is characterised in that: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 random numbers;
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.
2. the two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus according to claim 1, its feature exists
In:In forwarding step one, initial data is encrypted through AES rolling codes.
3. the two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus 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.
4. the two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus 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.
5. the two-way wireless communication agreement based on Sub-GHz small wireless radio-frequency apparatus 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.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611131941.4A CN106603525A (en) | 2016-12-09 | 2016-12-09 | Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device |
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 |
---|---|---|---|
CN201611131941.4A CN106603525A (en) | 2016-12-09 | 2016-12-09 | Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106603525A true CN106603525A (en) | 2017-04-26 |
Family
ID=58598483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611131941.4A Pending CN106603525A (en) | 2016-12-09 | 2016-12-09 | Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106603525A (en) |
Cited By (1)
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 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102064984A (en) * | 2010-10-25 | 2011-05-18 | 佛山市瑞德软件科技有限公司 | Wireless data exchange and control system of white home appliances |
CN102355348A (en) * | 2011-06-28 | 2012-02-15 | 中国人民解放军国防科学技术大学 | Fault-tolerant data encryption standard (DES) algorithm accelerator |
CN103609055A (en) * | 2011-06-09 | 2014-02-26 | 高通股份有限公司 | Systems and methods for acknowledging communications from a plurality of devices |
CN104811358A (en) * | 2015-04-03 | 2015-07-29 | 九阳股份有限公司 | Wireless communication method of network household appliance |
US20150264626A1 (en) * | 2014-03-14 | 2015-09-17 | goTenna Inc. | System and method for digital communication between computing devices |
CN105430502A (en) * | 2014-09-19 | 2016-03-23 | 国家广播电影电视总局广播科学研究院 | Set top box remote wake-up method and system |
CN205265682U (en) * | 2015-12-30 | 2016-05-25 | 北京迪创伟业科技有限公司 | Wireless communicator |
-
2016
- 2016-12-09 CN CN201611131941.4A patent/CN106603525A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102064984A (en) * | 2010-10-25 | 2011-05-18 | 佛山市瑞德软件科技有限公司 | Wireless data exchange and control system of white home appliances |
CN103609055A (en) * | 2011-06-09 | 2014-02-26 | 高通股份有限公司 | Systems and methods for acknowledging communications from a plurality of devices |
CN102355348A (en) * | 2011-06-28 | 2012-02-15 | 中国人民解放军国防科学技术大学 | Fault-tolerant data encryption standard (DES) algorithm accelerator |
US20150264626A1 (en) * | 2014-03-14 | 2015-09-17 | goTenna Inc. | System and method for digital communication between computing devices |
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 |
CN205265682U (en) * | 2015-12-30 | 2016-05-25 | 北京迪创伟业科技有限公司 | Wireless communicator |
Cited By (1)
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10631179B2 (en) | HARQ frame data structure and method of transmitting and receiving with HARQ in systems using blind detection | |
US9300602B2 (en) | Method, device, and apparatus for error detection and correction in wireless communications | |
CA2916413C (en) | System and method for transmission source identification | |
RU2013108750A (en) | CHANNEL STATUS FEEDBACK PROTOCOL | |
JP2011019237A5 (en) | ||
CN109040114B (en) | Safe and reliable image transmission method based on narrow-band Internet of things | |
JP2006504337A5 (en) | ||
RU2010149807A (en) | PREVENTIVE ACKNOWLEDGMENT FOR RECEIVING DATA IN A COMMUNICATION SYSTEM | |
CN103607264A (en) | 3G network-based in-band data transmission method | |
WO2014012386A1 (en) | Data transmission method, system and device, method for terminal to acquire data and terminal | |
KR102002939B1 (en) | On-demand file recovery methods and systems | |
WO2018196875A1 (en) | Data processing method and data processing apparatus | |
CN106603525A (en) | Bidirectional wireless communication protocol based on Sub-GHz small wireless radio frequency device | |
CN106685595A (en) | Binding communication method for device based on Sub-GHz small wireless radio frequency | |
US8306545B2 (en) | Method and system for reassigning traffic channel configuration in wireless communication system | |
WO2018103667A1 (en) | Method and apparatus for processing information, communication device and storage medium | |
WO2015077960A1 (en) | Transmission method and device for data packet | |
WO2009049549A1 (en) | Method and device for validity negotiation of management information transport | |
JP7318033B2 (en) | Wireless communication device and wireless communication method | |
Marcille et al. | A cross-layer harq scheme robust to imperfect feedback | |
CN105281863A (en) | Communication data frame transmission method | |
Bansal et al. | Analysis of Sliding Window Protocol for Connected Node | |
WO2014100972A1 (en) | Data transmitting method, receiving method and device | |
TW201707410A (en) | System and method for transmitting data | |
KR20070074103A (en) | Method and apparatus for transmitting packet of multicast service |
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: 20170426 |
|
RJ01 | Rejection of invention patent application after publication |