PRIORITYThis application claims priority under 35 U.S.C. §119(a) to Korean Patent Application Serial No. 10-2016-0068245, which was filed in the Korean Intellectual Property Office on Jun. 1, 2016, the entire content of which is incorporated herein by reference.
BACKGROUND1. Field of the DisclosureThe present disclosure relates, generally, to an electronic apparatus and an operating method thereof.
2. Description of the Related ArtElectronic apparatuses can be carried in a pocket of a user or worn on their wrist, head arm, etc., and may include various sensors (e.g., an accelerometer and a biometric sensor) to measure user exercise information. The exercise information may be a result of measuring the amount of activity performed by the user for a certain period of time.
The electronic apparatuses may detect a user input to start and end an exercise, and to measure exercise information. For example, electronic apparatuses may measure an amount of activity from a start time of an exercise to end time of an exercise. Sometimes, however, the electronic apparatuses may not record the activity of the user as exercise information.
SUMMARYThe present disclosure has been made to address at least the disadvantages described above and.to provide at least the advantages described below. Accordingly, an aspect of the present disclosure provides an electronic apparatus and a method of use thereof that enables an activity of the user to be automatically recorded as exercise information without any special manipulation, and that automatically outputs the activity of the user and exercise information for the user's reorganization without any special manipulation.
In accordance with an aspect of the present disclosure, there is provided an electronic apparatus. The electronic apparatus includes a sensor and a processor electrically connected to the sensor and configured to generate information indicating a start of an activity when first data indicating that an activity of the electronic apparatus occurs is received from the sensor and generate information indicating a start of an exercise when second data indicating that the activity is associated with the exercise is received from the sensor.
In accordance with an aspect of the present disclosure, there is provided a method of an electronic apparatus. The method includes generating information indicating a start of an activity when first data indicating that an activity of the electronic apparatus occurs is received from a sensor and generating information indicating a start of an exercise when second data indicating that the activity is associated with the exercise is received from the sensor.
In accordance with an aspect of the present disclosure, there is provided a non-transitory computer-readable recording medium that stores a program that when executed performs a method that includes generating information indicating a start of an activity when first data indicating that an activity of the electronic apparatus occurs is received from a sensor and generating information indicating a start of an exercise when second data indicating that the activity is associated with the exercise is received from the sensor.
BRIEF DESCRIPTION OF THE DRAWINGSThe above and other aspects, features and advantages of certain exemplary embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
FIG. 1A is a diagram of an electronic apparatus in a network environment, according to an embodiment of the present disclosure;
FIG. 1B is a block diagram of a processor, according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of an electronic apparatus, according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a program module, according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a method used by the electronic apparatus for processing activity information, according to an embodiment of the present disclosure;
FIGS. 5A and 5B are diagrams of activity start information, according to an embodiment of the present disclosure;
FIG. 6 is a diagram of an exercise start notification, according to an embodiment of the present disclosure;
FIG. 7 is a flowchart of a method used by the electronic apparatus for detecting an activity, according to an embodiment of the present disclosure;
FIG. 8 is a flowchart of a method used by the electronic apparatus for detecting an exercise effect, according to an embodiment of the present disclosure;
FIG. 9 is a flowchart of a method used by the electronic apparatus for outputting an exercise start notification, according to an embodiment of the present disclosure;
FIGS. 10A and 10B are diagrams of an operation for outputting an exercise start notification, according to an embodiment of the present disclosure;
FIG. 11 is a flowchart of a method used by the electronic apparatus for outputting an exercise start notification, according to an embodiment of the present disclosure;
FIG. 12 is a flowchart of a method used by the electronic apparatus for entering an exercise mode, according to an embodiment of the present disclosure;
FIG. 13 is a flowchart of a method used by the electronic apparatus for outputting an exercise result, according to an embodiment of the present disclosure; and
FIGS. 14A, 14B, 14C, and 14D are diagrams of an operation for outputting an exercise result, according to an embodiment of the present disclosure.
DETAILED DESCRIPTIONEmbodiments of the present disclosure will be described herein below with reference to the accompanying drawings. However, the embodiments of the present disclosure are not limited to the specific embodiments and should be construed as including all modifications, changes, equivalent devices and methods, and/or alternative embodiments of the present disclosure. In the description of the drawings, similar reference numerals are used for similar elements.
The terms “have,” “may have,” “include,” and “may include” as used herein indicate the presence of corresponding features (for example, elements such as numerical values, functions, operations, or parts), and do not preclude the presence of additional features.
The terms “A or B,” “at least one of A or/and B,” or “one or more of A or/and B” as used herein include all possible combinations of items enumerated with them. For example, “A or B,” “at least one of A and B,” or “at least one of A or B” means (1) including at least one A, (2) including at least one B, or (3) including both at least one A and at least one B.
The terms such as “first” and “second” as used herein may modify various elements regardless of an order and/or importance of the corresponding elements, and do not limit the corresponding elements. These terms may be used for the purpose of distinguishing one element from another element. For example, a first user device and a second user device may indicate different user devices regardless of the order or importance. For example, a first element may be referred to as a second element without departing from the scope the present invention, and similarly, a second element may be referred to as a first element.
It will be understood that, when an element (for example, a first element) is “(operatively or communicatively) coupled with/to” or “connected to” another element (for example, a second element), the element may be directly coupled with/to another element, and there may be an intervening element (for example, a third element) between the element and another element. To the contrary, it will be understood that, when an element (for example, a first element) is “directly coupled with/to” or “directly connected to” another element (for example, a second element), there is no intervening element (for example, a third element) between the element and another element.
The expression “configured to (or set to)” as used herein may be used interchangeably with “suitable for,” “having the capacity to,” “designed to,” “ adapted to,” “made to,” or “capable of” according to a context. The term “configured to (set to)” does not necessarily mean “specifically designed to” in a hardware level. Instead, the expression “apparatus configured to . . . ” may mean that the apparatus is “capable of . . . ” along with other devices or parts in a certain context. For example, “a processor configured to (set to) perform A, B, and C” may mean a dedicated processor (e.g., an embedded processor) for performing a corresponding operation, or a generic-purpose processor (e.g., a CPU or an application processor) capable of performing a corresponding operation by executing one or more software programs stored in a memory device.
The terms used in describing the various embodiments of the present disclosure are for the purpose of describing particular embodiments and are not intended to limit the present disclosure. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. All of the terms used herein including technical or scientific terms have the same meanings as those generally understood by an ordinary skilled person in the related art unless they are defined otherwise. The terms defined in a generally used dictionary should be interpreted as having the same or similar meanings as the contextual meanings of the relevant technology and should not be interpreted as having ideal or exaggerated meanings unless they are clearly defined herein. According to circumstances, even the terms defined in this disclosure should not be interpreted as excluding the embodiments of the present disclosure.
The term “module” as used herein may, for example, mean a unit including one of hardware, software, and firmware or a combination of two or more of them. The “module” may be interchangeably used with, for example, the term “unit”, “logic”, “logical block”, “component”, or “circuit”. The “module” may be a minimum unit of an integrated component element or a part thereof. The “module” may be a minimum unit for performing one or more functions or a part thereof. The “module” may be mechanically or electronically implemented. For example, the “module” according to the present invention may include at least one of an application-specific integrated circuit (ASIC) chip, a field-programmable gate arrays (FPGA), and a programmable-logic device for performing operations which has been known or are to be developed hereinafter.
An electronic device according to the present disclosure may include at least one of, for example, a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an electronic book reader (e-book reader), a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a personal digital assistant (PDA), a portable multimedia player (PMP), a MPEG-1 audio layer-3 (MP3) player, a mobile medical device, a camera, and a wearable device. The wearable device may include at least one of an accessory type (e.g., a watch, a ring, a bracelet, an anklet, a necklace, a glasses, a contact lens, or a head-mounted device (HMD)), a fabric or clothing integrated type (e.g., an electronic clothing), a body-mounted type (e.g., a skin pad, or tattoo), and a bio-implantable type (e.g., an implantable circuit).
The electronic device may be a home appliance. The home appliance may include at least one of, for example, a television, a digital video disk (DVD) player, an audio, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync™, Apple TV™, or Google TV™), a game console (e.g., Xbox™ and PlayStation™), an electronic dictionary, an electronic key, a camcorder, and an electronic photo frame.
The electronic device may include at least one of various medical devices (e.g., various portable medical measuring devices (a blood glucose monitoring device, a heart rate monitoring device, a blood pressure measuring device, a body temperature measuring device, etc.), a magnetic resonance angiography (MRA), a magnetic resonance imaging (MRI), a computed tomography (CT) machine, and an ultrasonic machine), a navigation device, a global positioning system (GPS) receiver, an event data recorder (EDR), a flight data recorder (FDR), a vehicle infotainment device, an electronic device for a ship (e.g., a navigation device for a ship, and a gyro-compass), avionics, security devices, an automotive head unit, a robot for home or industry, an automatic teller machine (ATM) in banks, point of sales (POS) devices in a shop, or an Internet of things (IoT) device (e.g., a light bulb, various sensors, electric or gas meter, a sprinkler device, a fire alarm, a thermostat, a streetlamp, a toaster, a sporting goods, a hot water tank, a heater, a boiler, etc.).
The electronic device may include at least one of a part of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, and various kinds of measuring instruments (e.g., a water meter, an electric meter, a gas meter, and a radio wave meter). The electronic device may be a combination of one or more of the aforementioned various devices. The electronic device may also be a flexible device. Further, the electronic device is not limited to the aforementioned devices, and may include an electronic device according to the development of new technology.
Hereinafter, an electronic device will be described with reference to the accompanying drawings. In the present disclosure, the term “user” may indicate a person using an electronic device or a device (e.g., an artificial intelligence electronic device) using an electronic device.
Referring toFIG. 1A, anelectronic device101 resides in anetwork100 and can include abus110, aprocessor120, amemory130, an input/output (I/O)interface150, adisplay160, and acommunication interface170. Theelectronic device101 can omit at least one of the components or further include another component.
Thebus110 can include a circuit for connecting thecomponents110 to170 and delivering communication signals (e.g., control messages or data) therebetween. Theprocessor120 can include one or more of a central processing unit, an application processor, and a communication processor (CP). Theprocessor120 can perform an operation or data processing on control and/or communication of at least another component of theelectronic device101.
Theprocessor120 may provide an exercise information measurement function. For example, theprocessor120 may detect an activity with a regular pattern (e.g., user's movement with a regular pattern) based on sensor information collected by at least one designated sensor and may determine whether the detected activity is converted/changed/transitions into (or associated with) an exercise. For example, when it is determined that the user performs a continuous activity, theprocessor120 may determine that the detected activity is converted into exercise.
Thememory130 can include a volatile and/or nonvolatile memory. Thememory130 can store commands or data relating to at least another component of theelectronic device101.
Thememory130 may store information necessary to measure exercise information, which may include at least one of a threshold for determining a meaningful activity with a pattern, a threshold for determining whether a detected activity is converted into exercise, and a threshold for determining whether an activity determined as exercise has stopped or finished.
Thememory130 can store software and/or aprogram140. Theprogram140 can include akernel141,middleware143, an application programming interface (API)145, and/or an application program (or “application”)147.
At least part of thekernel141, themiddleware143, or theAPI145 can be called an operating system (OS). Thekernel141 can control or manage system resources (e.g., thebus110, theprocessor120, or the memory130) used for performing operations or functions implemented by the other programs (e.g., the middleware134, theAPI145, or the application147). Additionally, thekernel141 can provide an interface for controlling or managing system resources by accessing an individual component of theelectronic device101 from themiddleware143, theAPI145, or theapplication147.
Themiddleware143 can serve as an intermediary role for exchanging data between theAPI145 or theapplication147 and thekernel141 through communication. Additionally, the middleware132 can process one or more job requests received from theapplication147, based on their priority. For example, themiddleware143 can assign a priority for using a system resource (e.g., thebus110, theprocessor120, or the memory130) of theelectronic device101 to at least one of theapplications147, and process the one or more job requests.
TheAPI145, as an interface through which theapplication147 controls a function provided from thekernel141 or themiddleware143, can include at least one interface or function (e.g., an instruction) for file control, window control, image processing, or character control.
The I/O interface150 may recognize a user's input, and may be a touch input unit. In addition, the I/O interface150 may be an input/output interface including an output unit. The input/output interface150 may serve as an interface for delivering a command or data which is inputted from the user or another external device to the other element(s) of theelectronic device101. In addition, the input/output interface150 may output a command or data which is received from the other element(s) of theelectronic device101 to the user or another external device.
Thedisplay160 can include a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display. Thedisplay160 can display various contents (e.g., texts, images, videos, icons, and/or symbols) to the user. Thedisplay160 can include a touch screen and receive touch, gesture, proximity, or hovering inputs by using an electronic pen or a user's body part.
Thecommunication interface170 can set a communication between theelectronic device101 and a first externalelectronic device102, a second externalelectronic device104, or aserver106. For example, thecommunication interface170 can communicate with the second externalelectronic device104 or theserver106 over thenetwork162 through wireless communication or wired communication.
The wireless communication can be one of long term evolution (LTE), LTE-advanced (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), and global system for mobile communications (GSM), as a cellular communication protocol. The wireless communication may include short-range communication164. The short-range communication164 may be conducted by at least one of wireless-fidelity (WiFi)®, bluetooth (BT)®, BT low energy (BLE), Zigbee®, near field communication (NFC), magnetic secure transmission, radio frequency (RF), and body area network (BAN). The wireless communication can include global navigation satellite system (GNSS). The GNSS can include global positioning system (GPS), global navigation satellite system (Glonass), BeiDou navigation satellite system (BeiDou), or Galileo (the European global satellite-based navigation system). Hereafter, GPS can be interchangeably used with the GNSS.
The wired communication can include at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), power line communications, and plain old telephone service (POTS). Thenetwork162 can include at least one of telecommunications networks such as computer network (e.g., LAN or WAN), Internet, and telephone network.
Each of the first and second externalelectronic devices102 and104 can be the same or different type of theelectronic device101. All or part of operations executed in theelectronic device101 can be executed by theelectronic device102 or104 or theserver106. When theelectronic device101 is to perform a function or service automatically or at the request, instead of performing the function or the service by theelectronic device101 or additionally, theelectronic device101 can request at least part of a function relating thereto from theelectronic device102 or104, or theserver106. Theelectronic device102 or104, or theserver106 can perform the requested function or an additional function and deliver its result to theelectronic device101. Theelectronic device101 can provide the requested function or service by processing the received result as is or by using cloud computing, distributed computing, or client-server computing techniques.
FIG. 1B is a block diagram illustrating theprocessor120, according to an embodiment of the present disclosure.
Theprocessor120 may include aninformation collection module121, an additionalinformation collection module123, adetermination module125, ameasurement module127, and anoutput module129.
Theinformation collection module121 may collect sensor information associated with a movement of theelectronic apparatus101 through at least one designated sensor. For example, theinformation collection module121 may collect sensor information from at least one sensor among an accelerometer, a passometer, and a pedometer. Theinformation collection module121 may be activated to collect sensor information during a mode of determining an activity state or exercise state of a user carrying theelectronic apparatus101. The activity state may refer to a state in which the user is moving in a regular pattern, and the exercise state may refer to a state in which the user is able to obtain exercise effects through a continuous activity. When theinformation collection module121 collects sensor information associated with a movement, theinformation collection module121 may provide the collected sensor information to thedetermination module125 and themeasurement module127.
The additionalinformation collection module123 may collect additional sensor information associated with an activity of the user through at least one additional sensor of theelectronic apparatus101, e.g., from at least one of a biometric sensor and a position measurement sensor. The biometric sensor may include at least one of a heart rate sensor, a blood pressure sensor, an electrocardiogram (ECG) sensor, a skin moisture sensor, and an oxygen saturation sensor. The additionalinformation collection module123 may be activated to collect additional sensor information in a mode of measuring an exercise result of the user carrying the electronic apparatus101 (e.g., exercise mode). The additionalinformation collection module123 may switch to a deactivated state in a mode of determining an activity of the user not carrying theelectronic apparatus101. When the additionalinformation collection module123 collects additional sensor information, the additionalinformation collection module123 may provide the collected additional sensor information themeasurement module127.
Thedetermination module125 may determine whether a detected activity is converted (or changed) into exercise based on at least part of the sensor information collected by theinformation collection module121. For example, thedetermination module125 may determine a pattern (e.g. step counts, a pace, and moving speed) of a movement of theelectronic apparatus101 using the sensor information and may determine an activity of the user carrying theelectronic apparatus101 based on the determined pattern. Thedetermination module125 may determine at least one activity among a walking activity, a running activity, a cycle-using activity, a sports equipment-using activity, and a vehicle-using activity.
When a movement with a pattern is determined as an activity of the user, thedetermination module125 may determine whether exercise effects are obtained by monitoring the activity of the user. For example, when the determined activity of the user is maintained for a preset time or at a preset intensity, thedetermination module125 may determine that the activity with a pattern is converted into exercise. When it is determined that the activity is converted into exercise, thedetermination module125 may also determine whether the converted exercise is stopped or finished.
Themeasurement module127 may measure exercise information based on the acquired sensor information.
When the mode of determining the activity state or exercise state is operating, themeasurement module127 may measure exercise information based on sensor information acquired by theinformation collection module121. Themeasurement module127 may measure, as exercise information, information (e.g., exercise type, exercise time, calorie consumption, moving speed, and average speed) associated with a movement continuing for a certain period of time (e.g., from activity start time to exercise end time).
When the mode of measuring the exercise result is operating, themeasurement module127 may measure exercise information based on sensor information acquired by theinformation collection module121 and the additionalinformation collection module123. Themeasurement module127 may measure, as exercise information, information (e.g., exercise type, exercise time, calorie consumption, moving speed, and average speed) associated with a movement continuing for a certain period of time (e.g., from activity start time to exercise end time), information (e.g., moving path) associated with a position, and biometric information (e.g., heart rate).
Theoutput module129 may output information associated with the mode of determining the activity state or exercise state and the mode of measuring the exercise result. When an activity of the user associated with a movement of theelectronic apparatus101 is detected by thedetermination module125, theoutput module129 may output activity start information. When a conversion of the activity of the user into exercise is detected by thedetermination module125, theoutput module129 may output an exercise start notification. When exercise information is measured by themeasurement module127, theoutput module129 may output an exercise result.
FIG. 2 is a block diagram illustrating anelectronic device201, according to an embodiment of the present disclosure. Theelectronic device201 may include all or a portion of theelectronic device101 illustrated inFIG. 1A. Theelectronic device201 may include one or more processors (e.g., AP)210, acommunication module220, a subscriber identification module (SIM)224, amemory230, asensor module240, aninput unit250, adisplay260, aninterface270, anaudio module280, acamera module291, apower management module295, abattery296, anindicator297, or amotor298.
Theprocessor210 may drive an OS or an application to control a plurality of hardware or software elements connected to theprocessor210, and perform various data processes including multimedia data and operations. Theprocessor210 may be implemented as a system on chip (SoC). Theprocessor210 may further include at least one of a graphic processing unit (GPU) or image signal processor. Theprocessor210 may be implemented to include at least a portion (e.g., the cellular module221) of the above-described elements. Also, theprocessor210 may store data received from at least one of other elements or generated by at least one of other elements in a non-volatile memory.
Thecommunication module220 may perform data transmission/reception in communication between theelectronic device201 and other electronic devices connected via a network. Thecommunication module220 may include acellular module221, a Wi-Fi module223, aBT module225, aGPS module227, anNFC module228, and anRF module229.
Thecellular module221 may provide voice communication, image communication, a short message service, or an Internet service, etc. via a communication network (e.g., LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro, or GSM, etc.). Also, thecellular module221 may perform discrimination and authentication of an electronic device within a communication network using theSIM224. Thecellular module221 may perform at least a portion of functions that may be provided by theprocessor210. Thecellular module221 may include a CP. Also, thecellular module221 may be implemented as an SoC. Though elements such as the cellular module221 (e.g., a communication processor), thememory230, or thepower management module295, etc. are illustrated as elements separated from theprocessor210 inFIG. 2, theprocessor210 may be implemented to include at least a portion (e.g., the cellular module221) of the above-described elements.
Each of the Wi-Fi module223, theBT module225, theGPS module227, or theNFC module228 may include a processor for processing data transmitted/received via a relevant module. Though thecellular module221, the Wi-Fi module223, theBT module225, theGPS module227, or theNFC module228 are illustrated as separate blocks inFIG. 2, at least a portion (e.g., two or more elements) of thecellular module221, the Wi-Fi module223, theBT module225, theGPS module227, or theNFC module228 may be included in one integrated circuit (IC) or an IC package. At least a portion (e.g., a communication processor corresponding to thecellular module221 and a Wi-Fi processor corresponding to the Wi-Fi module223) of processors corresponding to each of thecellular module221, the Wi-Fi module223, theBT module225, theGPS module227, or theNFC module228 may be implemented as one SoC.
TheRF module229 may perform transmission/reception of data, e.g., transmission/reception of an RF signal. TheRF module229 may include a transceiver, a power amp module (PAM), a frequency filter, or a low noise amplifier (LNA), etc. Also, theRF module229 may further include a part for transmitting/receiving an electromagnetic wave on a free space in wireless communication, e.g., a conductor or a conducting line, etc. ThoughFIG. 2 illustrates thecellular module221, the Wi-Fi module223, theBT module225, theGPS module227, and theNFC module228 share oneRF module229, at least one of thecellular module221, the Wi-Fi module223, theBT module225, theGPS module227, or theNFC module228 may perform transmission/reception of an RF signal via a separate RF module.
TheSIM224 may be a card including a SIM, and may be inserted into a slot formed in a specific position of the electronic device. TheSIM224 may include unique identity information (e.g., integrated circuit card identifier (ICCID)) or subscriber information (e.g., international mobile subscriber identity (IMSI)).
Thememory230 may include a built-inmemory232 or anexternal memory234. The built-inmemory232 may include at least one of a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), synchronous dynamic RAM (SDRAM)) and a non-volatile memory (e.g., one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory, etc.).
The built-inmemory232 may be a solid state drive (SSD). Theexternal memory234 may further include a flash drive, e.g., compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (Mini-SD), extreme digital (xD), or a memory stick. Theexternal memory234 may be functionally connected with theelectronic device201 via various interfaces. Theelectronic device201 may further include a storage device (or a storage medium) such as a hard drive.
Thesensor module240 may measure a physical quantity or detect an operation state of theelectronic device201, and convert the measured or detected information to an electric signal. Thesensor module240 may include at least one of agesture sensor240A, agyro sensor240B, anatmospheric pressure sensor240C, amagnetic sensor240D, anacceleration sensor240E, agrip sensor240F, aproximity sensor240G, acolor sensor240H (e.g., RGB (red, green, blue) sensor), a living body sensor240I, a temperature/humidity sensor240J, anilluminance sensor240K, or an ultra violet (UV)sensor240M. Additionally or alternatively, thesensor module240 may include an e-nose sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris sensor, or a fingerprint sensor, etc. Thesensor module240 may further include a control circuit for controlling at least one sensor belonging thereto.
Theinput unit250 may include atouch panel252, a (digital)pen sensor254, a key256, or anultrasonic input unit258. Thetouch panel252 may recognize a touch input using at least one of capacitive, resistive, infrared, or ultrasonic methods. Also, thetouch panel252 may further include a control circuit. A capacitive touch panel may perform detection by a physical contact or proximity recognition. Thetouch panel252 may further include a tactile layer. In this case, thetouch panel252 may provide a tactile reaction to a user.
The (digital)pen sensor254 may be implemented using a method which is the same as or similar to receiving a user's touch input, or using a separate sheet for detection. The key256 may include a physical button, an optical key or keypad. Theultrasonic input unit258 is a unit for recognizing data by detecting a sound wave using amicrophone288 in theelectronic device201 via an input tool generating an ultrasonic signal, and enables wireless recognition. Theelectronic device201 may receive a user input from an external device (e.g., a computer or a server) connected to thecommunication module220 using thecommunication module220.
Thedisplay260 may include apanel262, ahologram device264, or aprojector266. Thepanel262 may be an LCD, or an active-matrix organic light-emitting diode (AM-OLED), etc. Thepanel262 may be implemented such that it is flexible, transparent, or wearable. Thepanel262 may be configured as one module together with thetouch panel252. Thehologram device264 may show a three-dimensional image in the air using interferences of light. Theprojector266 may project light onto a screen to display an image. The screen may be positioned inside or outside theelectronic device201. Thedisplay260 may further include a control circuit for controlling thepanel262, thehologram device264, or theprojector266.
Theinterface270 may include anHDMI272, aUSB274, anoptical interface276, or a d-subminiature (D-sub)278. Theinterface270 may be included in thecommunication interface160 illustrated inFIG. 1A. Additionally or alternatively, theinterface270 may include a mobile high-definition link (MHL) interface, a secure digital (SD) card/multi-media card (MMC) interface, or an infrared data association (IrDA) standard interface.
Theaudio module280 may convert a sound and an electric signal in dual directions. At least a partial element of theaudio module280 may be included in the I/O interface140 illustrated inFIG. 1A. Theaudio module280 may process sound information input or output via, for example, aspeaker282, areceiver284, anearphone286, or themicrophone288, etc.
Thecamera module291 is a device that may shoot a still image and a moving picture. Thecamera module291 may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP), or a flash (e.g., an LED or xenon lamp).
Thepower management module295 may manage power of theelectronic device201. Though not shown, thepower management module295 may include a power management integrated circuit (PMIC), a charger integrated circuit (IC), and/or a battery gauge.
The PMIC may be mounted inside an integrated circuit or a SoC semiconductor. A charging method may be classified into a wired charging method and a wireless charging method. The charging IC may charge a battery and prevent introduction of an overvoltage or an overcurrent from a charger. The charging IC may include a charging IC for at least one of the wired charging method and the wireless charging method. The wireless charging method may be a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, etc., and may additionally include an additional circuit for wireless charging, e.g., a circuit such as a coil loop, a resonance circuit, or a rectifier, etc.
The battery gauge may measure a remaining power of thebattery296, a voltage, a current, or a temperature while charging. Thebattery296 may store or generate electricity, and supply power to theelectronic device201 using the stored or generated electricity. Thebattery296 may include a rechargeable battery or a solar battery.
Theindicator297 may display a specific state of theelectronic device201 or a portion thereof (e.g., the processor210), e.g., a booting state, a message state, or a charging state, etc. Themotor298 may convert an electric signal to mechanical vibration. Though not shown, theelectronic device201 may include a processor (e.g., a GPU) for supporting a mobile TV. The processor for supporting the mobile TV may process media data corresponding to standards, for example, such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or a media flow, etc.
The aforementioned elements of the electronic device may be constituted by one or more components, and the name of the corresponding element may vary with a type of electronic device. The electronic device may include at least one of the aforementioned elements. Some elements may be omitted or other additional elements may be further included in the electronic device. Further, some of the components of the electronic device may be combined to form a single entity, and thus, may equivalently execute functions of the corresponding elements prior to the combination.
FIG. 3 is a block diagram of aprogram module310, according to an embodiment of the present disclosure.
Theprogram module310 may include an OS for controlling resources related to the electronic device and/or various applications (e.g., the application147) executed in the OS. The operating system may be Android™, iOS™, Windows™, Symbian™, Tizen™, Bada™, or the like.
Theprogramming module310 may include akernel320,middleware330, anAPI360, and/orapplications370. At least some of theprogram module310 may be preloaded in the electronic device or downloaded from the server.
Thekernel320 may include a system resource manager331 or a device driver333. The system resource manager331 may control, allocate, or collect the system resources. The system resource manager331 may include a process management unit, a memory management unit, or a file system management unit. The device driver333 may include a display driver, a camera driver, a BT driver, a shared-memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication (IPC) driver.
Themiddleware330 may provide a function required by theapplications370 in common or provide various functions to theapplications370 through theAPI360 so that theapplications370 can efficiently use limited system resources within the electronic device. Themiddleware330 may include at least one of aruntime library335, anapplication manager341, awindow manager342, amultimedia manager343, aresource manager344, apower manager345, adatabase manager346, apackage manager347, aconnectivity manager348, anotification manager349, alocation manager350, agraphic manager351, and asecurity manager352.
Theruntime library335 may include a library module that a compiler uses to add new functions through a programming language while theapplication370 is executed. Theruntime library335 may perform input/output management, memory management, or a function for an arithmetic function.
Theapplication manager341 may manage a life cycle of at least one of theapplications370. Thewindow manager342 may manage GUI resources used by a screen. Themultimedia manager343 may grasp formats required for the reproduction of various media files, and may perform an encoding or decoding of the media file by using a codec suitable for the corresponding format. Theresource manager344 may manage resources such as a source code, a memory, and a storage space of at least one of theapplications370.
Thepower manager345 may operate together with a basic input/output system (BIOS) to manage a battery or power and may provide power information required for the operation of the electronic device. Thedatabase manager346 may generate, search for, or change a database to be used by at least one of theapplications370. Thepackage manager347 may manage the installation or the updating of applications distributed in the form of package file.
Theconnectivity manager348 may manage wireless connection of Wi-Fi or BT. Thenotification manager349 can display or notify of an event such as an arrival message, promise, proximity notification, and the like in such a way that does not disturb a user. Thelocation manager350 may manage location information of the electronic device. Thegraphic manager351 may manage graphic effects to be provided to a user and user interfaces related to the graphic effects. Thesecurity manager352 may provide all security functions required for system security or user authentication. When the electronic device (e.g., electronic device100) has a call function, themiddleware330 may further include a telephony manager for managing a voice call function or a video call function of the electronic device.
Themiddleware330 may include a middleware module for forming a combination of various functions of the aforementioned components. Themiddleware330 may provide modules specialized according to types of operating systems in order to provide differentiated functions. Further, themiddleware330 may dynamically remove some of the existing components or add new components.
TheAPI360 is a set of API programming functions, and a different configuration thereof may be provided according to an OS. For example, Android™ or iOS™ may provide one API set per platform, and Tizen™ may provide two or more API sets per platform.
The applications370 (may include one or more applications which can provide functions such as ahome application371, adialer application372, an SMS/MMS application373, an instant message application (IM)374, abrowser application375, acamera application376, analarm application377, acontacts application378, avoice dialer application379, anemail application380, acalendar application381, amedia player application382, analbum application383, aclock application384, a health care application (e.g., one that measures exercise quantity or blood glucose level), or environment information (e.g., atmospheric pressure, humidity, or temperature information).
Theapplications370 may include an information exchange application supporting information exchange between an electronic device and an external electronic device. The information exchange application may include a notification relay application for transferring predetermined information to an external electronic device or a device management application for managing an external electronic device.
The notification relay application may include a function of transferring, to the external electronic device, notification information generated from other applications of the electronic device100 (for example, an SMS/MMS application, an e-mail application, a health management application, or an environmental information application). Further, the notification relay application may receive notification information from a control device and provide the received notification information to the user. The device management application may manage (e.g., install, delete, or update a function for at least a part of the external electronic device communicating with the electronic device (e.g., turning on/off the external electronic device itself (or some elements thereof) or adjusting brightness (or resolution) of a display), applications executed in the external electronic device, or services provided from the external electronic device (e.g., a telephone call service or a message service).
Theapplications370 may include an application (e.g., health management application) designated according to attributes of the external electronic device (e.g., attributes of the electronic device such as the type of electronic device which corresponds to a mobile medical device). Theapplications370 may include an application received from the external electronic devices (e.g., a server or an electronic device). Theapplications370 may include a preloaded application or a third party application which can be downloaded from the server. The names of the components of theprogram module310 according to the embodiment illustrated inFIG. 3 may vary according to the type of OS.
At least some of theprogramming module310 may be implemented by software, firmware, hardware, or a combination of two or more thereof. At least some of theprogramming module310 may be implemented (e.g. executed) by the processor (e.g., an application). At least some of theprogramming module310 may include a module, program, routine, sets of instructions, or process for performing one or more functions.
At least some of the devices (for example, modules or functions thereof) or the method (for example, operations) may be implemented by a command stored in a non-transitory computer-readable storage medium in a programming module form. The instruction, when executed by a processor, may cause the one or more processors to execute the function corresponding to the instruction. The non-transitory computer-readable storage medium may be thememory130.
The non-transitory computer readable recoding medium may include a hard disk, a floppy disk, magnetic media (e.g., a magnetic tape), optical media (e.g., a compact disc read only memory (CD-ROM) and a DVD), magneto-optical media (e.g., a floptical disk), a hardware device (e.g., a read only memory (ROM), a Random Access Memory (RAM), a flash memory), and the like. In addition, the program instructions may include high class language codes, which can be executed in a computer by using an interpreter, as well as machine codes made by a compiler. The aforementioned hardware device may be configured to operate as one or more software modules in order to perform the operation of the present disclosure, and vice versa.
The programming module may include one or more of the aforementioned components or may further include other additional components, or some of the aforementioned components may be omitted. Operations executed by a module, a programming module, or other component elements according to various embodiments of the present disclosure may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. Further, some operations may be executed according to another order or may be omitted, or other operations may be added.
An electronic apparatus may include a sensor; and a processor configured to be electrically connected to the sensor. According to one exemplary embodiment, the processor may be configured to: generate information indicating an activity start when first data indicating that an activity of the electronic apparatus occurs is received from the sensor; and generate information indicating an exercise start when second data indicating that the activity is converted into exercise is received from the sensor.
The processor may be configured to measure exercise information by detecting an exercise information measurement event after generating the information indicating the exercise start.
The electronic apparatus may further include a display configured to be electrically connected to the processor, and the processor may be configured to: display a user interface displaying an activity of a user on the display; and display the information indicating the activity start on a first area of the user interface based on the first data.
The electronic apparatus may further include a display configured to be electrically connected to the processor, and the processor may be configured to: display a user interface displaying an activity of a user on the display; and display the information indicating the exercise start in a second area, which is larger than a first area, of the user interface based on the second data.
The electronic apparatus may further include an additional sensor, and the processor may be configured to receive additional data from the additional sensor to measure the exercise information.
The electronic apparatus may further include a display configured to be electrically connected to the processor, and the processor may be configured to display the measured exercise information on the display.
The processor may be configured to change a threshold for measuring the exercise information based on a characteristic of a user.
The processor may be configured to generate information indicating an exercise stoppage when third data indicating an activity stoppage is received from the sensor, after generating the information indicating the activity start.
The processor may be configured to measure exercise information based on data received from the sensor when fourth data indicating an activity end is received from the sensor, after generating the information indicating the activity start.
The processor may be configured to output guide information based on the measured exercise information and a preset target exercise amount.
The sensor may include a pedometer, and the additional sensor may include a biometric sensor
FIG. 4 is a flowchart of a method used by theelectronic apparatus101 for processing activity information, according to an embodiment of the present disclosure.FIGS. 5A, 5B, and6 are diagrams of an activity information processing operation, according to an embodiment of the present disclosure. Hereinafter, theelectronic apparatus101 may refer to theprocessor120 of theelectronic apparatus101.
Referring toFIG. 4, inoperation401, theelectronic apparatus101 may detect an activity of a user (e.g., a user carrying the electronic apparatus101) associated with a movement of theelectronic apparatus101. For example, theelectronic apparatus101 may detect a regular pattern of a movement of theelectronic apparatus101 based on sensor information continuously or periodically collected by a designated sensor (e.g., an accelerometer, a passometer, and a pedometer). The pattern may include step counts, a pace, moving speed, etc. Theelectronic apparatus101 may detect, using the detected pattern, an activity of the user corresponding to at least one of a walking activity, a running activity, a cycle-using activity, a sports equipment-using activity (e.g., elliptical and rowing machines), and a vehicle-using activity. Theelectronic apparatus101 may detect that the movement of the user is a walking activity when detecting a pattern satisfying a condition (e.g., step counts (e.g., 100 steps/min) or moving speed (e.g., 5 km/h)). Theelectronic apparatus101 may detect that the movement of the user is a running activity when detecting a pattern satisfying a condition (e.g., step counts (e.g., 150 steps/min) or moving speed (e.g., 10 km/h)).
Inoperation403, theelectronic apparatus101 may output activity start information indicating that the activity starts when detecting the activity of the user.
As illustrated inFIG. 5A, theelectronic apparatus101 may output (the output is indicated by reference number500) visual activity startinformation504 on a portion of adisplay502. The visual activity start information may include a text, an image, an icon, etc. Theelectronic apparatus101 may detect the activity with the display deactivated (e.g., with no screen output). Theelectronic apparatus101 may activate at least part of the deactivated display to output the activity start information. In addition, theelectronic apparatus101 may detect the activity with the display activated (e.g., with a preset screen displayed). Theelectronic apparatus101 may output the activity start information to overlap with at least part of the output screen. Theelectronic apparatus101 may output tactile activity start information (vibrations). Theelectronic apparatus101 may output audio activity start information (a notification sound).
Theelectronic apparatus101 may output the activity start information as information representing the detected activity. For example, when detecting a walking activity, theelectronic apparatus101 may output at least one of an icon, vibrations, and a notification sound representing the walking activity as activity start information. When detecting a running activity, theelectronic apparatus101 may output at least one of an icon, vibrations, and a notification sound representing the running activity as activity start information.
After the activity start information is output, theelectronic apparatus101 may output information indicating a current activity state. For example, as illustrated inFIG. 5B, theelectronic apparatus101 may output510 a state of maintenance (progress) of anactivity512 and time to the conversion of an activity intoexercise514. The information indicating the activity state may be output when an input on the output activity start information is detected.
Inoperation405, theelectronic apparatus101 may detect an exercise effect of the detected activity. Theelectronic apparatus101 may determine whether the detected activity is converted into exercise by monitoring the duration of the detected activity or the intensity of the detected activity. When the detected activity is maintained for a preset time (e.g.,10 minutes) or at a preset intensity, theelectronic apparatus101 may determine that the exercise effect on the user is detected.
Inoperation407, theelectronic apparatus101 may output an exercise start notification when the exercise effect is detected. Theelectronic apparatus101 may output a visual exercise start notification on the entire display while the exercise is progressing (or is maintained). Theelectronic apparatus101 may output the exercise start notification including predetermined information. For example, as illustrated inFIG. 6, theelectronic apparatus101 may output the exercise start notification including anexercise type602,exercise effect duration604, anencouragement message606 to increase an exercise effect, and amenu608 to enter an exercise mode. The exercise mode may be a mode of measuring and recording an exercise result. Theelectronic apparatus101 may output a tactile exercise start notification and an audio exercise start notification.
Inoperation409, theelectronic apparatus101 may detect an event associated with an entry to the exercise mode. For example, when a preset input is detected with the exercise start notification output, theelectronic apparatus101 may determine that the event is detected. The preset input may include an input of selecting (or touching) the menu to enter the exercise mode. When exercise maintained for a preset time (e.g., 10 minutes) is detected with the exercise start notification output, theelectronic apparatus101 may determine that the event is detected. When a preset gesture input or voice instruction input is detected with the exercise start notification output, theelectronic apparatus101 may determine that the event is detected.
Inoperation411, theelectronic apparatus101 may enter the exercise mode when the event is detected. When theelectronic apparatus101 enters the exercise mode, theelectronic apparatus101 may run an exercise application for exercise result measurement. In addition, when theelectronic apparatus101 enters the exercise mode, theelectronic apparatus101 may operate an additional sensor, which may include at least one of a biometric sensor and a position measurement sensor.
FIG. 7 is a flowchart of a method used by theelectronic apparatus101 for detecting an activity, according to an embodiment of the present disclosure.
The procedure for detecting the activity is the same asoperation401 illustrated inFIG. 4.
Referring toFIG. 7, theelectronic apparatus101 may determine a pattern of a movement of theelectronic apparatus101 using a pattern threshold. Theelectronic apparatus101 may use different pattern thresholds depending on user characteristics (e.g., age, gender, and body types).
In operation701, theelectronic apparatus101 may collect user information to determine user characteristics. Theelectronic apparatus101 may collect, as user information, at least one of profile information (e.g., name and age) on the user, activity history information (e.g., weekly activity amount and favorite activities), activity pattern information (e.g., activity period, inactivity period, and sleeping period), a biometric information measurement history (e.g., information on heart rate during activity), and a medical history. Theelectronic apparatus101 may acquire the user information from theelectronic apparatus101 or an external electronic apparatus connected via communication.
Inoperation703, when a characteristic of the user is determined, theelectronic apparatus101 may determine a pattern threshold corresponding to the determined characteristic. Theelectronic apparatus101 may determine a first pattern threshold for pattern determination when a male user is identified. The first pattern threshold may be defined based on a pace, step counts, speed, and distance as shown in Table 1 below. Theelectronic apparatus101 may determine a second pattern threshold for pattern determination when a female user is identified. The second pattern threshold may be defined based on a pace, step counts, speed, and distance as shown in Table 2 below.
| TABLE 1 |
|
| Activity type | Pace | Step counts | Speed | Distance |
|
| Walking activity | 40cm | 100 steps/min | 5 km/h | 60 m/min |
| Running activity | 50cm | 150 steps/min | 10 km/h | 100 m/min |
|
| TABLE 2 |
|
| Activity type | Pace | Step counts | Speed | Distance |
|
| Walking activity | 30 cm | 80 steps/min | 3 km/h | 40 m/min |
| Running activity | 40cm | 100 steps/min | 8 km/h | 80 m/min |
|
Inoperation705, theelectronic apparatus101 may detect an activity based on sensor information and the determined pattern threshold. Theelectronic apparatus101 may detect an activity corresponding to a movement of the user carrying theelectronic apparatus101 by comparing the determined pattern threshold with the sensor information. With the first pattern threshold (e.g., the pattern threshold for a male user) determined, when a pace of40 cm is detected, theelectronic apparatus101 may detect a walking activity. Further, with the second pattern threshold (e.g., the pattern threshold for a female user) determined, when a pace of40 cm is detected, theelectronic apparatus101 may detect a running activity.
FIG. 8 is a flowchart of a method used by theelectronic apparatus101 for detecting an exercise effect, according to an embodiment of the present disclosure.
The procedure for detecting the exercise effect may be the same asoperation405 illustrated inFIG. 4.
Referring toFIG. 8, theelectronic apparatus101 may determine whether an exercise effect occurs using an effect threshold. For example, theelectronic apparatus101 may use different effect thresholds depending on user characteristics (e.g., age, gender, and body types).
Inoperation801, theelectronic apparatus101 may collect user information to determine user characteristics. Theelectronic apparatus101 may collect, as user information, at least one of profile information on the user, activity history information, activity pattern information, a biometric information measurement history, and a medical history.
Inoperation803, when a characteristic of the user is determined, theelectronic apparatus101 may determine an effect threshold corresponding to the determined characteristic. Theelectronic apparatus101 may determine a first effect threshold for exercise effect detection when a male user is identified. The first effect threshold may be defined based on activity duration as shown in Table 3 below. Theelectronic apparatus101 may determine a second effect threshold for exercise effect detection when a female user is identified. The second effect threshold may be defined based on activity duration as shown in Table 4 below.
| TABLE 3 |
| |
| Activity type | Activityduration |
| |
| Walking activity |
| 10 min |
| Running activity | 8 min |
| |
| TABLE 4 |
| |
| Activity type | Activity duration |
| |
| Walking activity | 8 min |
| Running activity | 5 min |
| |
Inoperation805, theelectronic apparatus101 may detect an exercise effect based on sensor information and the determined effect threshold. When sensor information satisfying the determined effect threshold is collected, theelectronic apparatus101 may determine that an exercise effect is obtained by an activity of the user carrying theelectronic apparatus101.
FIG. 9 is a flowchart of a method used by theelectronic apparatus101 for outputting an exercise start notification, according to an embodiment of the present disclosure.FIGS. 10A and 10B are diagrams of an operation of outputting an exercise start notification, according to an embodiment of the present disclosure.
The procedure for outputting the exercise start notification may be the same asoperation407 illustrated inFIG. 4.
Referring toFIG. 9, inoperation901, theelectronic apparatus101 may output the exercise start notification. Theelectronic apparatus101 may report that the activity of the user carrying theelectronic apparatus101 is maintained.
Inoperation903, theelectronic apparatus101 may collect sensor information from at least one designated sensor. The designated sensor may be a sensor that collects sensor information associated with movement information on theelectronic apparatus101. Theelectronic apparatus101 may collect sensor information through at least one sensor among an accelerometer, a passometer, and a pedometer.
Inoperation905, theelectronic apparatus101 may determine whether the exercise is stopped. A stoppage of the exercise may be a state in which the activity of the user carrying theelectronic apparatus101 is temporarily inactive. For instance, a stoppage of the exercise may be a state in which the user stops walking or running for a preset time (e.g., 1 minute) after starting a walking activity or running activity.
When a stoppage of the exercise is not detected inoperation905, theelectronic apparatus101 may perform an operation associated withoperation901 oroperation903.
When the stoppage of the exercise is detected inoperation905, theelectronic apparatus101 may output an exercise stoppage state notification inoperation907. For example, theelectronic apparatus101 may output the exercise stoppage state notification using visual, tactile, and audio notifications. For instance, as illustrated inFIG. 10A, theelectronic apparatus101may output1000 an exercise stoppage statenotification including information1001 indicating an exercise stoppage state and amessage1003 to lead to an exercise start.
Inoperation909, theelectronic apparatus101 may determine whether the exercise is finished. The end of the exercise may be a state in which no additional activity is performed after stopping the activity of the user carrying the electronic apparatus101 (or outputting the exercise stoppage state notification). The end of the exercise may be a state in which a stoppage of the activity is maintained for a preset time (e.g., 5 minutes) or a state in which a user input to indicate the end of the exercise is detected with the stoppage of the activity detected.
When an end of the exercise is not detected inoperation909, theelectronic apparatus101 may perform an operation of detecting whether the exercise is finished. For example, theelectronic apparatus101 may perform an operation associated withoperation903 oroperation907.
When the end of the exercise is detected inoperation909, theelectronic apparatus101 may output an exercise result using sensor information inoperation911. For example, theelectronic apparatus101 may output an exercise result using sensor information collected from activity start time to exercise end time. For example, as illustrated inFIG. 10B, theexercise result1010 may include predetermined information (e.g.,exercise type1011,exercise time1013,calorie consumption1015, movingspeed1017, and average speed1019) that may be measured with sensor information associated with a movement.
FIG. 11 is a flowchart of a method used by theelectronic apparatus101 for outputting an exercise start notification, according to an embodiment of the present disclosure.
The procedure for outputting the exercise start notification may of the same asoperation407 illustrated inFIG. 4.
Referring toFIG. 11, inoperation1101, theelectronic apparatus101 may output the exercise start notification. Theelectronic apparatus101 may report that the activity of the user carrying theelectronic apparatus101 is maintained.
Inoperation1103, theelectronic apparatus101 may operate at least one designated additional sensor when an exercise effect is detected. The additional sensor may include a biometric sensor (e.g., a heart rate sensor) and/or a position measurement sensor (e.g., a GPS). The additional sensor may include a sensor that collects sensor information associated with movement information (e.g., an accelerometer, a passometer, and a pedometer).
Inoperation1105, theelectronic apparatus101 may collect sensor information from the at least one designated additional sensor.
Inoperation1107, theelectronic apparatus101 may determine whether the exercise is stopped. A stoppage of the exercise may be a state in which the activity of the user carrying theelectronic apparatus101 is temporarily inactive. For instance, a stoppage of the exercise may be a state in which the user stops walking or running for a preset time (e.g., 1 minute) after starting a walking activity or running activity.
When a stoppage of the exercise is not detected inoperation1107, theelectronic apparatus101 may perform an operation of determining whether the exercise has stopped. For example, theelectronic apparatus101 may perform an operation associated withoperation1105.
When the stoppage of the exercise is detected inoperation1107, theelectronic apparatus101 may output an exercise stoppage state notification inoperation1109. For example, theelectronic apparatus101 may output the exercise stoppage state notification using visual, tactile, and audio notifications.
Inoperation1111, theelectronic apparatus101 may determine whether the exercise is finished. The end of the exercise may be a state in which no additional activity is performed after stopping the activity of the user carrying theelectronic apparatus101. The end of the exercise may be a state in which a stoppage of the activity is maintained for a preset time (e.g., 5 minutes) or a state in which a user input to indicate the end of the exercise is detected with the stoppage of the activity detected.
When an end of the exercise is not detected inoperation1111, theelectronic apparatus101 may perform an operation of detecting whether the exercise is finished. Theelectronic apparatus101 may perform an operation associated withoperation1109.
When the end of the exercise is detected inoperation1111, theelectronic apparatus101 may output an exercise result using sensor information inoperation1113. Theelectronic apparatus101 may output an exercise result using sensor information collected from activity start time to exercise end time. The exercise result may include predetermined information (e.g., exercise type, exercise time, calorie consumption, moving speed, and average speed) that may be measured with sensor information associated with a movement, predetermined information (e.g., moving path) that may be measured with position measurement information, and predetermined information (e.g., heart rate) that may be measured with biometric information.
FIG. 12 is a flowchart of a method used by theelectronic apparatus101 for entering an exercise mode, according to an embodiment of the present disclosure.FIGS. 14A, 14B, 14C, and 14D are diagrams of an operation for outputting an exercise result, according to an embodiment of the present disclosure.
The procedure for entering the exercise mode may be the same asoperation411 illustrated inFIG. 4.
Referring toFIG. 12, inoperation1201, theelectronic apparatus101 may determine whether it is possible to acquire an exercise history from theelectronic apparatus101 or an external electronic apparatus. For example, the exercise history may be a record in a measurement mode implemented by the user carrying theelectronic apparatus101. For instance, as illustrated inFIG. 14A, the measurement mode may include at least one of an exercisetime measurement mode1400, an exercisedistance measurement mode1402, a biometricinformation measurement mode1404, and acalorie measurement mode1406.
When the exercise history is acquired inoperation1201, theelectronic apparatus101 may operate a second group of sensors corresponding to the exercise history inoperation1203. The second group of sensors may include some sensors installed in theelectronic apparatus101. When an exercise history of frequently using the biometric information measurement mode is obtained, theelectronic apparatus101 may operate a sensor capable of collecting biometric information.
When an exercise history is not acquired inoperation1201, theelectronic apparatus101 may operate a preset third group of sensors inoperation1205. The third group of sensors may include all sensors installed in theelectronic apparatus101.
Inoperation1207, theelectronic apparatus101 may acquire sensor information based on an operating sensor group.
Inoperation1209, theelectronic apparatus101 may output an exercise result based on the sensor information. Theelectronic apparatus101 may output an exercise result using sensor information collected by the second group or the third group of sensors from activity start time to exercise end time. For instance, as illustrated inFIG. 14B, theexercise result1410 may include predetermined information (e.g.,exercise type1411,exercise time1413,calorie consumption1415, moving speed, and average speed1417) that may be measured with sensor information associated with a movement and predetermined information (e.g., moving path1419) that may be measured with position measurement information.
Theelectronic apparatus101 may switch a currently output screen to another screen based on a preset input (e.g., right-left scrolling). For example, theelectronic apparatus101 may determine a measurement mode selected or designated by an input and may output an exercise result corresponding to the determined measurement mode. When a moving speed measurement mode is designated, theelectronic apparatus101 may output anexercise result1420 includinginformation1421 indicating the moving speed measurement mode, movingspeed1423, andheart rate information1425 according to moving speed, as illustrated inFIG. 14C.
Theelectronic apparatus101 may acquire a target exercise amount in the measurement mode selected or designated by the input. For example, the target exercise amount may be designated by the user. Theelectronic apparatus101 may determine whether a target is attained by comparing a current exercise amount with the target exercise amount. When a measured exercise amount exceeds the target exercise amount, theelectronic apparatus101 may determine that the target is attained.
When it is determined whether the target is attained, theelectronic apparatus101 may output additional information corresponding to a determination result. The additional information may include information (e.g., a badge) indicating the attainment of the target. When the target is attained, theelectronic apparatus101 may compare a target attainment record with a previous attainment record or an attainment record of another user to assign an attainment ranking to the target attainment record. The additional information may include information on an exercise amount needed to attain the target. For instance, as illustrated inFIG. 14D, when the target is not attained, theelectronic apparatus101may output1430information1431 indicating that a speed increase is necessary to attain the target.
FIG. 13 is a flowchart of a method used by theelectronic apparatus101 for outputting an exercise result, according to an embodiment of the present disclosure.
The procedure for outputting the exercise result may be the same asoperation1209 illustrated inFIG. 12.
Referring toFIG. 13, theelectronic apparatus101 may measure an exercise result using a measurement threshold. Theelectronic apparatus101 may use different measurement thresholds depending on user characteristics (e.g., age, gender, and body types).
Inoperation1301, theelectronic apparatus101 may determine whether user information to determine user characteristics is acquired. When operating in an exercise result measurement mode, theelectronic apparatus101 may collect, as user information, at least one of profile information (e.g., name and age) on the user, activity history information (e.g., weekly activity amount and favorite activities), activity pattern information (e.g., activity period, inactivity period, and sleeping period), a biometric information measurement history (e.g., information on heart rate during activity), and a medical history.
When the user information is acquired inoperation1301, theelectronic apparatus101 may determine a measurement threshold corresponding to a user characteristic inoperation1303. Theelectronic apparatus101 may determine a first measurement threshold for exercise result measurement when a male user is identified. Theelectronic apparatus101 may determine a second measurement threshold for exercise result measurement when a female user is identified.
Inoperation1305, theelectronic apparatus101 may measure an exercise result based on sensor information and the determined measurement threshold.
When user information is not acquired inoperation1301, theelectronic apparatus101 may measure an exercise result based on sensor information and a preset measurement threshold inoperation1307.
Inoperation1309, theelectronic apparatus101 may output the measured exercise result through the display.
An operating method of an electronic apparatus may include: generating information indicating an activity start when first data indicating that an activity of the electronic apparatus occurs is received from a sensor; and generating information indicating an exercise start when second data indicating that the activity is converted into exercise is received from the sensor.
The method may further include measuring exercise information by detecting an exercise information measurement event after generating the information indicating the exercise start.
The generating of the information indicating the activity start may include outputting the information in a first size.
The generating of the information indicating the exercise start may include outputting the information in a second size that is larger than the first size.
The measuring of the exercise information may include: operating an additional sensor different from the sensor; and measuring exercise information based on data received from the sensor and the additional sensor.
The generating of the information indicating the exercise start may include measuring exercise information based on at least part of data received from the sensor.
The measuring of the exercise information may include changing a threshold for measuring the exercise information based on a characteristic of a user.
An electronic apparatus and an operating method thereof may provide an exercise information measurement function that detects a movement with a pattern based on sensor information to output predetermined information, thus enabling a user to recognize the start of a specified activity. In addition, various exemplary embodiments may provide an exercise information measurement function that outputs whether a started activity has exercise effects, thereby motivating the user to exercise and helping the user to develop healthy habit.
While the present disclosure has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present disclosure. Therefore, the scope of the present disclosure should not be defined as being limited to the embodiments, but should be defined by the appended claims and equivalents thereof.