KR101682303B1 - Home device control system and control method thereof, home device included in the system and control method thereof - Google Patents
Home device control system and control method thereof, home device included in the system and control method thereof Download PDFInfo
- Publication number
- KR101682303B1 KR101682303B1 KR1020150092342A KR20150092342A KR101682303B1 KR 101682303 B1 KR101682303 B1 KR 101682303B1 KR 1020150092342 A KR1020150092342 A KR 1020150092342A KR 20150092342 A KR20150092342 A KR 20150092342A KR 101682303 B1 KR101682303 B1 KR 101682303B1
- Authority
- KR
- South Korea
- Prior art keywords
- cloud server
- home device
- control
- router
- tcp
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2818—Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/165—Combined use of TCP and UDP protocols; selection criteria therefor
Abstract
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a home-device control system, a control method thereof, a home-device included in the system, and a control method thereof. A home device control system including a cloud server, a router, and a home device according to the present invention is characterized in that the cloud server has at least one of UDP (User Datagram Protocol) communication and TCP (Transmission Control Protocol) communication with the home device via the router The home device transmits a UDP packet for causing UDP hole punching corresponding to the cloud server to be generated in the router, and transmits the UDP packet to the router, based on the communication state with the cloud server, A long polling TCP request signal for requesting a long polling TCP response to the cloud server is transmitted when it is determined that UDP hole punching corresponding to the long polling TCP response is not generated.
Description
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a home-device control system and a control method thereof, a home-device and a control method thereof, and more particularly to a home-device control system for controlling a home- A home device included in the system, and a control method thereof.
In recent years, various home devices have been provided in the home, and the home devices can be controlled through the home network.
For example, a WiFi module such as a light bulb, a gas valve, and a TV may be included to enable communication with a WiFi access point provided in the house, and a control signal is transmitted to the home devices through a WiFi access point using a smart phone And each home device can perform a predetermined specific function according to the control signal.
As a result, smart phones can be used to switch on and off lights and TVs, and gas valves can be operated at home.
However, in the related art, it is possible to control the home device only at home by using a home Wi-Fi router or the like, so that it is not possible to check or control the device status of the home in a remote place away from home. There is a problem that integrated and intuitive management of home devices is not easy.
SUMMARY OF THE INVENTION The present invention has been conceived to solve the above-mentioned problems of the related art, and it is an object of the present invention to provide a home device which can always control home devices provided in the home even outside the home, And a control method therefor, a home device included in the home system, and a control method thereof.
According to another aspect of the present invention, there is provided a method of controlling a home device control system including a cloud server, a router, and a home device, the method comprising: causing the home device to generate UDP hole punching corresponding to the cloud server in the router UDP packet, and when it is determined that UDP hole punching corresponding to the cloud server has not been generated in the router based on the communication state with the cloud server, a long polling TCP response is requested to the cloud server Transmitting a long polling TCP request signal; And the cloud server communicates with the home device via at least one of UDP communication and TCP communication via the router.
In order to achieve the above-mentioned object, a control method of a home device communicating with a cloud server via a router according to the present invention comprises: transmitting a UDP packet for causing UDP hole punching corresponding to the cloud server to be generated in the router ; Determining whether UDP hole punching corresponding to the cloud server is generated in the router based on a communication state with the cloud server; And a step of transmitting a long polling TCP request signal for requesting a long polling TCP response to the cloud server when it is determined that the UDP hole punching corresponding to the cloud server is not generated in the router .
In order to achieve the above object, a home device control system including a cloud server, a router, and a home device according to the present invention is characterized in that the cloud server communicates with the home device via UDP (User Datagram Protocol) Wherein the home device transmits a UDP packet for causing a UDP hole punching corresponding to the cloud server to be generated in the router, and a communication state with the cloud server And a long polling TCP request signal for requesting a long polling TCP response to the cloud server when it is determined that UDP hole punching corresponding to the cloud server has not been created in the router based on the long polling TCP request signal .
In order to achieve the above object, a home device communicating with a cloud server via a router according to the present invention comprises: a receiver for receiving a control signal from the cloud server; A transmitting unit transmitting at least one of a request signal and a response signal to the cloud server; A UDP packet for causing a UDP (User Datagram Protocol) hole punching corresponding to the cloud server to be generated in the router is transmitted through the transmission unit, and the UDP packet is transmitted to the cloud server based on a communication state with the cloud server And a controller for controlling a long polling TCP request signal requesting a long polling TCP response to the cloud server when it is determined that a corresponding UDP hole punching has not been generated.
As described above, according to the present invention, a home device provided in a home can be controlled using an Internet network even outside the home using a user terminal.
In particular, when the UDP hole punching is not generated in the router, the home device preferentially controls the UDP communication with the cloud server. In this case, TCP communication with the cloud server is performed secondarily, thereby reducing the load on the server. The connection can be made even under the network condition.
Furthermore, since the user terminal can access the cloud server and collectively check the status of home home devices, the inconvenience of directly connecting to the home device each time is reduced.
1 is a schematic configuration diagram of a home-device control system according to an embodiment of the present invention,
FIG. 2 is a functional block diagram of the home device of FIG. 1,
FIG. 3 is a view showing an example of a router and the control dongle connected thereto in FIG. 1,
FIG. 4 and FIG. 5 are control flowcharts of a home device control system according to an embodiment of the present invention.
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
Hereinafter, embodiments of the present invention will be described in order to facilitate understanding of the present invention, and the present invention is not limited to these embodiments. In particular, the present invention can be configured by combining at least any one of individual components, individual functions, or individual steps included in each embodiment.
Hereinafter, each signal referred to in the embodiments of the present invention may refer to one signal transmitted by one connection or the like, but may also mean a series of signals transmitted for the purpose of performing a specific function . That is, in each embodiment, a plurality of signals transmitted after a predetermined time interval or after receiving a response signal from the counterpart device can be represented by a single signal name for convenience.
The
Here, the
For example, if there is a control request from the
This control signal can be transmitted by UDP communication or TCP communication as described above.
For example, if UDP hole punching is generated in the
To this end, the
Here, UDP hole punching means that a communication port is opened to allow a UDP packet to be transmitted. In order to generate a UDP hole punching in a predetermined gateway device (the
The
Here, the long polling TCP response signal is transmitted by maintaining the waiting state for a predetermined time (for example, 90 seconds), and when there is no control signal to be transmitted during that period, the
That is, when a control signal transmission event is detected within a predetermined time after the long polling TCP request signal of the
That is, when the UDP communication with the
Here, the TCP communication between the
In order to control the above-described
It is needless to say that the
The
The
For example, when it is assumed that the
It is preferable that the wireless communication is established between the
The
The
Each of the
An example of a detailed functional block of such a
As shown in the figure, each
Here, the
The control unit 130 controls the UDP packet to be generated in the
When the controller 130 determines that the UDP hole punching corresponding to the
Here, the long polling TCP request signal is a signal requesting the long polling TCP response to the
For example, when the UDP packet is not received from the
When it is determined that UDP hole punching is not generated in the
The control unit 130 performs a control function corresponding to the control signal when the control signal is received from the
Alternatively, when the
As another example, when the received control signal is a status information request for the home-
As described above, the control signal can be received by UDP communication or TCP communication. In particular, when the control signal is received as a TCP packet, the control unit 130 receives a control corresponding to the control signal, A TCP request signal may be transmitted to the
When the
The
For example, the
That is, the user can simultaneously check the state information of the
The
For this purpose, the information about the
The
For example, when users buy the
If the
Although the
That is, the
In this case, the information related to the
This is for distinguishing between a plurality of
An example of such a
The
It is needless to say that the
Hereinafter, a control flow of the control system of the home-
First, a process of registering information related to the
The
The
Meanwhile, the
The
The
That is, when the device information received from the
The
Accordingly, the
That is, it is possible to prevent a user who has illegally acquired the
5 illustrates a process performed when the home-
First, the
The
If the UDP hole punching is not generated in the router 200 (step S23), the
When a control transmission event is detected before a predetermined time (90 seconds in this embodiment) elapses after the HTTP Request [Long Polling] signal is received from the home device 100 (step S27) (step S31 ) Control signal to the home device 100 (step S33). When 90 seconds have elapsed, an HTTP Response [605-no control] signal is transmitted as a control end signal to the
Here, the
On the other hand, the
When the
Accordingly, TCP communication is maintained between the
That is, when the UDP hole punching is generated in the
In this case, the
Meanwhile, it goes without saying that the process of performing each of the above-described embodiments can be performed by a program or an application stored in a predetermined recording medium (for example, a computer-readable). Here, the recording medium includes an electronic recording medium such as a RAM (Random Access Memory), a magnetic recording medium such as a hard disk, and an optical recording medium such as a CD (Compact Disk).
At this time, the program stored in the recording medium may be executed on hardware such as a computer or a smart phone to perform each of the above embodiments. In particular, at least one of the functional blocks of the user terminal according to the present invention described above may be implemented by such a program or application.
The present invention is not limited to the above-described specific embodiments, and various modifications and changes may be made without departing from the gist of the present invention. It is to be understood that such variations and modifications are intended to be included in the scope of the appended claims.
100: Home device 200: Router
300: user terminal 400: cloud server
110: Receiving unit 120:
130:
Claims (12)
Wherein the cloud server communicates with the home device via at least one of UDP (User Datagram Protocol) communication and TCP (Transmission Control Protocol) communication via the router,
The home device transmits a UDP packet for causing a UDP hole punching corresponding to the cloud server to be generated in the router, and a UDP hole punching corresponding to the cloud server is generated in the router based on a communication state with the cloud server And transmits a long polling TCP request signal for requesting a long polling TCP response to the cloud server when it is determined that the long polling TCP response is not received.
The cloud server transmits a control signal corresponding to a control signal transmission event to the home device when a control signal transmission event is detected within a preset time after receiving the long polling TCP request signal of the home device, And transmits a control end signal to the home device at a time point when the control signal transmission event is not detected within a predetermined time period.
The home device transmits a polling TCP request signal to the cloud server. When the control signal is received from the cloud server, the home device performs a control function corresponding to the control signal. If the control signal is received, And transmits a request signal to the cloud server.
A user terminal connected to the cloud server for commanding control of the home device;
Further comprising a control dongle for managing the home device via the router,
Wherein the user terminal receives the device information for the home device from the control dongle, and only when the device information for the home device received from the control dongle is registered in the cloud server, Information to the cloud server.
A receiving unit for receiving a control signal from the cloud server;
A transmitting unit transmitting at least one of a request signal and a response signal to the cloud server;
A UDP packet for causing a UDP (User Datagram Protocol) hole punching corresponding to the cloud server to be generated in the router is transmitted through the transmission unit, and the UDP packet is transmitted to the cloud server based on a communication state with the cloud server And a control unit for controlling a long polling TCP request signal requesting a long polling TCP response to the cloud server when it is determined that a corresponding UDP hole punching has not been generated. Lt; / RTI >
The control unit transmits the polling TCP request signal to the cloud server. When the control signal is received from the cloud server, the control unit performs a control function corresponding to the control signal. When the control end signal is received from the cloud server, And controls the polling TCP request signal to be transmitted to the cloud server.
The home device transmits a UDP packet for causing a UDP hole punching corresponding to the cloud server to be generated in the router, and a UDP hole punching corresponding to the cloud server is generated in the router based on a communication state with the cloud server Sending a long polling TCP request signal requesting a long polling TCP response to the cloud server if it is determined that the long polling TCP response has not been received;
And the cloud server communicates with the home device via at least one of UDP communication and TCP communication via the router.
When the cloud server detects a control signal transmission event within a preset time after receiving the long polling TCP request signal of the home device, transmits the control signal corresponding to the control signal transmission event to the home device immediately, And transmitting a control end signal to the home device at a time point when the control signal transmission event is not detected within a predetermined time period.
When the home device receives a control signal from the cloud server, performs a control function corresponding to the control signal, and when receiving the control end signal, transmitting a new long polling TCP request signal to the cloud server Wherein the home device control system comprises:
Wherein the home device control system further includes a user terminal for connecting to the cloud server and instructing control of the home device, and a control dongle,
Wherein the control unit receives the device information for the home device from the control dongle, and when the device information for the home device received from the control dongle is registered in the cloud server, Further comprising the step of requesting the information to be registered in the cloud server.
(a) transmitting a UDP packet for causing UDP hole punching corresponding to the cloud server to be generated in the router;
(b) determining whether UDP hole punching corresponding to the cloud server is generated in the router based on a communication state with the cloud server;
(c) if it is determined in step (b) that UDP hole punching corresponding to the cloud server is not generated in the router, a long polling TCP requesting a long polling TCP response to the cloud server And transmitting a request signal to the home device.
When receiving a control signal from the cloud server, performing a control function corresponding to the control signal and transmitting a new long polling TCP request signal to the cloud server when the control end signal is received A method of controlling a home device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150092342A KR101682303B1 (en) | 2015-06-29 | 2015-06-29 | Home device control system and control method thereof, home device included in the system and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150092342A KR101682303B1 (en) | 2015-06-29 | 2015-06-29 | Home device control system and control method thereof, home device included in the system and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101682303B1 true KR101682303B1 (en) | 2016-12-05 |
Family
ID=57576064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150092342A KR101682303B1 (en) | 2015-06-29 | 2015-06-29 | Home device control system and control method thereof, home device included in the system and control method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101682303B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190110265A (en) | 2018-03-20 | 2019-09-30 | 삼성에스디에스 주식회사 | Wireless communication device providing two-way communication with low power consumption |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110117302A (en) * | 2010-04-21 | 2011-10-27 | 주식회사 엘지유플러스 | Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof |
KR20120014076A (en) | 2012-01-05 | 2012-02-15 | 김호영 | Smart home solution |
KR20120072022A (en) * | 2010-12-23 | 2012-07-03 | 한국전자통신연구원 | Virtual smarthome system, server, home gateway based on clouding computing and method thereof |
KR20130069287A (en) * | 2011-12-16 | 2013-06-26 | 인텔렉추얼디스커버리 주식회사 | Smart home service system based cloud and method thereof |
KR20150054505A (en) * | 2013-11-12 | 2015-05-20 | 건국대학교 산학협력단 | Cloud-based data server providing managing service for home appliances and method thereof |
-
2015
- 2015-06-29 KR KR1020150092342A patent/KR101682303B1/en active IP Right Grant
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110117302A (en) * | 2010-04-21 | 2011-10-27 | 주식회사 엘지유플러스 | Mobile communication apparatus for communicating with a video proving server and playing a video, and control method thereof |
KR20120072022A (en) * | 2010-12-23 | 2012-07-03 | 한국전자통신연구원 | Virtual smarthome system, server, home gateway based on clouding computing and method thereof |
KR20130069287A (en) * | 2011-12-16 | 2013-06-26 | 인텔렉추얼디스커버리 주식회사 | Smart home service system based cloud and method thereof |
KR20120014076A (en) | 2012-01-05 | 2012-02-15 | 김호영 | Smart home solution |
KR20150054505A (en) * | 2013-11-12 | 2015-05-20 | 건국대학교 산학협력단 | Cloud-based data server providing managing service for home appliances and method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190110265A (en) | 2018-03-20 | 2019-09-30 | 삼성에스디에스 주식회사 | Wireless communication device providing two-way communication with low power consumption |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11816980B2 (en) | Method of pairing a remote control | |
US11405593B2 (en) | Integrated accessory control user interface | |
US10306705B2 (en) | Secure connected device control and monitoring system | |
US9814084B2 (en) | Location and pairing of devices on a local area network using a unique identifier | |
CN105471686B (en) | Terminal control method, device and system | |
US20170019443A1 (en) | Device and method for transferring the rendering of multimedia content | |
JP6072132B2 (en) | Method of establishing a communication path using active connection of relay server of mobile terminal | |
CN106535187B (en) | Intelligent household equipment access method and system based on wireless routing terminal | |
CN104635501A (en) | Intelligent home control method and system | |
WO2015131689A1 (en) | Sensor code-pairing processing method, apparatus, network platform device, and internet of things gateway | |
CN106789470A (en) | terminal resource sharing method, device and system | |
CN106604278B (en) | Multi-authority mobile network sharing method | |
TW201605203A (en) | Home control gateway and home control network connection method thereof | |
KR101682303B1 (en) | Home device control system and control method thereof, home device included in the system and control method thereof | |
KR102009810B1 (en) | Method and apparatus for transmitting and receiving a service in a wireless communication system | |
CN103619051A (en) | System and method for dynamically controlling routing rule of gateway equipment | |
US20130107697A1 (en) | Network Connection System of Network Electronic Device and Method to Solve Terminal Device Unable to Reach Electronic Device Caused by Router Not Supporting NAT Loopback | |
US20190098351A1 (en) | Method for managing the access right to an item of digital content | |
EP2891299B1 (en) | Systems and methods for efficient remote security panel configuration and management | |
KR20060001550A (en) | Upnp device controlling method using internet | |
CN105323125B (en) | Cross-home network processing method, HTTP gateway and DLNA (digital living network alliance) equipment | |
CN106211142A (en) | A kind of WiFi AP terminal wide area network cut-in method | |
KR102350276B1 (en) | Authentication gateway and, control method thereof, recording medium for recording program for executing the control method, application saved in the recording medium for executing the control method being combined with hardware | |
US20140211260A1 (en) | Information sharing system, information sharing management device, and information sharing method | |
KR101361024B1 (en) | Apparatus and method for controlling of IP based devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GRNT | Written decision to grant |