CN103581139A - Encrypted wireless communication protocol - Google Patents

Encrypted wireless communication protocol Download PDF

Info

Publication number
CN103581139A
CN103581139A CN201210275079.XA CN201210275079A CN103581139A CN 103581139 A CN103581139 A CN 103581139A CN 201210275079 A CN201210275079 A CN 201210275079A CN 103581139 A CN103581139 A CN 103581139A
Authority
CN
China
Prior art keywords
main frame
frame
information
slave
bytes
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
CN201210275079.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210275079.XA priority Critical patent/CN103581139A/en
Publication of CN103581139A publication Critical patent/CN103581139A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an encrypted wireless communication protocol. A master firstly sends encrypted information, and a plurality of slaves monitor the information; when receiving the information of the master, the slaves perform decryption. If it is checked that the information is at fault through a check code, a frame is discarded, and the master resends the information if not receiving a response frame in the set time; if a certain target slave receives the information, the decrypted information is checked to be correct, moreover, the hardware address of the master in the frame meets check requirements, the address of the slave is correct, a command in the frame is operated, and a command result is encrypted and sent to the master. The encrypted wireless communication protocol achieves wireless signal encryption and avoids signal collision.

Description

A kind of home control network communication protocol of encryption
Affiliated technical field
The present invention relates to computer information processing field, be specifically related to the home control network communication protocol for a main frame of industry and a kind of encryption of a plurality of slaves, for solving encryption and the signal head-on collision problem of wireless signal.
Background technology
Wireless widespread adoption enters our society, and wireless application now exists a lot of problems: 1) signal is not encrypted, if there is a machine that frequency range is identical, just can receive content, can also revise and send information.By the signal of encrypting, even if there is intentional monitoring, because there is no password, so do not know the content sent.2) signal head-on collision, in the place of wireless signal complexity, the situation that signal is often disturbed in addition, by the comparison of principal and subordinate address and verification, can avoid the head-on collision problem of signal.
Summary of the invention:
In order to have realized wireless signal, encrypt and avoid signal head-on collision problem, the present invention adopts the scheme of following technology:
1) main frame transmitted signal, all slaves receive signal,
The signal frame basic format of main frame:
Header Data field Telegram end
Pro Data Pro1
Pro: length is 2 bytes.
Data: length is the integral multiple of 16 bytes is the data content of encrypting through main frame.
Pro1: length is 1 byte.
2) slave data decryption territory,
Slave, after data field deciphering, just has 4 groups of following territories to form:
The hardware address of main frame Slave addresses territory Functional domain Verification territory
Masteraddress Slaveaddress Func Crc
Masteraddress: the hardware address of main frame, 8 bytes.
Slaveaddress: slave addresses, 7 bytes.
Func: indicate the command context of this frame, the integral multiple of 16 bytes.
The CRC check result of Crc:1 byte, the hardware address that test range is main frame, slave addresses territory, functional domain.
3) target slave sends Echo Frame, and Echo Frame is that length is the integral multiple of 16 bytes, the data content of encrypting for slave.Echo Frame consists of 4 groups of following territories before encrypting:
The hardware address of main frame Slave addresses territory Functional domain Verification territory
Masteraddress Slaveaddress Func Crc
Masteraddress: the hardware address of main frame, 8 bytes.
Slaveaddress: slave addresses, 7 bytes.
Func: indicate the command context of this frame, the integral multiple of 16 bytes.
The CRC check result of Crc:1 byte, the hardware address that test range is main frame, slave addresses territory, functional domain.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
1) the present invention realizes wireless signal encryption, prevents from monitoring.
2) can be operated in complex environment, avoid signal head-on collision.
Accompanying drawing explanation
Fig. 1 is that the data packet coding form schematic diagram that sends of the main frame of data communication and slave are the data packet coding form schematic diagram after data field deciphering.
Fig. 2 is the front coded format schematic diagram of the slave Data Packet Encryption of data communication.
Fig. 3 is workflow diagram.
Illustrate the workflow of agreement below:
1) information encryption that main frame will send.
2) main frame sends packet, and all slaves receive packet.
3) slave decrypted data packet, unties data field by password.
4) slave obtains 4 groups of territories: the hardware address of main frame, slave addresses territory, functional domain, verification territory.
5) whether slave comes inspection message correct according to verification territory, if verification is not to just losing.
6) main frame is not received Echo Frame at a fixed time, with regard to retransmission of information.
7) if certain target slave receives information, after deciphering, if verification is correct, and in frame, the hardware address of main frame also meets, and in frame, slave addresses is also correct, just moves in frame and orders, and command result is encrypted and beamed back main frame.
Above-described embodiment is preferably implementation method of the present invention; but embodiments of the present invention portion are restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and principle, substitutes, combination, simplify; all should be equivalent substitute mode, within being included in protection scope of the present invention.

Claims (5)

1. a home control network communication protocol for encryption, the information characteristics wherein being sent by main frame is to consist of header, data field, telegram end.
Described header length is 2 bytes.
Described data field length is the integral multiple of 16 bytes, and has passed through encryption.
Described telegram end length is 1 byte.
2. a home control network communication protocol for encryption, the information that wherein main frame sends, through reception and the deciphering of slave, is characterized in that consisting of hardware address, slave addresses territory, functional domain, the verification territory of main frame.
The hardware address of described main frame is 8 bytes.
Described slave addresses is 7 bytes.
Described functional domain is for indicating the command context of this frame, and length is the integral multiple of 16 bytes.
Described from Crc check digit, the hardware address that test range is main frame, slave addresses territory, functional domain.
3. a home control network communication protocol for encryption, the Echo Frame of the information that wherein slave sends, it is characterized in that the byte of the integral multiple of 16 bytes of being encrypted by slave forms.
Data after the deciphering of main frame is characterized in that consisting of the hardware address of main frame, slave addresses territory, functional domain, verification territory.
The hardware address of described main frame is 8 bytes.
Described slave addresses is 7 bytes.
Described functional domain is for indicating the command context of this frame, and length is the integral multiple of 16 bytes.
Described from Crc check digit, the hardware address that test range is main frame, slave addresses territory, functional domain.
4. according to claim 1-3, the home control network communication protocol of described a kind of encryption, is characterized in that first main frame sends the information of encrypting, and some slaves are monitored; When slave has received the information of main frame, just deciphering.If show that by check code verification information is wrong, just abandon this frame, main frame is not received Echo Frame at official hour, just retransmits; If certain target slave receives information, after deciphering, if verification is correct, and in frame, the hardware address of main frame also meets, and in frame, slave addresses is also correct, just moves in frame and orders, and command result is encrypted and beamed back main frame.
5. according to claim 1-4, the home control network communication protocol of described a kind of encryption, is characterized in that main frame carries out communication by broadcast mode and some slaves.
CN201210275079.XA 2012-08-03 2012-08-03 Encrypted wireless communication protocol Pending CN103581139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210275079.XA CN103581139A (en) 2012-08-03 2012-08-03 Encrypted wireless communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210275079.XA CN103581139A (en) 2012-08-03 2012-08-03 Encrypted wireless communication protocol

Publications (1)

Publication Number Publication Date
CN103581139A true CN103581139A (en) 2014-02-12

Family

ID=50052076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210275079.XA Pending CN103581139A (en) 2012-08-03 2012-08-03 Encrypted wireless communication protocol

Country Status (1)

Country Link
CN (1) CN103581139A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104224151A (en) * 2014-10-11 2014-12-24 上海贝生医疗设备有限公司 Data collector and data collection method
CN104836659A (en) * 2015-05-28 2015-08-12 神州融安科技(北京)有限公司 Control method of Bluetooth communication interaction
CN105656741A (en) * 2016-01-05 2016-06-08 深圳警翼数码科技有限公司 Bluetooth serial port data transmission method between police ring or police palm and law enforcement recorder
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
CN106330408A (en) * 2016-08-25 2017-01-11 安徽小木文化科技有限公司 Data transmission system and method
CN108829629A (en) * 2018-06-19 2018-11-16 夏华涛 The means of communication and device
CN109471371A (en) * 2018-12-27 2019-03-15 武汉职业技术学院 A kind of intelligent home control system based on Zigbee

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104224151A (en) * 2014-10-11 2014-12-24 上海贝生医疗设备有限公司 Data collector and data collection method
CN104836659A (en) * 2015-05-28 2015-08-12 神州融安科技(北京)有限公司 Control method of Bluetooth communication interaction
CN104836659B (en) * 2015-05-28 2017-11-07 神州融安科技(北京)有限公司 A kind of control method of bluetooth communication interaction
CN105656741A (en) * 2016-01-05 2016-06-08 深圳警翼数码科技有限公司 Bluetooth serial port data transmission method between police ring or police palm and law enforcement recorder
CN105656741B (en) * 2016-01-05 2018-12-25 深圳警翼数码科技有限公司 A kind of alert ring or the alert bluetooth serial ports data transmission method slapped between law-enforcing recorder
CN106330408A (en) * 2016-08-25 2017-01-11 安徽小木文化科技有限公司 Data transmission system and method
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
CN108829629A (en) * 2018-06-19 2018-11-16 夏华涛 The means of communication and device
CN109471371A (en) * 2018-12-27 2019-03-15 武汉职业技术学院 A kind of intelligent home control system based on Zigbee

Similar Documents

Publication Publication Date Title
CN103581139A (en) Encrypted wireless communication protocol
WO2017080182A1 (en) Data transmission and receiving method, transmitter, receiver, and can bus network
US10505725B2 (en) Method of performing device to device communication between user equipments
US9107069B2 (en) Addressable radio device
KR101356476B1 (en) Data certification and acquisition method for vehicle
CN106850140B (en) Data communication method, device and system
JP2015529047A5 (en)
WO2015144050A1 (en) Method for allocating addressing identifier, access point, station and communication system
JP2014508458A5 (en)
EP3451577B1 (en) Computing device, authentication system, and authentication method
CN104025506A (en) Message authentication method in communication system and communication system
WO2012067942A3 (en) Discovery of electronic devices in a combined network
CN112995138B (en) Data communication method and device, electronic equipment and readable storage medium
EP2843873B1 (en) Digital certificate automatic application method, device and system
KR20170033592A (en) Method and apparatus for transmitting/receiving data in a communication system
GB2494550A (en) Dynamic address allocation to a radio device
CN101986726A (en) Method for protecting management frame based on wireless local area network authentication and privacy infrastructure (WAPI)
WO2014056744A1 (en) Addressable radio device
JP2016534593A5 (en)
JP2016076996A (en) Radio device
CN102026186A (en) Service network detection system and method
KR101705639B1 (en) Method for transmitting and receiving a message in a vehicle network system
EP2720404A1 (en) Addressable radio device
JP5361970B2 (en) Communication system, first communication device, second communication device, encrypted communication method, and program
CN102880838A (en) Method and device for detecting electronic equipment

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Wang Dangdang

Document name: Notification of Passing Preliminary Examination of the Application for Invention

C06 Publication
PB01 Publication
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Wang Dangdang

Document name: Notification of Publication of the Application for Invention

DD01 Delivery of document by public notice

Addressee: Wang Dangdang

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice

Addressee: Wang Dangdang

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140212