CN106452744A - Root key generation device and method for Internet of things - Google Patents
Root key generation device and method for Internet of things Download PDFInfo
- Publication number
- CN106452744A CN106452744A CN201610854371.5A CN201610854371A CN106452744A CN 106452744 A CN106452744 A CN 106452744A CN 201610854371 A CN201610854371 A CN 201610854371A CN 106452744 A CN106452744 A CN 106452744A
- Authority
- CN
- China
- Prior art keywords
- internet
- root key
- things
- data
- kbit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a root key generation device and a root key generation method for Internet of things (IoT). The device comprises an IoT root key basic quantity generation unit, an IoT root key disturbance quantity parameter acquisition unit, an IoT root key generation unit and a protection circuit unit. The IoT root key basic quantity generation unit comprises a random number generator and an analog-to-digital converter; the IoT root key disturbance quantity parameter acquisition unit comprises a digital temperature sensor, a digital gyroscope and a light intensity detection device; the IoT root key generation unit comprises a single chip microcomputer and a communication chip; the protection circuit unit is in circuit connections with the IoT root key basic quantity generation unit, the IoT root key disturbance quantity parameter acquisition unit and the IoT root key generation unit. According to the device and the method provided by the invention, environment vibration, illumination intensity and environment temperature are introduced to serve as IoT root key disturbance quantities, so that the IoT root key is a real random number, and decoding difficulty of the IoT root key is enhanced through combination of the IoT root key basic quantity and the IoT root key disturbance quantities.
Description
Technical field
Present invention design is a kind of network security method, mainly a kind of Internet of Things root key generation device and its side
Method.
Background technology
Internet of Things (Internet of Things, abridge IoT) is one can allow the General Physics pair being independently addressable
As realizing the network interconnecting.Internet of Things is complicated and the heterogeneous sensor node of enormous amount, ensure Internet of Things safety and
The difficulty of privacy is larger.In addition, Internet of Things relies on to interconnection net height, once safety problem such as hacker in internet entering
Invade, virus attack etc., bring direct losses can to the person of user, property, privacy etc..
Solve the problems, such as Internet of Things safety problem basis be solve Internet of Things root key, the higher thing of confidentiality and integrity
Networking root key can provide more solid foundation for security for Internet of Things.In multistage Internet of Things cipher key system, various level
Key constitutes the cipher key system of a pyramid, and Internet of Things root key, as the top of Internet of Things cipher key system, is key
The core of system.However, Internet of Things root key does not have the protection of upper layer substance networking keys, and its security is that subordinate's Internet of Things is close
The premise of key safety.Therefore, the confidentiality and integrity of Internet of Things root key is most important safely for Internet of Things.
At present in terms of network security, in the patent document of Publication No. CN10228003A, disclose " a kind of root key
Production method, " encrypted using the true random number that pseudo random number produces to cipher machine in key generation procedure, pseudo random number safety
Property coefficient is relatively low.Disclose in the patent document of Application No. 201510064914.9 that " a kind of key being applied to Internet of Things is more
New method, " describe a kind of key updating method being applied to Internet of Things, to protect wireless communication module or the section in Internet of Things
Data communication between point and central controller.But in this technical scheme, Internet of Things key updating process is complicated, it is excessive to consume.Literary composition
Offer in " low cost passive RFID security key technology research ", with the lightweight solution based on hash function and pseudorandom number generator
Certainly scheme solves the peace of low cost passive label in RF identification (RFID) technology of one of the bottom cognition technology of Internet of Things
Full privacy concern (Gao Shujing. low cost passive RFID security key technology research [D]. Shandong University, 2013.http://
cdmd.cnki.com.cn/Article/CD MD-10422-1013219195.htm).But the pseudorandom proposed in the document
Produced by number generator, pseudo random number is easily stolen, and security is not high.
In sum, the shortcoming of existing Internet of Things root key generation device and method shows:
(1) Internet of Things root key renewal process is complicated, and consumes big;
(2) existing Internet of Things root key production method is based on pseudo random number mostly, easily reveals or is stolen, peace
Full property coefficient is not high.
Content of the invention
It is an object of the invention to provide a kind of Internet of Things root key that can make generation has high security and is difficult to crack
Property, improve the Internet of Things root key generation device of the security of Internet of Things.The present invention also aims to providing a kind of Internet of Things
Root key production method.
It is close that the Internet of Things root key generation device of the present invention includes Internet of Things root key basis production units, Internet of Things root
Key disturbance quantity parameter acquiring unit, Internet of Things root key generation unit and protection circuit unit;
Described Internet of Things root key basis production units are mainly made up of true Random Number Generator and analog-digital converter, very
The true random number analog quantity that tandom number generator produces kbit is transmitted to analog-digital converter, and it is truly random that analog-digital converter produces kbit
Number digital quantity exports the single-chip microcomputer to Internet of Things root key generation unit as Internet of Things root key basic crack;
Described Internet of Things root key disturbance quantity parameter acquiring unit is examined by digital temperature sensor, Together, digital gyroscope and light intensity
Survey device composition, light intensity test device is made up of photo resistance and analog-digital converter, digital temperature sensor collection Internet of Things dress
The temperature information put, and it is converted into the single-chip microcomputer that data signal exports to Internet of Things root key generation unit, and require above-mentioned
The length of temperature information is more than Represent and round downwards;Together, digital gyroscope passes through to gather the vibration of Internet of things device
Coefficient information, and it is converted into the single-chip microcomputer that data signal exports to Internet of Things root key generation unit, and require above-mentioned shaking
The length of dynamic coefficient information is more than Represent and round downwards;Photo resistance collection Internet of Things in light intensity test device
The extraneous illumination intensity information of device, and it is converted into analog signal output to analog-digital converter, analog-digital converter will carry Internet of Things
The analog quantity of the extraneous illumination intensity information of net device is as input quantity, and is converted into data signal and exports to Internet of Things root key
Single-chip microcomputer in generation unit, and require the length of above-mentioned external world illumination intensity information to be more than Represent
Round downwards;
Described Internet of Things root key generation unit is mainly made up of single-chip microcomputer and communication chip, and single-chip microcomputer and communication chip lead to
Letter connects, and communication chip is communicated to connect with outside Internet of things device, and single-chip microcomputer is according to Internet of Things root key weight planing method
(Method for Inernet of Thing ' s Root key Replanning, abridge MIoTRR) generation length is kbit
Data and use as Internet of Things root key disturbance quantity;Internet of Things root key basis production units are exported by single-chip microcomputer
The Internet of Things root key basic crack data of a length of kbit and the Internet of Things root key disturbance quantity of a length of kbit produced by single-chip microcomputer
Data, as input quantity, obscures method (Method for Confusing Root key of according to Internet of Things root key
Internet of Things, abridge MCRIoT) and Internet of Things root key packet computational methods (Method for Inernet
Of Thing ' s Root key Grouping and Calculation, abridge MIoTRGC) it is processed, output
The data of kbit is to communication chip;The kbit data that single-chip microcomputer is exported by communication chip as input quantity, by communication chip pair
The input quantity of kbit data carries out level conversion, and the kbit data output through level conversion is made to the Internet of things device specified
Use for Internet of Things root key;
Described protection circuit unit is obtained with Internet of Things root key basis production units, Internet of Things root key disturbance quantity parameter
Take unit and Internet of Things root key generation unit circuit to connect, be mainly made up of electric capacity and resistance, effect is to maintain the electricity of circuit
Stream voltage stabilization.
The Internet of Things root key production method of the present invention is:
The true random number analog quantity that true Random Number Generator produces kbit is transmitted to analog-digital converter, and analog-digital converter produces
Kbit true random number digital quantity exports the single-chip microcomputer to Internet of Things root key generation unit as Internet of Things root key basic crack;
Digital temperature sensor gathers the temperature information of Internet of things device, and is converted into data signal and exports to Internet of Things root
Single-chip microcomputer in encryption key generation unit;Together, digital gyroscope passes through to gather the Oscillating Coefficients information of Internet of things device, and is converted into number
The single-chip microcomputer to Internet of Things root key generation unit for the word signal output;Photo resistance gathers the ambient light of Internet of things device according to strong
Degree information, and it is converted into analog signal output to analog-digital converter, the ambient light carrying Internet of things device is shone by analog-digital converter
The analog quantity of strength information is as input quantity, and is converted into data signal and exports the monolithic to Internet of Things root key generation unit
Machine;
It is the data of kbit close as Internet of Things root that single-chip microcomputer produces length according to Internet of Things root key weight planing method
Key disturbance quantity uses;The Internet of Things root key of a length of kbit that Internet of Things root key basis production units are exported by single-chip microcomputer
The Internet of Things root key disturbance quantity data of a length of kbit produced by basic crack data and single-chip microcomputer as input quantity, according to Internet of Things
Net root key is obscured method and it is processed, and the data of output kbit is to communication chip;Single-chip microcomputer is exported by communication chip
Kbit data, as input quantity, carries out level conversion by communication chip to the input quantity of kbit data, will be through level conversion
Kbit data output use to the Internet of things device specified as Internet of Things root key.
The Internet of Things root key production method of the present invention can also include:
1st, the step that implements of described Internet of Things root key weight planing method is:
(1.1) mcu programming produces empty array R of an a length of kbit;
(1.2) data signal of the temperature information carrying Internet of things device from digital temperature sensor is made by single-chip microcomputer
For input quantity, and before intercepting whereinAs the 1st of array R toPosition;
(1.3) data signal of the Oscillating Coefficients information carrying Internet of things device from Together, digital gyroscope is made by single-chip microcomputer
For input quantity, and before intercepting whereinAs array RToPosition;
(1.4) ambient light carrying Internet of things device of analog-digital converter in light intensity test device is shone by force by single-chip microcomputer
The data signal of degree information as input quantity, and before intercepting whereinAs array RTo kth
Position;
(1.5) array R of finally produced a length of kbit is used by single-chip microcomputer as Internet of Things root key disturbance quantity.
2nd, the step that implements that described Internet of Things root key obscures method is:
(2.1) the kbit Internet of Things root key basic crack data that analog-digital converter produces is labeled as a (1), a one by one
(2),…,a(k);
(2.2) the kbit Internet of Things root key disturbance quantity data that single-chip microcomputer produces is labeled as b (1), b (2) one by one ..., b
(k);
(2.3) in 2 HesBetween randomly choose a positive integer as packet count h+1,For rounding downwards choosing
Select;
(2.4) judge that can k divide exactly h, if so, then re-execute sub-step (2.3);If it is not, then executing sub-step
(2.5);
(2.5) by kbit Internet of Things root key basic crack a (1) in step (2.1), a (2) ..., a (k) is everyFor one
Group, whereinRepresent and round downwards, be divided into h+1 group in order, and be labeled as x (1), x (2) ..., x (h), x (h+1), wherein
X (1), x (2) ..., in x (h), every group comprisesComprise in data, x (h+1) groupData;
(2.6) randomly choose a positive integer between 2 and k-1 as carry digit f;
(2.7) by kbit data b (1) in step (2.2), b (2) ..., b (k) generate new disturbance quantity to moving to left fbit,
Now b (1), b (2) ..., b (k) is changed into b (f+1), b (f+2) ..., b (k), b (1), b (2) .., b (f);
(2.8) by kbit data b (f+1) in step (2.7), b (f+2) ..., b (k), b (1), b (2) .., b (f) are sequentially
It is divided into h+1 group, and be labeled as y (1), y (2) ..., y (h), y (h+1), wherein y (1), y (2) ..., in y (h), every group comprisesComprise in data, y (h+1)Data;
(2.9) by h+1 group data x (1) in step (2.5), x (2) ..., the h in x (h), x (h+1) and step (2.8)
+ 1 group data y (1), y (2) ..., y (h), y (h+1) are counted according to Internet of Things root key packet computational methods (MIoTRGC)
Calculate;
(2.10) output z (1), z (2) ..., the common kbit data of z (h), z (h+1).
3rd, the step that implements that described Internet of Things root key is grouped computational methods is:
(3.1) method is obscured according to Internet of Things root key and determine total packet count h+1;
(3.2) determine that current calculating group number i is 1;
(3.3) xth (i) is made to organizeEvery bit data in data and y (h-i) organizeIn data
Every bit data carries out XOR calculating in order and tries to achieve z (i) group altogetherData, even z (i)=x (i) y (h-i);
(3.4) judge whether i is equal to h, if it is not, then execution step (3.5);If so, then execution step (3.6);
(3.5) make i=i+1, then re-execute step (3.3);
(3.6) xth (h+1) is made to organizeEvery bit data in data and y (h+1) organizeEvery bit data in data carries out XOR calculating in order and tries to achieve z (h+1) group altogetherData,
Even z (h+1)=x (h+1) y (h+1);
(3.7) z (j), wherein j=1,2 ..., h, h+1, common kbit data are formed.
The present invention proposes the Internet of Things that a kind of Internet of Things root key basic crack is combined with Internet of Things root key disturbance quantity
Root key generation device and its method.With respect to the Internet of Things root key production method using at present pseudo random number, the present invention with
The difficulty that cracks that true random number makes Internet of Things root key as Internet of Things root key basic crack is lifted further.And institute of the present invention
Employ, in the devices and methods therefor proposing, the mode that Internet of Things root key basic crack and Internet of Things root key disturbance quantity combine,
The generation making Internet of Things root key is more difficult to predict, the security of Internet of Things is lifted further.
The device have the advantages that:
Internet of Things root key generation device proposed by the invention and its method introduce ambient vibration, intensity of illumination, ring
Three random quantitys of border temperature as Internet of Things root key disturbance quantity so that Internet of Things root key is a true random number, by thing
The mode that networking root key basic crack is combined with Internet of Things root key disturbance quantity, improves the broken of Internet of Things root key further
Translate difficulty.
Brief description
Fig. 1 is Internet of Things root key generation device structure chart proposed by the invention.
Fig. 2 is the flow chart in Internet of Things root key weight planing method (MIoTRR) proposed by the invention.
The flow chart that the Internet of Things root key that Fig. 3 is proposed by the invention obscures method (MCRIoT).
Fig. 4 is the flow chart that Internet of Things root key proposed by the invention is grouped computational methods (MIoTRGC).
Specific embodiment
The invention will be further described for citing below in conjunction with the accompanying drawings.
In this device, if k is 64bit.I.e. the present invention will produce the Internet of Things root key of a length of 64bit.With reference to attached
Figure is described to assembly of the invention and its method.
Fig. 1 illustrates a kind of Internet of Things root key generation device structure chart, the line with arrow between electronic devices and components in Fig. 1
Represent electronic devices and components between exist communication connection, without arrow line represent only exist between electronic devices and components holding circuit electricity
The stable physical connection of current voltage, if between electronic devices and components no linear list show not physically connected each other.As seen from the figure,
This device is divided into four units:Internet of Things root key basis production units, Internet of Things root key disturbance quantity collecting unit, thing
Networking root key generation unit and protection circuit unit.Specific descriptions can be divided into following four sub-step:
(1) Internet of Things root key basis production units:Mainly it is made up of true Random Number Generator and analog-digital converter.Very
The true random number analog quantity that tandom number generator produces 64bit is transmitted to analog-digital converter, analog-digital converter produce 64bit very with
Machine number digital quantity exports the MK60DN512VLL10 to Internet of Things root key generation unit as Internet of Things root key basic crack
Single-chip microcomputer.
(2) Internet of Things root key disturbance quantity parameter acquiring unit is by DS18B20 digital temperature sensor, L3G4200D tri- axle
Numeral output gyroscope, light intensity test device three part composition.Wherein, light intensity test device is by GL3526 photo resistance and modulus
Converter two parts form.And DS18B20 digital temperature sensor gathers the temperature information of Internet of things device, and is converted into number
The MK60DN512VLL10 single-chip microcomputer to Internet of Things root key generation unit for the word signal output, and require said temperature information
Length be more than 21bit;L3G4200D tri- number of axle word output gyroscope gather Internet of things device Oscillating Coefficients information, and by it
It is converted into the MK60DN512VLL10 single-chip microcomputer that data signal exports to Internet of Things root key generation unit, and require above-mentioned
The length of Oscillating Coefficients information is more than 21bit;In light intensity test device, photo resistance gathers the ambient light of Internet of things device according to strong
Degree information, and it is converted into analog signal output to analog-digital converter.The ambient light carrying Internet of things device is shone by analog-digital converter
The analog quantity of strength information is as input quantity, and is converted into data signal and exports to Internet of Things root key generation unit
MK60DN512VLL10 single-chip microcomputer, and require the length of above-mentioned external world illumination intensity information to be more than 22bit.
(3) Internet of Things root key generation unit:Mainly by MK60DN512VLL10 single-chip microcomputer and MAX232 communication chip structure
Become, MK60DN512VLL10 single-chip microcomputer and MAX232 communication chip communicate to connect, the Internet of Things of MAX232 communication chip and outside
Device communicates to connect.MK60DN512VLL10 single-chip microcomputer is according to Internet of Things root key weight planing method (Method for
Inernet of Thing ' s Root key Replanning, abridge MIoTRR) produce the data that length is 64bit conduct
Internet of Things root key disturbance quantity uses;Internet of Things root key basis production units are exported by MK60DN512VLL10 single-chip microcomputer
The Internet of Things root key basic crack data of a length of 64bit and a length of 64bit Internet of Things root key disturbance quantity data as input
Amount, obscures method (Method for Inernet of Thing ' s Root key Shift, abbreviation according to Internet of Things root key
MCRIoT) and Internet of Things root key packet computational methods (Method for Inernet of Thing ' s Root key
Grouping and Calculation, abridge MIoTRGC) it is processed, the data of output 64bit is as Internet of Things root
Key, and it is exported to MAX232 communication chip;MK60DN512VLL10 single-chip microcomputer is exported by MAX232 communication chip
64bit data, as input quantity, carries out level conversion by MAX232 communication chip to the input quantity of 64bit data, will pass through
The 64bit data output of level conversion uses to the Internet of things device specified as Internet of Things root key.
(4) protection circuit unit and Internet of Things root key basis production units, Internet of Things root key disturbance quantity parameter obtain
Take unit and Internet of Things root key generation unit to produce circuit and connect, be mainly made up of electric capacity and resistance.Effect is to maintain circuit
Current Voltage stable.
Combine instantiation according to Fig. 2 implementing of Internet of Things root key weight planing method (MIoTRR) is retouched
State:
(1) MK60DN512VLL10 mcu programming produces empty array R of an a length of 64bit;
(2) MK60DN512VLL10 single-chip microcomputer is by the temperature information carrying Internet of things device from digital temperature sensor
Data signal as input quantity, and intercept wherein front 21bit as the 1st to the 21st of array R;
(3) MK60DN512VLL10 single-chip microcomputer is by the Oscillating Coefficients information carrying Internet of things device from Together, digital gyroscope
Data signal as input quantity, and intercept wherein front 21bit as the 22nd to the 42nd of step (1) array R;
(4) analog-digital converter in light intensity test device is carried Internet of things device by MK60DN512VLL10 single-chip microcomputer
Extraneous illumination intensity information data signal as input quantity, and intercept wherein front 22bit as the 43rd to the 64th of array R
Position;
(5) MK60DN512VLL10 single-chip microcomputer using in this method finally array R of produced a length of kbit as Internet of Things
Net root key disturbance quantity uses.
Retouched according to the step that implements that Fig. 3 obscures method (MCRIoT) with reference to instantiation to Internet of Things root key
State:
(1) a kind of above-mentioned Internet of Things root key generation device implemented what analog-digital converter in step (1) produced
64bit Internet of Things root key basic crack data is labeled as a (1), a (2) one by one ..., a (64);
(2) by a kind of 64bit implementing single-chip microcomputer generation in step (3) of above-mentioned Internet of Things root key generation device
Internet of Things root key disturbance quantity data is labeled as b (1), b (2) one by one ..., b (64);
(3) randomly choose a positive integer between 2 and 31 as packet count h+1.Packet count h+1 selecting in this step
For 6;
(4) judge that can 64 divide exactly h.If so, then re-execute sub-step (3);If it is not, then execution step (5).This sub-step
Suddenly middle h value can not be divided exactly by 64 for 5,5, therefore execution sub-step (5);
(5) by 64bit Internet of Things root key basic crack a (1) in step (2), the every 12bit of a (2) ..., a (64) is one group,
It is divided into 6 groups in order.And be labeled as x (1), x (2) ..., x (5), x (6) wherein, x (1), x (2) ..., in x (5), every group comprises
12bit data.X (6) comprises 4bit data;
(6) randomly choose a positive integer between 2 and 63 as carry digit f.F is taken to be 4 in this step;
(7) by 64bit data b (1) in step (2), b (2) ..., b (64) is carried out at random to moving to left 4 new disturbing of generation
Momentum.Now, b (1), b (2) ..., b (64) are changed into b (5), b (6) ..., b (64), b (1), b (2), b (3), b (4);
(8) by 64bit data b (5) in step (7), b (6) ..., b (64), b (1), b (2), b (3), b (4) sequentially divides
For 6 groups, and it is labeled as y (1), y (2) ..., y (5), y (6).Wherein, y (1), y (2) ..., in y (5), every group comprises 12bit number
According to.Y comprises 4bit data in (6);
(9) by 6 groups of data x (1) in step (5), x (2) ..., x (5), 6 groups of data y in x (6) and step (8)
(1), y (2) ..., y (5), y (6) are calculated according to Internet of Things root key packet computational methods (MIoTRGC);
(10) output z (1), z (2) ..., the common 64bit data of z (5), z (6).
According to Fig. 4 combine instantiation to Internet of Things root key be grouped computational methods (MIoTRGC) implement step
It is described:
(1) method (MCRIoT) is obscured according to above-mentioned Internet of Things root key and determine total packet count h+1.Understand that h+1 is 6,
I.e. h is 5;
(2) determine that current operation number i is 1;
(3) xth (i) group data and y (h-i) group data is made to carry out XOR calculating and try to achieve z (i) group data.Even z
(i)=x (i) y (h-i).From step (1), h is 5, therefore z (i)=x (i) y (5-i);
(4) judge whether i is equal to h.If it is not, then execution step (5);If so, then execution step (6).In the implementation case
Middle h is 5, that is, when i is not equal to 5, execution step (5);Otherwise, execution step (6);
(5) make i=i+1, then re-execute step (3);
(6) xth (h+1) group data and y (h+1) group data is made to carry out XOR calculating and try to achieve z (h+1) group data.I.e.
Make z (h+1)=x (h+1) y (h+1).In the implementation case, h+1 is 6, even z (6)=x (6) y (6);
(7) z (j), wherein j=1,2 ..., 5,6, common 64bit data are formed.
Claims (5)
1. a kind of Internet of Things root key generation device, is characterized in that:Including Internet of Things root key basis production units, Internet of Things
Root key disturbance quantity parameter acquiring unit, Internet of Things root key generation unit and protection circuit unit;
Described Internet of Things root key basis production units are mainly made up of true Random Number Generator and analog-digital converter, truly random
The true random number analog quantity that number producer produces kbit is transmitted to analog-digital converter, and analog-digital converter produces kbit true random number number
Word amount exports the single-chip microcomputer to Internet of Things root key generation unit as Internet of Things root key basic crack;
Described Internet of Things root key disturbance quantity parameter acquiring unit is filled by digital temperature sensor, Together, digital gyroscope and light-intensity test
Put composition, light intensity test device is made up of photo resistance and analog-digital converter, digital temperature sensor gathers Internet of things device
Temperature information, and it is converted into the single-chip microcomputer that data signal exports to Internet of Things root key generation unit, and require above-mentioned temperature
The length of degree information is more thanRepresent and round downwards;Together, digital gyroscope passes through to gather the vibration system of Internet of things device
Number information, and it is converted into the single-chip microcomputer that data signal exports to Internet of Things root key generation unit, and require above-mentioned vibration
The length of coefficient information is more thanIn light intensity test device, photo resistance gathers the extraneous intensity of illumination letter of Internet of things device
Breath, and it is converted into analog signal output to analog-digital converter, analog-digital converter will carry the extraneous intensity of illumination of Internet of things device
The analog quantity of information is as input quantity, and is converted into the single-chip microcomputer that data signal exports to Internet of Things root key generation unit,
And the length requiring above-mentioned external world illumination intensity information is more than
Described Internet of Things root key generation unit is mainly made up of single-chip microcomputer and communication chip, single-chip microcomputer and communication chip communication link
Connect, communication chip is communicated to connect with outside Internet of things device, single-chip microcomputer produces length according to Internet of Things root key weight planing method
Spend the data for kbit and use as Internet of Things root key disturbance quantity;Single-chip microcomputer by Internet of Things root key basis production units
The Internet of Things root of the Internet of Things root key basic crack data of a length of kbit being exported and a length of kbit produced by single-chip microcomputer is close
Key disturbance quantity data, as input quantity, is obscured method according to Internet of Things root key and it is processed, and the data of output kbit is extremely
Communication chip;The kbit data that single-chip microcomputer is exported by communication chip is as input quantity, defeated to kbit data by communication chip
Enter amount and carry out level conversion, will be close as Internet of Things root to the Internet of things device specified for the kbit data output through level conversion
Key uses;
Described protection circuit unit and Internet of Things root key basis production units, Internet of Things root key disturbance quantity parameter acquiring list
Unit and Internet of Things root key generation unit circuit connect, and are mainly made up of electric capacity and resistance, and effect is to maintain the electric current electricity of circuit
Pressure is stable.
2. a kind of Internet of Things root key production method based on the Internet of Things root key generation device described in claim 1, it is special
Levying is:
The true random number analog quantity that true Random Number Generator produces kbit is transmitted to analog-digital converter, and analog-digital converter produces kbit
True random number digital quantity exports the single-chip microcomputer to Internet of Things root key generation unit as Internet of Things root key basic crack;
Digital temperature sensor gathers the temperature information of Internet of things device, and is converted into data signal and exports to Internet of Things root key
Single-chip microcomputer in generation unit;Together, digital gyroscope passes through to gather the Oscillating Coefficients information of Internet of things device, and is converted into numeral letter
Number export the single-chip microcomputer to Internet of Things root key generation unit;Photo resistance gathers the extraneous intensity of illumination letter of Internet of things device
Breath, and it is converted into analog signal output to analog-digital converter, analog-digital converter will carry the extraneous intensity of illumination of Internet of things device
The analog quantity of information is as input quantity, and is converted into data signal and exports the single-chip microcomputer to Internet of Things root key generation unit;
Single-chip microcomputer produces the data that length is kbit and disturbs as Internet of Things root key according to Internet of Things root key weight planing method
Momentum uses;The Internet of Things root key basis of a length of kbit that Internet of Things root key basis production units are exported by single-chip microcomputer
Amount data and a length of kbit produced by single-chip microcomputer Internet of Things root key disturbance quantity data as input quantity, according to Internet of Things root
Key is obscured method and it is processed, and the data of output kbit is to communication chip;The kbit that single-chip microcomputer is exported by communication chip
Data, as input quantity, carries out level conversion by communication chip to the input quantity of kbit data, by through level conversion
Kbit data output uses to the Internet of things device specified as Internet of Things root key.
3. Internet of Things root key production method according to claim 2, is characterized in that described Internet of Things root key weight-normality is drawn
The step that implements of method is:
(1.1) mcu programming produces empty array R of an a length of kbit;
(1.2) single-chip microcomputer using the data signal of the temperature information carrying Internet of things device from digital temperature sensor as defeated
Enter amount, and before intercepting whereinAs the 1st of array R toPosition;
(1.3) single-chip microcomputer using the data signal of the Oscillating Coefficients information carrying Internet of things device from Together, digital gyroscope as defeated
Enter amount, and before intercepting whereinAs array RToPosition;
(1.4) the extraneous intensity of illumination carrying Internet of things device of analog-digital converter in light intensity test device is believed by single-chip microcomputer
The data signal of breath as input quantity, and before intercepting whereinAs array RTo kth position;
(1.5) array R of finally produced a length of kbit is used by single-chip microcomputer as Internet of Things root key disturbance quantity.
4. Internet of Things root key production method according to claim 3, is characterized in that the described Internet of Things root key side of obscuring
The step that implements of method is:
(2.1) the kbit Internet of Things root key basic crack data that analog-digital converter produces is labeled as a (1), a (2) one by one ..., a
(k);
(2.2) the kbit Internet of Things root key disturbance quantity data that single-chip microcomputer produces is labeled as b (1), b (2) one by one ..., b (k);
(2.3) in 2 HesBetween randomly choose a positive integer as packet count h+1,For rounding downwards selection;
(2.4) judge that can k divide exactly h, if so, then re-execute sub-step (2.3);If it is not, then execution sub-step (2.5);
(2.5) by kbit Internet of Things root key basic crack a (1) in step (2.1), a (2) ..., a (k) is everyFor one group,
WhereinRepresent and round downwards, be divided into h+1 group in order, and be labeled as x (1), x (2) ..., x (h), x (h+1), wherein x
(1), x (2) ..., in x (h), every group comprisesComprise in data, x (h+1) groupData;
(2.6) randomly choose a positive integer between 2 and k-1 as carry digit f;
(2.7) by kbit data b (1) in step (2.2), b (2) ..., b (k) generate new disturbance quantity, now b to moving to left fbit
(1), b (2) ..., b (k) is changed into b (f+1), b (f+2) ..., b (k), b (1), b (2) .., b (f);
(2.8) by kbit data b (f+1) in step (2.7), b (f+2) ..., b (k), b (1), b (2) .., b (f) sequentially divides
For h+1 group, and it is labeled as y (1), y (2) ..., y (h), y (h+1), wherein y (1), y (2) ..., in y (h), every group comprisesComprise in data, y (h+1)Data;
(2.9) by h+1 group data x (1) in step (2.5), x (2) ..., the h+1 group in x (h), x (h+1) and step (2.8)
Data y (1), y (2) ..., y (h), y (h+1) are calculated according to Internet of Things root key packet computational methods;
(2.10) output z (1), z (2) ..., the common kbit data of z (h), z (h+1).
5. Internet of Things root key production method according to claim 4, is characterized in that described Internet of Things root key packet meter
The step that implements of calculation method is:
(3.1) method is obscured according to Internet of Things root key and determine total packet count h+1;
(3.2) determine that current calculating group number i is 1;
(3.3) xth (i) is made to organizeEvery bit data in data and y (h-i) organizeEvery bit in data
Data carries out XOR calculating in order and tries to achieve z (i) group altogetherData, even
(3.4) judge whether i is equal to h, if it is not, then execution step (3.5);If so, then execution step (3.6);
(3.5) make i=i+1, then re-execute step (3.3);
(3.6) xth (h+1) is made to organizeEvery bit data in data and y (h+1) organizeNumber
According in every bit data carry out XOR in order and calculate trying to achieve z (h+1) group altogetherData, even
(3.7) z (j), wherein j=1,2 ..., h, h+1, common kbit data are formed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610854371.5A CN106452744B (en) | 2016-09-27 | 2016-09-27 | A kind of Internet of Things root key generation device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610854371.5A CN106452744B (en) | 2016-09-27 | 2016-09-27 | A kind of Internet of Things root key generation device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106452744A true CN106452744A (en) | 2017-02-22 |
CN106452744B CN106452744B (en) | 2019-10-18 |
Family
ID=58170383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610854371.5A Active CN106452744B (en) | 2016-09-27 | 2016-09-27 | A kind of Internet of Things root key generation device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452744B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221503A (en) * | 2019-12-03 | 2020-06-02 | 核芯互联科技(青岛)有限公司 | Pseudo-random number generation method, generator and sensor suitable for Internet of things environment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002076015A1 (en) * | 2001-03-16 | 2002-09-26 | Airbiquity Inc. | Entropy sources for encryption key generation |
CN1456981A (en) * | 2003-05-30 | 2003-11-19 | 武汉理工大学 | Method for generating truth random pins |
US20090271622A1 (en) * | 2008-04-25 | 2009-10-29 | International Business Machines Corporation | Securing Wireless Body Sensor Networks Using Physiological Values for Nonces |
CN103686717A (en) * | 2013-12-23 | 2014-03-26 | 江苏物联网研究发展中心 | Key management method of Internet of Things (IOT) sensor system |
-
2016
- 2016-09-27 CN CN201610854371.5A patent/CN106452744B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002076015A1 (en) * | 2001-03-16 | 2002-09-26 | Airbiquity Inc. | Entropy sources for encryption key generation |
CN1456981A (en) * | 2003-05-30 | 2003-11-19 | 武汉理工大学 | Method for generating truth random pins |
US20090271622A1 (en) * | 2008-04-25 | 2009-10-29 | International Business Machines Corporation | Securing Wireless Body Sensor Networks Using Physiological Values for Nonces |
CN103686717A (en) * | 2013-12-23 | 2014-03-26 | 江苏物联网研究发展中心 | Key management method of Internet of Things (IOT) sensor system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221503A (en) * | 2019-12-03 | 2020-06-02 | 核芯互联科技(青岛)有限公司 | Pseudo-random number generation method, generator and sensor suitable for Internet of things environment |
Also Published As
Publication number | Publication date |
---|---|
CN106452744B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Inayat et al. | Learning-based methods for cyber attacks detection in IoT systems: A survey on methods, analysis, and future prospects | |
White et al. | Quality of service approaches in IoT: A systematic mapping | |
Wang et al. | A secured health care application architecture for cyber-physical systems | |
CN105933361B (en) | Big data security protection cloud system based on trusted calculation | |
Khari et al. | Internet of Things: Proposed security aspects for digitizing the world | |
Labrado et al. | Design of a piezoelectric-based physically unclonable function for IoT security | |
CN101872339B (en) | Hash algorithm based on complex dynamic network | |
Labrado et al. | Use of thermistor temperature sensors for cyber-physical system security | |
Li et al. | Assembly processes of waterbird communities across subsidence wetlands in China: A functional and phylogenetic approach | |
Oliveira et al. | The future of low-end motes in the Internet of Things: A prospective paper | |
CN106452744A (en) | Root key generation device and method for Internet of things | |
Xiao et al. | Digital watermark-based independent individual certification scheme in WSNs | |
Zhao et al. | Agricultural IoT data storage optimization and information security method based on blockchain | |
Esha et al. | Trust IoHT: a trust management model for internet of healthcare things | |
Lee et al. | A novel hardware security architecture for IoT device: PD-CRP (PUF database and challenge–response pair) bloom filter on memristor-based PUF | |
CN206115423U (en) | Quantum random number generator based on enlarge spontaneous radiation | |
CN114760155A (en) | Block chain intelligent control network data security vulnerability mining method and system | |
CN102361480A (en) | Digital watermarking method applicable to safety of data transmission of smart grid | |
Wang et al. | A copyright protection method for wireless sensor networks based on digital watermarking | |
Zheng et al. | Ultrafast electron transfer with symmetrical quasi-classical dynamics based on mapping Hamiltonian and quantum dynamics based on ML-MCTDH | |
Ni et al. | Periodic mining of traffic information in industrial control networks | |
Yao et al. | 5G-BSS: 5G-Based Universal Blockchain Smart Sensors | |
Kumar et al. | A Blockchain‐Oriented Framework for Cloud‐Assisted System to Countermeasure Phishing for Establishing Secure Smart City | |
Abdullah et al. | A Triumvirate Approach of Blockchain MQTT and Edge Computing Toward Efficient and Secure IoT | |
KR102062636B1 (en) | Apparatus for managing energy metering data, Method thereof, and Storage medium having the same |
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 |