CN105634888B - A kind of smart home collaboration networking communication method and system based on VSOP agreement - Google Patents
A kind of smart home collaboration networking communication method and system based on VSOP agreement Download PDFInfo
- Publication number
- CN105634888B CN105634888B CN201610051784.XA CN201610051784A CN105634888B CN 105634888 B CN105634888 B CN 105634888B CN 201610051784 A CN201610051784 A CN 201610051784A CN 105634888 B CN105634888 B CN 105634888B
- Authority
- CN
- China
- Prior art keywords
- variable
- vsop
- byte
- message
- address
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/168—Implementing security features at a particular protocol layer above the transport layer
-
- 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/30—Definitions, standards or architectural aspects of layered protocol stacks
Abstract
A kind of smart home collaboration networking communication method and system based on VSOP agreement, it is related to smart home field of communication technology, frame decoding coding is carried out using the information frame format of variable safety operation agreement VSOP in the application layer of smart home Turbo Detection for Cooperative Communication protocol stack, to realize information in the conversion and acquisition of application layer, variable safety operation agreement VSOP uses the message with security signature, using the sensor information of variable mode of operation control node and acquisition node acquisition, node device active acquisition instruction collection is made using variable description, increase cryptographic variable, realize bi-directional verification.By the limitation to application layer, it can achieve different communication protocol in the compatible collaboration and superiority and inferiority complementation of application layer, the intelligent home network of compatible different agreement can be effectively integrated.
Description
Technical field
The present invention relates to field of communication technology, specifically a kind of communication technology for smart home system.
Background technique
By retrieving the prior art, in smart home related fields there are numerous communication modes and different technical protocols,
Such as ZigBee, 6LowPAN, bluetooth, Ethernet, Wi-Fi, IEEE 802.15.4 radio frequency standard, PLC etc., they use together
One technical specification carries out networking communication.Although there is currently many smart home technologies and schemes, and in rate, function
The different applications such as consumption, wiring, mobile phone access have some superiority, but can be compatible mixed by different specification without one kind
The advantages of method and system that conjunction uses, this is by different communication modes are utilized to the smart home device under different application
It carries out mixed networking communication band and carrys out certain defect.
Variable safety operation agreement VSOP (Variable Safety Operation Protocol) is that China formulates
The relevant standard criterion of first smart home, main feature have: different communication modes can be by VSOP as defined in application layer
Standard traffic message format carries out content acquisition and converting transmission;VSOP, which is defined, simplifies effective intelligent node equipment description rule
Model can have terminal read operation instruction set after joining the network;VSOP defines the Signcryption Algorithm of application layer data, guarantees
Data peace when the data safety of data and equipment during communication and networking, especially progress interconnection agreement conversion
Entirely;Variable design mode of operation makes smart home system operability compatibility, and scalability is stronger, and valued added applications exploitation (such as cloud
Service) it is more convenient.
VSOP is the agreement that a kind of smart home device of regulation variable operation automatically controls, which describes application layer
Data frame format and variable operating method and variable technical solutions and the technical standard such as descriptor format and method, so as to
It interconnects with what the products such as distinct device and the smart home of system can be realized, the propagation of data is made not to be specially defined in certain
A mode or medium.VSOP defines the communication mode unrelated with bottom, focuses on and makes unification in the application layer of Communication Model
Regulation includes the basic contents such as frame format, safe mode, equipment describing mode, variable mode of operation.But only due to VSOP
It makes stipulations to application layer, its exclusive use is made not have the abilities such as ad hoc network, routing relaying, this has been greatly reduced its communication
Ability.
Summary of the invention
The present invention in view of the foregoing defects the prior art has, and proposes one kind for smart home system based on various protocols
The communication means of system.
The technical solution that the present invention solves above-mentioned technical problem is to propose a kind of smart home collaboration based on VSOP agreement
Networking communication method, the collaboration networking communication method include: the application layer use in smart home Turbo Detection for Cooperative Communication protocol stack
The information frame format of variable safety operation agreement VSOP carries out frame decoding coding, to realize information in the conversion of application layer and obtain
It takes, variable safety operation agreement VSOP uses the message with security signature, using variable mode of operation control node and is saved
The sensor information of point acquisition makes node device active acquisition instruction collection using variable description, increases cryptographic variable, realizes two-way
Verifying.It is extended for function code of the VSOP agreement to application layer, and provides its corresponding frame format.
The one of embodiment of the present invention further comprises, the physical layer of smart home Turbo Detection for Cooperative Communication protocol stack and
MAC layer uses IEEE 802.15.4 standard, and network layer and transport layer use 6LowPAN transmission standard, retain WiFi, ZigBee,
The network layer transport layer of 6LowPAN communications protocol, makes VSOP have ad hoc capability.
The information frame format of variable safety operation agreement VSOP uses the message with security signature, and message is binary system lattice
Formula, comprising: 2 byte frame heads, 1 byte message length, the signature code type of 1 byte, 1 byte device identify ID number, 1 byte function
Code, 0-14 byte data, 4 byte time codes, 8 byte security signatures.
Variable safety operation agreement VSOP includes address of variable distribution and variable description specification, wherein address of variable distribution
Include: setting bit variable be 1, register be 16, variable description register be 128, after reading "None" terminate read
It takes;Variable description specification includes: the definition of input bit address of variable and the definition of output bit address of variable, facility information register variable
Address definition, the definition of user's holding register address of variable, the definition of user's input register address of variable.Report with security signature
Encryption method specifically includes in text: distribute root key Root Key for equipment, each equipment possesses unique security identifier code,
Dispersion code key is obtained according to corresponding decentralized algorithm, each equipment generates distributed key;According to equipment distributed key Key,
The data DATA to be signed calls F function to obtain security signature code.Security signature code is loaded into the end of application layer message, structure
At complete application layer VSOP message.
The present invention also proposes a kind of smart home coordinated groups net communication system based on VSOP agreement, in system protocol stack
Physical layer and MAC layer use IEEE 802.15.4 standard, and network layer and transport layer use 6LowPAN transmission standard, and application layer makes
Frame decoding coding is carried out with the information frame format of variable safety operation agreement VSOP, to realize information in the conversion of application layer and obtain
It takes, variable safety operation agreement VSOP uses the message with security signature, using variable mode of operation control node and is saved
The sensor information of point acquisition makes node device active acquisition instruction collection using variable description, increases cryptographic variable, realizes two-way
Verifying.
This means of communication uses VSOP to advise as the application layer of different communications protocol (such as ZigBee, 6LowPAN, WiFi)
Model is compatible with different intelligent household communication network in application layer.It specifically includes:
Intelligent household terminal equipment issues registration request and enters registration operating mode;The communication interface module being connected with gateway
Obtain signal, decode application layer data packet, by application layer data packet hardware connect by way of (UART or USB) transparent biography
It is defeated by gateway;Intelligent domestic gateway obtains application layer data by coupled communication interface module and records terminal device pair
The communication modes answered prompt user's input terminal device password to send terminal device verifying by the communication modes of record;Password
Correct then terminal returns to registration information;Gateway access smart home device information system verifies registration information (safe identification code etc.
Essential information) it is whether legal;Equipment is legal, obtains variable description information and is converted to operational order collection according to rule, using setting
ID number that back-up is matched sends terminal device and succeeds in registration order to correspondence communication interface module;Communication interface module binding protocol
Location and device id, and forward data to terminal device;Terminal device learn succeed in registration and registration timeout backed off after random registration work
Operation mode.
After networking, intelligent domestic gateway and terminal device carry out letter by communications protocol of its own integrated VSOP application layer
Cease two-way interactive.Terminal device is by itself using communication interface module of the communications protocol of VSOP application layer to gateway same type
Data are sent, the application layer data that communication interface module decoding obtains (UART or USB) in such a way that hardware connects passes through
Gateway;Gateway is decoded verifying to information, and deals with.Gateway is sent to the communication interface module of corresponding communications protocol
The application layer data packet of VSOP rule;Communication interface module uses the protocol address bound with ID that data packet is passed through the logical of itself
News agreement is sent to terminal device;Terminal device is decoded verifying to information, and deals with.
By using VSOP as other communications protocol and the application layer of communication modes rule, pass through the limit to application layer
System can achieve different communication protocol in the compatible collaboration and superiority and inferiority complementation of application layer, can effectively integrate compatible different agreement
Intelligent home network, so that intelligent home network is had complementary advantages, reduce overall cost while improving network performance, look forward to
Industry also can effectively integrate the product of different manufacturers.VSOP also compensates for other communications protocol to the encipherment scheme of application layer and answers
The shortcomings that with layer without encryption, keep smart home system more safe and reliable.
Detailed description of the invention
Fig. 1 interrogates system architecture diagram based on the smart home coordinated groups Netcom of VSOP agreement;
Fig. 2 interrogates gateway architecture figure based on the smart home coordinated groups Netcom of VSOP agreement;
The terminal device structure chart that Fig. 3 is interrogated based on the smart home coordinated groups Netcom of VSOP agreement;
Fig. 4 interrogates protocol hierarchy figure based on the smart home coordinated groups Netcom of VSOP agreement;
The generation flow chart of Fig. 5 security signature code;
Fig. 6 equipment, which networks, applies for operational flowchart.
Specific embodiment
The present invention is based on the smart home of VSOP agreement collaboration networking communication methods, and using VSOP, (variable safety operation is assisted
View) as application layer technical standard and in conjunction with a set of novel intelligent house network system of 6LowPAN protocol construction and all kinds of
Product.
As shown in Figure 1 for the present invention is based on the system architecture diagrams that the smart home of VSOP agreement cooperates with networking communication method.
This smart home system establishes safe communication networks using VSOP standard in local intelligent household network, and data are by smart home
Gateway is collected processing, and carries out data exchange by home router and external the Internet.Terminal applies can pass through net
Smart home device is checked and controlled to the modes such as page, APP access home server.
This system, which can design, realizes that the smart home system of collaboration includes: background server, mobile APP terminal, collaboration
Communication Gateway and a series of intelligent household terminal products.Terminal node product includes: intelligent appliance control equipment, intelligent sensing inspection
Measurement equipment, intelligent security guard detection device, intelligent energy consumption control equipment, wired home Medical Devices.
Variable safety operation agreement VSOP (Variable Safety Operation Protocol) is a kind of for intelligence
The application layer communication standard that energy equipment household automatically controls.Main feature has: different communication modes can be provided by application layer
VSOP standard traffic message format carry out content acquisition and converting transmission;VSOP, which is defined, simplifies effective intelligent node equipment
Description standard, after joining the network terminal device read operation instruction set;The encrypted signature that VSOP defines application layer data is calculated
Method, when guaranteeing data safety during communication and networking of data and equipment, especially progress interconnection agreement conversion
Data safety;Variable design mode of operation makes smart home system operability compatibility, and scalability is stronger, and valued added applications are developed
(such as cloud service) is more convenient.
It is illustrated in figure 2 the smart home collaboration networking communication method cooperative communication gateway based on VSOP agreement.Collaboration is logical
News gateway is designed using the collaboration networking communication method.Cooperative communication gateway, as processor, carries Linux using ARM
The interface operating system+Qt or Android operation system, in addition to having the electricity such as necessary Flash, power supply, clock that itself work
Outside road, it is also equipped with Ethernet interface, USB interface, RS232 interface, UART interface.Patching application layer by distinct interface is VSOP
The communication modules such as Wi-Fi, Zigbee, Ethernet, 6LowPAN, the IEEE 802.15.4 radio frequency of specification, and according to this coordinated groups
Netcom's communication method process realizes different intelligent household network in the compatibility of application layer.The compatibility of the application layer data of each communication interface
It is completed with gateway is aggregated in.
Fig. 3 show the intelligent household terminal equipment of the collaboration networking communication method of the smart home based on VSOP agreement.Eventually
End equipment possesses own individual microprocessor and minimum system peripheral circuit, and microprocessor includes CC2530,89C51, STM32, AVR etc.
Single-chip microcontroller can acquire various kinds of sensors data by driver and driving circuit and drive various actuator movements.
Terminal device also has other extension functions.It is set by application layer using any communications protocol and mode, terminal of VSOP specification
Data interaction is carried out for similar communications protocol and mode can be corresponded to gateway.The communication module being directly connected to gateway will
Application layer data issues gateway, and data are finally handled in completion.
Fig. 4 show the collaboration networking communication method protocol hierarchy figure of the smart home based on VSOP agreement.
Protocol stack layering is main are as follows: physical layer, MAC layer, network layer, transport layer, application layer composition.
Physical layer, MAC layer use IEEE 802.15.4 standard, and IEEE 802.15.4 describes low rate radio individual office
The physical layer and MAC layer scheme of domain net.
Complicated 6LowPAN (Low rate wireless personal area network based on IPv6), ZigBee etc. can be used in network layer, transport layer
The network layer and transport layer standard of agreement, also can be used star of the low complex degree as defined in VSOP based on IEEE802.15.4 standard
The point-to-point radio frequency network of type is transmitted.Application layer carries out frame decoding coding using information frame format as defined in VSOP, to realize
Conversion and acquisition of the information in application layer.Above-mentioned network protocol is used in the application of low rate home equipment, can achieve low function
The many advantages such as consumption, low cost.Data volume is larger and the higher smart home device of network speed requirement in use IEEE
802.11 (Wi-Fi) or IEEE 802.3 (Ethernet) carry out information exchange and monitoring of tools, such as video, audio.
Variable safety operation agreement VSOP application layer packet format uses the message with security signature, and message is binary system lattice
Formula, including two byte frame head 0xFA, 0xF5 are fixed, the message length of 1 byte, the signature code type of 1 byte, the ID number of 1 byte,
The function code of 1 byte, the data of 0-14 byte, the timing code of 4 bytes, the security signature of 8 bytes.Message format is as shown in table 1.
Message table (binary format) of the table 1 with security signature
Frame head | Message length | Signature type code | ID | Function code | Data field | Timing code | Security signature |
0xFAF5 | 1 byte | 1 byte | 1 byte | 1 byte | 0-14 byte | 4 bytes | 8 bytes |
Each domain explanation such as table 2 in message: frame head is immobilized substance, and message length includes message length domain itself and reports later
Text joint number;Signature type code it is low 4 for distinguish signature type, it is high 4 difference whether packetized data, device id be intelligence set
Whether standby device number is for identification native data, and function code is for indicating this message operating function and format, data field packet
Containing required data, timing code is the serial number that controller issues order, and security signature code is encryption of the equipment to VSOP data
Signature, it is whether safe and effective by verifying the value verification information.
Each domain of 2 message of table illustrates table
Application level function code is as shown in table 3: 0x00 is for reading the device attribute information in facility information register, such as
Equipment safety identification code, device name etc., the register address of related content are fixing address;0x01 is to read the specified ground of slave
The switch state function of the discrete magnitude delivery outlet of location;0x02 is the discrete magnitude input state read slave and specify address;0x03 read from
Machine specifies the holding register value of address;0x04 reads the value that slave specifies the input register of address;0x05 writes the specified ground of slave
The single coil state of location;0x06 writes the single register value that slave specifies address;0x0F writes multiple lines that slave specifies address
Round state;0x10 writes multiple buffer status (this function is this patent what's new) that slave specifies address, this operation is only permitted
Perhaps it cannot be used by a user before factory for modifying variable description and equipment essential information;0x20 is to read variable description deposit
Device function;0x30 is that user extends function (this function is this patent what's new), can be straight by data field using this function code
Interface as defined in equipment (such as UART, SPI) output was connected, the data obtained from interface are also loaded into application using this function code
Layer message data domain.
3 application level function code explanation of table
Function code | Meaning |
00(0x00) | Read equipment essential information |
01(0x01) | The switch state for reading slave discrete magnitude delivery outlet, does not support to broadcast |
02(0x02) | Read discrete magnitude input |
03(0x03) | Read holding register |
04(0x04) | Read input register |
05(0x05) | Write single coil |
06(0x06) | Write single register |
15(0x0F) | Write multiple coils |
16(0x10) | Write multiple registers (this patent is newly-increased, for modifying facility information register and variable description register) |
32(0x20) | Registration obtains variable description |
48(0x30) | User function extension (this patent is newly-increased) |
Different function code corresponds to different frame formats, and specific corresponding frame format is as follows:
According to application level function code encoding setting server end, terminal, gateway end rule of communication, determine read equipment
Information, equipment state, register and encryption method.Such as:
00H function code frame coding and rule of communication: it server-side hair: reads the facility information that device number ID is 0xF1 and deposits
Device, register initial address are 0x00, and register number is 1, and equipment uses VSOP-IV grades of encryptions, and encryption method is
VSOP_WITH_TEA。
Terminal is returned:
01H function code frame coding and rule of communication:
Server-side hair: the bit variable state for the equipment that inquiry ID is 1, for bit address since 00H, bit variable number is 2.
Terminal is returned: bit variable value is followed successively by 1,0, represents state using every of 16 system numbers, not enough mends 0, obtains binary system
Number (0,100 0000), is expressed as 40H using 16 systems.
02H function code frame coding and rule of communication:
Server-side hair: reading the input bit variate-value for the equipment that ID is 0x02, initial address 0x04, and quantity is 4.
Terminal is returned: by address, state corresponds to each of character type data from low to high to the expression of input bit variable from small to large
Position is (0,000 1100), and 16 systems are expressed as 0CH.
03H function code frame coding and rule of communication:
Server-side hair: read ID be 0x30 equipment holding register value, to read register first address is
0x00, number are 1.
Terminal is returned: being returned to the value of total 1 holding register since initial address 0x00, is worth for 0x0010, accounts for 2 altogether
Byte.
04H function code frame coding and rule of communication:
Server-side hair: reading the value of the input register for the equipment that ID is 0x10, and input register initial address is 0x00,
Number is 1.
Terminal is returned: returning to the value for amounting to 1 input register since the 0x00 of address, value 0x5320 accounts for 2 words altogether
Section.
05H function code frame coding and rule of communication:
Server-side hair: 05H function code, the state of preset single bit variable, output bit address of variable 0x00 are used.0xF0 table
Show out, 0x00 indicates to close.
Terminal is returned: the state for the output bit variable that return address is 0x00, state are high level.
06H function code frame coding and rule of communication:
Gateway hair: preset ID is the value of the single input register of the equipment of 0x30, and the address of input register is 0x00,
Preset value is 0x0030.
Terminal is returned: the input register value that address is 0x00 is 0x0030.
0FH function code frame coding and rule of communication:
Server-side hair: preset multiple output bit variables.Export 10 bit variables of the bit variable initial address since 0x00
It is state prewired to be expressed as 0x01,0xCD using character type data for (01 1,100 1101) (status is preceding in frame).
Client is returned:
10H function code frame coding and rule of communication:
Gateway end hair: modifying the holding register value for the equipment that ID is 0x30,6 registers since originating 0x02
Value is respectively modified as are as follows: 0x00a, 0x00b, 0x00c, 0x00d, 0x00e, 0x00f.
Terminal is returned: returning to the first address of the register of modification and the register number of modification
20H function code frame coding and rule of communication:
Gateway end hair: (variable description information is fixed as 8 deposits to the variable description information for the equipment that reading ID number is 0x30
Device), the register initial address for the variable description information to be read is 0x30.
Terminal is returned: returning to the value of 8 variable description registers.
30H function code frame coding and rule of communication:
Server-side hair: the data of data field part are passed through expanding communication by the extension function using the equipment that ID number is 0x02
Mouth forwards.
Frame head | Message length | Signature type code | Device id | Function code | Data field | Timing code | Security signature |
FAF5 | 0x10 | 0x04 | 0x02 | 0x30 | 0x30 | 4 bytes | 8 bytes |
Terminal is returned: the data received from expanding communication mouth are loaded into data field back to server-side.
Frame head | Message length | Signature type code | Device id | Function code | Data field | Timing code | Security signature |
FAF5 | 0x10 | 0x04 | 0x02 | 0x30 | 0x30 | 4 bytes | 8 bytes |
Mistake returns to frame coding rule: returning to error number.
Frame head | Message length | Signature type code | Device id | Function code | Data field | Timing code | Security signature |
2 bytes | 1 byte | 1 byte | 1 byte | 1 byte | 1 byte | 4 bytes | 8 bytes |
FAF5 | 0x10 | Encryption type | Local ident | Current value | Error number | Serial number | Signed codevector |
The physical layer and MAC layer of smart home Turbo Detection for Cooperative Communication of the invention use IEEE 802.15.4 standard, network
The network layer and transport layer that layer and transport layer use 6LowPAN as networking and transmission standard, grasped safely using variable by application layer
The information frame format for making agreement VSOP carries out frame decoding coding.Variable safety operation agreement VSOP includes, address of variable distribution with
Variable description specification.Concretely:
Address of variable distribution: setting bit variable is 1, and register is 16 (2 byte), and variable description register is 128
Position (16 byte) terminates to read after reading "None", and address later is not used.
Variable description specification includes: the definition of input bit address of variable and the definition of output bit address of variable, facility information deposit
The definition of device address of variable, the definition of user's holding register address of variable, the definition of user's input register address of variable.
The definition of input bit address of variable, corresponding variable description register address and register information format such as table 4:
4 input bit address of variable of table defines table
The definition of output bit address of variable, corresponding variable description register address and register information format such as table 5:
5 output bit address of variable of table defines table
The definition of facility information register variable address and the register variable information content such as table 6:
6 facility information register variable address of table defines table
The definition of user's holding register address of variable, corresponding variable description register address and register information format are such as
Table 7:
7 user's holding register address of variable of table defines table
The definition of user's input register address of variable, corresponding variable description register address and register information format are such as
Table 8:
8 user's input register address of variable of table defines table
Encryption method specifically includes in message table with security signature:
Distribute root key Root Key (such as 16Byte) for enterprise, equipment vendor, each equipment possesses unique security identifier
Code SecurityTag_9Byte obtains dispersion code key according to corresponding decentralized algorithm, and each equipment generates the key (table 9) of dispersion.
Equipment vendor freely provides decentralized algorithm, can be added for corresponding byte.Such as decentralized algorithm VSOP_WITH_SM1 and VSOP_
WITH_AES: distributed key Key is RootKey_16Byte byte corresponding with (SecurityTag_9Byte add 7 bytes 0)
Addition obtains.Decentralized algorithm VSOP_WITH_DES and VSOP_WITH_TEA6: distributed key Key are 8 before RootKey_16Byte
8 bytes obtain before byte adds SecurityTag_9Byte.
Equipment vendor can unrestricted choice code key type, and dispersion code key is obtained according to corresponding decentralized algorithm.
9 distributed key algorithm table of table
It is illustrated in figure 5 and generates security signature code flow diagram, each manufacturer has equipment vendor's signature root close
Key, each equipment have a unique safe identification code to be supported by the root key of safe identification code and equipment vendor according to equipment
Encryption type be that the dispersion of each equipment generates different types of signature key.
Such as table 10, VSOP-I level security uses MAC-SM1 signature algorithm, and F function algorithm is identified as VSOP_WITH_
SM1.VSOP-II level security uses MAC-AES signature algorithm, and F function algorithm is identified as VSOP_WITH_AES.VSOP-III
Level security uses MAC-DES signature algorithm, and F function algorithm is identified as VSOP_WITH_DES.VSOP-IV level security uses
MAC-TEA signature algorithm, F function algorithm are identified as VSOP_WITH_TEA6.
10 F type function of table (VSOP_WITH_TEA6 is the default algorithm that must be supported)
The composition of DATA is following (less than 0 filling):
Data_8Byte=function code (1 byte)+functional parameter length (1 byte)+functional parameter (2 byte)+timing code
(4 byte).
Data_16Byte=function code (1 byte)+functional parameter length (1 byte)+functional parameter (10 byte)+time
Code (4 byte).
Security signature code.F function is called to obtain security signature according to equipment distributed key Key, the data DATA to be signed
Code, F function (Function) are a function for signing to message data computations, i.e. security signature code=F
(DATA, Key).F function includes VSOP_WITH_SM1, VSOP_WITH_AES, VSOP_WITH_DES, VSOP_WITH_TEA6.
Pass through signature algorithm in a device: security signature code=F (DATA, Key), the security signature code of generation will be loaded into application layer
The end of message constitutes final complete application layer VSOP message.Pass through the encryption of message identification first after receiving message
Type chooses corresponding Encryption Algorithm, and the security signature code for including by message is decrypted to obtain initial data DATA content, according to
Data field content carries out relevant operation.
In VSOP smart home system, networking (the already present intelligent house network system is added) needs pair of new equipment
Home gateway, which is operated to verify device address, is added management list.Detailed process is as shown in Fig. 6 flow chart.
Equipment is added into network process, and detailed description are as follows:
(1) setting VSOP gateway searches for new equipment using the address F1H and default encryption mode, obtains the application received and enters
Net device name;
(2) new equipment sends the application that networks, and changing ID is registration ID:0xF1, sends the application instruction that networks;
(3) equipment to be added is selected by gateway, and requests the secure authentication information of new equipment;
(4) after request obtains the secure authentication information of equipment, the log-in password of new equipment is inputted.
(5) after new equipment networking is verified, equipment can carry out the operation such as ID distribution and log-in password change.
(6) the instruction set detailed device for determining that gateway will acquire addition equipment after new equipment is added describes variable.
(7) the gateway transmission successfully message that networks gives networking successful new equipment, and will terminate this secondary device therewith and added
Journey.User can continue to add other application equipment and also exit addition new equipment working condition.
Claims (6)
1. a kind of smart home based on VSOP agreement cooperates with networking communication method: it is characterized in that, logical in smart home collaboration
Believe that the application layer of system protocol stack carries out frame decoding coding using the information frame format of variable safety operation agreement VSOP, to realize
Information application layer conversion and acquisition, variable safety operation agreement VSOP use the message with security signature, grasped using variable
Make mode control node and obtain the sensor information of node acquisition, node device active acquisition instruction is made using variable description
Collection increases cryptographic variable, realizes bi-directional verification;
Variable safety operation agreement VSOP includes address of variable distribution and variable description specification, wherein address of variable distribution packet
Include: setting bit variable is 1, and register is 16, and variable description register is 128, terminates to read after reading "None";
Variable description specification includes: that the definition of input bit address of variable and output bit address of variable define, facility information register variable
Location definition, the definition of user's holding register address of variable, the definition of user's input register address of variable;
The information frame format of variable safety operation agreement VSOP uses the message with security signature, and message is binary format, packet
Include: 2 byte frame heads, 1 byte message length, the signature code type of 1 byte, 1 byte device identify ID number, 1 byte function code, 0-
14 byte datas, 4 byte time codes, 8 byte security signatures.
2. the method according to claim 1, wherein the physical layer of smart home Turbo Detection for Cooperative Communication protocol stack and
MAC layer uses IEEE 802.15.4 standard, and network layer and transport layer use 6LowPAN transmission standard, retain WiFi, ZigBee,
The network layer transport layer of 6LowPAN communications protocol, makes VSOP have ad hoc capability.
3. the method according to claim 1, wherein encryption method specifically includes in the message with security signature:
Distribute root key Root Key for equipment, each equipment possesses unique security identifier code, calculates according to corresponding dispersion
Method obtains distributed key, and each equipment generates distributed key;It is called according to equipment distributed key Key, the data DATA to be signed
F function obtains security signature code, and F function is a function for signing to message data computations, i.e. safety label
Name code=F (DATA, Key).
4. according to the method described in claim 3, it is characterized in that, security signature code is loaded into the end of application layer message,
Constitute complete application layer VSOP message.
5. a kind of smart home coordinated groups net communication system based on VSOP agreement, which is characterized in that in the object of system protocol stack
It manages layer and MAC layer uses IEEE 802.15.4 standard, network layer and transport layer use 6LowPAN transmission standard, and application layer uses
The information frame format of variable safety operation agreement VSOP carries out frame decoding coding, to realize information in the conversion of application layer and obtain
It takes, variable safety operation agreement VSOP uses the message with security signature, using variable mode of operation control node and is saved
The sensor information of point acquisition makes node device active acquisition instruction collection using variable description, increases cryptographic variable, realizes two-way
Verifying;
Variable safety operation agreement VSOP includes address of variable distribution and variable description specification, wherein address of variable distribution packet
Include: setting bit variable is 1, and register is 16, and variable description register is 128, terminates to read after reading "None";
Variable description specification includes: the definition of input bit address of variable and the definition of output bit address of variable, and facility information register becomes
Measure address definition, the definition of user's holding register address of variable, the definition of user's input register address of variable;
The information frame format of variable safety operation agreement VSOP uses the message with security signature, and message is binary format, packet
Include: 2 byte frame heads, 1 byte message length, the signature code type of 1 byte, 1 byte device identify ID number, 1 byte function code, 0-
14 byte datas, 4 byte time codes, 8 byte security signatures.
6. system according to claim 5, which is characterized in that encryption method specifically includes in the message with security signature:
Distribute root key Root Key for equipment, each equipment possesses unique security identifier code, calculates according to corresponding dispersion
Method obtains distributed key, and each equipment generates distributed key;It is called according to equipment distributed key Key, the data DATA to be signed
F function obtains security signature code, and security signature code is loaded into the end of application layer message, constitutes complete application layer VSOP report
Text.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610051784.XA CN105634888B (en) | 2016-01-25 | 2016-01-25 | A kind of smart home collaboration networking communication method and system based on VSOP agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610051784.XA CN105634888B (en) | 2016-01-25 | 2016-01-25 | A kind of smart home collaboration networking communication method and system based on VSOP agreement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105634888A CN105634888A (en) | 2016-06-01 |
CN105634888B true CN105634888B (en) | 2019-03-05 |
Family
ID=56049418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610051784.XA Active CN105634888B (en) | 2016-01-25 | 2016-01-25 | A kind of smart home collaboration networking communication method and system based on VSOP agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105634888B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131826A (en) * | 2016-07-11 | 2016-11-16 | 华东师范大学 | A kind of Intelligent household network control system by self-organizing network wireless telecommunications |
CN108833268B (en) * | 2018-06-19 | 2021-04-02 | 重庆邮电大学 | Control system and operation method of variable description equipment of household wireless sensor network |
CN108880958A (en) * | 2018-07-03 | 2018-11-23 | 芜湖瑞芬莱网络科技有限公司 | A kind of intelligentized Furniture optimization method based on VSOP agreement |
CN109167809B (en) * | 2018-07-18 | 2021-11-26 | 浙江苍南仪表集团股份有限公司 | Internet of things platform docking data transmission format processing method |
CN113795073B (en) * | 2021-09-16 | 2023-12-29 | 无锡蜜蜂照明科技有限公司 | Wireless ad hoc network control network and wireless ad hoc network method of LED lamp |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102420823A (en) * | 2011-11-29 | 2012-04-18 | 太仓市同维电子有限公司 | Simplified-session initiation protocol (SIP)-based simplified intelligent monitoring system and positioning and monitoring methods |
CN103713612A (en) * | 2014-01-03 | 2014-04-09 | 左华亮 | Intelligent home system solution facilitating personalized customization and expansion |
CN104331053A (en) * | 2014-11-10 | 2015-02-04 | 重庆邮电大学 | 6LoWPAN smart home system and method for achieving same |
-
2016
- 2016-01-25 CN CN201610051784.XA patent/CN105634888B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102420823A (en) * | 2011-11-29 | 2012-04-18 | 太仓市同维电子有限公司 | Simplified-session initiation protocol (SIP)-based simplified intelligent monitoring system and positioning and monitoring methods |
CN103713612A (en) * | 2014-01-03 | 2014-04-09 | 左华亮 | Intelligent home system solution facilitating personalized customization and expansion |
CN104331053A (en) * | 2014-11-10 | 2015-02-04 | 重庆邮电大学 | 6LoWPAN smart home system and method for achieving same |
Also Published As
Publication number | Publication date |
---|---|
CN105634888A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105634888B (en) | A kind of smart home collaboration networking communication method and system based on VSOP agreement | |
US9894473B2 (en) | System and method for securely connecting network devices using optical labels | |
CN107710718B (en) | Systems and methods for virtual internet of things (IoT) devices and centers | |
US9832173B2 (en) | System and method for securely connecting network devices | |
CN107111515B (en) | Internet of things platform, equipment and method | |
CN103399530B (en) | Method, system and control platform and control terminal that intelligent appliance is uniformly controlled | |
CN102843278B (en) | Intelligent domestic network system and registration control device and household appliance registration method thereof | |
CN103001952B (en) | A kind of system of electrical network encryption equipment share and access and parameter updating method | |
CN103916475B (en) | A kind of network remote control method | |
US10291595B2 (en) | System and method for securely connecting network devices | |
CN103777604A (en) | Intelligent equipment cloud platform control method based on SDMP protocol | |
CN101958026B (en) | User authentication module setting method and system | |
CN103761848B (en) | A kind of data concentrated collection copies control table system | |
CN105704252B (en) | Bluetooth low energy device data transmission method and device | |
WO2014183690A1 (en) | Method of processing application program upgrade, and terminal device | |
CN104994014A (en) | Communication method between power line carrier wave IPv and wireless ZigBee in smart grid communication | |
CN203134009U (en) | Near field communication (NFC) gas meter | |
CN104407599A (en) | Portable intelligent home controller and intelligent home control system | |
CN105337981A (en) | Relay device, update method and method for performing data interaction between devices | |
CN105093982A (en) | Method and server associating sweeping robot with terminal, and system | |
Chen et al. | WiFi-Based home IoT communication system | |
CN108833268A (en) | A kind of control system and operation method of family wireless Sensor Network variable description equipment | |
CN109691021A (en) | The long-distance management system and its method of batch parameter setting for intelligent electric meter | |
CN207070088U (en) | A kind of identity card cloud identifies Verification System | |
CN106341463A (en) | A mobile internet audio/video management and control system based on an internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |