KR20160097848A - Operating method for internet to things - Google Patents

Operating method for internet to things Download PDF

Info

Publication number
KR20160097848A
KR20160097848A KR1020150020238A KR20150020238A KR20160097848A KR 20160097848 A KR20160097848 A KR 20160097848A KR 1020150020238 A KR1020150020238 A KR 1020150020238A KR 20150020238 A KR20150020238 A KR 20150020238A KR 20160097848 A KR20160097848 A KR 20160097848A
Authority
KR
South Korea
Prior art keywords
time information
packet
reference time
object internet
internet
Prior art date
Application number
KR1020150020238A
Other languages
Korean (ko)
Inventor
김호준
Original Assignee
삼성전기주식회사
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 삼성전기주식회사 filed Critical 삼성전기주식회사
Priority to KR1020150020238A priority Critical patent/KR20160097848A/en
Publication of KR20160097848A publication Critical patent/KR20160097848A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • H04L7/0037Delay of clock signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Abstract

According to an embodiment of the present invention, a method for operating internet of things is performed in a reference device and an internet-of-things device constituting a group. The method for operating internet of things includes the following steps of: generating local time information of the internet-of-things device; receiving reference time information from the reference device through a local area network; calculating a compensation value for the difference between the reference time information and the local time information when receiving the reference time information; and reflecting the compensation value to the local time information.

Description

사물 인터넷 운영 방법{OPERATING METHOD FOR INTERNET TO THINGS}{OPERATING METHOD FOR INTERNET TO THINGS}

본 발명은 사물 인터넷 운영 방법에 관한 것이다.
The present invention relates to a method for operating Internet objects.

무선 네트워크 기술과 전자 기술의 발전에 따라 사물들을 네트워크 상에서 제어하는 사물 인터넷 기술이 대두되고 있다. 이러한 사물 인터넷 기술은 사물 모니터링, 실내 위치 추적, 전자 가격 표시 장치 등과 같은 분야에서 적용되고 있다.With the advancement of wireless network technology and electronic technology, object internet technology that controls objects on network is emerging. This kind of internet technology is applied in such fields as object monitoring, indoor location tracking, and electronic price display.

사물 인터넷 기술에서 각 사물에 적용되는 디바이스들에게 가장 중요한 이슈는 전력 관리이며, 이러한 전력 관리를 위하여 웨이크업 모드와 슬립 모드를 이용하고 있다.The most important issue for devices applied to each object in the Internet of things is power management, and it uses wakeup mode and sleep mode for power management.

이러한 제어에서는, 다수의 디바이스들 간의 시간 동기화가 중요한 문제가 된다. 예컨대, 다수의 디바이스가 서로 시간 동기화가 이루어지지 않으면, 웨이크업 모드에 진입하는 시간이 서로 다르거나, 또는 데이터 패킷의 송수신 시 오차가 발생하는 등의 문제가 생길 수 있다.In such a control, time synchronization between a plurality of devices becomes an important problem. For example, if a plurality of devices are not time synchronized with each other, there may arise a problem that the time to enter the wake-up mode is different or an error occurs in transmission and reception of data packets.

이러한 시간 동기화를 위하여, 종래에는 그룹에 속하는 특정 디바이스에서 다른 복수의 디바이스들에게 시간 정보를 제공하여, 그룹 내에서 시간 동기화를 적용하는 기술이 있다. 그러나 이러한 종래 기술의 경우 시간 정보의 전송 오류나 전송 지연이 발생하는 문제점이 있다. In order to synchronize time, there is a technique of providing time information to a plurality of other devices in a specific device belonging to a group and applying time synchronization in the group. However, this conventional technique has a problem that transmission errors or transmission delays occur in time information.

시간 동기화를 위한 다른 종래 기술로서, 그룹 내의 각 디바이스가 각각 개별적으로 타이머를 이용하는 기술이 있다. 그러나 이러한 경우, 각각 디바이스 별로 시간이 계산되므로, 전체 디바이스들의 시간 동기화를 담보하기 어려운 문제점이 있다.
As another conventional technique for time synchronization, there is a technique in which each device in a group uses a timer individually. However, in such a case, since the time is calculated for each device, there is a problem that it is difficult to secure time synchronization of all devices.

본 발명은 상기한 종래 기술의 문제점을 해결하기 위한 것으로써, 적은 자원으로도 사물 인터넷 내의 시간 정보를 정확하게 동기화 할 수 있는 사물 인터넷 운영 방법을 제공하는 것이다.
Disclosure of Invention Technical Problem [8] The present invention has been made to solve the above problems of the prior art, and it is an object of the present invention to provide a method for operating a things Internet, which can accurately synchronize time information in the Internet of things with a small amount of resources.

본 발명의 일 기술적 측면은 사물 인터넷 운영 방법의 일 실시예를 제안한다. 상기 사물 인터넷 운영 방법은 기준 디바이스와 그룹을 구성하는 사물 인터넷 디바이스에서 수행된다. 상기 사물 인터넷 운영 방법은, 상기 사물 인터넷 디바이스의 로컬 시간 정보를 생성하는 단계, 근거리 무선 통신을 통하여 기준 디바이스로부터 기준 시각 정보를 수신하는 단계, 상기 기준 시각 정보를 수신한 때의 상기 로컬 시간 정보와, 상기 기준 시간 정보와의 차이에 대한 보정값을 계산하는 단계 및 로컬 시간 정보에 상기 보정값을 반영하는 단계를 포함할 수 있다.
One technical aspect of the present invention proposes an embodiment of a method for Internet operation of things. The object Internet operating method is performed in the object Internet device constituting the reference device and the group. The object Internet operating method includes the steps of generating local time information of the object Internet device, receiving reference time information from a reference device through short-range wireless communication, receiving the local time information at the time of receiving the reference time information, Calculating a correction value for the difference from the reference time information, and reflecting the correction value in the local time information.

본 발명의 다른 기술적 측면은 사물 인터넷 운영 방법의 다른 일 실시예를 제안한다. 상기 사물 인터넷 운영 방법은 복수의 사물 인터넷 디바이스와 하나의 그룹을 형성하고, 상기 복수의 사물 인터넷 디바이스에 데이터 패킷을 제공하는 기준 디바이스에서 수행된다. 상기 사물 인터넷 운영 방법은, 내부 클록을 카운트하여 기준 시간 정보를 생성하는 단계, 상기 기준 시간 정보를 포함하는 동기 패킷을 생성하는 단계 및 상기 복수의 사물 인터넷 디바이스에 상기 동기 패킷을 송출하는 단계를 포함할 수 있다.
Another technical aspect of the present invention proposes another embodiment of a method for Internet operation of things. The object Internet operating method is performed in a reference device that forms a group with a plurality of object internet devices and provides a data packet to the plurality of object internet devices. The object Internet operating method includes: generating reference time information by counting an internal clock; generating a synchronization packet including the reference time information; and transmitting the synchronization packet to the plurality of object Internet devices can do.

상기한 과제의 해결 수단은, 본 발명의 특징을 모두 열거한 것은 아니다. 본 발명의 과제 해결을 위한 다양한 수단들은 이하의 상세한 설명의 구체적인 실시형태를 참조하여 보다 상세하게 이해될 수 있을 것이다.
The solution of the above-mentioned problems does not list all the features of the present invention. Various means for solving the problems of the present invention can be understood in detail with reference to specific embodiments of the following detailed description.

본 발명의 일 실시형태에 의하면, 적은 자원으로도 사물 인터넷 내의 시간 정보를 정확하게 동기화 할 수 있는 효과가 있다.
According to the embodiment of the present invention, time information in the object Internet can be accurately synchronized even with a small amount of resources.

도 1은 본 발명의 일 실시예에 따른 사물 인터넷 시스템의 일 예를 도시하는 도면이다.
도 2는 본 발명의 일 실시예에 따른 기준 디바이스를 도시하는 구성도이다.
도 3은 도 2의 기준 디바이스에서 송출되는 동기 패킷의 일 예를 도시하는 도면이다.
도 4는 본 발명의 일 실시예에 따른 사물 인터넷 디바이스를 도시하는 구성도이다.
도 5는 본 발명의 일 실시예에 따른 사물 인터넷 운영 방법을 설명하는 순서도이다.
도 6은 본 발명의 다른 일 실시예에 따른 사물 인터넷 운영 방법을 설명하는 순서도이다.
도 7은 본 발명의 일 실시예에 따른 사물 인터넷 운영 방법에서 적용되는, 동기 패킷의 전송을 설명하는 도면이다.
1 is a diagram illustrating an example of an Internet object system according to an embodiment of the present invention.
2 is a configuration diagram showing a reference device according to an embodiment of the present invention.
FIG. 3 is a diagram showing an example of a synchronization packet transmitted from the reference device of FIG. 2. FIG.
FIG. 4 is a block diagram illustrating an object Internet device according to an exemplary embodiment of the present invention. Referring to FIG.
5 is a flowchart illustrating an Internet operation method according to an embodiment of the present invention.
6 is a flowchart illustrating an Internet operation method according to another embodiment of the present invention.
FIG. 7 is a diagram for explaining transmission of a synchronization packet, which is applied in the Internet operation method according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 형태들을 설명한다. Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

그러나, 본 발명의 실시형태는 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 이하 설명하는 실시 형태로 한정되는 것은 아니다. 또한, 본 발명의 실시형태는 당해 기술분야에서 평균적인 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위해서 제공되는 것이다.
However, the embodiments of the present invention can be modified into various other forms, and the scope of the present invention is not limited to the embodiments described below. Further, the embodiments of the present invention are provided to more fully explain the present invention to those skilled in the art.

도 1은 본 발명의 일 실시예에 따른 사물 인터넷 시스템의 일 예를 도시하는 도면이다.1 is a diagram illustrating an example of an Internet object system according to an embodiment of the present invention.

