This application claims priority to Japanese Patent Application No. 2016-103213 filed May 24, 2016, the entirety of which is herein incorporated by reference.
The present invention relates to a biological information measuring apparatus, a communication system, a communication method, and the like.
In recent years, various wireless communication methods and particularly, short-range wireless communication methods have been used. As short-range wireless communication, for example, Bluetooth (registered trademarks the same applies hereinafter) has been widely known. There are various standards of Bluetooth. In particular, Bluetooth low energy (BLE) has an advantage of extremely low power consumption.
In JP-A-2014-110635, a method of managing a BLE device by using attribute information of the BLE device, user information, and the like is disclosed.
The short-range wireless communication is often used by a device, such as a smart phone or a wearable apparatus, which has a comparatively small battery capacity, and it is important to suppress power consumption caused by communication. BLE has a low communication speed (approximately 20 Kbps), but has an advantage of extremely low power consumption.
In many cases of short-range wireless communication such as BLE, a transmission speed can be arbitrarily set. There is an inversely proportional correlation between a transmission speed and power consumption as illustrated in
In JP-A-2014-110635, the management of the BLE device is disclosed, but the setting of a transmission speed taking power consumption into consideration is not disclosed.
An advantage of some aspects of the invention is to provide a biological information measuring apparatus, communication system, a communication method, and the like for performing efficient communication by using a transmission speed corresponding to a scheduled transmission data amount.
An aspect of the invention relates to a biological information measuring apparatus including a sensor unit, a processing unit that detects biological information on the basis of sensor information received from the sensor unit, and a communication unit that transmits the biological information to a connection target device at a transmission speed corresponding to a scheduled transmission data amount of the biological information.
In the aspect of the invention, the biological information detected on the basis of the sensor information is transmitted to the connection target device at the transmission speed corresponding to the scheduled trans mission data amount. Thereby, the transmission speed can be determined in consideration of the scheduled transmission data amount, and thus it is possible to suppress a deterioration in usability and the like due to an excessive increase in power consumption or an increase in a transmission time.
In the aspect of the invention, the communication unit may receive a transmission speed change request, which is information for requesting a change to a predetermined transmission speed, from the connection target device, and the processing unit may perform a process of instructing the communication unit to set the transmission speed based on the transmission speed change request.
With this configuration, it is possible to perform the change of a transmission speed from the biological information measuring apparatus side on the basis of the request received from the connect target device.
In the aspect of the invention, the communication unit may transmit scheduled transmission data amount information indicating the scheduled transmission data amount of the biological information to the connection target device, may receive the transmission speed change request indicating the transmission speed determined on the basis of the scheduled transmission data amount information from the connection target device, and may transmit the biological information to the connection target device at the transmission speed based on the received transmission speed change request,
With this configuration, it is possible to set the transmission speed by transmitting the scheduled transmission data amount and receiving the transmission speed change request from the connection target device.
in the aspect of the invention, the communication unit may transmit the biological information to the connection target device at a first transmission speed in a case where the scheduled transmission data amount of the biological information is a first data amount, and may transmit the biological information to the connection target device at a second transmission speed higher than the first transmission speed in a case where the scheduled transmission data amount of the biological information is a second data amount larger than the first data amount.
With this configuration, it is possible to transmit the biological information at a transmission speed based on the size of the scheduled transmission data amount.
In the aspect of the invention, the processing unit may perform a process of computationally calculating the scheduled transmission data amount or a process of computationally calculating the transmission speed corresponding to the scheduled transmission data amount, on the basis of a determination result for a user's action.
With this configuration, it is possible to perform processing based on the action determination result.
In the aspect of the invention, the biological information measuring apparatus may further include a storage unit that stores log data of the biological information, and the communication unit may transmit a transmission request event for the log data to the connection target device.
With this configuration, it is possible to store the log data and transmit the transmission request event.
In the aspect of the invention, the communication unit may transmit the transmission request event to the connection target device in a case where elapse of a predetermined time or a change in the user action state is detected.
With this configuration, it is possible to transmit the transmission request event in a case where a predetermined condition is satisfied.
In the aspect of the invention, the communication unit may perform short-range wireless communication and sets the transmission speed on the basis of a connection interval indicating an interval between connection events of the short-range wireless communication.
With this configuration, it is possible to set the transmission speed by using the connection interval of the short-range wireless communication.
In the aspect of the invention, the communication unit may set connection slave latency of the short-range wireless communication, and the communication unit may not perform neglect of the connection event based on the connection slave latency when the transmission speed based on the connection interval is set.
With this configuration, it is possible to perform communication using the connection slave latency of the short-range wireless communication.
In the aspect of the invention, the communication unit may transmit the scheduled transmission data amount as a response to a packet during the connection event which is received from the connection target device, in a case where a request for the scheduled transmission data amount is included in the packet.
With this configuration, it is possible to transmit the scheduled transmission data amount to the connection target device as a response to the packet during the connection event.
In the aspect of the invention, the communication unit may be set on a slave side in the short-range wireless communication, and the communication unit may perform setting of the transmission speed on a communication unit of the connection target device.
With this configuration, it is possible to perform the setting of the transmission speed on the connection target device from the biological information measuring apparatus which is the slave side in the short-range wireless communication.
In the aspect of the invention, the communication unit may perform a change to a transmission speed different from a given transmission speed in a case where a setting failure response is returned by the communication unit of the connection target device, with respect to a request for a change to the given transmission speed.
With this configuration, it is possible to perform the resetting of the transmission speed.
In the aspect of the invention, the connection target device may be a portable information processing apparatus or a gateway device.
With this configuration, it is possible to use various devices as the connection target device
Another aspect of the invention relates to a communication system including the biological information measuring apparatus described above and the connection target device.
Still another aspect of the invention relates to a communication method including detecting biological information on the basis of sensor information received from a sensor unit, and transmitting the biological information to a connection target device at a transmission speed corresponding to a scheduled transmission data amount of the biological information.
The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
Hereinafter, this embodiment will be described. Meanwhile, this embodiment described below is not unduly limited to the contents of the invention described in the appended claims. In addition, all the configurations described in this embodiment are not limited to being essential components of the invention.
First, a method in this embodiment will be described. In recent years, an apparatus measuring biological information by using various sensors has been used. For example, in a wearable type biological information measuring apparatus to be described later with reference to
Biological information acquired can also be displayed on a display unit of the biological information measuring apparatus, but may be displayed on a display unit of a smart phone (portable information processing apparatus in a broad sense) which is operated by the user. The size of a display unit of a wearable device is limited, or it is also considered that the wearable device does not include a display unit in some cases. Accordingly, it is possible to present biological information to a user in a high visibility mode by using a display unit of another device.
In addition, the biological information is stored over a long period of time to a certain extent, and it is also possible to obtain a transition of the user's health condition by performing statistical processing. That is, there is a possibility that a huge amount of data regarding the biological information is stored or the biological information becomes a target for processing having a high processing load. In this case, there is an advantage obtained by the transmission of biological information to another device such as a smart phone, a personal computer (PC), or a server system, rather than performing storage and processing by a biological information measuring apparatus having a great restriction on storage capacity or processing performance.
In this manner, in the biological information measuring apparatus, there a strong request for communication (transmission) to another device of biological information. However, it is assumed that the biological information measuring apparatus is restricted in battery capacity like the above-described wearable device, and thus it is not preferable that power consumption caused by communication increases.
On the other hand, BLE is widely known as a short-range wireless communication method with low power consumption, and various methods using BLE, such as in JP-A-2014-110635, are also known. In the BLE, it is possible to change a transmission speed by changing the value of a connection interval (connInterval which is a connection parameter) to be described later. It is known that there is an inversely proportional correlation between a transmission speed and power consumption as illustrated in
However, an appropriate transmission speed varies depending on situations. For example, in a case where a transmission speed is s o be an excessively low transmission speed in consideration of a reduction in power consumption, time required for the completion of data transmission (transmission time) is increased. For example, in a case where a condition that a time between the execution of a user' s any operation and the actual display of biological information is within a predetermined time is satisfied, it is known that the user does not feel stressed very much, that is, a certain degree of usability is secured. The condition is generally satisfied by setting the transmission time to 3 seconds or less. For this reason, when the transmission time exceeds 3 seconds due to the transmission speed being set to be excessively low, usability deteriorates, which leads to an undesirable result.
On the other hand, there is no problem when the transmission time falls within approximately 3 seconds, and an effect of improving usability it not very expectable even when the transmission time is reduced to, for example, 1 second. That is, even when the transmission time is excessively reduced by increasing the transmission speed, a small contribution is made to usability, and besides, there is a disadvantage of an increase in power consumption.
As described above, it is necessary to set a transmission speed in communication in consideration of power consumption and usability. JP-A-2014-110635 discloses a method of managing a BLE device, but does not disclose a reduction in power consumption or the setting of a transmission speed.
In addition, in the setting of a transmission speed, a method of associating the start-up of an application and a transmission speed with each other is also considered. Here, the application means, for example, application software that operates on an operating system (OS) of a portable information processing apparatus. The application realizes a function of receiving biological information and a function of displaying the biological information, and a situation in which the application is started up is a situation in which a user's viewing of biological information is assumed. For this reason, it seems that it is possible to prevent usability from being impaired by increasing a transmission speed (by operation in a high-speed transmission mode) during the start-up of the application and to reduce power consumption by decreasing the transmission speed (operation in a low-speed transmission mode) during other periods of time.
However, in the method of associating the start-up of an application and a transmission speed with each other, the actual scheduled transmission data amount is not considered. For example, it is also possible to consider a case where the amount of data required to be transmitted even during the start-up of an application is small. In this case, since it is possible to realize sufficient usability even when a transmission speed is decreased to a certain extent, an operation in a high-speed transmission mode causes undesirable performance in a case of being considered to be anti-power consumption. That is, it is difficult to set an optimal transmission speed by only associating the start-up of an application and a transmission speed with each other.
Therefore, this applicant proposes a method of setting a transmission speed corresponding to a scheduled transmission data amount. As illustrated in
Here, the sensor unit 110 is a biological sensor for detecting biological information in a narrow sense, and includes a pulse wave sensor and the like . However, the sensor unit 110 may include a body motion sensor that detects a user' s body motion or an environmental sensor that detects information regarding the peripheral environment of the user. A specific example of the sensor unit 110 will be described later.
In addition, the biological information means information indicating the state of a user's biological activity. The biological information in this embodiment is, for example, pulse wave information, and may be specifically information such as a pulse rate or a pulse interval. However, the biological information is not limited to pulse wave information, and may be another information, such as information of arterial oxygen saturation or information of body temperature, which indicates a user's biological activity.
In addition, the connection target device 200 means a device to be connected to the biological information measuring apparatus 100, and is a device to which biological information is transmitted. The connection target device 200 is a portable information processing apparatus 400 such as a smart phone used by a user. However, the connection target device 200 may be another device such as a gateway device 600 (router) as described later as a modification example.
In the method of this embodiment, a transmission speed can be set to be a speed corresponding to a scheduled transmission data amount. For this reason, in a case where the scheduled transmission data amount is small, power consumption can be reduced by setting the transmission speed to be low, and thus it is possible to achieve efficient communication. In addition, in a case where the scheduled transmission data amount is large, the transmission speed can be set to be high, and thus it is possible to suppress deterioration of usability.
That is, specifically, the communication unit 130 transmits the biological information to the connection target device 200 at a first transmission speed in a case where the scheduled transmission data amount of the biological information is a first data amount, and transmits the biologic information to the connection target device 200 at a second transmission speed higher than the first transmission speed in a case where the scheduled transmission data amount of the biological information is a second data amount greater than the first data amount.
In this manner, a necessary transmission speed can be set from the scheduled transmission data amount, and thus it is possible to suppress an increase in power consumption, and the like by setting an excessively high transmission speed.
Hereinafter, a detailed processing sequence (communication sequence) in this embodiment will be described after a description of a detailed example of the biological information measuring apparatus 100. Finally, some modification examples will be described.
A system configuration example of the biological information measuring apparatus 100 is as illustrated in
The sensor unit 110 includes a biological sensor for measuring biological information. For example, the sensor unit 110 may include a pulse wave sensor for measuring pulse wave information. A pulse wave is shown as a change in the volume of blood, and thus the pulse wave sensor measures the pulse wave by capturing a change in the amount of blood of a region to be measured. Considering that there is a correlation between a blood flow rate and the amount of hemoglobin in blood, the amount of light absorbed is large and the intensity of transmitted light or reflected light is decreased when a blood flow rate is high and the amount of hemoglobin is large in a case where a blood vessel is irradiated with light. In contrast, when a blood flow rate is low and the amount of hemoglobin is small, the amount of light absorbed is small and the intensity of transmitted light or reflected light is increased. That is, the pulse wave sensor is a photoelectric sensor including a light emitting unit and a light receiving unit, and it is possible to detect pulse wave information on the basis of temporal changes in a detected signal in the photoelectric sensor.
Meanwhile, light emitted by the light emitting unit of the pulse wave sensor may have a wavelength easily absorbed by hemoglobin, and green light is generally used. In addition, the pulse wave information is not limited to a pulse rate, and may be a pulse interval (RR interval), may be a fluctuation in a pulse interval, or may be another information indicating a pulse wave. In addition, the pulse wave information may be a pulse wave analysis index, such as an activity state, stressed state, or relaxed state of an autonomic nerve, which is derived on the basis of a fluctuation in a pulse interval.
In addition, the sensor unit 110 may include a sensor that measures biological information other than the pulse wave information. For example, the sensor unit 110 may include a sensor that measures arterial oxygen saturation (SpO2). In addition, the sensor unit 110 may include a body motion sensor that detects a user's body motion. Here, the body motion sensor can be realized by an acceleration sensor, a gyro sensor, a global positioning system (GPS) receiver, a azimuth sensor, or the like.
The processing unit 120 performs various processes including a process of generating biological information on the basis of sensor information received from the sensor unit 110. The function of the processing unit 120 can be realized by a processor. Here, the processor may be, for example, a central processing unit (CPU). However, the processor is not limited to the CPU, and various processors such as a graphics processing unit (GPU) and a digital signal processor (DSP) can be used. In addition, the processor may be a hardware circuit based on an application specific integrated circuit (ASIC).
For example, the processing unit 120 performs frequency conversion processing on the sensor information received from the pulse wave sensor to thereby perform a process of obtaining a pulse rate or a pulse interval. Since a peak frequency is considered to be the frequency of a pulse, a value obtained by multiplying the frequency by 60 times is set to be a pulse rate which is widely used, and the reciprocal of the peak frequency is equivalent to a pulse interval (RRI). However, there are known various other methods of obtaining biological information from sensor information, and these methods can be widely applied in this embodiment.
The communication unit 130 transmits and receives information to and from the connection target device 200. For example, the communication unit 130 is a circuit (IC) that performs short-range wireless communication using an antenna. The communication unit 130 can be realized by hardware, such as a communication ASIC or a communication processor, firmware for communication, or the like. Specifically, the communication unit 130 includes a logic circuit for realizing, for example, a physical layer circuit, a link layer circuit, and the like. The physical layer circuit includes a reception circuit and a transmission circuit. The reception circuit includes a low noise amplifier amplifying a signal received from the antenna with low noise, a mixer, a filter, and the like. The transmission circuit includes a power amplifier that outputs a transmission signal to the antenna. The logic circuit may include a demodulation circuit, a modulation circuit, a reception buffer, a transmission buffer, processing circuit, an interface circuit, and the like. For example, the communication unit 130 transmits biological information generated by the processing unit 120 to the connection target device 200. A specific communication sequence will be described later with reference to
The storage unit 140 serves as a work area of the processing unit 120 and the like, and the function thereof can be realized by a semiconductor memory such as a random access memory (RAM) or can be realized by a register, a hard disk drive (HDD), or the like. The storage unit 140 stores biological information obtained by the processing unit 120. The storage unit 140 (memory) stores a command readable by a computer, and each unit of the information measuring apparatus 100 according to this embodiment may be realized by the command being realized by a processor. Here, the command may be a command of a command set constituting a program, or may be a command for instructing a hardware circuit of the processor on operation.
The biological information measuring apparatus 100 according to this embodiment can be realized as a wearable device worn on a user's body.
The case portion 30 of the wearable device is provided with the sensor unit 110. In
Meanwhile, in
As described above, in this embodiment, the communication unit 130 of the biological information measuring apparatus 100 transmits biological information to the connection target device 200.
In addition, the method of this embodiment is not limited to being applied to the biological information measuring apparatus 100. For example, the method of this embodiment can be applied to a communication system 500 including the biological information measuring apparatus 100 and the connection target device 200, as illustrated in
It is possible to reduce power consumption not only in the biological information measuring apparatus 100 but also in the connection target device 200 by performing communication at an appropriate transmission speed. In addition, as described later with reference to
In addition, the method of this embodiment can also be applied to a communication method including a process of detecting biological information on the basis of sensor information received from the sensor unit 110, and a communication process of transmitting the biological information to the connection target device 200 at a transmission speed corresponding to a scheduled transmission data amount of the biological information.
Next, details of a processing sequence (communication sequence) of this embodiment will be described. First, outlines of a flow of processing performed by the processing unit 120 and a flow of communication between the biological information measuring apparatus 100 and the connection target device 200 will be described with reference to
The processing unit 120 determines whether or not the present timing is a timing when a transmission request event occurs. The transmission request event is an event in which the connection target device 200 is notified of the transmission of a set of pieces of biological information (log data of biological information). As described later with reference to
Since a case where the determination result in S103 is Yes is equivalent to a case where the log data of the biological information is formed, the processing unit 120 performs a process of setting a transmission speed (S104) and transmits the biological information to the connection target device 200 at the set transmission speed (S105). Since a case where the determination result in step S103 is No is equivalent to a case where log data of biological information to be transmitted is not formed, the processes of S104 and S105 are omitted. The processing unit 120 repeatedly performs the processing illustrated in
In the biological information measuring apparatus 100, firmware for realizing the processing unit 120 is equivalent to a portion of App and GAP, and a BLE chip for realizing the communication unit 130 is equivalent to the remaining portion of GAP and PHY.
In addition, in the connection target device 200, the OS of the device corresponds to GAP and PHY. In a case where the connection target device 200 is the portable information processing apparatus 400 (particularly, a smart phone), an OS such as Android (registered trademark) which is widely known corresponds to GAP and PHY. In addition, application software (so-called “smart phone application”) operating on the OS corresponds to App.
In the BLE, a packet for confirming connection is transmitted from a device on a master side (here, the connection target device 200) to a device on a slave side (biological information measuring apparatus 100) for each time equivalent to a connection interval, and a response packet is returned from the device on the slave side, thereby maintaining the connection. A payload portion in a given layer in the packet for confirming connection includes data indicating a connection event, and the device on the slave side responds to the connection event to thereby maintain the connection. In
Meanwhile, in a normal state corresponding to S201, that is, a state where the transmission of log data of biological information, and the like are not performed because the connection being just maintained is enough, communication at a high frequency is not necessary. Accordingly, the connection interval may be a comparatively large value such as 1000 msec. In addition, with regard to S202 and the subsequent steps, communication is performed by a connection interval in a normal state until the termination of steps S218 and S219 in which a connection interval is updated to a value for the transmission of log data.
As illustrated in
That is, in a case where the sequence of
An appropriate transmission speed is determined on the basis of the scheduled transmission data amount and a transmission time (for example, 3 seconds for preventing usability from being impaired) which may be required for the transmission of the data. The scheduled transmission data amount is information which is ascertained by a device that actually stores log data of biological information, that is, by the biological information measuring apparatus 100. Accordingly, it is possible to perform the determination of a transmission speed (step S213) by the connection target device 200 by transmitting the scheduled transmission data amount to the connection target device 200. It is assumed that the connection target device 200 has processing capability higher than that of the biological information measuring apparatus 100, and thus it is possible to perform the determination of the transmission speed at a higher speed, and the like.
As illustrated in
GATT of the connection target device 200 receives the transmission request event, and gives notice to application software of the connection target device 200 (S205). The application software receives the transmission request event to start to request the acquisition of the scheduled transmission data amount (S206).
That is, the biological information measuring apparatus 100 includes the storage unit 140 that stores the log data of the biological information, and the communication unit 130 transmits a transmission request event for the log data to the connection target device 200. Here, the transmission request event is an event indicating that the log data of the biological information to be transmitted is stored as described above.
In this manner, an event can occur at a timing when a set (log data) of biological information to be transmitted is generated, and thus the communication unit 130 can appropriately transmit the log data to the connection target device 200. In particular, as illustrated in
Here, it is possible to consider various methods for a condition in which the transmission request event occurs, that is, a condition for determining that a set of biological information to be transmitted is generated.
The communication unit 130 transmits the transmission request event to the connection target device 200 in a case where the elapse of a predetermined time is detected. That is, the elapse of the predetermined time from the occurrence of the previous transmission request event (and the transmission of log data to the connection target device 200) is set to be a condition in which the transmission request event occurs. In a case where a biological information acquisition rate and the amount of data of biological information acquired at each timing are fixed, the amount of data of the stored biological information (log data) is proportional to measurement time. In addition, even when the rate and the amount of data of biological information at each timing are variable, there is a tendency for the amount of log data to increase as a measurement time generally increases.
Accordingly, since it is considered that a certain degree of amount of data is stored in a case where the predetermined time elapses, the transmission request event may occur. As an example, the transmission request event may occur at a frequency of once for an hour, and specifically, the transmission request event occurs at 0:00, 1:00, . . . , and 23:00. In this manner, the transmission request event occurs at fixed time every day during the measurement of biological information, and thus log data can be transmitted. For this reason, it is possible to easily realize statistical processing in which biological information on a given date and biological information on another date are compared with each other by making times of the dates uniform. In a broader sense, it is possible to facilitate the management or use of the transmitted log data.
In addition, the communication unit 130 may transmit the transmission request event to the connection target device 200 in a case where a change in a user's action state is detected. A user wearing the biological information measuring apparatus 100 does not act in the same manner at all times, and may be set to be in various action states such as a sleep state, a rest state where the user is awake but acts comparatively a little, and a motion state (workout state) where the user is in motion.
Ina case where a pulse rate is acquired as biological information, generally, the value of the pulse rate becomes larger as the user's activity becomes active, and thus the relation of sleep state<rest state<motion state is established. For this reason, it is not appropriate to equally treat data in the sleep state and data in the motion state in analyzing log data of biological information. For example, in the analysis of the log data, a process of changing contents of analysis processing in accordance with the user's action state or a process of performing a change regarding whether to set log data to be a target for the analysis processing in accordance with the action state may be performed. In a case where the transmission request event is generated once an hour, there is a concern that both the data in the sleep state and the data in the motion are included in log data corresponding to an amount for given one hour, thereby making interference with the analysis processing.
In addition, it is known that the user's body motion is small in the sleep state, and there is a small fluctuation in the pulse rate. Accordingly, in the sleep state, resolution may be lowered by decreasing the frequency of acquisition (frequency of computational calculation) of the pulse rate or decreasing the number of bits allocated to one piece of data, as compared to the rest state or the motion state. That is, a difference in the user's action state may result in not only a change in characteristics of biological information but also a possibility that the number of pieces of biological information acquired per unit time or the amount of data per biological information fluctuates. From this aspect, it is not preferable to integrate pieces of biological information differ in an action state into one piece of log data.
Meanwhile, various methods of performing an action determination process are considered, but a body motion sensor detecting a body motion may be used. Specifically, the sensor unit 110 of the biological information measuring apparatus 100 includes a body motion sensor, and the processing unit 120 performs an action determination process on the basis of body motion information received from the body motion sensor to thereby generate a transmission request event on the basis of a result of the action determination process.
Here, the body motion sensor means a sensor that detects the movement of a user (person wearing the biological information measuring apparatus 100), and examples of the body motion sensor to be considered include an acceleration sensor, a gyro sensor, an atmospheric pressure sensor, and the like. The body motion sensor according to this embodiment may be constituted by only a type of sensor, or may be realized by a combination of a plurality of types of sensors. Various methods of determining a user's action are known, and can be widely applied in this embodiment.
In the example of
At 9:50 (B1), the processing unit 120 determines that the action state has been changed from a rest state to a motion state. When the next transmission request event is performed at 10:00 (A2) as scheduled, log data to be transmitted at A2 corresponds to an amount for one hour of 9:00 to 10:00, and thus data in the rest state and data in the motion state mix with each other. Accordingly, the processing unit 120 (firmware) instructs the generation of a transmission request event at the timing of B1, and the communication unit 130 (GATT) transmits the transmission request event to the communication unit (GATT) of the connection target device 200. Since log data to be transmitted at the timing of B1 is data between 9:00 and 9:50 (range of C1), it is possible to suppress the mixing of data in the motion state.
In the example of
The same applies hereinafter, and the processing unit 120 periodically generates a transmission request event at 11:00 (A3) and transmits data between 10:00 and 11:00 (C3). Since the action state is changed from a motion state to a rest state at 11:15 (B2), the processing unit 120 generates a transmission request event at B2 and transmits data between 11:00 and 11:15 (C4). In addition, the processing unit 120 periodically generates a transmission r nest event at 12:00 (A4) and transmits data between 11:15 and 12:00 (CS). In this manner, with regard to the data between 11:00 and 12:00, it is possible to suppress the mixing of the data (C4) in the motion state and the data in the rest state.
Considering the log data analysis processing, the biological information measuring apparatus 100 may collectively transmit pieces of information for specifying a user's action state corresponding to respective pieces of log data. For example, the biological information measuring apparatus 100 may transmit information for specifying C1 and C5 being rest states and C2 to C4 being motion states. As an example, information of a combination of (action state, starting timing, and termination timing) may be used, and it is possible to specify C2 to C4 being motion states by using, for example, information of (motion state, B1, and B2).
In a case where a transmission request event occurs, log data is transmitted from the biological information measuring apparatus 100 to the connection target device 200 by using the event as a trigger. In this embodiment, described above, communication is performed using a transmission speed corresponding to a scheduled transmission data amount.
Accordingly, application software of the connection target device 200 having received a transmission request event instructs GATT of the connection target device 200 to acquire a scheduled transmission data amount (S206), and GATT requests GATT of the biological information measuring apparatus 100 to transmit the scheduled transmission data amount (S207).
GATT of the biological information measuring apparatus 100 receives the request for the acquisition of the scheduled transmission data amount and notifies firmware of the reception of the request (S208). In the firmware, the scheduled transmission data amount is computationally calculated (S209). Since log data scheduled to be transmitted is stored in the storage unit 140 of the biological information measuring apparatus 100, it is possible to calculate the amount of data by the firmware.
The firmware instructs GATT of the biological information measuring apparatus 100 to transmit the calculated scheduled transmission data amount (S210), and GATT is the scheduled transmission data amount to GATT of the connection target device 200 (S211).
GATT of the connection target device 200 receives the scheduled transmission data amount and notifies the application software of the connection target device 200 of the reception of the scheduled transmission data amount (S212). The application software computationally calculates transmission speed on the basis of the received scheduled transmission data amount (S213). Specifically, the application software may computationally calculate the transmission speed on the basis of the scheduled transmission data amount and a transmission time for preventing usability to be impaired.
Here, the communication unit 130 may perform short-range wireless communication, and may set a transmission speed on the basis of a connection interval indicating an interval between connection events of the short-range wireless communication. For example, in a case where the amount of data capable of being transmitted through one communication is set to be D (Byte), a connection interval which is a communication interval is set to be CI (sec), a scheduled transmission data amount is set to be SD (Byte), and a maximum transmission time that does not impair usability is set to be T (sec), the following expression (1) is established. Since the left side in the following expression (1) represents a transmission time in a case where data scheduled to be transmitted is transmitted on the basis of the set connection interval, usability is not impaired when the following expression (1) is satisfied.
SD×(CI/D)≦T (1)
Considering power consumption, a preferable result is obtained as the connection interval becomes longer Accordingly, the processing unit (application software) of the connection target device 200 may perform a transmission speed determination process in which the maximum CI satisfying the above-mentioned expression (1) is set to be a connection interval, and more specifically may obtain the connection interval CI by the following expression (2).
CI=(T×D)/SD (2)
In this manner, it is possible to determine an appropriate transmission speed by using the connection interval which is a communication parameter of short-range wireless communication (BLE in a narrow sense). Meanwhile, one of some candidates that are set discretely may be selected as the transmission speed (connection interval). For example, a value which is equal to or less than CI obtained by the above-mentioned expression (2) and which is the maximum value is selected from the candidates of the connection interval.
Here, as described above with reference to
In addition, in a case where the amount of data per unit time fluctuates depending on an action state, the scheduled transmission data amount is determined on the basis of both the length of a section which is a target for transmission and the amount of data per unit time. Also in this case, the scheduled transmission data amount changes depending on an action determination result.
That is, in this embodiment, the processing unit 120 of the biological information measuring apparatus 100 performs a process of computationally calculating a scheduled transmission data amount on the basis of a determination result for a user's action. Here, the action determination result is information indicating a user's action state, and is information indicating any state such as a rest state or a motion state. Alternatively, each state may be further subdivided, or it may be determined what type of motion is specifically performed as a motion state. In addition, the action determination result may be a result of determination using a body motion sensor as described above, or may be a result of determination performed by a user's input on an operation unit. For example, in a case where the user operates the operation unit when motion is started and terminated, it is possible to determine whether or not the user's action state is a motion state, on the basis of the user's input.
In addition, a request for a scheduled transmission data amount received from the connection target device 200 and the transmission of the scheduled transmission data amount from the biological information measuring apparatus 100 may be performed using a packet for confirming connection. The communication unit 130 of the biological information measuring apparatus 100 transmits the scheduled transmission data amount as a response to the packet in a case where the packet (packet for confirming connection) during a connection event which is received from the connection target device 200 includes the request for the scheduled transmission data amount.
In this manner, the packet for confirming connection can be used for the request for the scheduled transmission data amount and the response thereto, and thus it is possible to transmit the scheduled transmission data amount to the connection target device 200 through efficient communication.
A desirable transmission speed is selected in the firmware of the connection target device 200 by the process of S213 and the previous processes. For this reason, it is possible to transmit log data at an appropriate transmission speed by performing a sequence of a change to the transmission speed between both communication units (the BLE chip of the biological information measuring apparatus 100 and the OS of the connection target device 200).
However, as an L2CAP layer is hidden from application software of a smart phone, an instruction for the change of a transmission speed may not be directly given from the application software of the connection target device 200.
Accordingly, in this embodiment, the communication unit 130 of the biological information measuring apparatus 100 is set on a slave side in short range wireless communication, and the communication unit 130 performs the setting of a transmission speed on the communication unit (OS) of the connection target device 200.
Since the processing unit 120 (firmware) of the biological information measuring apparatus 100 has a path for controlling an L2CAP layer, it is possible to acquire a desired transmission speed and to suppress a lower layer so that the transmission speed is set. That is, it is possible to set an appropriate transmission speed by causing the biological information measuring apparatus 100 side to specifically perform the control of change of a transmission speed.
That is, as illustrated in
Specifically, the application software of the connection target device 200 instructs GATT of the connection target device 200 to transmit a transmission speed change request (S214), and GATT transmits the transmission speed change request to GATT of the biological information measuring apparatus 100 (S215).
GATT of the biological information measuring apparatus 100 receives the transmission speed change request and transmits the received transmission speed change request to the firmware (S216).
As described above, the firmware of the biological information measuring apparatus 100 can control L2CAP which is a layer for determining a transmission speed. Accordingly, the firmware instructs L2CAP of the biological information measuring apparatus 100 to change a transmission speed (S217). The L2CAP of the biological information measuring apparatus 100 performs transmission for updating a connection parameter to L2CAP of the connection target device 200 (S218), and L2CAP of the connection target device 200 returns a response to the transmission (S219).
In a case where the change of the transmission speed is successful, information indicating the successful change is returned as the response in S219, and thus L2CAP of the biological information measuring apparatus 100 transmits a response indicating the successful change of the transmission speed to the firmware (S220).
The firmware of the biological information measuring apparatus 100 transmits a response indicating the completion of change of the transmission speed to the connection target device 200 on the basis of the response indicating the successful change of the transmission speed which is received from L2CAP. Specifically, GATT is instructed to transmit a transmission speed change completion response (S221), and GATT of the biological information measuring apparatus 100 transmits the transmission speed change completion response to GATT of the connection target device 200 (S222). GATT of the connection target device 200 transmits the transmission speed change completion response to the application software (S223), and the application software receives the transmission speed change completion response (S224).
The sequence of S221 to S224 is performed, and thus even the application software incapable of directly controlling L2CAP can also recognize that the change of the transmission speed is successful.
The application software may perform processing such as notifying a user of the change of the transmission speed. However, even when the application software does not know the completion of change of the transmission speed, log data can be transmitted, and S221 to S224 may be omitted.
Since the change to an appropriate transmission speed is completed through the above-described sequence, log data of biological information is started to be transmitted from the biological information measuring apparatus 100 to the connection target device 200 at the transmission speed (S225).
Hereinafter, some modification examples will be described.
In the above description, an embodiment in which a connection interval is used as a connection parameter for setting a transmission speed has been described. However, in short-range wireless communication (particularly, BLE), a connection parameter which is connection slave latency (connSlaveLatency) can be used together with the connection interval.
The connection slave latency is a parameter indicating the number of times of a connection event, received from a master side, is negligible in a case where there is no data transmitted from a slave side.
In a case of CSL=4, even when a connection event is neglected up to four times in a case where there no data transmitted from the slave side (here, the biological information measuring apparatus 100), a connection state is maintained. For this reason, in a case where a response R1 is returned for a connection event E1 as illustrated in
As seen from
As described above, approximately 1000 msec is sufficient as an interval of transmission and reception in a normal state. This can be realized when (CI, CSL)=(1000 msec, 0), but can also be realized using connection slave latency like (CI, CSL)=(200 msec, 4). That is, it is possible to suppress an increase in power consumption even when a connection interval is set to be short, by setting the connection slave latency.
In addition, in the example of
Specifically, the communication unit 130 of the biological information measuring apparatus 100 sets connection slave latency of short-range wireless communication, and the communication unit 130 does not perform the neglect of a connection event based on the connection slave latency when setting a transmission speed based on a connection interval.
As illustrated in
In this respect, when the relation of (CI, CSL)=(200 msec, 4) is set, it is possible to perform the communication for transmitting and receiving the transmission request event, the scheduled transmission data amount, the transmission speed change request, and the like at an interval of 200 msec and to reduce time required from the occurrence of the transmission request event to the start of transmission of log data. Meanwhile, the relation of (CI, CSL)=(200 msec, 4) is an example of values of a connection interval and connection slave latency, and specific numerical values can be modified in various ways.
Meanwhile, the change of a transmission speed in this embodiment is realized by the change of a connection interval, and it is assumed that connection slave latency is fixed. However, it is not also possible to prevent connection slave latency from being changed at the same time as when the transmission speed is changed.
In the above description, a method of determining a transmission speed by the above-mentioned expression (2) and the like in the processing unit (application software) of the connection target device 200 has been described. However, this processing may be performed in the firmware of the biological information measuring apparatus 100.
As illustrated in
Processes (S305 to S313) after the determination of the transmission speed are the same as the processes of S217 to 225 of
In this manner, the processing unit 120 of the biological information measuring apparatus 100 may perform a process of computationally calculating a transmission speed corresponding to a scheduled transmission data amount. As seen from comparison between
In addition, the “transmission speed corresponding to scheduled transmission data amount” in this embodiment may be a transmission speed determined from the value of a scheduled transmission data amount SD which is strictly obtained as in the above-mentioned expression (2), but is not limited thereto. For example, a configuration may be adopted in which a rough value of a scheduled transmission data amount may be estimated by a simple method, and a transmission speed is determined on the basis of an estimation result.
For example, the scheduled transmission data amount may be estimated on the basis of the length of a period of time which is a target for transmission. As described above, in general, it is considered that the scheduled transmission data amount increases as a transmission target period becomes longer. Accordingly, a transmission speed determination process in which the transmission speed increases (connection interval becomes shorter) as the transmission target period becomes longer may be performed.
Alternatively, the scheduled transmission data amount may be estimated on the basis of a determination result for a user's action. As described above, a biological information acquisition rate or the amount of data of one piece of biological information may be different on the basis of the action determination result. Specifically, a change in biological information decreases as the user's movement decreases, and a problem is hardly generated in spite of low measurement frequency or low measurement accuracy. For this reason, in a case where a sleep state, a rest state, and a motion state are considered as action states, it is assumed that a scheduled transmission data amount is set like sleep state<rest state<motion state. Thus, the application software of the connection target device 200 (alternatively, the firmware of the biological information measuring apparatus 100) may determine a transmission speed on the basis of the action determination result. For example, a first transmission speed is selected in a case of the sleep state, a second transmission speed higher than the first transmission speed is selected in a case of the rest state, and a third transmission speed higher than the second transmission speed is selected in a case of the motion state.
However, since it considered that the amount of data per unit time is determined on the basis of the action determination result, the scheduled transmission data amount changes depending on the length of the transmission target period in a case where the length of the transmission target period is variable. Accordingly, the application software of the connection target device 200 (alternatively, the firmware of the biological information measuring apparatus 100) may perform a simple transmission speed determination process on the basis of both the length of the transmission target period and the action determination result.
In many cases, a range of a transmission speed that can be set is determined according to the standard of proximity wireless communication. For example, in a case of BLE, a connection interval is determined to be equal to or greater than 7.5 msec and equal to or less than 4.0 sec. However, this is a value determined as the standard of BLE, and all values in the range may not be necessarily set in the real device. For example, the value of a connection interval that can be set may vary depending on the OS of the connection target device 200 (portable information processing apparatus 400), and the value of a connection interval that can be set may also vary depending on a model in spite of the same OS. The value of a connection interval that can be set can be previously obtained as long as the type, version, and model of an OS are known, but it is not easy for the application software of the connection target device 200 or the firmware of the biological information measuring apparatus 100 to ascertain all of the combinations thereof.
Accordingly, the communication unit 130 of the biological information measuring apparatus 100 performs a change to a transmission speed different from a given transmission speed in a case where a setting failure response is retuned by the communication unit (OS) of the connection target device 200 with respect to a request for a change to the given transmission speed. In this manner, even when the transmission speed is not a speed that can be set by the connection target device 200, it is possible to perform the resetting of the transmission speed.
In this case, in the firmware of the biological information measuring apparatus 100, the recalculation of a transmission speed is performed (S421), and L2CAP of the biological information measuring apparatus 100 is instructed to perform a change to the transmission speed obtained by the recalculation (S422).
In the example of
Meanwhile, in a case where the recalculated transmission speed has a value that cannot be set by L2CAP of the connection target device 200, recalculation may further be performed in the firmware of the biological information measuring apparatus 100. In addition, a modification such as the setting of a limit on the number of times of recalculation can be made.
In the above description, an example in which biological information is transmitted from the biological information measuring apparatus 100 to the connection target device 200 has been described, but another information may be transmitted. For example, the sensor unit 110 of the biological information measuring apparatus 100 may include a body motion sensor that detects a user's body motion or an environmental sensor that detects information regarding the peripheral environment of the user.
The processing unit 120 of the biological information measuring apparatus 100 obtains body motion information on the basis of sensor information received from the body motion sensor, and the communication unit 130 transmits the body motion information to the connection target device 200. Alternatively, the processing unit 120 of the biological information measuring apparatus 100 obtain s environmental information on the basis of sensor information received from the environmental sensor, and the communication unit 130 transmits the environmental information to the connection target device 200. Meanwhile, the environmental sensor can be realized by a temperature sensor, a humidity sensor, an atmospheric pressure sensor, a geomagnetic sensor, and the like.
The body motion information or the environmental information is used as additional information for biological information, and thus it is possible to perform the estimation of a user's activity state or the state of peripheral environment of the user when given biological information is acquired, and the like. In addition, the communication unit 130 of the biological information measuring apparatus 100 may have a period of time in which at least one of the body motion information and the environmental information is transmitted, without transmitting biological information.
In the above description, an example in which pieces of biological information are integrated into a certain degree of aggregation and are transmitted as log data has been described. However, the pieces of biological information (and body motion information or environmental information which is described as a modification example) may be sequentially transmitted.
The transmission and reception of a packet for confirming connection are performed between the biological information measuring apparatus 100 and the connection target device 200 for each predetermined interval (connection interval). In the packet for confirming connection, data indicating a connection event is included in a payload portion in a given layer (LL of
The communication unit 130 of the biological information measuring apparatus 100 may include pieces of biological information in this empty region to thereby sequentially transmit the nieces of biological information. For example, the amount of data of information indicating a difference (the amount of change) from biological information at the previous timing is small, and thus it is possible to transmit the information to the connection target device 200 by using the empty region.
In addition, a sequence until the start of transmission of log data has been described in
In this case, power consumption increases during the transmission of log data as compared to a normal state, which results in a great disadvantage due to communication being continued at high speed until the transmission of the log data is completed. Accordingly, the transmission speed may be set to be relatively low when the transmission of the log data is completed, and may be returned to, for example, a transmission speed in a normal occasion.
Since information to that effect is stored in a final packet of the log data, it is possible to ascertain the completion of transmission of the log data in either the firmware of the biological information measuring apparatus 100 or the application software of the connection target device 200. Accordingly, a sequence for returning the transmission speed to a transmission speed in a normal occasion may be performed with either of them as a starting point.
In a case where the application software of the connection target device 200 is set to be a starting point, first, it is necessary to transmit a request for the change of a transmission speed to the biological information measuring apparatus 100, similar to S214 of
In the above description, an example in which the connection target device 200 is the portable information processing apparatus 400 (smart phone in a narrow sense) has been described. However, the connection target device 200 is not limited thereto, and may be the gateway device 600.
As described above with reference to
For this reason, also in the example of
Consequently, in this embodiment, the gateway device 600 that can be connected to a large number of unspecified devices through short-range wireless communication and can be connected to the computer communication network INT may be used as the connection target device 200.
The processing unit 620 (processor) processes various pieces of information or performs control. Each processing (each function) performed by the processing unit 620 can be realized by a processor (processor including hardware).
The communication unit 630 is a circuit (IC) that performs short-range wireless communication, similar to the communication unit 130 of the biological information measuring apparatus 100.
The communication unit 640 performs communication processing using the computer communication network INT such as the Internet. The communication unit 640 can be realized by hardware, such as a communication ASIC or a communication processor, firmware for communication, or the like. For example, the communication unit 640 performs communication processing according to the specifications of Ethernet (registered trademark; the same applies hereinafter) as processing of a physical layer or a data link layer. In addition, the communication unit performs communication processing according to the specifications of TCP/IP as processing of a network layer or a transport layer. In this case, the processing unit 620 of the gateway device 600 performs protocol conversion between, for example, a protocol (for exam Bluetooth) of short-range wireless communication and a protocol (for example, Ethernet or TCP/IP) of the computer communication network INT. For example, the processing unit performs processing such as reconstitution of a packet of the protocol of the short-range wireless communication into a packet of the protocol of the computer communication network INT or reconstitution of the packet of the protocol of the computer communication network INT into the packet of the protocol of the short-range wireless communication. For example, the processing unit performs processing such as conversion of address information (for example, a MAC address of Bluetooth) of the wearable device 300 into address information (for example, IPv6 of TCP/IP) for the computer communication network INT, and the like.
The storage unit 650 (memory) stores various pieces of information, and functions as a work area for the processing unit 620 or the communication units 630 and 640, and the like.
In this codification example, it is possible to adopt a method of directly connect the biological information measuring apparatus 100 to the computer communication network INT such as the Internet by loosely-coupled short-range wireless communication. The biological information measuring apparatus 100 (communication unit 130) is communicatively connected to the gateway device 600 by loosely-coupled short-range wireless communication, and is communicatively connected to the computer communication network INT through the gateway device 600. That is, the biological information measuring apparatus 100 and the gateway device 600 (for example, a router such as Bluetooth) are communicatively connected to each other by loosely-coupled short-range wireless communication. For example, the communication unit 130 of the biological information measuring apparatus 100 of
Here, the loosely-coupled short-range wireless communication is wireless communication in which the degree of coupling of communication is lower than that of normally-coupled short-range wireless communication. For example, in the normally-coupled short-range wireless communication, processing (for example, pairing) for establishing communication connection between two devices paired for bidirectional communication is performed. When the communication connection is once established, a predetermined cancellation process for the cancellation thereof is necessary. In the normally-coupled short-range wireless communication, a protocol and the like are defined as wireless communication in a normal mode (default) in communication standards (Bluetooth and the like) of the short-range wireless communication network.
On the other hand, the loosely-coupled short-range wireless communication is wireless communication in which, for example, bidirectional communication is performed between two devices with a low degree of coupling of communication, without performing such processing for establishing communication connection. In the loosely-coupled short-range wireless communication, the establishment of communication connection specified by the above-described normally-coupled short-range wireless communication is not performed, and thus a cancellation process for the cancellation thereof is not necessary. For this reason, a device such as the biological information measuring apparatus 100 can be communicatively connected to the computer communication network INT through a connection target device such as the gateway device 600 while continuously switching the connection target device. An example of the loosely-coupled short-range wireless communication is communication performed in a preparation period before the establishment of communication connection, and an example of the preparation period is a scanning period in which a presence notification packet is retrieved. That is, the loosely-coupled short-range wireless communication is, for example, communication performed in a scanning period (retrieval period) in which the gateway device 600 retrieves the presence notification packet received from the biological information measuring apparatus 100.
For example, in
Since the loosely-coupled short-range wireless communication is communication performed in the scanning period before the establishment of connection, processing for the cancellation of establishment of connection or a user's effort is not necessary. Therefore, it is possible to achieve a reduction in power consumption of a wearable device, an improvement in user convenience, and the like. Since the transmission of a presence notification packet is intermittent transmission, there is also an advantage that it is possible to achieve a further reduction in power consumption, for example, by appropriately controlling a transmission interval of the presence notification packet.
Meanwhile, in this modification example, the gateway device 600 includes the processing unit 620 performing protocol conversion and like, as illustrated in
As described above, the embodiment and the modification example to which the invention is applied have been described. However, the invention is not limited to the embodiment and the modification example as they are, and components can be modified and embodied without departing from the scope of the invention at the stage of implementing the invention. In addition, various inventions can be formed by an appropriate combination of a plurality of components disclosed in the above-described embodiment and modification example. For example, some components may be deleted from all of the components described ire the embodiment and the modification example. Furthermore, components described in different embodiments and modification examples may be appropriately combined with each other. In addition, throughout the specification and the drawings, any terms described at least once together with other different terms that encompass broader meaning or are synonymous can be replaced with these different terms in any sections of the specification and the drawings. In this manner, various modifications or application can be made without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-103213 | May 2016 | JP | national |