KR20180078058A - Date management system for preventing from data loss in BLE - Google Patents

Date management system for preventing from data loss in BLE Download PDF

Info

Publication number
KR20180078058A
KR20180078058A KR1020160183046A KR20160183046A KR20180078058A KR 20180078058 A KR20180078058 A KR 20180078058A KR 1020160183046 A KR1020160183046 A KR 1020160183046A KR 20160183046 A KR20160183046 A KR 20160183046A KR 20180078058 A KR20180078058 A KR 20180078058A
Authority
KR
South Korea
Prior art keywords
data
state
unit
gateway
transmission unit
Prior art date
Application number
KR1020160183046A
Other languages
Korean (ko)
Other versions
KR102113784B1 (en
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 KR1020160183046A priority Critical patent/KR102113784B1/en
Publication of KR20180078058A publication Critical patent/KR20180078058A/en
Application granted granted Critical
Publication of KR102113784B1 publication Critical patent/KR102113784B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a data management system capable of preventing data loss in event of a communication failure in BLE. More specifically, provided is a device of collecting data from at least one smart device for collecting data related to a state of the human body and an active state of the human body. According to the present invention, the data management system comprises: a gateway receiving data from a smart device; and a data collecting server receiving the data from the gateway and putting the data into a database. The gateway comprises: a first reception unit; a first storage unit assigning an identification number corresponding to each smart device to the data received through the first reception unit, and assigning an identifier to each transmission unit of data to be transmitted; and a transmission unit transmitting the data stored in the first storage unit to the data collecting server, classifying the identifier for each transmission of data into a first state in which the identifier is not transmitted to the data collecting server, and a second state in which the identifier is transmitted to the data collecting server, and storing the classified identifiers. The data collecting server comprises: a second reception unit receiving the data for each transmission unit from the gateway; and a processing unit storing the data for each transmission unit received through the second reception unit in the database, receiving the data for each transmission unit transmitted from the gateway when there is a communication failure between the smart device and the gateway, and storing the data for each transmission unit in the database when the identifier for each transmission of data is in the first state, or updating the data for each transmission unit in the database and processing integrity when the identifier is in the second state.

Description

저전력 블루투스 통신 장애시 데이터 손실방지가 가능한 데이터 관리시스템{Date management system for preventing from data loss in BLE}[0001] The present invention relates to a data management system capable of preventing data loss in case of low power Bluetooth communication failure,

본 발명은 저전력 블루투스 통신 장애시 데이터 손실방지가 가능한 데이터 관리시스템에 관한 것으로서, 보다 상세하게는 스마트 기기 등으로부터 저전력 블루투스 통신규약을 통한 데이터 전송 중 통신 장애가 발생하는 경우에도 데이터 손실을 방지하는 게이트 웨이 및 관리 서버를 포함하는 시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data management system capable of preventing data loss in a low power Bluetooth communication failure and more particularly to a data management system capable of preventing data loss even when a communication failure occurs during data transmission through a low- And a management server.

웰빙 시대에 접어들면서 헬스 케어에 관한 관심이 증가되고 있으며, 건강한 삶에 대한 욕구가 증가되고 있다. 각 지역에는 산책길이 늘어나고, 이를 이용한 간편한 걷기 운동을 즐기는 사람들이 늘어나고 있고, 헬스장을 통해 운동을 즐기는 사람들도 많이 늘어나고 있다. 운동선수는 물론 아마추어들도 해당 운동을 즐기기에 적절한 맞춤헬스를 선호하고 있으며, 실질적으로 경기력 향상에 도움이 되고 있다. 또한, 비만인 사람들은 체중감소를 위해 맞춤운동을 선택하고 있다.As the era of well-being begins, there is a growing interest in healthcare and a growing desire for a healthy lifestyle. In each area, there are more walking walks, more people are enjoying the easy walking exercise, and more people are exercising through the gym. Athletes as well as amateurs prefer personalized fitness to enjoy the exercise and are actually helping to improve performance. Also, obese people are choosing a personalized exercise for weight loss.

이와 같이 전세계적으로 국가차원은 물론 개인차원에서도 건강한 삶을 유지하기 위해 노력하고 있으며, 이를 위한 운동방법에 대해 다양한 연구가 이루어지고 있다. 이와 같이, 과학적이고 체계적인 운동을 통하여 효율적으로 운동을 할 수 있도록 여러 가지 형태의 운동방법이 개발되고 있으며, 스마트폰의 활성화에 따라 관련 어플리케이션(이하, "App"라 함)도 다양하게 개발되고 있다.In this way, we are striving to maintain a healthy life in the world as well as at the national level, and a variety of exercises are being studied. As described above, various types of exercise methods have been developed so as to exercise efficiently through scientific and systematic exercises, and related applications (hereinafter referred to as "App") have been developed in accordance with the activation of smartphones .

건강 모니터링을 위한 기술로는, 가슴부착 분리형 무선심박장치, 단체용 무선 심박계 시스템 등이 제안된 바 있으며, 이러한 기술은 가슴에 부착되는 심박센서에 의존하여 심박을 측정한다. 이러한 신체의 상태 또는 운동 상태 등을 측정하기 위한 장치들을 개인 건강 기기(PHD, personal health device)라고 한다. 이러한 개인 건강 기기들은 스마트폰의 어플리케이션과 함께 제공됨으로써 다양한 서비스를 제공하고 있다.As a technology for health monitoring, a separate wireless heartbeat device with a chest, a wireless heartbeat system for a group, and the like have been proposed, and this technique relies on a heartbeat sensor attached to the chest to measure heartbeat. Devices for measuring such body conditions or exercise conditions are referred to as personal health devices (PHDs). These personal health devices are being offered with smartphone applications to provide a variety of services.

이러한 개인 건강 기기들 및 최근 화제가 되고 있는 스마트 밴드 등의 경우 저전력 블루투스 기술(BLE, Bluetooth low energy)을 이용하여 스마트폰 등과 통신을 수행하게 된다. 스마트폰으로 전송된 개인 건강 기기들의 데이터는 서비스의 종류에 따라 기타 다양한 장치로 전송되어 활용될 수 있다.These personal health devices and smart bands, which have recently become hot topics, communicate with smart phones and the like using low power Bluetooth technology (BLE, Bluetooth low energy). The data of the personal health devices transmitted to the smart phone can be transmitted to various other devices according to the type of service and utilized.

그러나 이러한 과정에서 개인 건강 기기들과 스마트폰과의 블루투스 통신이 두절된 경우에는 스마트폰과 각종 서버들간의 데이터 전송과정에서 데이터의 손실이 발생할 확률이 높다.However, if the Bluetooth communication between the personal health devices and the smartphone is broken, the data loss is likely to occur in the data transmission process between the smartphone and the various servers.

본 발명은 이러한 문제점을 해결하기 위하여 개인 건강 기기 및 스마트 밴드 등을 포함하는 스마트 기기와 스마트 폰 등을 포함하는 게이트 웨이 간의 블루투스 통신이 두절된 경우라도 게이트 웨이로부터 전송되고 타 서버들이 수신하는 데이터의 손실이 발생하는 것을 방지할 수 있는 무결성을 보장하는 데이터 관리 시스템을 제공한다.In order to solve this problem, in order to solve such a problem, even when Bluetooth communication between a smart device including a personal health device, a smart band, and the like and a gateway including a smart phone is disconnected, Provided is a data management system that ensures integrity to prevent loss from occurring.

인체의 상태 및 인체의 활동 상태에 관한 데이터를 수집하는 적어도 하나의 스마트 기기로부터 데이터를 수집하는 장치로서, 본 발명에 따른 데이터 관리시스템은 상기 스마트 기기로부터 데이터를 전송받는 게이트 웨이; 및 상기 게이트 웨이로부터 데이터를 전송받아 데이터베이스화하는 데이터 수집서버;를 포함하고,An apparatus for collecting data from at least one smart device that collects data on a state of a human body and an activity state of a human body, the data management system according to the present invention includes: a gateway for receiving data from the smart device; And a data collection server that receives data from the gateway and converts the data into a database,

상기 게이트 웨이는,The gateway includes:

상기 적어도 하나의 스마트 기기로부터 수집된 데이터를 전송받는 제1 수신부; 상기 제1 수신부를 통하여 수신된 데이터에 각 스마트 기기에 대응하는 식별번호를 부여하고, 전송되는 데이터의 전송단위별로 구분자를 부여하고, 상기 전송단위별 데이터들의 구분자를 상기 데이터 수집서버로 전송하지 않은 제1 상태 및 상기 데이터 수집수버로 전송한 제2 상태로 구분하여 저장하는 제1 저장부; 상기 제1 저장부에 저장된 데이터를 상기 데이터 수집서버로 전송하고, 상기 스마트 기기와의 통신이 두절된 경우 설정된 시간 간격으로 상기 제1 저장부에 저장된 데이터를 상기 데이터 수집서버로 전송하는 전송부;를 포함하고,A first receiving unit for receiving data collected from the at least one smart device; Wherein the smart card is provided with an identification number corresponding to each smart device to the data received through the first receiver, a delimiter is assigned to each transmission unit of the transmitted data, and a delimiter of the data for each transmission unit is not transmitted to the data collection server A first state in which the first state is divided into a first state and a second state transmitted to the data collection subsystem; A transfer unit for transferring data stored in the first storage unit to the data collection server and for transferring data stored in the first storage unit to the data collection server at predetermined time intervals when communication with the smart device is discontinued; Lt; / RTI >

상기 데이터 수집서버는,The data collection server comprises:

상기 게이트 웨이로부터 전송단위별 데이터를 전송받는 제2 수신부; 상기 제2 수신부를 통하여 수신된 전송단위별 데이터를 데이터 베이스에 저장하고, 상기 스마트 기기와 상기 게이트 웨이의 통신 두절 시 상기 게이트 웨이로부터 전송되는 전송단위별 데이터를 수신하여 전송단위별 데이터의 구분자가 제1 상태인 경우 상기 데이터 베이스에 저장하고, 구분자가 제2 상태인 경우 상기 데이터 베이스에 저장된 데이터와 비교하여 데이터 무결성을 확인하는 처리부;를 포함한다.A second receiving unit for receiving transmission unit data from the gateway; A data unit for each transmission unit received through the second receiving unit is stored in a database and data for each transmission unit transmitted from the gateway is disconnected when communication between the smart device and the gateway is terminated, And a processor for comparing the data stored in the database with data stored in the database if the first state is the second state and verifying data integrity when the identifier is in the second state.

또한 상기 제2 수신부는 수신된 상기 전송단위별 데이터의 구분자를 제2 상태로 전환시키고 동시에 상기 게이트 웨이에 해당 전송단위별 데이터에 대한 수신여부를 응답하고, 상기 전송부는 상기 제2 수신부로부터 수신여부를 확인하여 전송한 전송단위별 데이터의 구분자를 제2 상태로 전환시킬 수 있다.The second receiving unit may switch the delimiter of the received data for each transmission unit to the second state and at the same time respond to the gateway whether or not to receive data for each transmission unit, And convert the delimiter of the transmitted data for each transmission unit to the second state.

또한 상기 스마트 기기와 상기 게이트 웨이 간에는 저전력 블루투스 통신기술(BLE)을 이용하여 통신을 수행할 수 있다.Also, communication can be performed between the smart device and the gateway using a low power Bluetooth communication technology (BLE).

또한 상기 제1 저장부는 상기 제1 저장부를 구현하는 어플리케이션 내 데이터베이스를 별도로 구비할 수 있다.In addition, the first storage unit may include a database in the application that implements the first storage unit.

또한 상기 전송부는 상기 데이터 수집 서버로의 데이터 전송이 성공한 전송단위별 데이터의 구분자를 제2 상태로 변환하여 저장할 수 있다.In addition, the transmitter may convert a delimiter of data for each transmission unit in which data is successfully transmitted to the data collection server into a second state and store the delimiter.

또한 상기 처리부는 기 설정된 스케쥴에 따라 상기 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터를 확인할 수 있다.In addition, the processing unit can check data of each transmission unit stored in the database according to a predetermined schedule, the data of which transmission unit is the first state.

또한 상기 처리부는 주기적으로 전송단위별 데이터의 구분자의 상태를 확인할 수 있다.In addition, the processing unit can periodically check the status of delimiter of data for each transmission unit.

또한 상기 처리부는 상기 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터가 존재하는 경우 상기 게이트 웨이에 데이터 재전송 요청을 할 수 있다.In addition, the processing unit may request a data retransmission to the gateway when data for each transmission unit in which the delimiter is in the first state exists among the data for each transmission unit stored in the database.

또한 상기 처리부의 재전송 요청은 상기 스마트 기기의 식별번호 및 상기 전송단위별 데이터의 시퀀스 정보를 더 포함할 수 있다.The retransmission request of the processing unit may further include an identification number of the smart device and sequence information of the data for each transmission unit.

또한 상기 게이트 웨이는 스마트폰으로 구현될 수 있다.The gateway may be implemented as a smart phone.

본 발명에 따르면 구분자를 활용하여 데이터의 무결성을 보장함으로써 스마트 기기와 게이트 웨이 간의 블루투스 통신이 두절된 경우라도 게이트 웨이와 데이터 수집서버 간의 통신 중 데이터가 손실되는 것을 방지할 수 있다.According to the present invention, it is possible to prevent the data from being lost during communication between the gateway and the data collection server even when the Bluetooth communication between the smart device and the gateway is broken by utilizing the identifier to ensure the integrity of the data.

도 1은 본 발명에 따른 데이터 관리시스템이 적용가능한 서비스의 일 예를 설명하기 위한 개략도이다.
도 2는 본 발명의 일 실시예에 따른 데이터 관리시스템을 나타내는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 게이트 웨이 및 데이터 수집서버를 나타내는 블록도이다.
도 4 내지 도 7은 구성부들 간의 데이터 전송과정을 순차적으로 나타내는 개략도이다.
1 is a schematic diagram for explaining an example of a service to which a data management system according to the present invention is applicable.
2 is a block diagram illustrating a data management system in accordance with an embodiment of the present invention.
3 is a block diagram illustrating a gateway and data collection server in accordance with an embodiment of the present invention.
4 to 7 are schematic diagrams sequentially illustrating a data transfer process between the components.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 설명한다. 특별한 정의나 언급이 없는 경우에 본 설명에 사용하는 방향을 표시하는 용어는 도면에 표시된 상태를 기준으로 한다. 또한 각 실시예를 통하여 동일한 도면부호는 동일한 부재를 가리킨다. 한편, 도면상에서 표시되는 각 구성은 설명의 편의를 위하여 그 두께나 치수가 과장될 수 있으며, 실제로 해당 치수나 구성간의 비율로 구성되어야 함을 의미하지는 않는다.BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the absence of special definitions or references, the terms used in this description are based on the conditions indicated in the drawings. The same reference numerals denote the same members throughout the embodiments. For the sake of convenience, the thicknesses and dimensions of the structures shown in the drawings may be exaggerated, and they do not mean that the dimensions and the proportions of the structures should be actually set.

본 명세서에 있어서 단말, 장치 또는 디바이스가 수행하는 것으로 기술된 동작이나 기능 중 일부는 해당 단말, 장치 또는 디바이스와 연결된 서버에서 대신 수행될 수도 있다. 이와 마찬가지로, 서버가 수행하는 것으로 기술된 동작이나 기능 중 일부도 해당 서버와 연결된 단말, 장치 또는 디바이스에서 수행될 수도 있다.In this specification, some of the operations or functions described as being performed by a terminal, a device, or a device may be performed instead in a server connected to the terminal, device, or device. Likewise, some of the operations or functions described as being performed by the server may also be performed in a terminal, device or device connected to the server.

이하에서 스마트 기기는 앞서 설명한 바와 같이 개인 건강 기기(PHD, personal health device) 및 스마트 밴드 등을 포함하는 개념으로서 정의한다. 개인 건강 기기란 심전도 측정기, 혈당측정기, 체온계, 체중계, 활동량측정기, 심박측정기 등 인체의 상태나 인체의 활동 상태를 측정하기 위한 장치를 의미한다.Hereinafter, a smart device is defined as a concept including a personal health device (PHD) and a smart band as described above. Personal health apparatus refers to a device for measuring the state of the human body or the activity of the human body such as an electrocardiogram meter, a blood glucose meter, a thermometer, a weight meter, an activity meter, and a heart rate monitor.

또한 이하에서 스마트 밴드는 범용적으로 활용가능한 스마트 워치 등을 포함하는 개념으로서 정의한다.In the following, a smart band is defined as a concept including a general-purpose smart watch and the like.

도 1은 본 발명에 따른 데이터 관리시스템이 적용가능한 서비스의 일 예를 설명하기 위한 개략도이다.1 is a schematic diagram for explaining an example of a service to which a data management system according to the present invention is applicable.

본 발명에 따른 데이터 관리시스템은 인체의 상태 또는 활동 상태에 관한 데이터를 수집하여 이를 데이터 베이스화를 한 후 다양하게 활용하는 서비스 등에 활용이 가능하다.The data management system according to the present invention collects data on the state or activity state of the human body, and can use it for various services after databaseization.

예를 들어, 도 1에 도시된 바와 같이 개인건강기기(100)로부터 심전도, 혈당, 체온, 체중 및 활동량/심박 등을 측정한 후 이를 스마트폰(200) 등으로 전송하면, 이를 데이터 수집서버(300)가 수집할 수 있다. For example, as shown in FIG. 1, after measuring the electrocardiogram, blood sugar, body temperature, body weight, activity amount / heart rate, etc. from the personal health apparatus 100 and transmitting it to the smart phone 200 or the like, 300 can collect.

서비스 제공서버(400)는 분석 통계과정을 통하여 이를 제공하고자 하는 서비스에 부합하는 형식으로 가공하여 다시 스마트폰(200)으로 전송하여 해당 스마트폰의 사용자, 예를 들면 환자에게 건강 관리에 관한 콘텐츠나 해당 콘텐츠에 참여를 독려하는 콘텐츠 등을 제공할 수 있다. 또한 서비스 제공서버(400)는 가공된 데이터를 활용하여 이를 보호자(5) 등에게도 제공할 수 있다.The service providing server 400 processes the data in a format conforming to the service to be provided through the analysis statistical process, and transmits the processed data to the smartphone 200 again to transmit the content related to the health care to a user of the smartphone, Content that encourages participation in the content, and the like. In addition, the service providing server 400 can utilize the processed data and provide it to the guardian 5 and the like.

본 발명에 따른 데이터 관리시스템은 개인건강기기(100)등을 포함하는 스마트 기기로부터 전송되는 데이터를 수집하기 위한 스마트폰(200), 즉 게이트 웨이와 데이터 수집서버(300)의 구성에 관한 것이다. 이하 각 도면을 참조하여 구체적으로 설명한다.The data management system according to the present invention relates to a configuration of a smart phone 200, i.e., a gateway and a data collection server 300, for collecting data transmitted from a smart device including a personal healthcare apparatus 100 and the like. Hereinafter, the present invention will be described in detail with reference to the drawings.

도 2 및 도 3을 참조하여 본 발명의 일 실시예에 따른 데이터 관리시스템을 설명한다. 도 2는 본 발명의 일 실시예에 따른 데이터 관리시스템을 나타내는 블록도이고, 도 3은 본 발명의 일 실시예에 따른 게이트 웨이 및 데이터 수집서버를 나타내는 블록도이다.2 and 3, a data management system according to an embodiment of the present invention will be described. FIG. 2 is a block diagram illustrating a data management system according to an exemplary embodiment of the present invention, and FIG. 3 is a block diagram illustrating a gateway and a data collection server according to an exemplary embodiment of the present invention.

스마트 기기(100)와 게이트 웨이(200) 간에는 저전력 블루투스 통신기술을 이용하여 통신을 수행한다. 이외에 게이트 웨이(200), 데이터 수집서버(300), 서비스 제공서버(400) 간에는 다양한 네트워크를 통하여 데이터를 전송할 수 있다.Communication is performed between the smart device 100 and the gateway 200 using a low-power Bluetooth communication technology. In addition, data can be transmitted between the gateway 200, the data collection server 300, and the service providing server 400 through various networks.

이 때 네트워크는 단말들 및 서버들과 같은 각각의 노드 상호 간에 정보 교환이 가능한 연결 구조를 의미하는 것으로, 이러한 네트워크(200)로는 인터넷(Internet), LAN(Local Area Network), Wireless LAN(Wireless Local Area Network), WAN(Wide Area Network), PAN(Personal Area Network), 3G, 4G, LTE, Wi-Fi, 다양한 버전의 블루투스 방식 등이 포함되며 이외에도 다양하게 구현될 수 있다.In this case, the network means a connection structure in which information can be exchanged between each node such as terminals and servers. As such a network 200, an Internet, a LAN (Local Area Network), a Wireless LAN (LAN), Wide Area Network (WAN), Personal Area Network (PAN), 3G, 4G, LTE, Wi-Fi and various versions of Bluetooth.

앞서 설명한 바와 같이 스마트 기기(100)로는 개인건강기기와 스마트 밴드 등이 포함된다. 본 실시예에 따른 데이터관리 시스템은 인체의 상태 및 인체의 활동 상태에 관한 데이터를 수집하는 적어도 하나의 스마트 기기(100)로부터 데이터를 수집하는 장치로서, 게이트 웨이(200) 및 데이터 수집서버(300)를 포함한다.As described above, the smart device 100 includes personal health devices, smart bands, and the like. The data management system according to the present embodiment is an apparatus for collecting data from at least one smart device 100 that collects data on a state of a human body and an activity state of a human body, and includes a gateway 200 and a data collection server 300 ).

게이트 웨이(200)는 스마트 기기(100)로부터 데이터를 전송받아 이를 저장하였다가 데이터 수집서버(300)로 전송하는 중계 기능을 수행한다. 게이트 웨이(200)는 전용의 기기를 이용하는 것도 가능하나, 스마트폰 내에서 스마트 기기(100)의 제조사들이 제공하는 API를 이용하여 구현하는 것도 가능하다.The gateway 200 receives data from the smart device 100, stores the data, and transmits the data to the data collection server 300. The gateway 200 may be a dedicated device or may be implemented using an API provided by the manufacturer of the smart device 100 in the smartphone.

데이터 수집서버(300)는 게이트 웨이(200)로부터 전송된 데이터를 데이터베이스화하고 게이트 웨이(200)와의 약속된 데이터를 송수신하여 전송된 데이터의 무결성을 보완하게 된다.The data collection server 300 databases the data transmitted from the gateway 200 and transmits the received data to the gateway 200 to supplement the integrity of the transmitted data.

구체적으로 게이트 웨이(200)는 제1 수신부(210), 제1 저장부(220) 및 전송부(240)를 포함한다.Specifically, the gateway 200 includes a first receiving unit 210, a first storing unit 220, and a transmitting unit 240.

제1 수신부(210)는 적어도 하나의 스마트 기기(100)로부터 수집된 데이터를 전송받는다. 스마트 기기(100)는 저전력 블루투스 통신기술에 따른 프로토콜을 통하여 데이터를 전송단위별로 구분하여 전송한다. 이 때 전송되는 전송단위별 데이터는 일반적인 패킷 단위로 구분되는 것도 가능하며, 별도의 목적에 따라 패킷 방식과는 다른 단위 및 형식으로 전송하는 것도 가능하다.The first receiving unit 210 receives data collected from at least one smart device 100. The smart device 100 transmits data by a transmission unit through a protocol according to a low-power Bluetooth communication technology. The data for each transmission unit transmitted at this time can be divided into general packet units, and it is also possible to transmit data in units and formats different from the packet format for different purposes.

제1 저장부(220)는 제1 수신부(210)를 통하여 수신된 데이터에 데이터를 전송한 각 스마트 기기에 대응하는 식별번호를 부여하고, 전송되는 데이터의 전송단위별로 구분자를 부여하여 저장한다.The first storage unit 220 provides an identification number corresponding to each smart device that has transmitted data to the data received through the first receiving unit 210 and assigns a delimiter to each transmitted unit of the transmitted data.

제1 저장부(220)는 스마트폰의 앱 형태로 구현이 가능하며, 이 경우 제1 저장부(220)는 별도로 앱 내 데이터베이스(230)를 구비하여 수신한 데이터를 저장할 수 있다. 이 때 제1 저장부(220)는 전송단위별 데이터들의 구분자를 구분하여 저장한다. 구체적으로 제1 저장부(220)는 데이터 수집서버로 전송하지 않은 제1 상태 및 상기 데이터 수집수버로 전송한 제2 상태로 구분하는 구분자를 각 전송단위별 데이터에 저장할 수 있다.The first storage unit 220 may be implemented as an application form of a smart phone. In this case, the first storage unit 220 may include an in-app database 230 to store the received data. At this time, the first storage unit 220 stores delimiters of data for each transmission unit. Specifically, the first storage unit 220 may store a separator for separating the first state into a first state, which is not transmitted to the data collection server, and a second state, which is transmitted to the data collection subscriber, in the data for each transmission unit.

전송부(240)는 제1 저장부(220)에 저장된 데이터를 데이터 수집서버(300)로 전송한다. 또한 전송부(240)는 스마트 기기(100)와의 통신이 두절된 경우 설정된 시간 간격, 예를 들면 일정한 시간을 주기로 하여 제1 저장부(220)의 앱내 데이터베이스(230)에 저장된 데이터를 데이터 수집서버(300)로 전송한다.The transmission unit 240 transmits the data stored in the first storage unit 220 to the data collection server 300. The transmission unit 240 transmits data stored in the in-app database 230 of the first storage unit 220 to the data collection server 220 at predetermined time intervals, for example, (300).

한편, 전송부는 데이터 수집서버(300)의 제2 수신부(310)로부터 데이터의 수신여부를 확인하는 응답이 전송되는 경우 전송한 전송단위별 데이터의 구분자를 제2 상태로 전환시킴으로써 전송단위별 데이터의 전송이 완료되었음을 확인한다.Meanwhile, when a response to confirm whether the data is received is transmitted from the second receiver 310 of the data collection server 300, the transmitter converts the data separator for each transmission unit into the second state, Confirm that the transmission is completed.

데이터 수집서버(300)는 제2 수신부(310), 데이터베이스(350) 및 처리부(320)를 포함한다.The data collection server 300 includes a second receiving unit 310, a database 350, and a processing unit 320.

제2 수신부(310)는 게이트 웨이(200)로부터 전송단위별 데이터를 전송받는다. 제2 수신부(310)를 통하여 수신된 데이터들은 데이터베이스(350)에 저장된다. 데이터 베이스(350)에는 앞서 설명한 전송단위별 데이터의 형식과 동일하게 또는 이를 모두 포함하는 형식으로 저장될 수 있다. 또한 제2 수신부(310)는 수신된 전송단위별 데이터의 구분자를 제2 상태로 전환시키고 전환된 구분자와 함께 데이터베이스(350)에 저장되도록 한다. 이 경우 게이트 웨이(200)에 해당 전송단위별 데이터에 대한 수신여부를 응답하여 구분자가 제2 상태로 전환되었음을 알린다.The second receiving unit 310 receives data for each transmission unit from the gateway 200. The data received through the second receiver 310 is stored in the database 350. The data base 350 may be stored in the same format as the above-described data format for each transmission unit or in a format including both of them. In addition, the second receiving unit 310 converts the received data separator for each transmission unit into the second state, and stores it in the database 350 together with the converted separator. In this case, it is informed to the gateway 200 whether or not to receive data for each transmission unit, and notifies the gateway that the identifier has been switched to the second state.

처리부(320)는 스마트 기기(100)와 게이트 웨이의 통신이 두절된 경우 게이트 웨이(200)로부터 미리 설정되 스케쥴에 따라 또는 일정한 주기로 전송되는 전송단위별 데이터를 수신하여 전송단위별 데이터의 구분자가 제1 상태인 경우 데이터 베이스에 저장하고, 구분자가 제2 상태인 경우 데이터 베이스에 저장된 데이터와 비교하여 데이터 무결성을 확인하게 된다.When the communication between the smart device 100 and the gateway is disconnected, the processing unit 320 receives data for each transmission unit transmitted from the gateway 200 according to a predetermined schedule or at predetermined intervals from the gateway 200, The data is stored in the database in the first state and the data integrity is checked by comparing the data stored in the database with the identifier in the second state.

또한 처리부(320)는 기 설정된 스케쥴에 따라 또는 주기적으로 데이터 베이스(350)에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터를 확인할 수 있다. 이 때 처리부(320)는 데이터 베이스(350)에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터가 존재하는 경우 게이트 웨이(200)에 데이터 재전송 요청을 할 수 있다. 이 때 처리부(320)의 재전송 요청은 스마트 기기의 식별번호 및 전송단위별 데이터의 시퀀스 정보를 더 포함할 수 있다.In addition, the processor 320 can check the transmission unit-by-transmission unit data in the first state among the transmission unit data stored in the database 350 according to a predetermined schedule or periodically. At this time, the processing unit 320 may request data retransmission to the gateway 200 when data for each transmission unit in which the delimiter is in the first state exists among the data for each transmission unit stored in the database 350. [ At this time, the retransmission request of the processing unit 320 may further include the identification number of the smart device and the sequence information of data for each transmission unit.

도 4 내지 도 7을 참조하여 본 발명의 일 실시예에 따른 데이터 관리시스템을 통한 데이터 무결성을 위한 데이터 전송방법을 순차적으로 설명한다. 도 4 내지 도 7은 구성부들 간의 데이터 전송과정을 순차적으로 나타내는 개략도이다.4 to 7, a data transmission method for data integrity through a data management system according to an embodiment of the present invention will be sequentially described. 4 to 7 are schematic diagrams sequentially illustrating a data transfer process between the components.

앞서 설명한 바와 같이 스마트 기기(100)로부터 수집된 데이터는 전송단위별로 분할되어 게이트 웨이(200)로 전송된다. 이 때 각 전송단위별 데이터는 스마트 기기의 식별정보와 분할된 데이터의 시퀀스 정보가 측정 데이터와 함께 전송된다.As described above, the data collected from the smart device 100 is divided into transmission units and transmitted to the gateway 200. In this case, the data of each transmission unit is transmitted together with the identification information of the smart device and the sequence information of the divided data together with the measurement data.

게이트 웨이(200)는 각 전송단위별 데이터에 구분자를 추가하여 저장하게 된다. 구분자는 게이트 웨이(200)가 전송하지 않은 전송단위별 데이터나 전송에 실패한 전송단위별 데이터를 제1 상태로 구분하고, 게이트 웨이(200)가 데이터 수집서버(300)로 전송에 성공한 전송단위별 데이터, 예를 들면, 데이터 수집서버(300)로부터 수신확인된 전송단위별 데이터의 구분자를 제2 상태로 구분할 수 있다.The gateway 200 adds the delimiter to the data of each transmission unit and stores it. The delimiter divides data for each transmission unit that the gateway 200 did not transmit or data for each transmission unit for which transmission failed, into a first state, and transmits the data to the gateway server 200 according to the transmission unit Data, for example, a delimiter of data for each transmission unit, which is acknowledged from the data collection server 300, into a second state.

한편, 도 5에 도시된 바와 같이 스마트 기기(100)와 게이트 웨이(200) 간의 데이터 통신이 두절된 경우에는 데이터 수집서버(300)로의 전송이 완료되지 못하는 전송단위별 데이터(예를 들면 시퀀스 3)가 발생할 수 있다.5, when the data communication between the smart device 100 and the gateway 200 is disconnected, data for each transmission unit that can not be completely transmitted to the data collection server 300 (for example, ) May occur.

도 6 및 도 7에 도시된 바와 같이 이미 데이터 수집서버(300)가 시퀀스 3의 데이터를 수집한 경우 이에 대한 수신확인 신호를 게이트웨이(200)에 전송함으로써 게이트웨이(200)와 데이터 수집서버(300) 양측에서의 구분자를 제2 상태(Y)로 모두 변환 시킴으로써 데이터의 무결성 확인 작업을 수행할 수 있다.6 and 7, when the data collection server 300 has already collected the data of the sequence 3, the gateway 200 and the data collection server 300 transmit the acknowledgment signal to the gateway 200, The data integrity check operation can be performed by converting all of the separators on both sides into the second state (Y).

반면, 데이터가 데이터 수집서버로 전달되지 못하는 경우에는 앞서 설명한 바와 같이, 다음의 두 가지 과정을 통하여 데이터의 무결성을 보완할 수 있다.On the other hand, if the data can not be delivered to the data collection server, as described above, the integrity of the data can be compensated through the following two processes.

첫째, 앞서 설명한 바와 같이 게이트 웨이(200)가 스마트 기기(100)와의 통신이 두절된 경우 설정된 시간 간격, 예를 들면 일정한 시간을 주기로 하여 앱내 데이터베이스에 저장된 데이터를 데이터 수집서버(300)로 전송한다. 이 때 데이터 수집서버(300)는 구분자가 제1 상태인 전송단위별 데이터는 데이터 수집서버(300) 내 데이터 베이스에 저장하고, 제2 상태인 경우 이를 데이터 베이스의 데이터와 비교를 하면서 데이터의 무결성을 보완하게 된다.First, as described above, when the gateway 200 disconnects communication with the smart device 100, the data stored in the in-app database is transmitted to the data collection server 300 at predetermined time intervals, for example, a predetermined period of time . At this time, the data collection server 300 stores the data for each transmission unit in which the delimiter is in the first state in a database in the data collection server 300, compares it with the data of the database in the second state, .

둘째, 데이터 수집서버(300)는 기 설정된 스케쥴에 따라 또는 주기적으로 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터를 확인하고, 이 때 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터가 존재하는 경우 게이트 웨이(200)에 데이터 재전송 요청을 할 수 있다.Second, the data collection server 300 checks the data for each transmission unit in which the separator is in the first state among the data for each transmission unit stored in the database according to a preset schedule or periodically, and at this time, If data for each transmission unit exists in the first state of the delimiter, a data retransmission request can be made to the gateway 200. [

이와 같은 과정을 통하여 스마트 기기(100)로부터 수집된 데이터의 전송과정에서 발생할 수 있는 데이터의 누락 또는 손실을 방지할 수 있다.Through this process, it is possible to prevent data loss or loss that may occur in the process of transmitting data collected from the smart device 100. [

이상 본 발명의 바람직한 실시예에 대하여 설명하였으나, 본 발명의 기술적 사상이 상술한 바람직한 실시예에 한정되는 것은 아니며, 특허청구범위에 구체화된 본 발명의 기술적 사상을 벗어나지 않는 범주에서 다양하게 구현될 수 있다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. have.

100: 스마트 기기
200: 게이트 웨이
300: 데이터 수집서버
350: 데이터 베이스
400: 서비스 제공서버
100: Smart devices
200: Gateway Way
300: data collection server
350: database
400: service providing server

Claims (10)

인체의 상태 및 인체의 활동 상태에 관한 데이터를 수집하는 적어도 하나의 스마트 기기로부터 데이터를 수집하는 장치로서,
상기 스마트 기기로부터 데이터를 전송받는 게이트 웨이; 및
상기 게이트 웨이로부터 데이터를 전송받아 데이터베이스화하는 데이터 수집서버;를 포함하고,
상기 게이트 웨이는,
상기 적어도 하나의 스마트 기기로부터 수집된 데이터를 전송받는 제1 수신부;
상기 제1 수신부를 통하여 수신된 데이터에 각 스마트 기기에 대응하는 식별번호를 부여하고, 전송되는 데이터의 전송단위별로 구분자를 부여하고, 상기 전송단위별 데이터들의 구분자를 상기 데이터 수집서버로 전송하지 않은 제1 상태 및 상기 데이터 수집수버로 전송한 제2 상태로 구분하여 저장하는 제1 저장부;
상기 제1 저장부에 저장된 데이터를 상기 데이터 수집서버로 전송하고, 상기 스마트 기기와의 통신이 두절된 경우 설정된 시간 간격으로 상기 제1 저장부에 저장된 데이터를 상기 데이터 수집서버로 전송하는 전송부;를 포함하고,
상기 데이터 수집서버는,
상기 게이트 웨이로부터 전송단위별 데이터를 전송받는 제2 수신부;
상기 제2 수신부를 통하여 수신된 전송단위별 데이터를 데이터 베이스에 저장하고, 상기 스마트 기기와 상기 게이트 웨이의 통신 두절 시 상기 게이트 웨이로부터 전송되는 전송단위별 데이터를 수신하여 전송단위별 데이터의 구분자가 제1 상태인 경우 상기 데이터 베이스에 저장하고, 구분자가 제2 상태인 경우 상기 데이터 베이스에 저장된 데이터와 비교하여 데이터 무결성을 확인하는 처리부;를 포함하는 데이터관리시스템.
An apparatus for collecting data from at least one smart device that collects data relating to a state of the human body and an activity state of the human body,
A gateway for receiving data from the smart device; And
And a data collection server that receives data from the gateway and converts the data into a database,
The gateway includes:
A first receiving unit for receiving data collected from the at least one smart device;
Wherein the smart card is provided with an identification number corresponding to each smart device to the data received through the first receiver, a delimiter is assigned to each transmission unit of the transmitted data, and a delimiter of the data for each transmission unit is not transmitted to the data collection server A first state in which the first state is divided into a first state and a second state transmitted to the data collection subsystem;
A transfer unit for transferring data stored in the first storage unit to the data collection server and for transferring data stored in the first storage unit to the data collection server at predetermined time intervals when communication with the smart device is discontinued; Lt; / RTI >
The data collection server comprises:
A second receiving unit for receiving transmission unit data from the gateway;
A data unit for each transmission unit received through the second receiving unit is stored in a database and data for each transmission unit transmitted from the gateway is disconnected when communication between the smart device and the gateway is terminated, And a processor for comparing the data stored in the database with data stored in the database when the identifier is in a first state and verifying data integrity when the identifier is in a second state.
제1항에 있어서,
상기 제2 수신부는 수신된 상기 전송단위별 데이터의 구분자를 제2 상태로 전환시키고 동시에 상기 게이트 웨이에 해당 전송단위별 데이터에 대한 수신여부를 응답하고,
상기 전송부는 상기 제2 수신부로부터 수신여부를 확인하여 전송한 전송단위별 데이터의 구분자를 제2 상태로 전환시키는 데이터관리시스템.
The method according to claim 1,
Wherein the second receiving unit converts the received delimiter of data for each transmission unit into a second state and at the same time responds to the gateway whether or not to receive data for each transmission unit,
Wherein the transmitting unit confirms whether the data is received from the second receiving unit, and converts the data separator for each transmission unit into a second state.
제1항에 있어서,
상기 스마트 기기와 상기 게이트 웨이 간에는 저전력 블루투스 통신기술(BLE)을 이용하여 통신을 수행하는 데이터관리시스템.
The method according to claim 1,
Wherein the communication is performed between the smart device and the gateway using a low power Bluetooth communication technology (BLE).
제1항에 있어서,
상기 제1 저장부는 상기 제1 저장부를 구현하는 어플리케이션 내 데이터베이스를 별도로 구비하는 데이터관리시스템.
The method according to claim 1,
Wherein the first storage unit has a database in the application that implements the first storage unit.
제1항에 있어서,
상기 전송부는 상기 데이터 수집 서버로의 데이터 전송이 성공한 전송단위별 데이터의 구분자를 제2 상태로 변환하여 저장하는 데이터관리시스템.
The method according to claim 1,
Wherein the transmission unit converts the delimiter of data for each transmission unit in which the data transmission to the data collection server succeeds to a second state and stores the data.
제1항에 있어서,
상기 처리부는 기 설정된 스케쥴에 따라 상기 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터를 확인하는 데이터관리시스템.
The method according to claim 1,
Wherein the processing unit identifies transmission-unit-specific data in a first state among separator-specific data stored in the database according to a predetermined schedule.
제6항에 있어서,
상기 처리부는 주기적으로 전송단위별 데이터의 구분자의 상태를 확인하는 데이터관리시스템.
The method according to claim 6,
Wherein the processing unit periodically checks the state of the delimiter of data for each transmission unit.
제6항에 있어서,
상기 처리부는 상기 데이터 베이스에 저장된 전송단위별 데이터 중 구분자가 제1 상태인 전송단위별 데이터가 존재하는 경우 상기 게이트 웨이에 데이터 재전송 요청을 하는 데이터관리시스템.
The method according to claim 6,
Wherein the processing unit makes a data retransmission request to the gateway when data for each transmission unit in which the delimiter is in the first state exists among data for each transmission unit stored in the database.
제8항에 있어서,
상기 처리부의 재전송 요청은 상기 스마트 기기의 식별번호 및 상기 전송단위별 데이터의 시퀀스 정보를 더 포함하는 데이터관리시스템.
9. The method of claim 8,
Wherein the request for retransmission of the processing unit further includes an identification number of the smart device and sequence information of data for each transmission unit.
제1항에 있어서,
상기 게이트 웨이는 스마트폰으로 구현되는 데이터관리시스템.
The method according to claim 1,
Wherein the gateway is implemented as a smartphone.
KR1020160183046A 2016-12-29 2016-12-29 Date management system for preventing from data loss in BLE KR102113784B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160183046A KR102113784B1 (en) 2016-12-29 2016-12-29 Date management system for preventing from data loss in BLE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160183046A KR102113784B1 (en) 2016-12-29 2016-12-29 Date management system for preventing from data loss in BLE

Publications (2)

Publication Number Publication Date
KR20180078058A true KR20180078058A (en) 2018-07-09
KR102113784B1 KR102113784B1 (en) 2020-06-02

Family

ID=62919293

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160183046A KR102113784B1 (en) 2016-12-29 2016-12-29 Date management system for preventing from data loss in BLE

Country Status (1)

Country Link
KR (1) KR102113784B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989922B1 (en) 2019-01-14 2019-06-17 하이볼 주식회사 Baseball game recording input and analysis system supporting both online and offline
KR20230134694A (en) 2022-03-15 2023-09-22 메타솔루컴 주식회사 Method and system for sending and receiving data using bluetooth low energy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120132910A (en) * 2011-05-30 2012-12-10 세종대학교산학협력단 Network management system and method using smart nodes
KR20130076736A (en) * 2011-12-28 2013-07-08 삼성전자주식회사 Method and apparatus for managing personal health
KR20150095269A (en) * 2014-02-13 2015-08-21 한국전자통신연구원 Ulifecare management service method and device using adaptive control protocol for usn interface
KR20160130622A (en) * 2015-05-04 2016-11-14 한국전자통신연구원 Method for processing command in low power sensor network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120132910A (en) * 2011-05-30 2012-12-10 세종대학교산학협력단 Network management system and method using smart nodes
KR20130076736A (en) * 2011-12-28 2013-07-08 삼성전자주식회사 Method and apparatus for managing personal health
KR20150095269A (en) * 2014-02-13 2015-08-21 한국전자통신연구원 Ulifecare management service method and device using adaptive control protocol for usn interface
KR20160130622A (en) * 2015-05-04 2016-11-14 한국전자통신연구원 Method for processing command in low power sensor network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989922B1 (en) 2019-01-14 2019-06-17 하이볼 주식회사 Baseball game recording input and analysis system supporting both online and offline
KR20230134694A (en) 2022-03-15 2023-09-22 메타솔루컴 주식회사 Method and system for sending and receiving data using bluetooth low energy
US11882621B2 (en) 2022-03-15 2024-01-23 Metasolucom Co., Ltd Method and system for transmitting and receiving data using bluetooth low energy

Also Published As

Publication number Publication date
KR102113784B1 (en) 2020-06-02

Similar Documents

Publication Publication Date Title
EP2849473B1 (en) Pairing of devices
RU2577328C2 (en) Wireless relay module having emergency call function
RU2565006C2 (en) Medical device wireless network architecture
Van Halteren et al. Mobile patient monitoring: The mobihealth system
Lim et al. Security issues on wireless body area network for remote healthcare monitoring
US8653965B1 (en) Human health monitoring systems and methods
CN203122372U (en) Real-time health monitoring and intelligent warning system based on Android technology and Internet of Things
CN104042196A (en) Real-time health monitoring and intelligent pre-warning system and method
Albaeazanchi et al. Identification key scheme to enhance network performance in wireless body area network
WO2014082665A1 (en) Bluetooth service discovery
KR20180078058A (en) Date management system for preventing from data loss in BLE
US20140112227A1 (en) Wireless communication terminal, wireless communication system, wireless communication method, and computer program
Dagale et al. CyPhyS+: A reliable and managed cyber-physical system for old-age home healthcare over a 6LoWPAN using wearable motes
US10887777B2 (en) Method and device for data transmission in wireless communication network
Tahir et al. Fog-based healthcare architecture for wearable body area network
Perković et al. An investigation of a replay attack on LoRaWAN wearable devices
Adam et al. Sensor enhanced health information systems: issues and challenges
KR101322485B1 (en) System for analyzing arm exercise based on wireless sensor network
CN105897810A (en) Data transmission and analysis method and device, terminal, monitoring equipment and server
KR101064736B1 (en) Hand-terminal, system and method for managing physical exercise in real-time
Nagarkar et al. Zigbee based wireless patient monitoring
CN107154973A (en) Distributed disease detection method
CN110972095B (en) Medical big data information transmission method and system based on mobile terminal
van Halteren et al. Mobihealth-Wireless body area networks for healthcare
Benferhat et al. Disruption-tolerant wireless sensor networking for biomedical monitoring in outdoor conditions

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right