도 1은 전자 선반 시스템에 적용된 사물 인터넷 시스템의 일 예를 도시하고 있다. 그러나, 이는 예시적인 것으로서, 발명의 일 실시예에 따른 사물 인터넷 시스템은 가전 등의 사물 모니터링, 실내 위치 추적, 빌딩 관리, 지그비 네트워크 등과 같은 다양한 분야에 적용 가능하다.FIG. 1 shows an example of an object Internet system applied to an electronic shelf system. However, the object Internet system according to an embodiment of the present invention is applicable to various fields such as home appliances such as object monitoring, indoor location tracking, building management, and ZigBee network.

도 1에 도시된 바와 같이, 사물 인터넷 시스템은 복수의 사물 인터넷 디바이스(120, 220)와 기준 디바이스(110, 210)를 포함할 수 있다. As shown in FIG. 1, the object Internet system may include a plurality of object Internet devices 120, 220 and a reference device 110, 210.

복수의 사물 인터넷 디바이스(120)와 하나의 기준 디바이스(110)는 그룹(100)을 이룰 수 있다. A plurality of object Internet devices 120 and one reference device 110 may form a group 100.

기준 디바이스(110)는 그룹 내의 복수의 사물 인터넷 디바이스(120)에게 근거리 무선 통신 방식으로 동기 패킷을 전송하여, 그룹 내의 사물 인터넷 디바이스들이 시간 동기화를 이루도록 할 수 있다. 또한 기준 디바이스(110)는 그룹 내의 복수의 사물 인터넷 디바이스(120)에 근거리 무선 통신 방식으로 데이터 패킷을 제공하여, 데이터를 업데이트 시킬 수 있다.The reference device 110 may send a synchronization packet to the plurality of Internet devices 120 in the group in a near field wireless communication manner so that the Internet devices in the group can perform time synchronization. The reference device 110 may also provide data packets in a short-range wireless communication manner to a plurality of Internet devices 120 in the group to update the data.

기준 디바이스들(110, 210) 간에도 시간 동기화가 이루어질 수 있다. 예를 들어, 기준 디바이스들(110, 210)은 GPS, NTP 등의 시스템 외부의 서버와 시간 동기화를 각각 수행하여, 기준 디바이스들(110, 210) 간의 시간 동기화를 수행할 수 있다.
Time synchronization can also be achieved between the reference devices 110, 210. For example, the reference devices 110 and 210 can perform time synchronization between the reference devices 110 and 210 by performing time synchronization with servers outside the system such as GPS, NTP, and the like, respectively.

도 2는 본 발명의 일 실시예에 따른 기준 디바이스를 도시하는 구성도이다.2 is a configuration diagram showing a reference device according to an embodiment of the present invention.

도 2를 참조하면, 기준 디바이스(110)는 타이머(111), 무선 통신부(112) 및 제어부(113)을 포함할 수 있다.Referring to FIG. 2, the reference device 110 may include a timer 111, a wireless communication unit 112, and a control unit 113.

타이머(111)는 내부 클록을 카운트하여 기준 시간 정보를 생성할 수 있다. 기준 시간 정보는 기준 디바이스(110)에서 생성되어, 해당 기준 디바이스(110)를 포함하는 그룹 내의 복수의 사물 인터넷 디바이스(120)에 제공될 수 있다. 복수의 사물 인터넷 디바이스(120)는 각각 로컬 시간 정보를 가지고 있으며, 기준 시간 정보와 로컬 시간 정보의 차이로부터 보정값을 산출하고, 이러한 보정값을 반영하여 기준 시간 정보에 시간 동기화를 수행할 수 있다.The timer 111 can generate reference time information by counting the internal clock. The reference time information may be generated at the reference device 110 and provided to a plurality of matter internet devices 120 in the group including the reference device 110. [ Each of the plurality of object Internet devices 120 has local time information, calculates a correction value from the difference between the reference time information and the local time information, and reflects the correction value to perform time synchronization with the reference time information .

무선 통신부(112)는 복수의 사물 인터넷 디바이스(120)와 근거리 무선 통신 네트워크를 구성할 수 있다. 실시예에 따라, 양방향 네트워크 또는 기준 디바이스(110)로부터 사물 인터넷 디바이스(120)로 향하는 일방향 통신 네트워크가 적용될 수 있다.The wireless communication unit 112 may configure a short-range wireless communication network with a plurality of the object Internet devices 120. According to an embodiment, a one-way communication network from the bidirectional network or reference device 110 to the toll Internet device 120 may be applied.

제어부(113)는 데이터 패킷을 생성하여, 복수의 사물 인터넷 디바이스(120)에 송출하도록 무선 통신부(112)를 제어할 수 있다. 데이터 패킷은 복수의 사물 인터넷 디바이스(120)에 제공되는 데이터를 포함하는 패킷으로, 예를 들어, 전자 선반 시스템의 경우에는 제품 가격에 관한 데이터일 수 있다. The control unit 113 may control the wireless communication unit 112 to generate a data packet and send it to the plurality of object Internet devices 120. [ The data packet may be a packet containing data to be provided to a plurality of object Internet devices 120, for example, data relating to the product price in the case of an electronic shelf system.

제어부(113)는 기준 시간 정보를 포함하는 동기 패킷을 생성할 수 있다. 제어부(113)는 생성된 동기 패킷을 복수의 사물 인터넷 디바이스(120)에 송출하도록 무선 통신부(112)를 제어할 수 있다.The control unit 113 can generate the synchronization packet including the reference time information. The control unit 113 may control the wireless communication unit 112 to send the generated synchronization packet to the plurality of object Internet devices 120. [

일 실시예에서, 제어부(113)는 부트 업 된 이후에는, 소정 횟수 동안 반복적으로 동기 패킷을 생성하여 송출하도록 제어할 수 있다. 이는 사물 인터넷 디바이스(120)에서 보정을 수행하기 위해서는 복수개의 동기 패킷이 요구되기 때문이다.In one embodiment, the control unit 113 may control to repeatedly generate and transmit a sync packet for a predetermined number of times after booting up. This is because a plurality of synchronization packets are required to perform the correction in the object Internet device 120. [

일 실시예에서, 제어부(113)는 소정 횟수 동안 반복적으로 동기 패킷을 생성하여 송출시킨 후, 슬립 모드로 전환할 수 있다. 이후, 제어부(113)는 슬립 모드가 종료되면, 새로운 동기 패킷을 생성하여 복수의 사물 인터넷 디바이스(120)에 송출하도록 제어할 수 있다.
In one embodiment, the control unit 113 may repeatedly generate and transmit a sync packet for a predetermined number of times, and then switch to the sleep mode. Thereafter, when the sleep mode is terminated, the control unit 113 can control to generate a new synchronization packet and send it to the plurality of object Internet devices 120.

도 3은 도 2의 기준 디바이스에서 송출되는 동기 패킷의 일 예를 도시하는 도면이다.FIG. 3 is a diagram showing an example of a synchronization packet transmitted from the reference device of FIG. 2. FIG.

도시된 바와 같이 동기 패킷은 헤더, 웨이크 업 정보 및 기준 시각 정보를 포함할 수 있다.As shown, the sync packet may include a header, wakeup information, and reference time information.

패킷의 헤더 영역에는 프리엠블 등을 포함하는 헤더 정보를 포함하고, 데이터 영역에는 웨이크 업 정보 및 기준 시각 정보를 포함할 수 있다.The header area of the packet includes header information including a preamble and the like, and the data area may include wakeup information and reference time information.

웨이크 업 정보는 사물 인터넷 디바이스(120)의 웨이크 업 정보에 관한 것이고, 기준 시각 정보는 기준 디바이스(110)의 타이머(111)에서 생산된 상기 기준 시각 정보이다.
The wakeup information relates to wakeup information of the object Internet device 120 and the reference time information is the reference time information produced by the timer 111 of the reference device 110. [

도 4는 본 발명의 일 실시예에 따른 사물 인터넷 디바이스를 도시하는 구성도이다.FIG. 4 is a block diagram illustrating an object Internet device according to an exemplary embodiment of the present invention. Referring to FIG.

도 4를 참조하면, 사물 인터넷 디바이스(120)는 타이머(121), 무선 통신부(122), 보정부(123) 및 제어부(124)을 포함할 수 있다.Referring to FIG. 4, the object Internet device 120 may include a timer 121, a wireless communication unit 122, a correction unit 123, and a control unit 124.

타이머(121)는 사물 인터넷 디바이스의 로컬 시간 정보를 생성할 수 있다. 타이머(121)는 내부 클록을 카운트하여 로컬 시간 정보를 생성할 수 있다.The timer 121 may generate local time information of the object Internet device. The timer 121 may count the internal clock to generate local time information.

무선 통신부(122)는 기준 디바이스(110)와 근거리 무선 통신 네트워크를 구성할 수 있다. 무선 통신부(122)는 근거리 무선 통신을 통하여 기준 디바이스로부터 기준 시각 정보를 수신하고, 수신한 기준 시각 정보를 보정부(123) 및 제어부(124)에 제공할 수 있다.The wireless communication unit 122 may form a short-range wireless communication network with the reference device 110. The wireless communication unit 122 can receive the reference time information from the reference device via the short-range wireless communication and provide the received reference time information to the controller 123 and the controller 124. [

일 실시예에서, 무선 통신부(122)로부터 동기 패킷을 제공받으면, 보정부(123)는 동기 패킷에서 기준 시간 정보를 획득할 수 있다.In one embodiment, when receiving the synchronization packet from the wireless communication unit 122, the calibration unit 123 can acquire the reference time information in the synchronization packet.

보정부(123)는 기준 시각 정보를 수신한 때의 로컬 시간 정보를 타이머(121)로부터 획득하고, 획득한 로컬 시간 정보와 기준 시간 정보와의 차이에 대한 보정값을 계산할 수 있다.The correcting unit 123 can acquire the local time information when the reference time information is received from the timer 121 and calculate a correction value for the difference between the obtained local time information and the reference time information.

일 실시예에서, 보정부(123)는 로컬 시간 정보와 기준 시간 정보를 연관한 시간 기록 정보를 생성하여 저장할 수 있다. 예를 들어, 보정부(123)는 로컬 시간 정보 local과 기준 시간 정보 standard를 (local, standard)와 같은 쌍으로 저장할 수 있다. In one embodiment, the calibration unit 123 may generate and store time stamp information associated with local time information and reference time information. For example, the calibration unit 123 may store the local time information local and the reference time information standard in a pair such as (local, standard).

일 실시예에서, 보정부(123)는 복수의 시간 기록 정보를 이용하여, 로컬 시간 정보와 기준 시간 정보에 대한 선형 회귀 함수를 계산하여, 보정값을 결정할 수 있다.In one embodiment, the corrector 123 can calculate a linear regression function for local time information and reference time information using a plurality of time recording information, and determine a correction value.

예를 들어, 보정부(123)는 기 설정된 복수 이상의 시간 기록 정보에 대하여, 선형회귀를 수행하여 로컬 시간 정보와 기준 시간 정보에 대한 선형 회귀 함수를 이하의 수학식 1과 같이 도출할 수 있다.For example, the corrector 123 may perform a linear regression on a plurality of preset time recording information to derive a linear regression function for local time information and reference time information as shown in Equation (1) below.

[수학식 1][Equation 1]

LocalLocal =  = skewskew x  x standardstandard +  + offsetoffset

복수개의 시간 기록 정보를 이용하여, 선형 회귀 함수에서 skew 값과 offset값을 산출할 수 있다.A skew value and an offset value can be calculated using a linear regression function using a plurality of time recording information.

보정부(123)는 로컬 시간 정보에 계산된 보정값을 반영하여 보정할 수 있다. 예를 들어, 보정부(123)는 타이머(121)에서 제공되는 로컬 시간 정보에 보정값을 반영하여, 보정된 로컬 시간 정보를 생성하여 제어부(124)에 제공할 수 있다.The correction unit 123 can correct the correction value by reflecting the correction value calculated in the local time information. For example, the correction unit 123 may reflect the correction value in the local time information provided by the timer 121, and may generate the corrected local time information and provide the corrected local time information to the control unit 124. [

제어부(124)는 보정부(123)에 의하여 보정된 로컬 시간 정보를 이용하여 사물 인터넷 디바이스(120)를 제어할 수 있다.The control unit 124 may control the object Internet device 120 using the local time information corrected by the correction unit 123.

제어부(124)는 동기 패킷을 수신하면 현재의 로컬 시간 정보를 생성하도록 타이머(121)를 제어할 수 있다.The control unit 124 can control the timer 121 to generate the current local time information upon receipt of the synchronization packet.

일 실시예에서, 제어부(124)는 동기 패킷을 우선적으로 처리하도록 제어할 수 있다. 제어부(124)는 기준 디바이스(110)로부터 패킷을 수신하면, 수신된 패킷의 종류를 확인할 수 있다. 수신된 패킷이 동기 패킷이면, 제어부(124)는 현재 진행 중인 태스크에 우선하여 동기 패킷을 수신하도록 제어할 수 있다. In one embodiment, the control unit 124 may control to preferentially process the sync packet. Upon receipt of the packet from the reference device 110, the control unit 124 can confirm the type of the received packet. If the received packet is a synchronous packet, the control unit 124 can control to receive the synchronous packet in preference to the task currently in progress.

일 실시예에서, 제어부(124)는 동기 패킷에 포함된 웨이크 업 정보에 따라 사물 인터넷 디바이스(120)를 슬립 모드 또는 웨이크 업 모드가 되도록 제어할 수 있다.
In one embodiment, the control unit 124 may control the thing Internet device 120 to be in the sleep mode or the wakeup mode in accordance with the wakeup information included in the synchronization packet.

도 5는 본 발명의 일 실시예에 따른 사물 인터넷 운영 방법을 설명하는 순서도이다. 도 5에 도시된 사물 인터넷 운영 방법은 기준 디바이스(110)에서 수행되는 사물 인터넷 운영 방법에 관한 것이다.
5 is a flowchart illustrating an Internet operation method according to an embodiment of the present invention. The object Internet operating method shown in FIG. 5 relates to a method for operating the object Internet, which is performed in the reference device 110.

도 1 및 도 5를 참조하면, 기준 디바이스(110)는 내부 클록을 카운트하여 기준 시간 정보를 생성할 수 있다(S510).Referring to FIGS. 1 and 5, the reference device 110 may generate reference time information by counting an internal clock (S510).

기준 디바이스(110)는 기준 시간 정보를 포함하는 동기 패킷을 생성하고(S520), 복수의 사물 인터넷 디바이스(120)에 동기 패킷을 송출할 수 있다.The reference device 110 may generate a synchronization packet including reference time information (S520), and may transmit the synchronization packet to the plurality of object Internet devices 120. [

일 실시예에서, 기준 디바이스(110)는 기준 디바이스(110)가 부트 업 되면, 기 설정된 회수 동안 기준 시간 정보를 생성하는 단계(S510) 내지 동기 패킷을 송출하는 단계(S530)를 반복하여 수행할 수 있다.In one embodiment, when the reference device 110 is booted up, the reference device 110 repeats the step S510 of generating reference time information for a predetermined number of times or the step S530 of transmitting a synchronization packet .

일 실시예에서, 기준 디바이스(110)는 동기 패킷을 반복하여 송출한 후에 슬립 모드로 전환하고, 슬립 모드가 종료되면 새로운 동기 패킷을 생성하여 복수의 사물 인터넷 디바이스(120)에 송출할 수 있다.
In one embodiment, the reference device 110 may repeatedly send out a sync packet and then switch to the sleep mode. When the sleep mode ends, the reference device 110 may generate a new sync packet and send it to the plurality of content Internet devices 120.

도 6은 본 발명의 다른 일 실시예에 따른 사물 인터넷 운영 방법을 설명하는 순서도이다. 도 6에 도시된 사물 인터넷 운영 방법은 사물 인터넷 디바이스 (120)에서 수행되는 사물 인터넷 운영 방법에 관한 것이다.6 is a flowchart illustrating an Internet operation method according to another embodiment of the present invention. The object Internet operating method shown in FIG. 6 relates to a method of operating a object Internet, which is performed in the object Internet device 120.

도 1 및 도 6을 참조하면, 사물 인터넷 디바이스 (120)는 사물 인터넷 디바이스의 로컬 시간 정보를 생성할 수 있다(S610).Referring to FIGS. 1 and 6, the object Internet device 120 may generate local time information of the object Internet device (S610).

사물 인터넷 디바이스 (120)는 근거리 무선 통신을 통하여 기준 디바이스(110)로부터 기준 시각 정보를 수신할 수 있다(S620).The object Internet device 120 may receive the reference time information from the reference device 110 via short-range wireless communication (S620).

사물 인터넷 디바이스 (120)는 기준 시각 정보를 수신한 때의 로컬 시간 정보와, 기준 시간 정보와의 차이에 대한 보정값을 계산하고(S630), 현재의 로컬 시간 정보에 보정값을 반영(S640)할 수 있다.The object Internet device 120 calculates a correction value for the difference between the local time information and the reference time information when the reference time information is received in step S630 and reflects the correction value in the current local time information in step S640, can do.

단계 S610에 대한 일 실시예에서, 사물 인터넷 디바이스 (120)는 내부 클록을 카운트하여 로컬 시간 정보를 생성할 수 있다.In one embodiment of step S610, the things Internet device 120 may count the internal clock to generate local time information.

기준 시각 정보는 기준 디바이스(110)의 내부 클록을 카운트하여 생성될 수 있다.The reference time information may be generated by counting the internal clock of the reference device 110.

단계 S620에 대한 일 실시예에서, 사물 인터넷 디바이스 (120)는 기준 디바이스로부터 수신된 패킷의 종류를 확인하고, 기준 디바이스로부터 수신된 패킷이 동기 패킷이면 현재 진행 중인 태스크에 우선하여 동기 패킷을 수신하여 동기 패킷에서 기준 시각 정보를 확인할 수 있다. In one embodiment of step S620, the object Internet device 120 checks the type of the packet received from the reference device, and if the packet received from the reference device is a synchronous packet, the object Internet device 120 receives the synchronous packet in preference to the task currently in progress The reference time information can be confirmed in the synchronization packet.

일 실시예에서, 동기 패킷은 웨이크 업 정보 및 기준 시각 정보를 포함할 수 있다.In one embodiment, the sync packet may include wakeup information and reference time information.

일 실시예에서, 사물 인터넷 디바이스 (120)는 웨이크 업 정보에 따라 웨이크 업 모드 및 슬립 모드 중 어느 하나가 적용되도록 모드를 전환할 수 있다.In one embodiment, the things Internet device 120 can switch modes so that either wake-up mode or sleep mode is applied depending on the wake-up information.

단계 S630에 대한 일 실시예에서, 사물 인터넷 디바이스 (120)는 로컬 시간 정보와 기준 시간 정보를 연관한 시간 기록 정보를 생성하여 저장할 수 있다. 사물 인터넷 디바이스 (120)는 복수의 시간 기록 정보를 이용하여, 로컬 시간 정보와 기준 시간 정보에 대한 선형 회귀 함수를 계산할 수 있다. 사물 인터넷 디바이스 (120)는 선형 회귀 함수로부터 보정값을 결정할 수 있다.
In one embodiment of step S630, the things Internet device 120 may generate and store time stamp information in association with local time information and reference time information. The object internet device 120 can calculate a linear regression function for local time information and reference time information using a plurality of time recording information. The things Internet device 120 can determine a correction value from a linear regression function.

도 7은 본 발명의 일 실시예에 따른 사물 인터넷 운영 방법에서 적용되는, 동기 패킷의 전송을 설명하는 도면이다.
FIG. 7 is a diagram for explaining transmission of a synchronization packet, which is applied in the Internet operation method according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 기준 디바이스(110)는 최초 부트 업 된 후 복수 횟수 동안 동기 패킷을 생성하여 송출할 수 있다. 사물 인터넷 디바이스(120)는 복수의 동기 패킷을 수신하여 보정값을 계산하고, 보정값을 반영하여 시간 동기화를 수행할 수 있다. 이후 슬립 모드가 종료되면, 기준 디바이스(110)는 새로운 동기 패킷을 생성하여 송출할 수 있다. 사물 인터넷 디바이스(120)는 수신한 새로운 동기 패킷을 이용하여 보정치를 확인하거나 갱신할 수 있다.
As shown in FIG. 7, the reference device 110 can generate and transmit a synchronization packet for a plurality of times after the initial bootup. The object Internet device 120 may receive a plurality of synchronization packets to calculate a correction value, and may perform time synchronization by reflecting the correction value. Thereafter, when the sleep mode ends, the reference device 110 can generate and transmit a new sync packet. The object internet device 120 can confirm or update the correction value using the received new synchronization packet.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.
Therefore, the spirit of the present invention should not be construed as being limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the following claims, I will say.

110 : 기준 디바이스
111 : 타이머
112 : 무선 통신부
113 : 제어부
120 : 사물 인터넷 디바이스
121 : 타이머
122 : 무선 통신부
123 : 보정부
124 : 제어부
110: reference device
111: Timer
112:
113:
120: Things Internet Devices
121: Timer
122:
123:
124:

Claims (10)

기준 디바이스와 그룹을 구성하는 사물 인터넷 디바이스에서 수행되는 사물 인터넷 운영 방법에 있어서,
상기 사물 인터넷 디바이스의 로컬 시간 정보를 생성하는 단계;
근거리 무선 통신을 통하여 기준 디바이스로부터 기준 시각 정보를 수신하는 단계;
상기 기준 시각 정보를 수신한 때의 상기 로컬 시간 정보와, 상기 기준 시간 정보와의 차이에 대한 보정값을 계산하는 단계; 및
로컬 시간 정보에 상기 보정값을 반영하는 단계;
를 포함하는 사물 인터넷 운영 방법.
A method for operating an object Internet, which is performed on a target Internet device constituting a reference device and a group,
Generating local time information of the object Internet device;
Receiving reference time information from a reference device via short-range wireless communication;
Calculating a correction value for a difference between the local time information and the reference time information when the reference time information is received; And
Reflecting the correction value in local time information;
The method comprising the steps of:
제1항에 있어서, 상기 로컬 시간 정보를 생성하는 단계는
내부 클록을 카운트하여 상기 로컬 시간 정보를 생성하는 단계;
를 포함하는 사물 인터넷 운영 방법.
2. The method of claim 1, wherein generating the local time information comprises:
Counting an internal clock to generate the local time information;
The method comprising the steps of:
제2항에 있어서, 상기 기준 시각 정보는
상기 기준 디바이스의 내부 클록을 카운트하여 생성되는 사물 인터넷 운영 방법.
3. The method of claim 2, wherein the reference time information
Wherein the reference clock is generated by counting an internal clock of the reference device.
제1항에 있어서, 상기 기준 시각 정보를 수신하는 단계는
상기 기준 디바이스로부터 수신된 패킷의 종류를 확인하는 단계;
상기 기준 디바이스로부터 수신된 패킷이 동기 패킷이면, 현재 진행 중인 태스크에 우선하여 상기 동기 패킷을 처리하는 단계; 및
상기 동기 패킷에서 상기 기준 시각 정보를 확인하는 단계;
를 포함하는 사물 인터넷 운영 방법.
The method of claim 1, wherein receiving the reference time information comprises:
Confirming a type of a packet received from the reference device;
If the packet received from the reference device is a synchronous packet, processing the synchronous packet prior to a task currently in progress; And
Checking the reference time information in the synchronization packet;
The method comprising the steps of:
제4항에 있어서, 상기 동기 패킷은
웨이크 업 정보 및 상기 기준 시각 정보를 포함하는 사물 인터넷 운영 방법.
5. The method of claim 4,
Wakeup information, and the reference time information.
제5항에 있어서, 상기 사물 인터넷 운영 방법은
상기 웨이크 업 정보에 따라 웨이크 업 모드 및 슬립 모드 중 어느 하나가 적용되도록 모드를 전환하는 단계;를 더 포함하는 사물 인터넷 운영 방법.
6. The method according to claim 5,
And switching the mode so that either the wakeup mode or the sleep mode is applied according to the wakeup information.
제1항에 있어서, 상기 보정값을 계산하는 단계는
상기 로컬 시간 정보와 상기 기준 시간 정보를 연관한 시간 기록 정보를 생성하여 저장하는 단계;
복수의 상기 시간 기록 정보를 이용하여, 상기 로컬 시간 정보와 상기 기준 시간 정보에 대한 선형 회귀 함수를 계산하는 단계; 및
상기 선형 회귀 함수로부터 상기 보정값을 결정하는 단계;
를 포함하는 사물 인터넷 운영 방법.
2. The method of claim 1, wherein calculating the correction value comprises:
Generating and storing time recording information associated with the local time information and the reference time information;
Calculating a linear regression function for the local time information and the reference time information using a plurality of the time recording information; And
Determining the correction value from the linear regression function;
The method comprising the steps of:
복수의 사물 인터넷 디바이스와 하나의 그룹을 형성하고, 상기 복수의 사물 인터넷 디바이스에 데이터 패킷을 제공하는 기준 디바이스에서 수행되는 사물 인터넷 운영 방법에 있어서,
내부 클록을 카운트하여 기준 시간 정보를 생성하는 단계;
상기 기준 시간 정보를 포함하는 동기 패킷을 생성하는 단계; 및
상기 복수의 사물 인터넷 디바이스에 상기 동기 패킷을 송출하는 단계;
를 포함하는 사물 인터넷 운영 방법.
There is provided a method for operating an object Internet operating in a reference device for forming a group with a plurality of object internet devices and providing a data packet to the plurality of object internet devices,
Counting an internal clock to generate reference time information;
Generating a synchronization packet including the reference time information; And
Sending the synchronization packet to the plurality of object Internet devices;
The method comprising the steps of:
제8항에 있어서, 상기 사물 인터넷 운영 방법은
상기 기준 디바이스가 부트 업 되면, 기 설정된 회수 동안 상기 기준 시간 정보를 생성하는 단계 내지 상기 동기 패킷을 송출하는 단계를 반복하여 수행하는 단계;
를 더 포함하는 사물 인터넷 운영 방법.
9. The method of claim 8,
If the reference device is booted up, repeating the step of generating the reference time information for a predetermined number of times or transmitting the synchronization packet;
Further comprising the steps of:
제9항에 있어서, 상기 사물 인터넷 운영 방법은
상기 동기 패킷을 반복하여 송출한 후에 슬립 모드로 전환하는 단계; 및
슬립 모드가 종료되면, 새로운 동기 패킷을 생성하여 상기 복수의 사물 인터넷 디바이스에 송출하는 단계;
를 더 포함하는 사물 인터넷 운영 방법.

The method as claimed in claim 9,
Switching the sleep mode after repeatedly sending out the synchronization packet; And
Generating a new synchronization packet when the sleep mode is terminated and sending the generated synchronization packet to the plurality of object Internet devices;
Further comprising the steps of:

KR1020150020238A 2015-02-10 2015-02-10 Operating method for internet to things KR20160097848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150020238A KR20160097848A (en) 2015-02-10 2015-02-10 Operating method for internet to things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150020238A KR20160097848A (en) 2015-02-10 2015-02-10 Operating method for internet to things

Publications (1)

Publication Number Publication Date
KR20160097848A true KR20160097848A (en) 2016-08-18

Family

ID=56874324

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150020238A KR20160097848A (en) 2015-02-10 2015-02-10 Operating method for internet to things

Country Status (1)

Country Link
KR (1) KR20160097848A (en)

Similar Documents

Publication Publication Date Title
US10158444B1 (en) Event-driven precision time transfer
WO2018113397A1 (en) Method and apparatus for determining clock time deviation between terminal and base station
CA2767499C (en) A method of time synchronization of free running nodes in an avionics network
US8873589B2 (en) Methods and devices for clock synchronization
JP5913596B2 (en) Method and apparatus for wireless network time synchronization
US8923367B2 (en) Communication apparatus, communication system, and communication method
US20110035511A1 (en) Remote Hardware Timestamp-Based Clock Synchronization
US20090086764A1 (en) System and method for time synchronization on network
US20090135677A1 (en) System and method for application layer time synchronization without creating a time discrepancy or gap in time
US20090222589A1 (en) Circuit arrangement and method for synchronization of clocks in a network
JP5127482B2 (en) Timing synchronization method, synchronization apparatus, synchronization system, and synchronization program
CN101455014A (en) Methods and devices for sending transmission-time or reception-time information for a transmitted or received message
WO2017054554A1 (en) Clock synchronization method, device, and communication apparatus
CN104079957A (en) Multimedia device synchronous operation method and system
US20200045661A1 (en) Remote signal synchronization
CN104243079A (en) Microsecond clock synchronization method for real-time Ethernet
CA2757499A1 (en) Water-base acrylic premanufactured waterproofing material and process for obtaining the same
KR20100101999A (en) Device and method for clock synchronization in rtls system
TW201918100A (en) Base station synchronization method and device
JP2012114815A (en) Phase synchronization device and phase synchronization method
CN111769895B (en) Multi-device timing method and system and device timing method and device
CN101420281A (en) Be used between network element, transmitting the method and apparatus of time value in a few days
JP2003179662A5 (en)
KR20160097848A (en) Operating method for internet to things
CN105207768A (en) Reminding method and system for time inconsistency between router side access device and Internet

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination