CN107547516A - The encryption method at times and device of internet-of-things terminal data - Google Patents
The encryption method at times and device of internet-of-things terminal data Download PDFInfo
- Publication number
- CN107547516A CN107547516A CN201710604663.8A CN201710604663A CN107547516A CN 107547516 A CN107547516 A CN 107547516A CN 201710604663 A CN201710604663 A CN 201710604663A CN 107547516 A CN107547516 A CN 107547516A
- Authority
- CN
- China
- Prior art keywords
- internet
- things terminal
- packet
- ciphering unit
- things
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000013507 mapping Methods 0.000 claims abstract description 21
- 239000000284 extract Substances 0.000 claims abstract description 4
- 238000012545 processing Methods 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims 2
- 238000013497 data interchange Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004140 cleaning Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012806 monitoring device Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000036772 blood pressure Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000000682 scanning probe acoustic microscopy Methods 0.000 description 2
- 238000010408 sweeping Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Abstract
This application discloses a kind of encryption method at times of internet-of-things terminal data and device, methods described to comprise the following steps:The internet-of-things terminal obtains the packet for needing to send;The internet-of-things terminal extracts current time, the working hour of the working hour internet-of-things terminal is determined according to the current time, according to the working hour in the working hour being pre-configured with the first ciphering unit corresponding with inquiring the working hour in ciphering unit mapping table;The internet-of-things terminal calls first ciphering unit that the packet is encrypted;The internet-of-things terminal sends the data after encryption and current time to network side equipment.Technical scheme provided by the invention has the advantages of safe, user experience is high.
Description
Technical field
The application is related to the communications field, more particularly to the encryption method at times and device of a kind of internet-of-things terminal data.
Background technology
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch.
Its English name is:“Internet of things(IoT)”.As its name suggests, Internet of Things is exactly the connected internet of thing thing.This
There is two layers of meaning:First, the core of Internet of Things and basis are still internet, it is extension and extension on Internet basic
Network;Second, its user terminal extends and extend between any article and article, enter row information and exchange and communicate, that is,
Thing thing mutually ceases.Internet of Things is widely used in network by the cognition technology that communicates such as Intellisense, identification technology and general fit calculation
In fusion, also therefore it is referred to as the third wave that world information industry develops after computer, internet.Internet of Things is mutual
The application extension of networking, rather than Internet of Things is network, Internet of Things is business and application.Therefore, application innovation is thing
The core of networking development, the innovation 2.0 using Consumer's Experience as core are the souls of Internet of Things development.
What Internet of Things solved is the data exchange between interconnection and thing thing between thing thing, and existing Internet of Things is being networked
When be based on Internet of Things access point (English:Access point, AP) access internet, have under existing Internet of Things AP multiple
Internet-of-things terminal, data of the Internet of Things AP (i.e. network side equipment) between internet-of-things terminal are not through encryption, so
Easily there is divulging a secret for internet of things equipment, cause privacy of user leaking data, user experience is not high.
The content of the invention
The application provides a kind of encryption method at times of internet-of-things terminal data.The safety of Internet of Things data can be improved
Property, improve Consumer's Experience.
First aspect, there is provided a kind of encryption method at times of internet-of-things terminal data, methods described comprise the following steps:
The internet-of-things terminal obtains the packet for needing to send;
The internet-of-things terminal extracts current time, and the working hour internet-of-things terminal is determined according to the current time
Working hour, according to the working hour in working hour for being pre-configured with inquiring the work in ciphering unit mapping table
Make the first ciphering unit corresponding to the period;
The internet-of-things terminal calls first ciphering unit that the packet is encrypted;
The internet-of-things terminal sends the data after encryption and current time to network side equipment.
Optionally, methods described may be used also before the internet-of-things terminal sends the packet after encryption to gateway
With including:
Such as the first ciphering unit fails to the packet encryption, then calls the spare cryptographic list of the first ciphering unit
Member is to the packet encryption.
Optionally, the internet-of-things terminal calls first ciphering unit that the packet is encrypted specifically
Including:
The internet-of-things terminal detection and the signal intensity of the mesh network equipment, are determined secret according to the signal intensity
Key, the packet is encrypted using the first ciphering unit using the key.
Optionally, it is described to determine that key is specific according to the signal intensity, including:
The internet-of-things terminal obtains the grade of signal intensity, and the mapping relations according to grade and key inquire the letter
Key corresponding to the grade of number intensity.
Optionally, it is described to determine key according to the signal intensity, including:Internet-of-things terminal obtains signal strength values, will
The result that the intensity level input preset algorithm is calculated is as key.
Optionally, it is described to determine key according to the signal intensity, including:
Internet-of-things terminal obtains signal strength values, the MAC Address of internet-of-things terminal is converted into decimal number, by the intensity
The absolute value of value adds that the decimal number obtains and is defined as key.
Second aspect, there is provided a kind of terminal device of network of things, described device include:
Acquiring unit, for obtaining the packet for needing to send;
Processing unit, for extracting current time, the working hour internet-of-things terminal is determined according to the current time
Working hour, according to the working hour in working hour for being pre-configured with inquiring the work in ciphering unit mapping table
Make the first ciphering unit corresponding to the period;Call first ciphering unit that the packet is encrypted;
Transmitting element, for the data after encryption and current time to be sent to network side equipment.
Optionally, the processing unit is specific, the packet encryption is failed for such as the first ciphering unit, then
The spare cryptographic unit of the first ciphering unit is called to the packet encryption.
Optionally, the processing unit is specific, for detecting the signal intensity with the mesh network equipment, according to the letter
Number intensity determines key, and the packet is encrypted using the first ciphering unit using the key.
Optionally,
The processing unit, the grade specifically for obtaining signal intensity, inquired about according to the mapping relations of grade and key
Go out key corresponding to the grade of the signal intensity.
Optionally, the processing unit, specifically for obtaining signal strength values, the intensity level is inputted into preset algorithm meter
Obtained result is as key.
After the internet-of-things terminal of technical scheme provided by the invention obtains the packet for needing to send, internet-of-things terminal foundation
The current time of internet-of-things terminal inquires ciphering unit corresponding to the working hour, and data are added by the ciphering unit
Close, for Internet of Things, encryption is arranged in internet-of-things terminal, and data can be encrypted for this mode, protect
The privacy of user, improve the experience of user.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the embodiment of the present application, required use in being described below to embodiment
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the present application, for this area
For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram;
Fig. 2 is the transfer process figure that a kind of internet-of-things terminal sends packet to network side (by taking repeater as an example);
Fig. 3 is the flow chart of the encryption method at times of internet-of-things terminal data
Fig. 4 is the technology schematic diagram of a scenario that the embodiment of the application one provides;
Fig. 5 is the mapping relations schematic diagram of the offer of the embodiment of the application one;
Fig. 6 is the flow signal of the encryption method at times for the internet-of-things terminal data that another embodiment of the application provides
Figure;
Fig. 7 is a kind of structural representation for terminal device of network of things that the application provides;
Fig. 8 is a kind of hardware architecture diagram for internet-of-things terminal that the application provides.
Embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although operations are described as the processing of order by flow chart, therein to be permitted
Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When it
The processing can be terminated when operation is completed, it is also possible to the additional step being not included in accompanying drawing.The processing
It can correspond to method, function, code, subroutine, subprogram etc..
Alleged within a context " computer equipment ", also referred to as " computer ", referring to can be by running preset program or referring to
Order performs the intelligent electronic device of the predetermined process process such as numerical computations and/or logical calculated, its can include processor with
Memory, the survival that is prestored in memory by computing device are instructed to perform predetermined process process, or by ASIC,
The hardware such as FPGA, DSP perform predetermined process process, or are realized by said two devices combination.Computer equipment includes but unlimited
In server, PC, notebook computer, tablet personal computer, smart mobile phone etc..
Method (some of them are illustrated by flow) discussed hereafter can be by hardware, software, firmware, centre
Part, microcode, hardware description language or its any combination are implemented.Implement when with software, firmware, middleware or microcode
When, to implement the program code of necessary task or code segment can be stored in machine or computer-readable medium and (for example deposit
Storage media) in.(one or more) processor can implement necessary task.
Concrete structure and function detail disclosed herein are only representational, and are for describing showing for the present invention
The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and it is not interpreted as
It is limited only by the embodiments set forth herein.
Although it should be appreciated that may have been used term " first ", " second " etc. herein to describe unit,
But these units should not be limited by these terms.It is used for the purpose of using these terms by a unit and another unit
Make a distinction.For example, in the case of the scope without departing substantially from exemplary embodiment, it is single that first module can be referred to as second
Member, and similarly second unit can be referred to as first module.Term "and/or" used herein above include one of them or
Any and all combination of more listed associated items.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless
Context clearly refers else, otherwise singulative used herein above "one", " one " also attempt to include plural number.Should also
When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation,
The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit,
Component and/or its combination.
It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can be according to different from attached
The order indicated in figure occurs.For example, depending on involved function/action, the two width figures shown in succession actually may be used
Substantially simultaneously to perform or can perform in a reverse order sometimes.
The present invention is described in further detail below in conjunction with the accompanying drawings.
A kind of according to an aspect of the invention, there is provided data transmission method for uplink of Internet of Things.Wherein, this method is applied
In internet of things as shown in Figure 1, as shown in figure 1, the internet of things includes:Internet-of-things terminal 10, Internet of Things access point AP20,
Gateway and repeater 40, above-mentioned internet-of-things terminal can have the different forms of expression, such as the thing according to different situations
Networked terminals are specifically as follows:The equipment such as mobile phone, tablet personal computer, computer, certain its can also be included with network savvy
Other equipment, such as intelligent television, intelligent air condition, the terminal device of intelligent kettle or some Internet of Things, above-mentioned internet-of-things terminal
10 are wirelessly connected with repeater 40, and repeater 40 is connected with AP, and its mode connected can be wireless mode, also may be used
Think restricted manner, above-mentioned wireless mode includes but is not limited to:The modes such as bluetooth, WIFI, above-mentioned gateway are specifically as follows, mobile
The equipment such as base station, mobile-relay station, interchanger.It is example in a wired fashion in Fig. 1, represents for convenience, here only with one
Solid line represents.
Above-mentioned gateway 30 can be a PC (English according to the size of Internet of Things:Personal computer,
PC), certainly in actual applications or multiple pc, server or server farm, the specific embodiment of the invention is not
Limit to the specific manifestation form of above-mentioned gateway 30.
Above-mentioned repeater 40 can be plurality of devices according to different scenes, such as mobile phone, intelligent watch etc. equipment.
Refering to Fig. 2, Fig. 2 is the transfer process figure that the data of Internet of Things are sent, wherein, network side equipment using repeater as
Example, as shown in Fig. 2 the flow includes:
Step S201, internet-of-things terminal 10 wirelessly sends the packet for needing to send to relay station 40;
Step S202, relay station forwards the packet to Internet of Things access point;
Step S203, Internet of Things access point transmits packet to gateway.
By above-mentioned Fig. 1 and Fig. 2 expression, in the actual transmissions of packet, if internet-of-things terminal and repeater it
Between divulge a secret, then for transmission packet due to it is no pass through corresponding encryption, so easilying lead to data
Leakage, easily there is safety issue.
Refering to Fig. 3, Fig. 3 is a kind of encryption method at times of internet-of-things terminal data provided by the invention, and this method exists
Realized under network architecture as shown in Figure 4, as shown in figure 4, multiple internet-of-things terminals can be connected under a repeater 40, in this
Can be to open the mobile phone of focus, the PC that wireless connection is provided, forwarding unit etc., this method such as Fig. 3 institutes after implement body
Show, comprise the following steps:
Step S301, internet-of-things terminal obtains packet to be sent;
Internet-of-things terminal in above-mentioned steps S301 is specifically as follows:The equipment such as mobile phone, tablet personal computer, computer, certainly
It can also include the other equipment with network savvy, such as intelligent television, intelligent air condition, intelligent kettle, intelligent lamp, intelligence
The smart machine of switch or some Internet of Things.
Step S302, internet-of-things terminal extraction current time, the working hour Internet of Things is determined according to the current time
The working hour of network termination, according to the working hour in the working hour being pre-configured with being inquired in ciphering unit mapping table
First ciphering unit corresponding to the working hour.
The each producer of type of internet-of-things terminal in above-mentioned steps S302 can be configured according to situation voluntarily, example
Such as, the internet-of-things terminal can specifically include:Intelligent electric lamp, intelligent television, intelligent cleaning equipment, intelligent sleep equipment, intelligence
Monitoring device etc., its form showed can be varied, such as intelligent electric lamp, the intelligent electric lamp includes but unlimited
In:The equipment such as intelligent desk lamp, intelligent ceiling lamp, intelligent wall lamp, such as intelligent television, it can be Samsung board intelligence
TV, it can also be Sharp's board intelligent television certainly, such as intelligent cleaning equipment, it can be, intelligent floor-sweeping
Robot, it can also include the equipment such as intellective dust collector, intelligent garbage processor certainly, such as come for intelligent sleep equipment
Say, it can be:The equipment such as intelligent mattress, intelligent sofa, such as intelligent monitoring device or, it can be, intelligent blood
Pressure meter, intelligent thermometer etc., the present invention is not limited the concrete form and quantity or species of above-mentioned internet-of-things terminal.
Working hour (i.e. period) in above-mentioned steps is with ciphering unit mapping table as shown in figure 5, above-mentioned mapping can be with
To map one by one, naturally it is also possible to for modes such as one-to-many mappings.
Ciphering unit in above-mentioned steps S302 is specifically as follows the hardware ciphering unit for being arranged on internet-of-things terminal, and it is wrapped
The AES set containing factory pre-sets, certainly in actual applications, above-mentioned ciphering unit can also be that configuration is whole in Internet of Things
Software encryption unit in end, the present invention are not intended to limit the specific manifestation form of above-mentioned ciphering unit.
Above-mentioned AES includes but is not limited to:Triple DEA block encryption (English:riple Data
Encryption Algorithm, 3DES), Message Digest 5 (English:Message Digest Algorithm, MD5) or
The AESs such as RSA (Rivest, Shamir, Adleman), the present invention do not limit to specific AES.Such as 3DES is
The common name of triple DEA block encryptions.It is the equal of using des encryption algorithm three times to each data block.Due to meter
The enhancing of calculation machine operational capability, the key length of master DES passwords become easily by Brute Force;3DES is to be designed to carry
For a kind of relatively simple method, the i.e. attack by increasing DES key length to avoid similar.
Step S303, internet-of-things terminal calls first ciphering unit that the packet is encrypted;
Above-mentioned steps S303 implementation method is specifically as follows:
For example, the first ciphering unit is 3DES encryption unit, then internet-of-things terminal calls 3DES encryption unit to packet
Carry out 3DES encryption processing.Such as first ciphering unit be RAS ciphering units, then internet-of-things terminal call RAS ciphering units pair
Packet carries out RAS encryptions.Such as first ciphering unit be md5 encryption unit, then internet-of-things terminal call md5 encryption list
Member carries out md5 encryption processing to packet.
The concrete mode of above-mentioned encryption may refer to 3DES, RSA and MD5 associated description, repeat no more here.
Above-mentioned steps S303 implementation method is specifically as follows:
Internet-of-things terminal calls the first ciphering unit that the packet is encrypted, and such as encrypts successfully, carries out follow-up
Step S304, such as encrypts unsuccessful, then calls the spare cryptographic unit of the first ciphering unit that the packet is encrypted,
The packet header extended field of the packet after encryption will be added to using spare cryptographic unit marks.
Step S304, internet-of-things terminal sends the data after encryption and current time to network side equipment.
It is network side for convenience that current time is carried into purpose in the load of the frame of transmission in above-mentioned steps S304
Equipment obtains current time, because for the time, it is change all the time, if not carrying current time, then only
The network side equipment being directly connected to internet-of-things terminal can obtain accurate current device, can not for follow-up equipment
Obtain accurate current time, then different ciphering units will be matched, so as to lead to not decrypt, so by current time
Carrying can be very good solve this problem in the load of frame.
Above-mentioned steps S304 implementation method can be:
The mode that internet-of-things terminal sends packet to internet-of-things terminal in above-mentioned steps S304 can be by wirelessly connecting
The mode connect sends packet, and the wireless mode includes but is not limited to:Bluetooth, Wireless Fidelity (English:Wireless
Fidelity, WIFI) or the wireless mode such as Zigbee, wherein, above-mentioned WIFI needs the standard in accordance with IEEE802.11b.
It should be noted that Internet of Things and internet-of-things terminal here be only just for wireless internet of things terminal, because
For for Internet of Things, the number of devices that it is accessed is numerous, for internet-of-things terminal, if by wired connection, it is first
The access quantity of first internet-of-things terminal can limit, and for family, with wired connection, for domestic consumer's
It can not imagine for wiring, this wired cost is also very high in addition, so the middle Internet of Things in technical scheme
Connection between network termination and internet-of-things terminal only limits wireless connection.
According to the method provided such as Fig. 3, after internet-of-things terminal obtains the packet for needing to send, internet-of-things terminal foundation
The current working time period of internet-of-things terminal inquires ciphering unit corresponding to the working hour, and data are entered by the ciphering unit
Row encryption, for Internet of Things, without being configured to encryption, all encryptions set whole in Internet of Things network side equipment
In end, so it has safe, the experience of user is improved.
Refering to Fig. 6, Fig. 6 is a kind of encryption method at times of internet-of-things terminal data provided by the invention, and this method exists
Realized under network architecture as shown in Figure 4, as shown in figure 4, multiple internet-of-things terminals can be connected under an Internet of Things repeater,
The Internet of Things repeater is specifically as follows the equipment such as the mobile phone for opening focus, the PC for providing wireless connection, and this method is such as
Shown in Fig. 6, comprise the following steps:
Step S601, internet-of-things terminal obtains the packet for needing to send;
Internet-of-things terminal in above-mentioned steps S601 is specifically as follows:The equipment such as mobile phone, tablet personal computer, computer, certainly
It can also include the other equipment with network savvy, such as intelligent television, intelligent air condition, intelligent kettle, intelligent lamp, intelligence
The smart machine of switch or some Internet of Things.
Step S602, internet-of-things terminal extracts the current time of the packet, when determining the work according to the current time
The working hour of section internet-of-things terminal, according to the working hour in the working hour being pre-configured with being looked into ciphering unit mapping table
Ask out the first ciphering unit corresponding to the working hour.
The each producer of type of internet-of-things terminal in above-mentioned steps S602 can be configured according to situation voluntarily, example
Such as, the internet-of-things terminal can specifically include:Intelligent electric lamp, intelligent television, intelligent cleaning equipment, intelligent sleep equipment, intelligence
Monitoring device etc., its form showed can be varied, such as intelligent electric lamp, the intelligent electric lamp includes but unlimited
In:The equipment such as intelligent desk lamp, intelligent ceiling lamp, intelligent wall lamp, such as intelligent television, it can be Samsung board intelligence
TV, it can also be Sharp's board intelligent television certainly, such as intelligent cleaning equipment, it can be, intelligent floor-sweeping
Robot, it can also include the equipment such as intellective dust collector, intelligent garbage processor certainly, such as come for intelligent sleep equipment
Say, it can be:The equipment such as intelligent mattress, intelligent sofa, such as intelligent monitoring device or, it can be, intelligent blood
Pressure meter, intelligent thermometer etc., the present invention is not limited the concrete form and quantity or species of above-mentioned internet-of-things terminal.
Working hour in above-mentioned steps with ciphering unit mapping table as shown in figure 5, above-mentioned mapping can be to map one by one,
Can certainly be the modes such as one-to-many mapping.
Ciphering unit in above-mentioned steps S602 is specifically as follows the hardware ciphering unit for being arranged on Internet of Things repeater, its
The AES set comprising factory pre-sets, certainly in actual applications, above-mentioned ciphering unit can also be configuration in Internet of Things
Software encryption unit in repeater, the present invention are not intended to limit the specific manifestation form of above-mentioned ciphering unit.
Above-mentioned AES includes but is not limited to:The AESs such as 3DES, MD5 or RSA, limitation is not specific by the present invention
AES.
Step S603, internet-of-things terminal detection and the signal intensity of the mesh network equipment, it is true according to the signal intensity
Determine key, the packet is encrypted using the first ciphering unit using the key;
Above-mentioned steps S603 implementation method is specifically as follows:
Internet-of-things terminal obtains the grade of signal intensity, and it is strong that the mapping relations according to grade and key inquire the signal
Key corresponding to the grade of degree.Specifically, the grade for for example obtaining signal intensity is 1 grade, then key corresponding to 1 grade, example are extracted
Such as the extraction key 1 of grade 1, if the grade of signal intensity is 2 grades, key corresponding to 2 grades of extraction.
Above-mentioned steps S603 implementation method is specifically as follows:
Internet-of-things terminal obtains signal strength values, the intensity level is converted into intensity level binary number, by the intensity level
The result that binary number input preset algorithm is calculated is as key.Above-mentioned preset algorithm is specifically as follows:Key=LSB
48bit SHA-256 (intensity level binary number | | MAC), wherein the MAC Address is the MAC Address of internet-of-things terminal.
Optionally, it is described to determine key according to the signal intensity, including:
Internet-of-things terminal obtains signal strength values, the MAC Address of internet-of-things terminal is converted into decimal number, by the intensity
The absolute value of value adds that the decimal number obtains and is defined as key.
Above-mentioned steps S603 implementation method is specifically as follows:
For example, the first ciphering unit is 3DES encryption unit, then internet-of-things terminal calls 3DES encryption unit to packet
Carry out 3DES encryption processing.Such as first ciphering unit be RAS ciphering units, then internet-of-things terminal call RAS ciphering units pair
Packet carries out RAS encryptions.Such as first ciphering unit be md5 encryption unit, then internet-of-things terminal call md5 encryption list
Member carries out md5 encryption processing to packet.
The concrete mode of above-mentioned encryption may refer to 3DES, RSA and MD5 associated description, repeat no more here.
Above-mentioned steps S603 implementation method is specifically as follows:
Internet-of-things terminal calls the first ciphering unit that the packet is encrypted, and such as encrypts successfully, carries out follow-up
Step S304, such as encrypts unsuccessful, then calls the spare cryptographic unit of the first ciphering unit that the packet is encrypted,
The packet header extended field of the packet after encryption will be added to using spare cryptographic unit marks.
Step S604, internet-of-things terminal is by the packet after encryption, the current time and the signal strength values
Carry and sent in the load of frame to Internet of Things access point.
Above-mentioned steps S604 implementation method can be:
Internet-of-things terminal sends packet to Internet of Things repeater (one kind of network side equipment) in above-mentioned steps S604
Mode can be that packet is sent by way of wireless connection, and the wireless mode includes but is not limited to:Bluetooth, Wireless Fidelity
(English:Wireless Fidelity, WIFI) or the wireless mode such as Zigbee, wherein, above-mentioned WIFI needs to observe
IEEE802.11b standard.
It should be noted that Internet of Things and internet-of-things terminal here be only just for wireless internet of things terminal, because
For for Internet of Things, the number of devices that it is accessed is numerous, for internet-of-things terminal, if by wired connection, it is first
The access quantity of first internet-of-things terminal can limit, and for family, with wired connection, for domestic consumer's
It can not imagine for wiring, this wired cost is also very high in addition, so the middle Internet of Things in technical scheme
Connection between network termination and Internet of Things repeater only limits wireless connection.
The technical solution adopted by the present invention has the advantages of safe.
Optionally, the above method can also include before step S604:
The internet-of-things terminal calls the first ciphering unit encryption unsuccessful, and the internet-of-things terminal calling first adds
The packet is encrypted the spare cryptographic unit of close unit, will be added to encryption using spare cryptographic unit marks
The packet header extended field of packet after processing.
Refering to Fig. 7, Fig. 7 is a kind of terminal device of network of things 700, and described device includes:
Acquiring unit 701, for obtaining the packet for needing to send;
Processing unit 702, for extracting the current time of the packet, the work is determined according to the current time
The working hour of period internet-of-things terminal, according to the working hour in the working hour being pre-configured with and ciphering unit mapping table
In inquire the first ciphering unit corresponding to the working hour;First ciphering unit is called to add the packet
Close processing;
Transmitting element 703, for the data after encryption and current time to be sent to network side equipment.
Optionally, processing unit 702 is specific, the packet encryption is failed for such as the first ciphering unit, then
The spare cryptographic unit of the first ciphering unit is called to the packet encryption.
Optionally, processing unit 702 is specific, for detecting the signal intensity with the mesh network equipment, according to the letter
Number intensity determines key, and the packet is encrypted using the first ciphering unit using the key.
Optionally, the processing unit 702, the grade specifically for obtaining signal intensity, foundation grade and key are reflected
Penetrate relational query and go out key corresponding to the grade of the signal intensity.
Optionally, the processing unit, specifically for obtaining signal strength values, the intensity level is inputted into preset algorithm meter
Obtained result is as key.
The specific embodiment of the invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can store
There is program, adding at times for data is received including any internet-of-things terminal that above-mentioned first aspect is recorded when the program performs
The part or all of step of decryption method.
Refering to Fig. 8, Fig. 8 is a kind of internet-of-things terminal 800 provided by the invention, and the internet-of-things terminal can be to be deployed in mutually
A node in networked system, internet system can also include:Internet of Things repeater, Internet of Things access point, Internet of Things are whole
End and gateway, the internet-of-things terminal 800 include but is not limited to:The equipment such as computer, server, as shown in figure 8, the Internet of Things is whole
End 800 includes:Processor 801, memory 802, transceiver 803 and bus 804.Transceiver 803 be used for external equipment (such as
Other equipment in interacted system, include but is not limited to:Repeater, equipment of the core network etc.) between transceiving data.Internet-of-things terminal
The quantity of processor 801 in 800 can be one or more.In some embodiments of the present application, processor 801, memory
802 can be connected with transceiver 803 by bus system or other modes.The implication for the term being related on the present embodiment and act
Example, may be referred to embodiment corresponding to Fig. 3 or Fig. 6, here is omitted.
Wherein, can be with store program codes in memory 802.Processor 801 is used to call the journey stored in memory 802
Sequence code, for performing following operation:
Transceiver 803, for obtaining the packet for needing to send;
Processor 801, for extracting current time, according to the working hour in the working hour and encryption being pre-configured with
The first ciphering unit corresponding to the working hour is inquired in unit mapping table, calls first ciphering unit to the number
It is encrypted according to bag.
Transceiver 803, it is additionally operable to carry the packet after encryption and the current time and is sent out in the load of frame
Deliver to Internet of Things access point.
Optionally, processor 801, transceiver 803, can be also used for performing the step as in Fig. 3 or as shown in Figure 6 embodiments
Rapid and step refinement scheme and alternative.
It should be noted that processor 801 here can be a treatment element or multiple treatment elements
It is referred to as.For example, the treatment element can be central processing unit (Central Processing Unit, CPU) or spy
Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or be arranged to implement this
Apply for one or more integrated circuits of embodiment, such as:One or more microprocessors (digital singnal
Processor, DSP), or, one or more field programmable gate array (Field Programmable Gate Array,
FPGA)。
Memory 803 can be the general designation of a storage device or multiple memory elements, and for storing and can hold
Parameter, data etc. required for line program code or the operation of application program running gear.And memory 903 can include random storage
Device (RAM), nonvolatile memory (non-volatile memory), such as magnetic disk storage, flash memory can also be included
(Flash) etc..
Bus 804 can be that industry standard architecture (Industry Standard Architecture, ISA) is total
Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control
Bus processed etc..For ease of representing, only represented in Fig. 8 with a thick line, it is not intended that an only bus or a type of
Bus.
The user equipment can also include input/output unit, be connected to bus 804, to pass through bus and processor 801
Connected etc. other parts.The input/output unit can provide an inputting interface for operating personnel, so that operating personnel pass through this
Inputting interface selects item of deploying to ensure effective monitoring and control of illegal activities, and can also be other interfaces, can pass through the external miscellaneous equipment of the interface.
It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system
The combination of actions of row, but those skilled in the art should know, the application is not limited by described sequence of movement, because
For according to the application, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this Shen
Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment
Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English
Text:Random Access Memory, referred to as:RAM), disk or CD etc..
The content download method and relevant device that are there is provided above the embodiment of the present application, system are described in detail,
Specific case used herein is set forth to the principle and embodiment of the application, and the explanation of above example is simply used
Understand the present processes and its core concept in help;Meanwhile for those of ordinary skill in the art, according to the application's
Thought, there will be changes in specific embodiments and applications, in summary, this specification content should not be construed as
Limitation to the application.
Claims (10)
1. a kind of encryption method at times of internet-of-things terminal data, it is characterised in that methods described comprises the following steps:
The internet-of-things terminal obtains the packet for needing to send;
The internet-of-things terminal extracts current time, and the work of the working hour internet-of-things terminal is determined according to the current time
Make the period, according to the working hour when the working hour being pre-configured with ciphering unit mapping table with inquiring the work
First ciphering unit corresponding to section;
The internet-of-things terminal calls first ciphering unit that the packet is encrypted;
The internet-of-things terminal sends the data after encryption and current time to network side equipment.
2. according to the method for claim 1, it is characterised in that methods described is after the internet-of-things terminal is by encryption
Packet send to can also include before gateway:
Such as the first ciphering unit fails to the packet encryption, then calls the spare cryptographic unit pair of the first ciphering unit
The packet encryption.
3. according to the method for claim 1, it is characterised in that the internet-of-things terminal calls first ciphering unit pair
The packet, which is encrypted, to be specifically included:
The internet-of-things terminal detection and the signal intensity of the mesh network equipment, determine key according to the signal intensity, adopt
The packet is encrypted using the first ciphering unit with the key.
4. according to the method for claim 3, it is characterised in that described to determine that key is specific according to the signal intensity, bag
Include:
The internet-of-things terminal obtains the grade of signal intensity, and it is strong that the mapping relations according to grade and key inquire the signal
Key corresponding to the grade of degree.
5. according to the method for claim 3, it is characterised in that the internet-of-things terminal obtains signal strength values, by described in
The result that intensity level input preset algorithm is calculated is as key.
6. a kind of terminal device of network of things, it is characterised in that described device includes:
Acquiring unit, for obtaining the packet for needing to send;
Processing unit, for extracting current time, the work of the working hour internet-of-things terminal is determined according to the current time
Make the period, according to the working hour when the working hour being pre-configured with ciphering unit mapping table with inquiring the work
First ciphering unit corresponding to section;Call first ciphering unit that the packet is encrypted;
Transmitting element, for the data after encryption and current time to be sent to network side equipment.
7. device according to claim 6, it is characterised in that the processing unit is specific, for such as the first ciphering unit
The packet encryption is failed, then call the spare cryptographic unit of the first ciphering unit to the packet encryption at
Reason.
8. device according to claim 6, it is characterised in that the processing unit is specific, for detecting and the network
The signal intensity of net equipment, key is determined according to the signal intensity, using the key using the first ciphering unit to described
Packet is encrypted.
9. device according to claim 8, it is characterised in that the processing unit, specifically for obtaining signal intensity
Grade, according to grade key corresponding with the grade that the mapping relations of key inquire the signal intensity.
A kind of 10. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange,
Wherein, the computer program causes computer to perform the method as described in claim any one of 1-5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710604663.8A CN107547516A (en) | 2017-07-24 | 2017-07-24 | The encryption method at times and device of internet-of-things terminal data |
PCT/CN2017/100788 WO2019019280A1 (en) | 2017-07-24 | 2017-09-06 | Method for internet of things terminal to encrypt data according to time periods, and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710604663.8A CN107547516A (en) | 2017-07-24 | 2017-07-24 | The encryption method at times and device of internet-of-things terminal data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107547516A true CN107547516A (en) | 2018-01-05 |
Family
ID=60970406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710604663.8A Pending CN107547516A (en) | 2017-07-24 | 2017-07-24 | The encryption method at times and device of internet-of-things terminal data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107547516A (en) |
WO (1) | WO2019019280A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021134984A1 (en) * | 2019-12-31 | 2021-07-08 | 海信集团有限公司 | Method for home appliance communication encryption, home appliance, and server |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625691B (en) * | 2021-08-20 | 2023-04-07 | 深圳市元征科技股份有限公司 | Vehicle diagnosis method, vehicle diagnosis equipment and vehicle gateway |
CN116633416B (en) * | 2023-05-11 | 2023-12-08 | 广东铁信通科技有限公司 | Data transmission method of satellite communication terminal of Internet of things |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111056A (en) * | 2006-07-17 | 2008-01-23 | 西安电子科技大学 | Fast switching method for wireless local area network |
CN101330379A (en) * | 2007-06-22 | 2008-12-24 | 华为技术有限公司 | Method and apparatus for down distributing cryptographic key |
CN102244861A (en) * | 2011-08-14 | 2011-11-16 | 北京理工大学 | Method for generating symmetric keys based on random state of wireless channel |
CN103700177A (en) * | 2013-12-25 | 2014-04-02 | 袁磊 | Coded lock system capable of unlocking in specific time period by using encrypted authorization data |
US20150372754A1 (en) * | 2014-06-24 | 2015-12-24 | Samsung Electronics Co., Ltd. | Method and apparatus for pairing electronic device and lighting device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5069327B2 (en) * | 2010-03-25 | 2012-11-07 | 株式会社バッファロー | Wireless LAN relay device, wireless communication system, and control method for wireless LAN relay device |
CN102694753A (en) * | 2011-03-25 | 2012-09-26 | 国基电子(上海)有限公司 | Gateway equipment capable of carrying out encryption transmission on data, system and method thereof |
CN104935433B (en) * | 2015-03-13 | 2018-11-16 | 天地融科技股份有限公司 | Method, communication device and the communication system of key jump in a kind of communication process |
CN105337981A (en) * | 2015-11-18 | 2016-02-17 | 上海新储集成电路有限公司 | Relay device, update method and method for performing data interaction between devices |
-
2017
- 2017-07-24 CN CN201710604663.8A patent/CN107547516A/en active Pending
- 2017-09-06 WO PCT/CN2017/100788 patent/WO2019019280A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111056A (en) * | 2006-07-17 | 2008-01-23 | 西安电子科技大学 | Fast switching method for wireless local area network |
CN101330379A (en) * | 2007-06-22 | 2008-12-24 | 华为技术有限公司 | Method and apparatus for down distributing cryptographic key |
CN102244861A (en) * | 2011-08-14 | 2011-11-16 | 北京理工大学 | Method for generating symmetric keys based on random state of wireless channel |
CN103700177A (en) * | 2013-12-25 | 2014-04-02 | 袁磊 | Coded lock system capable of unlocking in specific time period by using encrypted authorization data |
US20150372754A1 (en) * | 2014-06-24 | 2015-12-24 | Samsung Electronics Co., Ltd. | Method and apparatus for pairing electronic device and lighting device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021134984A1 (en) * | 2019-12-31 | 2021-07-08 | 海信集团有限公司 | Method for home appliance communication encryption, home appliance, and server |
Also Published As
Publication number | Publication date |
---|---|
WO2019019280A1 (en) | 2019-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI719312B (en) | Information interaction method, device and equipment for internet of things equipment | |
CN107786331B (en) | Data processing method, device, system and computer readable storage medium | |
CN103873692B (en) | Method, device and system for resource sharing | |
CN107547516A (en) | The encryption method at times and device of internet-of-things terminal data | |
US11553314B2 (en) | Method and system for providing interoperability for rich communication suite (RCS) messaging with local and remote applications with e-commerce and data collection | |
CN106845256A (en) | A kind of method and terminal of encryption and decryption data in the application | |
EP3293933A1 (en) | Communication content protection | |
CN107566336A (en) | The encryption method in order and device of internet-of-things terminal data | |
CN107872315B (en) | Data processing method and intelligent terminal | |
CN107846715A (en) | Access point switching method and device of the Internet of Things based on transmission rate | |
CN107370735A (en) | The encryption method at times and device of a kind of Internet of Things REPEATER DATA | |
CN107846683A (en) | Upstream data control extension method and device of the Internet of Things access point based on type | |
CN108718302A (en) | A kind of synchronous method of Message Record, device and equipment | |
CN107483203A (en) | Internet of Things access point receives the encryption method at times and device of data | |
CN106488483B (en) | Method for configuring WIFI gateway equipment and corresponding gateway equipment | |
CN114553612B (en) | Data encryption and decryption method and device, storage medium and electronic equipment | |
CN107493267A (en) | A kind of random encrypting method and device of internet-of-things terminal data | |
CN107483202A (en) | A kind of selection encryption method and device based on Internet of Things repeater | |
CN107302538A (en) | Internet of Things AP receives the subset encryption method and device of data | |
CN107360566A (en) | Upstream data control extension method and device of the internet-of-things terminal based on type | |
CN107483201A (en) | A kind of selection encryption method and device based on Internet of Things access point | |
CN107493571A (en) | Upstream data control extension method and device of the Internet of Things repeater based on type | |
JP6111165B2 (en) | Cryptographic processing apparatus and cryptographic processing system | |
CN111090894B (en) | Method and device for reconstructing data of lock card | |
CN104808583A (en) | Numerical control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |