Method, device, and non-transitory computer-readable recording medium for extracting biosignal data
A method for extracting biosignal data is provided. The method includes the steps of: determining whether a data extraction device is connected to a data collection device; and in response to determining that the data extraction device is not connected to the data collection device, determining to establish a data storage path which allows biosignal data collected by the data collection device to be stored in a memory of the data collection device via a microcontroller (MCU) of the data collection device, and in response to determining that the data extraction device is connected to the data collection device, determining to establish a data extraction path which allows an interface of the data extraction device to directly connect to the memory of the data collection device not via the MCU of the data collection device.
1 . A method for extracting biosignal data, the method comprising steps of:
determining whether a data extraction device is connected to a data collection device; and
in response to determining that the data extraction device is not connected to the data collection device, determining to establish a data storage path which allows the biosignal data collected by the data collection device to be stored in a memory of the data collection device via a microcontroller (MCU) of the data collection device, and in response to determining that the data extraction device is connected to the data collection device, determining to establish a data extraction path which allows an interface of the data extraction device to directly connect to the memory of the data collection device not via the MCU of the data collection device,
wherein in response to said determining that the data extraction device is not connected to the data collection device, a first path corresponding to the data storage path is connected and a second path corresponding to the data extraction path is disconnected, among data transmission paths in the data collection device, and in response to determining that the data extraction device is connected to the data collection device, a third path corresponding to the data storage path is disconnected and a fourth path corresponding to the data extraction path is connected, among the data transmission paths in the data collection device.
2 . The method of claim 1 , wherein the data collection device is a wearable device for constantly collecting the biosignal data from a user's body.
3 . The method of claim 1 , wherein the data extraction path supports data transmission at a relatively higher speed compared to the data storage path, on a basis of resources of the data extraction device.
4 . A non-transitory computer-readable recording medium having stored thereon a computer program for executing a method for extracting biosignal data, the method comprising steps of:
determining whether a data extraction device is connected to a data collection device; and
in response to determining that the data extraction device is not connected to the data collection device, determining to establish a data storage path which allows the biosignal data collected by the data collection device to be stored in a memory of the data collection device via a microcontroller (MCU) of the data collection device, and in response to determining that the data extraction device is connected to the data collection device, determining to establish a data extraction path which allows an interface of the data extraction device to directly connect to the memory of the data collection device not via the MCU of the data collection device,
wherein in response to said determining that the data extraction device is not connected to the data collection device, a first path corresponding to the data storage path is connected and a second path corresponding to the data extraction path is disconnected, among data transmission paths in the data collection device, and in response to determining that the data extraction device is connected to the data collection device, a third path corresponding to the data storage path is disconnected and a fourth path corresponding to the data extraction path is connected, among the data transmission paths in the data collection device.
5 . A device for extracting biosignal data, the device comprising:
a connection status determination unit configured to determine whether a data extraction device is connected to a data collection device; and
a data path management unit configured to, in response to determining that the data extraction device is not connected to the data collection device, determine to establish a data storage path which allows the biosignal data collected by the data collection device to be stored in a memory of the data collection device via a microcontroller (MCU) of the data collection device, and in response to determining that the data extraction device is connected to the data collection device, determine to establish a data extraction path which allows an interface of the data extraction device to directly connect to the memory of the data collection device not via the MCU of the data collection device,
wherein in response to said determining that the data extraction device is not connected to the data collection device, a first path corresponding to the data storage path is connected and a second path corresponding to the data extraction path is disconnected, among data transmission paths in the data collection device, and in response to determining that the data extraction device is connected to the data collection device, a third path corresponding to the data storage path is disconnected and a fourth path corresponding to the data extraction path is connected, among the data transmission paths in the data collection device.
6 . The system of claim 5 , wherein the data collection device is a wearable device for constantly collecting the biosignal data from a user's body.
7 . The system of claim 5 , wherein the data extraction path supports data transmission at a relatively higher speed compared to the data storage path, on the basis of resources of the data extraction device.