KR101745482B1 - Communication method and apparatus in smart-home system - Google Patents
Communication method and apparatus in smart-home system Download PDFInfo
- Publication number
- KR101745482B1 KR101745482B1 KR1020150082721A KR20150082721A KR101745482B1 KR 101745482 B1 KR101745482 B1 KR 101745482B1 KR 1020150082721 A KR1020150082721 A KR 1020150082721A KR 20150082721 A KR20150082721 A KR 20150082721A KR 101745482 B1 KR101745482 B1 KR 101745482B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- server
- mobile terminal
- terminal
- encrypted
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- 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/30—Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
-
- 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/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
A communication method and a device in a smart home system are disclosed. A method of data communication at a server comprising: receiving a data request encrypted with a server public key from a mobile terminal; Decrypting the encrypted data request with a first server secret key corresponding to a server public key of the server, encrypting the data request with a second server secret key, and transmitting the encrypted data request to the smart device; And receiving data encrypted with the second server secret key corresponding to the data request from the smart device, decrypting the encrypted data with the second server secret key, encrypting the encrypted data with the terminal public key, and transmitting the encrypted data to the mobile terminal .
Description
The present invention relates to a secure communication method and apparatus in a smart home environment.
With the development of information and communication technology, things have become intelligent and networked, and ubiquitous society in human life has come to reality. The realization of ubiquitous society is accelerating through IoT (Internet of Things). Smart home refers to a home environment in which home appliances are connected by a network to provide convenient and useful services to people. With IoT, smart home technology and services are rapidly evolving and diversifying.
With the development of smart devices for smart phones and smart TVs, smart home has been influenced by various home appliances, electricity, communication, and welfare. With the development and growth of smart devices, services of smart home such as healthcare service, environmental service and monitoring service have diversified. We are building a network based on network communication between smart devices for mutual communication of smart home. The user manages the necessary resources and receives the smart home data desired by the user through the network communication from the outside.
However, a variety of smart devices and network communications have created new security threats, and security incidents are increasing.
The present invention provides a secure communication method and apparatus in a smart home environment.
It is another object of the present invention to provide a communication method and apparatus in a smart home environment capable of authenticating smart devices in a smart home and blocking external access to securely transmit data.
Also, the present invention provides a communication method in a smart home environment, which can block data forgery and can verify the integrity of transmitted data using a hash result value based on a random number will be.
According to an aspect of the present invention, a secure communication method in a smart home environment is provided.
According to an embodiment of the present invention, there is provided a method of data communication at a server, comprising the steps of: (a) receiving an encrypted data request from a mobile terminal with a server public key; (b) decrypting the encrypted data request with a first server secret key of the server, encrypting the data request with a second server secret key, and transmitting the encrypted data request to the smart device; And (c) receiving, from the smart device, data encrypted with the second server secret key in response to the data request, decrypting the encrypted data with the second server secret key, encrypting the encrypted data with the terminal public key, And a data communication method including the step of transmitting data.
The encrypted data request may include at least one of a data request message, terminal information of the mobile terminal, random number value, and mobile terminal signature value.
The step (b) may be performed after the terminal information is extracted from the decrypted data request, and then the mobile terminal is authenticated by confirming whether it matches the previously registered terminal information, and if the authentication is successful.
Wherein the data encrypted by the terminal public key in step (c) further includes a hash value obtained by concatenating data corresponding to the data request and the random number value, and after step (c) Decrypting the encrypted data using the terminal secret key corresponding to the terminal public key, comparing the decrypted data with the random number and concatenating the resultant value with the result value included in the encrypted data, The integrity of the data can be verified.
Before the step (a), the mobile terminal may register the terminal information, transmit the server public key to the mobile terminal, and may precede the terminal registration process of receiving the terminal public key from the mobile terminal.
According to another embodiment of the present invention, there is provided a data communication method for a mobile terminal, comprising: transmitting a data request including at least one of a data request message, terminal information of the mobile terminal, Encrypting and transmitting to the server; Receiving a data value corresponding to the data request from the server by concatenating the random number value and hashed value and data obtained by encrypting data with a terminal public key; And decrypting the encrypted data with the terminal secret key, comparing the decrypted data with the random number value and comparing the hash result value with a result value included in the encrypted data, and verifying the integrity of the data The data communication method comprising the steps of:
Wherein the mobile terminal transmits the encrypted data request to the server by registering the terminal information of the mobile terminal with the server and receiving the server public key from the server and transmitting the terminal public key of the mobile terminal to the server Can be preceded.
According to another embodiment of the present invention, there is provided a method of data communication in a smart device, the method comprising: receiving a data request of a mobile terminal encrypted with a secret key from a server, the encrypted data request including a random value; And decrypting the encrypted data request with the secret key encrypted with the secret key, concatenating the data according to the data request with the random number value, encrypting the hashed result value and the data with the secret key, Wherein the server decrypts the encrypted data with the secret key, encrypts the data and the hashed result value with a terminal public key, and transmits the encrypted result to the terminal. have.
And a device registration step of registering device information of the smart device and receiving the secret key from the server before receiving the data request.
According to another aspect of the present invention, there is provided an apparatus for providing a secure communication method in a smart home environment.
According to an embodiment of the present invention, there is provided a server for communication between a mobile terminal and a smart device in a smart home environment, the server receiving a data request encrypted with a server public key from a mobile terminal, An authentication unit for authenticating the mobile terminal using terminal information included in the data request and previously registered terminal information; And transmitting the decrypted data request to the smart device by encrypting the decrypted data request with the second server secret key if the authentication result of the authentication unit is successful and transmitting the data encrypted with the second server secret key in response to the data request from the smart device Decrypting the encrypted data with the second server secret key, and encrypting the decrypted data with the terminal public key, and transmitting the decrypted data to the mobile terminal.
The encrypted data request may further include at least one of a data request message, a random number value, and a mobile terminal signature value.
Wherein the data encrypted with the terminal public key further includes a result obtained by hashing data corresponding to the data request with the random number value, wherein the mobile terminal uses the terminal secret key corresponding to the terminal public key to encrypt the encrypted data After the decryption, the integrity of the data can be verified by comparing the decrypted data with the random number value and comparing the resultant value obtained by hashing and the resultant value included in the encrypted data.
The terminal registration information may be registered from the mobile terminal, the server public key may be transmitted to the mobile terminal, and the terminal registration procedure for receiving the terminal public key from the mobile terminal may be performed.
The method and apparatus for communicating in a smart home environment according to an embodiment of the present invention are advantageous in that smart devices in a smart home are authenticated and data can be securely transmitted by blocking external access.
Accordingly, the present invention can block data forgery and corruption in advance, and can verify the integrity of transmitted data using a hash result based on a random number.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 schematically illustrates the structure of a smart home system according to an embodiment of the present invention; FIG.
2 is a flowchart illustrating a process of registering a mobile terminal with a server in a smart home system according to an exemplary embodiment of the present invention.
3 is a flowchart illustrating a method of communicating a smart home system according to an embodiment of the present invention.
4 is a block diagram schematically illustrating an internal configuration of a server according to an embodiment of the present invention;
5 is a block diagram schematically illustrating an internal configuration of a mobile terminal according to an embodiment of the present invention;
6 is a block diagram schematically illustrating an internal configuration of a smart device according to an embodiment of the present invention;
BRIEF DESCRIPTION OF THE DRAWINGS The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the detailed description. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.
Also, in this specification, when an element is referred to as being "connected" or "connected" with another element, the element may be directly connected or directly connected to the other element, It should be understood that, unless an opposite description is present, it may be connected or connected via another element in the middle.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
1 is a schematic view illustrating a structure of a smart home system according to an embodiment of the present invention.
Referring to FIG. 1, a smart home system according to an exemplary embodiment of the present invention includes a
The
The
The
In addition, the
The
The
The type of the
Although not described in detail herein, the
The
2 is a flowchart illustrating a process of registering a mobile terminal with a server in a smart home system according to an embodiment of the present invention.
In
That is, the
For example, the
In
In
In
As described above, the
Although only the registration process of the
3 is a flowchart illustrating a communication method of a smart home system according to an embodiment of the present invention.
In
For example, the
Accordingly, in
For example, the
In
If authentication has failed as a result of performing the authentication, the
If authentication is successful as a result of the authentication, in
At this time, the data request encrypted with the secret key may include a data request message and a random number value.
In this specification, a separate registration process for the smart device is not described in detail, but it is possible to precede the
In
In
In
In
If the integrity verification result does not match, the
4 is a block diagram schematically illustrating an internal configuration of a server according to an embodiment of the present invention.
4, the
The communication unit 410 is a means for transmitting and receiving data with another device (e.g., the
The
The
For example, if the authentication result of the authentication unit is successful, the
The detailed operation of the
The
The
5 is a block diagram schematically illustrating an internal configuration of a mobile terminal according to an embodiment of the present invention.
5, a
The
The
The
The
The
The
6 is a block diagram schematically illustrating an internal configuration of a smart device according to an embodiment of the present invention.
6, a
The
The
At this time, the
The
The
The
The dynamic power management method in the mobile device according to the present invention can be implemented as a computer-readable code on a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording media storing data that can be decoded by a computer system. For example, it may be a ROM (Read Only Memory), a RAM (Random Access Memory), a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, or the like. In addition, the computer-readable recording medium may be distributed and executed in a computer system connected to a computer network, and may be stored and executed as a code readable in a distributed manner.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the following claims And changes may be made without departing from the spirit and scope of the invention.
110: mobile terminal
120: Server
130: Smart Device
Claims (13)
(a) receiving terminal information from a mobile terminal, transmitting the server public key to the mobile terminal, and receiving a terminal public key from the mobile terminal;
(b) receiving an encrypted data request from a mobile terminal with a server public key;
(c) decrypting the encrypted data request with a first server secret key corresponding to a server public key of the server, encrypting the data request with a second server secret key, and transmitting the encrypted data request to the smart device; And
(d) receiving data encrypted with the second server secret key in response to the data request from the smart device, decrypting the encrypted data with the second server secret key, encrypting the encrypted data with the terminal public key, The method comprising the steps of:
Wherein the encrypted data request comprises at least one of a data request message, terminal information of the mobile terminal, a random number value, and a mobile terminal signature value.
The step (c)
Extracting the terminal information from the decrypted data request, checking whether the registered terminal information matches with the registered terminal information, and authenticating the mobile terminal and performing authentication if the authentication is successful.
The data encrypted with the terminal public key in step (d) further includes a hash value obtained by concatenating data corresponding to the data request and the random number,
After the step (d)
The mobile terminal decrypts the encrypted data with the terminal public key, and then compares the decrypted data with the random number value to compare the resultant value with the resultant value included in the encrypted data to verify the integrity of the data The data communication method comprising:
Receiving a data request encrypted with a server public key from a mobile terminal, decrypting the decrypted data with a first server secret key corresponding to a server public key of the server, An authentication unit for authenticating the terminal; And
Encrypts the decrypted data request with a second server secret key and transmits the decrypted data request to the smart device if the authentication result of the authentication unit is successful, and receives data encrypted with the second server secret key in response to the data request from the smart device And decrypting the encrypted data with the second server secret key, and encrypting the decrypted data with the terminal public key, and transmitting the decrypted data to the mobile terminal.
Wherein the encrypted data request further comprises at least one of a data request message, a random number value and a mobile terminal signature value.
Wherein the data encrypted by the terminal public key further includes a hash value obtained by concatenating data corresponding to the data request and the random number,
The mobile terminal decrypts the encrypted data with the terminal secret key, and then compares the decrypted data with the random number to compare the resultant value with the resultant value included in the encrypted data, thereby verifying the integrity of the data Lt; / RTI >
A server registration step of registering terminal information from the mobile terminal, transmitting the server public key to the mobile terminal, and receiving a terminal public key from the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150082721A KR101745482B1 (en) | 2015-06-11 | 2015-06-11 | Communication method and apparatus in smart-home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150082721A KR101745482B1 (en) | 2015-06-11 | 2015-06-11 | Communication method and apparatus in smart-home system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160146090A KR20160146090A (en) | 2016-12-21 |
KR101745482B1 true KR101745482B1 (en) | 2017-06-20 |
Family
ID=57734919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150082721A KR101745482B1 (en) | 2015-06-11 | 2015-06-11 | Communication method and apparatus in smart-home system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101745482B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200113386A (en) | 2019-03-25 | 2020-10-07 | 황완자 | Smart home system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180077626A (en) * | 2016-12-29 | 2018-07-09 | 박민지 | Communication method and apparatus in smart-home system |
KR101969815B1 (en) | 2017-01-18 | 2019-04-17 | 콘텔라 주식회사 | IoT Gateway |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100521570B1 (en) | 2003-10-23 | 2005-10-17 | 현대자동차주식회사 | Stop lamp switch circuit for automobile |
KR100596400B1 (en) | 2004-04-07 | 2006-07-03 | 한국전자통신연구원 | Apparatus for security-based synchronizing data between personal mobile node and home network PC and method thereof |
KR100690417B1 (en) * | 2001-04-12 | 2007-03-09 | 인터내셔널 비지네스 머신즈 코포레이션 | Controlled distribution of application code and content data within a computer network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080005344A1 (en) | 2006-06-29 | 2008-01-03 | Ford Daniel E | Method and system for configuring a network device using a template |
-
2015
- 2015-06-11 KR KR1020150082721A patent/KR101745482B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100690417B1 (en) * | 2001-04-12 | 2007-03-09 | 인터내셔널 비지네스 머신즈 코포레이션 | Controlled distribution of application code and content data within a computer network |
KR100521570B1 (en) | 2003-10-23 | 2005-10-17 | 현대자동차주식회사 | Stop lamp switch circuit for automobile |
KR100596400B1 (en) | 2004-04-07 | 2006-07-03 | 한국전자통신연구원 | Apparatus for security-based synchronizing data between personal mobile node and home network PC and method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200113386A (en) | 2019-03-25 | 2020-10-07 | 황완자 | Smart home system |
Also Published As
Publication number | Publication date |
---|---|
KR20160146090A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6586446B2 (en) | Method for confirming identification information of user of communication terminal and related system | |
CN102017578B (en) | Network helper for authentication between a token and verifiers | |
US7552322B2 (en) | Using a portable security token to facilitate public key certification for devices in a network | |
US11750395B2 (en) | System and method for blockchain-based multi-factor security authentication between mobile terminal and IoT device | |
CA2879910C (en) | Terminal identity verification and service authentication method, system and terminal | |
KR101706117B1 (en) | Apparatus and method for other portable terminal authentication in portable terminal | |
US8397281B2 (en) | Service assisted secret provisioning | |
CN103873487A (en) | Method for achieving home credible networking based on safety pendent of smart home device | |
US10133861B2 (en) | Method for controlling access to a production system of a computer system not connected to an information system of said computer system | |
KR20180013710A (en) | Public key infrastructure based service authentication method and system | |
CN105282179A (en) | Family Internet of things security control method based on CPK | |
KR101835640B1 (en) | Method for authentication of communication connecting, gateway apparatus thereof, and communication system thereof | |
CN114208113B (en) | Method for accessing private key, first device, first server, second server and system | |
KR101745482B1 (en) | Communication method and apparatus in smart-home system | |
CN103152326A (en) | Distributed authentication method and authentication system | |
CN110582986B (en) | Security authentication method for generating security key by combining authentication factors of multiple users | |
CN107888376B (en) | NFC authentication system based on quantum communication network | |
CN111541708B (en) | Identity authentication method based on power distribution | |
KR102321405B1 (en) | System and method for providing security service using blockchain and biometric information | |
CN116709325B (en) | Mobile equipment security authentication method based on high-speed encryption algorithm | |
KR102053993B1 (en) | Method for Authenticating by using Certificate | |
KR102131871B1 (en) | Authentication system including apparatus for recoding image and control server and method thereof | |
JP5553914B1 (en) | Authentication system, authentication device, and authentication method | |
KR101490638B1 (en) | Method of authenticating smart card, server performing the same and system performint the same | |
KR101298216B1 (en) | Authentication system and method using multiple category |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E90F | Notification of reason for final refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |