Abstract:
A method for providing a user interface of an exercise application of a mobile communication terminal having a display. The method includes accepting a first input defining a user layout of containers for exercise related measurements; accepting a second input for associating an exercise related measurement with each of the containers; and when exercising is determined to have begun, displaying the user layout of the containers on the display, each container showing an associated exercise related measurement. Further methods, mobile terminals, system, and computer program products related to exercise applications in mobile terminals are also presented.

Description:
FIELD OF THE INVENTION  
       [0001]     The aspects of the invention generally relate to mobile terminals and more particularly exercise applications of mobile terminals.  
       BACKGROUND OF THE INVENTION  
       [0002]     Mobile terminals, or mobile (cellular) telephones, for mobile telecommunications systems like GSM, UMTS, D-AMPS and CDMA2000 have been used for many years now. In the older days, mobile terminals were used almost exclusively for voice communication with other mobile terminals or stationary telephones. More recently, the use of modern terminals has been broadened to include not just voice communication, but also various other services and applications such as www/wap browsing, video telephony, electronic messaging (e.g. SMS, MMS, email, instant messaging), digital image or video recording, FM radio, music playback, exercise analysis, electronic games, calendar/organizer/time planner, word processing, etc. Furthermore, the modern terminals have local connectivity abilities, such as Bluetooth, allowing the mobile terminals to communicate with a wide array of devices.  
         [0003]     One relatively new use of mobile terminals is to use them as exercise tracking devices. The terminal is then able to measure and record time and distance during exercise. However, users sometimes lack motivation to actually follow through and perform the exercise as originally intended.  
         [0004]     It is generally desired to provide improvements to the user interface and functionality and both internal and external interoperability of mobile terminals used for exercise tracking.  
       SUMMARY OF THE INVENTION  
       [0005]     In view of the above, an objective of the invention is to solve or at least reduce the problems discussed above.  
         [0006]     Generally, the above objectives are achieved by the attached independent patent claims.  
         [0007]     A first expression of a first inventive aspect is a method for providing a user interface of an exercise application of a mobile communication terminal comprising a display, the method comprising: accepting a first input defining a user layout of containers for exercise related measurements; accepting a second input for associating an exercise related measurement with each of the containers; and when exercising is determined to have begun, displaying the user layout of the containers on the display, each container showing an associated exercise related measurement.  
         [0008]     The method may furthermore comprise: when a switch view user input is detected, displaying a second layout.  
         [0009]     The second layout may differ from the user layout.  
         [0010]     Each of the exercise related measurements may be measurements selected from a group comprising distance, time, burnt calories, speed, steps, step intensity, minutes per mile, minutes per kilometer, distance graph, speed graph, and intensity graph.  
         [0011]     The method may furthermore comprise, before accepting a first input defining a user layout: presenting layout alternatives of available user layouts on the display.  
         [0012]     A second expression of the first inventive aspect is a mobile communication terminal configured to provide a user interface of an exercise application, the mobile communication terminal comprising: means for accepting a first input defining a user layout of containers for exercise related measurements; means for accepting a second input for associating an exercise related measurement with each of the containers; and means for, when exercising is determined to have begun, displaying the user layout of the containers on the display, each container showing an associated exercise related measurement.  
         [0013]     A third expression of the first inventive aspect is a mobile communication terminal configured to provide a user interface of an exercise application, the mobile communication terminal comprising a display, a keypad and a controller, the controller being configured to accept a first input defining a user layout of containers for exercise related measurements; the controller being configured to accept a second input for associating an exercise related measurement with each of the containers; and the controller being configured to, when exercising is determined to have begun, display the user layout of the containers on the display, each container showing an associated exercise related measurement.  
         [0014]     A fourth expression of the first inventive aspect is a computer program product comprising software instructions that, when executed in a mobile communication terminal, performs the method according to the first expression of the first inventive aspect.  
         [0015]     A first expression of a second inventive aspect is a method for accepting input from an external device to a mobile communication terminal, the external device being usable to an exercise application of the mobile communication terminal, the method comprising: detecting a presence of the device; setting up a communication channel between the device and the mobile communication terminal; when data becomes available in the device, making the data available to the exercise application.  
         [0016]     The device may be a device comprising an actuator, the data comprising user input data being generated when the actuator is actuated.  
         [0017]     The device may be configured to fit on a motorcycle, the method furthermore comprising: the exercise application using the user input data to determine a time for a lap.  
         [0018]     The device may be a device comprising an movement sensitive sensor, the data comprising movement data being generated when the movement sensitive sensor detects movement.  
         [0019]     The device may be configured to fit on a bicycle, the method furthermore comprising: the exercise application using the movement data to determine a roughness of a track followed by the bicycle.  
         [0020]     The device may be configured to fit on a skateboard, the method furthermore comprising: the exercise application using the movement data to determine a skill level of a rider of the skateboard.  
         [0021]     The device may be a device comprising an global positioning system receiver, the data comprising positional data being generated using the global positioning receiver.  
         [0022]     The device may configured to fit on a bicycle, the method furthermore comprising: the exercise application using the positional data to determine a measurement selected from the group comprising speed and position.  
         [0023]     A second expression of the second inventive aspect is a mobile communication terminal configured to accept input from an external device, the external device being usable to an exercise application of the mobile communication terminal, the mobile communication terminal comprising: means for detecting a presence of the device; means for setting up a communication channel between the device and the mobile communication terminal; means for, when data becomes available in the device, making the data available to the exercise application.  
         [0024]     A third expression of the second inventive aspect is a mobile communication terminal configured to accept input from an external device, the external device being usable to an exercise application of the mobile communication terminal, the mobile communication terminal comprising a display, a keypad and a controller, the controller being configured to detect a presence of the device; the controller being configured to set up a communication channel between the device and the mobile communication terminal; the controller being configured to, when data becomes available in the device, make the data available to the exercise application.  
         [0025]     A fourth expression of the second inventive aspect is a system used during exercise, the system comprising: an external data providing device, comprising means for capturing data; and means for transmitting the data to a receiving device; the system furthermore comprising: a mobile communication terminal configured to accept input from the external data providing device, the external device being usable to an exercise application of the mobile communication terminal, the mobile communication terminal comprising: means for detecting a presence of the device; means for setting up a communication channel between the device and the mobile communication terminal; means for, when data becomes available in the device, making the data available to the exercise application.  
         [0026]     A fifth expression of the second inventive aspect is a computer program product comprising software instructions that, when executed in a mobile communication terminal, performs the method according to the first expression of the second inventive aspect.  
         [0027]     A first expression of a third inventive aspect is a method for adding a planned exercise entry in an exercise schedule in a mobile communication terminal, the method comprising: receiving user input for a planned start time for the planned exercise entry; receiving user input for a planned exercise type of the planned exercise entry; determining a music playlist to be associated with the planned exercise entry; and when an exercise associated with the planned exercise entry is determined to have started, playing the playlist.  
         [0028]     The determining a music playlist may involve determining a playlist based on the exercise type.  
         [0029]     The determining a music playlist may involve: determining at least one exercise period being at least a subset of a planned exercise associated with the planned exercise entry, each of the at least one exercise periods having an associated exercise period intensity; for each of the at least one exercise periods, determining a range of beats per minute matching the intensity; for each of the at least one exercise periods, presenting at least one song, the song being available to the mobile communication terminal, the song having a beats per minute measurement matching the range of beats per minute; and for each of the at least one exercise periods, receiving user input to select one of the at least one song, to be comprised in the playlist.  
         [0030]     The determining a music playlist may involve: determining at least one exercise period being at least a subset of a planned exercise associated with the planned exercise entry, each of the at least one exercise periods having an associated exercise period intensity; for each of the at least one exercise periods, determining a range of beats per minute matching the intensity; for each of the at least one exercise periods, determining one song being available to the mobile communication terminal, the song having a beats per minute measurement matching the range of beats per minute, the song to be comprised in the playlist.  
         [0031]     A second expression of the third inventive aspect is a mobile communication terminal capable of adding a planned exercise entry in an exercise schedule in the mobile communication terminal comprising: means for receiving user input for a planned start time for the planned exercise entry; means for receiving user input for a planned exercise type of the planned exercise entry; means for determining a music playlist to be associated with the planned exercise entry; and means for, when an exercise associated with the planned exercise entry is determined to have started, playing the playlist.  
         [0032]     A third expression of the third inventive aspect is a mobile communication terminal capable of adding a planned exercise entry in an exercise schedule in the mobile communication terminal comprising a display, a keypad and a controller, the controller being configured to receive user input for a planned start time for the planned exercise entry; the controller being configured to receive user input for a planned exercise type of the planned exercise entry; the controller being configured to determine a music playlist to be associated with the planned exercise entry; and the controller being configured to, when an exercise associated with the planned exercise entry is determined to have started, play the playlist.  
         [0033]     A fourth expression of the third inventive aspect is a computer program product comprising software instructions that, when executed in a mobile communication terminal, performs the method according to the first expression of the third inventive aspect.  
         [0034]     Other objectives, features and advantages of the present invention will appear from the following detailed disclosure, from the attached dependent claims as well as from the drawings.  
         [0035]     Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to “a/an/the [element, device, component, means, step, etc]” are to be interpreted openly as referring to at least one instance of the element, device, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0036]     Embodiments of the present invention will now be described in more detail, reference being made to the enclosed drawings, in which:  
         [0037]      FIG. 1  is a schematic illustration of a cellular telecommunication system, as an example of an environment in which the present invention may be applied.  
         [0038]      FIG. 2   a  is a schematic front view illustrating a mobile terminal according to an embodiment of the present invention.  
         [0039]      FIG. 2   b  is a schematic side view illustrating the mobile terminal in  FIG. 2   a.    
         [0040]      FIG. 3  is a schematic block diagram representing an internal component, software and protocol structure of the mobile terminal shown in  FIGS. 2   a  and  2   b.    
         [0041]      FIG. 4  is a schematic diagram showing how operational modes can be switched in an embodiment of the present invention.  
         [0042]      FIGS. 5   a - d  are schematic diagrams showing how the user can affect the layout of an exercise application in the mobile terminal of  FIG. 2   a.    
         [0043]      FIG. 6  is a schematic diagram illustrating communication between the mobile terminal of  FIG. 2   a  with external devices.  
         [0044]      FIG. 7  is a schematic diagram illustrating the relationship between beats per minute and exercise intensity in the mobile terminal of  FIG. 2   a.    
         [0045]      FIG. 8  is a schematic diagram illustrating a table containing data related to songs available to the mobile terminal of  FIG. 2   a.   
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0046]     The aspects of the invention will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.  
         [0047]      FIG. 1  illustrates an example of a cellular telecommunications system in which the invention may be applied. In the telecommunication system of  FIG. 1 , various telecommunications services such as cellular voice calls, www/wap browsing, cellular video calls, data calls, facsimile transmissions, music transmissions, still image transmissions, video transmissions, electronic message transmissions and electronic commerce may be performed between a mobile terminal  100  according to the present invention and other devices, such as another mobile terminal  106  or a stationary telephone  132 . It is to be noted that for different embodiments of the mobile terminal  100  and in different situations, different ones of the telecommunications services referred to above may or may not be available; the invention is not limited to any particular set of services in this respect.  
         [0048]     The mobile terminals  100 ,  106  are connected to a mobile telecommunications network  110  through RF links  102 ,  108  via base stations  104 ,  109 . The mobile telecommunications network  110  may be in compliance with any commercially available mobile telecommunications standard, such as GSM, UMTS, D-AMPS, CDMA2000, FOMA and TD-SCDMA.  
         [0049]     The mobile telecommunications network  110  is operatively connected to a wide area network  120 , which may be Internet or a part thereof. An Internet server  122  has a data storage  124  and is connected to the wide area network  120 , as is an Internet client computer  126 . The server  122  may host a www/wap server capable of serving www/wap content to the mobile terminal  100 .  
         [0050]     A public switched telephone network (PSTN)  130  is connected to the mobile telecommunications network  110  in a familiar manner. Various telephone terminals, including the stationary telephone  132 , are connected to the PSTN  130 .  
         [0051]     The mobile terminal  100  is also capable of communicating locally via a local link  101  to one or more local devices  103 . The local link can be any type of link with a limited range, such as Bluetooth, a Universal Serial Bus (USB) link, a Wireless Universal Serial Bus (WUSB) link, an IEEE 802.11 wireless local area network link, an RS-232 serial link, etc. The local devices  103  can for example be various sensors that can communicate measurement values to the mobile terminal  100  over the local link  101 .  
         [0052]     An embodiment  200  of the mobile terminal  100  is illustrated in more detail in  FIG. 2   a . The mobile terminal  200  comprises a speaker or earphone  202 , a microphone  205 , a display  203  and a set of keys  204  which may include a keypad  204   a  of common ITU-T type (alphanumerical keypad representing characters “0”-“9”, “*” and “#”) and certain other keys such as soft keys  204   b ,  204   c  and a joystick  211  or other type of navigational input device.  
         [0053]     A mode switch button  212  is also provided, as can be seen more clearly in  FIG. 2   b . The button is used to switch an operating mode of the mobile terminal. In this embodiment, the button is by default positioned in an upper position. When the user wants to switch modes, the button is moved to a lower position and released, after which the button returns to the default upper position by mechanical means, such as a spring or similar. As the man skilled in the art will realize, the functionality of the mode switch button could easily be replaced with a push button or any other suitable type of input device.  
         [0054]     The internal component, software and protocol structure of the mobile terminal  200  will now be described with reference to  FIG. 3 . The mobile terminal has a controller  300  which is responsible for the overall operation of the mobile terminal and is preferably implemented by any commercially available CPU (“Central Processing Unit”), DSP (“Digital Signal Processor”) or any other electronic programmable logic device. The controller  300  has associated electronic memory  302  such as RAM memory, ROM memory, EEPROM memory, flash memory, or any combination thereof. The memory  302  is used for various purposes by the controller  300 , one of them being for storing data and program instructions for various software in the mobile terminal. The software includes a real-time operating system  320 , drivers for a man-machine interface (MMI)  334 , an application handler  332  as well as various applications. The applications can include a personal exercise application  350 , a media player application  360 , as well as various other applications  370 , such as applications for voice calling, video calling, sending and receiving SMS, MMS or email, web browsing, an instant messaging application, a phone book application, a calendar application, a control panel application, a camera application, one or more video games, a notepad application, etc.  
         [0055]     The MMI  334  also includes one or more hardware controllers, which together with the MMI drivers cooperate with the display  336 / 203 , keypad  338 / 204  as well as various other I/O devices such as microphone, speaker, vibrator, ringtone generator, LED indicator, etc. As is commonly known, the user may operate the mobile terminal through the man-machine interface thus formed.  
         [0056]     The software also includes various modules, protocol stacks, drivers, etc., which are commonly designated as  330  and which provide communication services (such as transport, network and connectivity) for an RF interface  306 , and optionally a Bluetooth interface  308  and/or an IrDA interface  310  for local connectivity. The RF interface  306  comprises an internal or external antenna as well as appropriate radio circuitry for establishing and maintaining a wireless link to a base station (e.g. the link  102  and base station  104  in  FIG. 1 ). As is well known to a man skilled in the art, the radio circuitry comprises a series of analogue and digital electronic components, together forming a radio receiver and transmitter. These components include, i.a., band pass filters, amplifiers, mixers, local oscillators, low pass filters, AD/DA converters, etc.  
         [0057]     The mobile terminal also has a SIM card  304  and an associated reader. As is commonly known, the SIM card  304  comprises a processor as well as local work and data memory.  
         [0058]      FIG. 4  shows how operational modes can be switched in an embodiment of the present invention. The mobile terminal  400 , such as mobile terminal  200  of  FIG. 2   a , comprises a display  403 , such as display  203  of  FIG. 2   a , a joystick  411 , such as joystick  211  of  FIG. 2   a , and a mode switch button  412  such as mode switch button  212  of  FIG. 2   a  to allow the user to switch operational modes.  
         [0059]     Operational modes are modes where the mobile terminal  400  behaves in a specific way. For example,  FIG. 4  shows 3 operational modes: a phone mode  440 , an exercise mode  441  and a media player mode  442 .  
         [0060]     When the mobile terminal  400  is in the phone mode  440 , the mobile terminal behaves as a user would expect a regular mobile terminal to behave. In other words, a menu system and/or shortcuts allow the user to instruct the mobile terminal to perform a desired function, such as voice telephony, www/wap browsing, video telephony, electronic messaging (e.g. SMS, MMS, email, instant messaging), digital image or video recording, electronic games, calendar/organizer/time planner, word processing, etc.  
         [0061]     When the mobile terminal  400  is in the exercise mode  441 , the main purpose of the mobile terminal is to provide the user with applications related to the physical exercise of the user. The mobile terminal can in this mode support exercising such as running, cycling, etc.  
         [0062]     In one embodiment, an accelerometer is integrated in the mobile terminal  400 . In another embodiment, an external accelerometer is connected to the mobile terminal  400 , e.g. over a local link, such as the local link  101  in  FIG. 1 . The accelerometer can detect acceleration and thereby steps that the user takes while the mobile terminal is carried by the user. When an accelerometer is integrated or connected to the mobile terminal  400 , the mobile terminal automatically measures movement during the day. If the user previously has entered personal information, such as weight, height, etc., the mobile terminal  400  can convert the data from the accelerometer to other measurements, such as covered distance and burnt calories. Optionally, a GPS (Global Positioning System) receiver can be either integrated in, or connected to, the mobile terminal  400  to allow accurate distance measurement. Also, an external heart beat monitor can be connected to the mobile terminal  400  to detect heart beats and calculate heart rate.  
         [0063]     When the mobile terminal  400  is in the media player mode  442 , the main purpose of the mobile terminal is to play media to the user. For example, the media player can play music or sound files, such as MP3 (mpeg-1 audio layer 3) files, AAC (advanced audio coding) files or ogg files. Optionally, the media player can also be used to listen to FM (frequency modulated) radio, or to play video files according to standards such as MPEG-2, MPEG-4 or H.323.  
         [0064]     As the user switches operational modes with mode switch button  412 , the modes are switched serially. In the illustrated embodiment, there is a list of operational modes consisting of the phone mode  440 , the exercise mode  441 , and the media player mode  442 , in that order. Consequently, if the mobile terminal  400  is in the phone mode  440  and the user actuates the mode switch button  412 , the phone switches to the exercise mode  441 . Similarly, if the mobile terminal  400  is in the exercise mode  441  and the user actuates the mode switch button  412 , the phone switches to the media player mode  442 . Finally, if the mobile terminal  400  is in the media player mode  443  and the user actuates the mode switch button  412 , the phone loops back and switches to the phone mode  440 .  
         [0065]     To allow the user to easily determine what mode is currently used, elements of the user interface are specific for each mode. There are a multitude of distinguishing user interface elements that can vary to allow the user to see what mode is currently active, e.g., a centrally located light by the joystick  411  can change color, the background on the display  403  can have different colors or appearances, or the entire theme of the user interface with colors and fonts can change. In one embodiment, one of a set of icons at the top of the display  403  is highlighted to indicate which mode is active.  
         [0066]     Mode changes can also change sound effects. For example in phone mode  440 , the sounds may be discrete or even absent for actions such as button press, enter menu, exit menu, while in exercise mode  441 , distinct and loud sounds are played for these actions to give clear feedback to the user while exercising. The media player mode  441  may have a totally different, more cool or ambient sound scheme on the actions mentioned in order to give feedback to the user on actions performed, while still not excessively disturbing the experience of listening to music. Optionally, the sound scheme can furthermore vary depending on whether headphones are connected to the mobile terminal  400  or not. The changes of sounds does not need to be totally different sounds; the changes could be effects applied to sounds. For example, a sound for a button press in phone mode could be reused in the media player mode, with a strong reverberation effect on it to give a more ambient effect while still providing familiarity to the user.  
         [0067]     Additionally, a temporary user indication can be given when the actual mode change occurs. For example, the vibrator may vibrate on a mode change, where the vibration is either always identical for all modes or every mode has a particular vibration associated with it. Additionally, a dialog can show the name of the new operational mode in the display  403 , or a sound effect or speech synthesizer pronouncing the new mode can be played to the user.  
         [0068]     It is to be noted that although the modes can be switched certain appropriate processing of an inactive mode can still be performed. For example, the exercise application can count the steps of the user in the background, regardless of what mode the mobile terminal is in. Similarly, the media player can let the user hear an FM radio station while the mobile terminal is in exercise mode, or the phone application can temporarily interrupt current processing if there an incoming phone call is detected.  
         [0069]      FIGS. 5   a - d  are schematic diagrams showing how the user can affect the layout of an exercise application in the mobile terminal of  FIG. 2   a . The mobile terminal has previously been set to be in exercise mode.  
         [0070]     When a user indicates, for example through an options menu, that the user desires to change the default layout of the exercise screen, a view such as a view  520  of  FIG. 5   a  is displayed on the display. Here the user has the ability to select a layout corresponding to his/her preference. In the view  520 , in this example, there are four menu items available, each corresponding to a layout. The menu item  550  corresponds to a layout with the name “Rival layout”, having the default measurements of rival time, distance, kcal and time. The menu item  551  corresponds to a layout with the name “Running layout”, having the default measurements of time, kcal and distance. The menu item  552  corresponds to a layout with the name “Walking layout”, having the default measurements of time and distance. Finally in this example, the menu item  553  corresponds to a layout with the name “Simple layout”, having the default measurement of time. Alternatively, the layout is automatically chosen depending on what training program the user has chosen, e.g. race rival, running, walking, etc.  
         [0071]     Once the layout is selected, the user can edit the exercise related measurements that are to be displayed. For example, if the user selects the running layout of  FIG. 5   a , and indicates that the exercise measurements are to be modified, a view such as view  521  of  FIG. 5   b  is shown. Here there are three menu items, one menu item  556  for the top container, one menu item  557  for the bottom left container and one menu item  558  for the bottom right container. The number of menu items correspond to the number of containers, or fields, for the layout in question. A container is simply a space of the layout that can be used to show a measurement. Each container has a default measurement already assigned to it, but the user has the ability to change what measurement should be displayed in each container. Examples of measurements that the user can select are: distance, time, burnt calories, speed, steps, step intensity, minutes per mile, minutes per kilometer, distance graph, speed graph, and intensity graph.  
         [0072]     Once the user starts to exercise, a view like view  522  of  FIG. 5   c  is shown. Corresponding to the view  521  of  FIG. 5   b , the top container  560  shows time, the bottom left container  561  shows a number of burnt kcal, and the bottom right shows a distance from the start of the exercise.  
         [0073]     While the view  521  of  FIG. 5   c  has been configured to be the default view, the user can also switch to other views as needed during exercise. For example, the user could tap on the screen, which is detected by a motion sensor in the mobile terminal, effecting a switch of the view on the mobile phone. Alternatively, the user can press a button or speak a voice command to switch views. For example, a second view can be the view  523  which is shown in  FIG. 5   d . Here the user can see both text and graphics representing the distance. The graphics shows how far has been covered of the current track. Additional views could be shown on the display by the user by effecting the same user input again. Preferably, there is a circular list of layouts.  
         [0074]     The mobile terminal can be configured to have two or more user definable layouts or additional layouts after the default layout could be determined by the mobile terminal. For example, the additional layouts could depend on what training program is used, or what time of the day or week it is.  
         [0075]      FIG. 6  is a schematic diagram illustrating communication between the mobile terminal of  FIG. 2   a  and external devices  670 - 673 . The communication takes place over a local link  601 , such as local link  101  of  FIG. 1 .  
         [0076]     In order to provide communication between the mobile terminal and an external device, a connection process proceeds as follows. First the mobile terminal detects a presence of an external device. This may occur through the mobile terminal polling for devices or the device itself may initiate communication. Subsequently, a communication channel is set up between the external device and the mobile terminal. Once the communication channel is set up, bi-directional communication is available.  
         [0077]     The external devices may for example be a remote input device  670 , a motion sensor device  671 , a GPS receiver  672  on any other suitable external devices  673 .  
         [0078]     The remote input device is a device with for example one or more buttons on it. The device can be mounted in a place which is convenient for the user, whereby the input on the remote device can be used for a suitable action by the exercise application in the mobile terminal. For example, the remote input device could be mounted on a steering wheel of a motorcycle, close to a finger a thumb, allowing the user to press a button whenever the user passes a specific point of a track, such as a finish line. By using a collection of the times of such presses to the button on the remote input device, the exercise application can calculate lap times, which the user can analyze after he or she has finished riding the motorcycle. Alternatively or additionally, the exercise application can read out lap times when they become available using a voice synthesizer to a headset that the user can wear.  
         [0079]     If a motion sensor, such as an accelerometer, is not provided in the mobile terminal itself, an external motion sensor  671  can be connected to the mobile terminal. The motion sensor  671  is then used for all uses described above where a motion sensor is suitable. Alternatively or additionally, the motion sensor can be mounted on a bicycle such as a mountain bike. The motion data collected by the exercise application can then be used to determine a roughness of a track that the bike follows. The roughness can be measured over time and the user can be presented with a graph giving an attractive overview of the roughness of a track. The vertical axis of such a graph typically indicates roughness and the horizontal axis is typically time or distance.  
         [0080]     Another use of an external motion sensor is for skateboarding. If the motion sensor is mounted on a skateboard, the motion data can be used by the exercise application to determine the skill level of the user. Typically, if the user is a beginner, the motions are erratic and wobbly. For intermediate users, the motions are smoother, while for advanced users, the motions are more active, but in a controlled manner, indicating that the user is performing various tricks.  
         [0081]     If a GPS receiver  672  is connected to the mobile terminal, data about position can be fed to the exercise application, and also for other applications of the mobile terminal. The GPS can also provide accurate speed and time measurements. This is particularly useful for exercises like bicycle riding or even rowing, assuming that the mobile terminal and the GPS receiver are water resistant. The exercise application can then receive data about speed and distance which is difficult in other ways for these sports, such as using a motion sensor. Also when running, although a motion sensor can give a decent indication of speed and distance, the GPS receiver gives a much more accurate measurement.  
         [0082]     Any other external device  673  that are considered suitable can also be connected over the local link  601 .  
         [0083]      FIG. 7  is a schematic diagram illustrating the relationship between beats per minute and exercise intensity in the mobile terminal of  FIG. 2   a.    
         [0084]     In the exercise application, it is provided access to a calendar allowing the user to plan his/her exercise schedule. This helps the user to reach a more general goal, such as to lose 10 pounds, or to exercise 3 hours a week. The user can consequently add exercise entries to the calendar and inputs essential parameters such as planned start time. The user can also indicate what exercise type should be associated with the entry. The exercise type affects the exercise intensity over time, and could for example be an interval training exercise, full intensity, nice and easy, or regular program. In  FIG. 7 , an example is shown illustrating a regular program. On the vertical axis, intensity  778  is indicated and on the horizontal axis, time  779  is indicated.  
         [0085]     In a first time period  780 , or exercise period, intensity is relatively low. Therefore, an associated beats per minute (bpm) for this period is also relatively low, in this case 100-120 bpm. As is described below, an associated song would have a bpm measurement of 100-120 bpm. This is the warm-up period of the exercise.  
         [0086]     In a second time period  781 , intensity is higher than in the first period  780 . Therefore, an associated beats per minute (bpm) for this period is also higher, in this case 120-130 bpm. As is described below, an associated song would have a bpm measurement of 120-130 bpm. This is a ramp-up period of the exercise, where intensity is increasing.  
         [0087]     In a third, longer, time period  782 , intensity is even higher than in the second period  781 . Therefore, an associated beats per minute (bpm) for this period is also even higher, in this case 130-150 bpm. As is described below, an associated song would have a bpm measurement of 130-150 bpm. This is the bulk time of the exercise in this example, where the user is performing, e.g. running, at a relatively high speed.  
         [0088]     In a fourth time period  783 , intensity is again at a relatively low level, like the first period  780 . Therefore, an associated beats per minute (bpm) for this period is also relatively low, in this case 100-120 bpm. As is described below, an associated song would have a bpm measurement of 100-120 bpm. This is a cool-down period of the exercise, where intensity is decreasing before the exercise ends.  
         [0089]     Other exercise types would have other arrangements of time periods with their respective intensities. Although these other exercise types are not illustrated here, any type of exercise type can be associated with beats per minute and any type of exercise type is thus within the scope of the current invention.  
         [0090]      FIG. 8  is a schematic diagram illustrating a table containing data related to songs available to the mobile terminal of  FIG. 2   a.    
         [0091]     The table has headings ID  885 , giving each table entry in the table an identity, song name 886, bpm  887 , as well as other headings  888 , such as artist, album, genre, composer, year of recording, track number, star rating, etc.  
         [0092]     This exemplary table contains five table entries  889 - 893 . These table entries can be considered in conjunction with the exercise type of  FIG. 7  and the bpm range for each time period. The first time period  780  and the fourth time period  783  have a bpm range that fits with table entries  890 ,  891  and  893 . The second time period  781  has a bpm range that fits with table entry  892  and the third time period  782  has a bpm range that fits with table entry  889 .  
         [0093]     With the relationship between the exercise type for the calendar entry selected, a playlist containing songs matching the exercise type can thus be created. When there are several songs to choose from for a specific time period, the user can select a song manually, or the mobile terminal can select what song or songs are to be played. The mobile terminal can select songs using any appropriate selection criteria, such as songs that are played the most are selected first, songs are selected randomly, etc. If the song or songs that are determined to correspond to a time period have a combined duration that is longer than the duration for the time period, the song or songs are truncated in the playlist in order to match the set time period. Alternatively, the time period is adjusted to fit in duration with the song or songs for that time period.  
         [0094]     A playlist matching an exercise type for a calendar entry in the exercise calendar is thus created.  
         [0095]     The invention has mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims.