Electronic device, control method for electronic device, and program

JP2026095786APending Publication Date: 2026-06-12CASIO COMPUTER CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
CASIO COMPUTER CO LTD
Filing Date
2024-12-02
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

The operable operation means suitable for an operation button or touch sensor often differs according to the screen displayed on the electronic device, leading to potential inconvenience and impaired user experience due to unsuitable operation being forced.

Method used

An electronic device that includes a control unit to switch between button operation mode and touch operation mode based on pre-associated setting information with the displayed screen, enabling operation mode adaptation to suit the screen type.

🎯Benefits of technology

Improves user convenience by ensuring the appropriate operation mode is used for each screen, reducing errors and enhancing usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026095786000001_ABST
    Figure 2026095786000001_ABST
Patent Text Reader

Abstract

To improve the convenience of operation when the screen is displayed. [Solution] The electronic device comprises a display unit, an operation button for detecting a press operation, a touch sensor for detecting a touch operation, and a control unit. When the control unit displays a screen on the display unit, it acquires setting information related to an operation mode pre-associated with the screen. If the acquired setting information corresponds to a first mode in which the device accepts operation via the operation button but not via the touch sensor, the control unit operates the electronic device in the first mode. On the other hand, if the acquired setting information corresponds to a second mode in which the device accepts operation via the touch sensor, the control unit operates the electronic device in the second mode.
Need to check novelty before this filing date? Find Prior Art

Description

【Technical Field】 【0001】 The present invention relates to an electronic device, a control method for an electronic device, and a program. 【Background Art】 【0002】 Conventionally, in an electronic device including an operation button for detecting a pressing operation and a touch sensor for detecting a touch operation, there is known a technique for switching whether to accept an operation on the operation button or an operation on the touch sensor according to the surrounding environment (for example, Patent Document 1). 【Prior Art Documents】 【Patent Documents】 【0003】 【Patent Document 1】 Japanese Patent Application Laid-Open No. 2017-146981 【Summary of the Invention】 【Problems to be Solved by the Invention】 【0004】 However, the operation means suitable for an operation among the operation button and the touch sensor often differs according to the screen displayed on the display unit of the electronic device. Therefore, if the operable operation means is uniformly switched according to the environment, depending on the displayed screen, the use of an operation means not suitable for the operation may be forced, and conversely, the convenience of the user related to the operation may be impaired. 【0005】 An object of the present invention is to improve the convenience related to an operation at the time of screen display. 【Means for Solving the Problems】 【0006】 To solve the above problems, an electronic device according to the present invention is an electronic device including a display unit, an operation button for detecting a pressing operation, a touch sensor for detecting a touch operation, and a control unit, wherein the control unit When displaying a screen on the aforementioned display unit, The setting information related to the operating mode that is pre-associated with the aforementioned screen is obtained, If the acquired setting information corresponds to a first setting information that accepts operation by the operation buttons but does not accept operation by the touch sensor, the electronic device is operated in the first mode, If the acquired setting information corresponds to a second setting information that accepts operation by the touch sensor, the electronic device is operated in the second mode. [Effects of the Invention] 【0007】 According to the present invention, the convenience of operation during screen display can be improved. [Brief explanation of the drawing] 【0008】 [Figure 1] This is a front view of an electronic clock. [Figure 2] This is a side view of an electronic clock. [Figure 3] This is a block diagram showing the functional configuration of an electronic clock. [Figure 4] This diagram shows a slide operation on a touch sensor. [Figure 5] This diagram shows the contents of the screen settings data. [Figure 6] This is a diagram showing the settings menu screen. [Figure 7] This is a diagram showing the world time selection screen. [Figure 8] This is a diagram showing the world time confirmation screen. [Figure 9] This figure shows another example of the world time confirmation screen. [Figure 10] This flowchart shows the procedure for operating the mode control process. [Modes for carrying out the invention] 【0009】 Embodiments of the present invention will be described below with reference to the drawings. As shown in Figure 1, the electronic clock 1 (electronic device) comprises a housing 101 in which a display unit 15 and the like are housed, and two bands 102 attached to the housing 101. The electronic clock 1 is a wristwatch that is worn on the user's wrist by wrapping the bands 102 around the wrist. Hereinafter, the direction parallel to the display surface of the display unit 15 and to the right as viewed from a user facing the display unit 15 is defined as the +X direction, the direction parallel to the display surface of the display unit 15 and upward as viewed from a user facing the display unit 15 and perpendicular to the X direction is defined as the +Y direction, and the direction normal to the display surface of the display unit 15 is defined as the +Z direction. The housing 101 is a rectangle with rounded corners when viewed from the +Z direction. A touch sensor 181 for detecting touch operations by an operating means such as the user's finger is provided on the side of the housing 101 on the +X direction side. In this embodiment, the operating means is assumed to be the user's finger. As shown in Figure 2, the touch sensor 181 has an operating surface 181a that extends in the Y direction when viewed from the +X direction. Three operation buttons 171a to 171c for detecting press operations are provided on the side of the housing 101 on the -X direction side. Hereafter, any one of the operation buttons 171a to 171c will be referred to as "operation button 171". Note that the number of operation buttons 171 is not limited to three, and may be two or fewer, or four or more. Also, the operation buttons 171 may be provided on the side of the housing 101 on the +X direction side, excluding the area where the touch sensor 181 is located. Furthermore, the shape of the housing 101 is not limited to a roughly rectangular shape. For example, the housing 101 may be roughly circular when viewed from the +Z direction, and the operating surface 181a of the touch sensor 181 may be curved according to the shape of the housing 101. 【0010】 As shown in Figure 3, the electronic clock 1 comprises a CPU 11 (Central Processing Unit) (control unit, control means), RAM 12 (Random Access Memory), storage unit 13, timing unit 14, display unit 15, notification unit 16, button operation unit 17, touch operation unit 18, and power supply unit 19. Each part of the electronic clock 1 is connected via a data transmission path such as a bus. 【0011】 The CPU 11 is a processor that controls the operation of the electronic clock 1 by reading and executing the program 131 stored in the memory unit 13 and performing various arithmetic operations. The electronic clock 1 may have multiple processors (for example, multiple CPUs), and the multiple processes that the CPU 11 in this embodiment performs may be performed by these multiple processors. In this case, the control unit is composed of multiple processors. In this case, the multiple processors may be involved in common processing, or the multiple processors may independently execute different processes in parallel. The RAM 12 provides the CPU 11 with a working memory space and stores temporary data. The memory unit 13 is a non-temporary recording medium readable by the CPU 11 as a computer, and stores the program 131 and various data. The memory unit 13 has non-volatile memory such as flash memory. The program 131 is stored in the memory unit 13 in the form of program code that can be read by the computer. Examples of data stored in the memory unit 13 include screen setting data 132. The contents of the screen setting data 132 will be described later. The timing unit 14 includes an oscillator circuit, a frequency divider circuit, and a timing circuit, etc. The timing unit 14 counts and holds the current date and time by having the frequency divider circuit divide the clock signal generated by the oscillator circuit, and then having the timing circuit count the divided signal. 【0012】 The display unit 15 comprises a display panel, such as a liquid crystal panel, capable of displaying information using a dot matrix method, and a drive circuit for the display panel. The display unit 15 displays various screens, including the home screen 151 shown in Figure 1, according to image data and control signals transmitted from the CPU 11. The home screen 151 displays information such as the current time, date, and day of the week, which are counted and held by the timing unit 14. The notification unit 16 is equipped with a piezoelectric speaker and outputs a predetermined notification sound at a timing and notification pattern according to the control signals transmitted from the CPU 11. The notification method by the notification unit 16 is not limited to outputting a notification sound from the piezoelectric speaker. For example, the notification unit 16 may be equipped with a vibrating unit, and notification may be performed by the vibration of the vibrating unit. Also, the notification unit 16 may be equipped with a light-emitting unit, and notification may be performed by the light emitted from the light-emitting unit. 【0013】 The button operation unit 17 has a plurality of operation buttons 171a to 171c. The button operation unit 17 outputs an operation signal to the CPU 11 that includes information identifying the operation button 171 that has been pressed. The button operation unit 17 may also have other operating means such as a crown in addition to the operation buttons 171. 【0014】 The touch operation unit 18 includes a touch sensor 181 and a sensor control unit 182 that performs processing related to detecting a finger using the touch sensor 181. The touch operation unit 18 detects the presence or absence of a finger's contact (touch) with the operation surface 181a and the contact position (touch position), and outputs an operation signal including information on these detection results to the CPU 11. The touch sensor 181 is a capacitance-type sensor. The touch sensor 181 includes a protective layer that constitutes the operation surface 181a and electrodes for detecting capacitance disposed inside the housing 101 along the protective layer. The touch sensor 181 is a self-capacitance-type sensor that detects a finger's contact with the operation surface 181a based on a change in capacitance corresponding to the user's finger contacting the operation surface 181a. Specifically, the touch sensor 181 has a plurality of electrodes (not shown) arranged in the Y direction. The sensor control unit 182 detects the capacitance between each of the plurality of electrodes and the finger, and when the capacitance generated between any one of the electrodes and the finger increases above a predetermined threshold value in response to the approach or contact of the finger, it detects the finger's contact with the operation surface 181a. In addition, the sensor control unit 182 identifies the finger's contact position based on the position of the electrode whose capacitance has become equal to or greater than the threshold value among the plurality of electrodes. The sensor control unit 182 transmits an operation signal including information on the detection results of the presence or absence of contact and the contact position to the CPU 11. According to the touch operation unit 18 having such a configuration, it is possible to detect a tap operation of touching and then releasing a finger on the operation surface 181a, a long-press operation of continuously touching the operation surface 181a with a finger, and a slide operation of sliding the touch position on the operation surface 181a as shown in FIG. 4. Note that for detecting a finger's contact, it is not necessary to use the capacitance value itself, and a value corresponding to the capacitance may be used. In this case, the threshold value may also be converted into a value corresponding to the capacitance. At least a part of the processing executed by the sensor control unit 182 of the touch sensor 181 may be executed by the CPU 11. Note that the method of the touch sensor 181 is not limited to the self-capacitance method, and it may be a mutual-capacitance method. 【0015】 The power supply unit 19 includes a battery 191 and a power supply control unit 192. The power supply unit 19 outputs the power supplied from the battery 191 to each part of the electronic clock 1 at a predetermined operating voltage. The battery 191 may be a primary battery such as a button battery, or a rechargeable secondary battery such as a lithium-ion battery. The power supply control unit 192 detects the remaining amount of power stored in the battery 191 according to a control signal transmitted from the CPU 11 and outputs it to the CPU 11. Further, the power supply control unit 192 may be able to switch the presence or absence of power supply to a specific component (for example, the touch operation unit 18 or the button operation unit 17) according to a control signal transmitted from the CPU 11. 【0016】 Next, the operation of the electronic clock 1 will be described. The CPU 11 of the electronic clock 1 can operate the electronic clock 1 in a button operation mode (first mode) and a touch operation mode (second mode). The button operation mode and the touch operation mode differ from each other in the method of receiving the user's operation. The button operation mode is an operation mode that receives an operation by the operation button 171 without receiving an operation by the touch sensor 181. On the other hand, the touch operation mode is an operation mode that receives an operation by the touch sensor 181 and does not receive an operation by the operation button 171. However, in the touch operation mode, it is also possible to receive an operation by the operation button 171. 【0017】 The electronic clock 1 displays multiple screens on the display unit 15, including screens where the operation buttons 171 are more suitable for user operation (hereinafter referred to as "first screens") and screens where the touch sensor 181 is more suitable for user operation (hereinafter referred to as "second screens"). An example of a first screen where the operation buttons 171 are more suitable is a screen with few selectable options. This is because when there are few options, the number of times the button operation unit 17 needs to be pressed to change the selected option is reduced. Other examples of first screens include screens where important decision operations are performed, such as changing settings that have a large impact on the operation of the electronic clock 1, or deleting data. The touch sensor 181 has the uncertainty that the user may touch it unintentionally or that it may not respond even when the user touches it, whereas the operation buttons 171 have the uncertainty that the user may touch it unintentionally. Compared to the touch sensor 181, it is possible to reliably perform the desired operation. For this reason, the operation button 171 is more suitable for screens where important decision operations are performed, as it is less prone to accidental operation. The home screen 151 is also an example of a first screen. On the home screen 151, which displays the time, it is preferable to prevent the screen from switching in response to unintended contact with the touch sensor 181, so the button operation mode, which does not accept operation of the touch sensor 181, is more suitable. Conversely, examples of second screens where operation by the touch sensor 181 is more suitable include screens with many options or screens that can be scrolled vertically. In such screens, using the operation button 171 would be cumbersome because it would require many presses to select the desired option or scroll the screen to the desired position. 【0018】 Therefore, in this embodiment, the CPU 11 operates the electronic clock 1 in button operation mode when displaying the first screen on the display unit 15, and operates the electronic clock 1 in touch operation mode when displaying the second screen on the display unit 15. To enable such operation, as shown in Figure 5, in the screen setting data 132, either first setting information 21 corresponding to the button operation mode or second setting information 22 corresponding to the touch operation mode is pre-associated and stored for each of the multiple screens that can be displayed on the display unit 15. In Figure 5, the names of the corresponding operation modes are listed as the first setting information 21 and the second setting information 22, but the actual first setting information 21 and the second setting information 22 may be, for example, Boolean values ​​(either "0" or "1"). In the example shown in Figure 5, the first setting information 21 is associated with the home screen 151 and the world time confirmation screen 154, and the second setting information 22 is associated with the setting menu screen 152, the world time selection screen 153, and the alarm setting screen 155. The setting information associated with each screen may be changeable by user operation. When the CPU 11 displays a screen on the display unit 15, it refers to the screen setting data 132 and obtains the setting information pre-associated with that screen, i.e., the first setting information 21 or the second setting information 22. If the CPU 11 obtains the first setting information 21, it operates the electronic clock 1 in button operation mode when displaying that screen, and if it obtains the second setting information 22, it operates the electronic clock 1 in touch operation mode when displaying that screen. Specifically, as described above, in button operation mode, the CPU 11 accepts operation by the operation button 171 but does not accept operation by the touch sensor 181. Also, in touch operation mode, the CPU 11 accepts operation by the touch sensor 181 but does not accept operation by the operation button 171. More specifically, the CPU 11 controls the electronic clock 1 so that the operation button 171 is enabled when it accepts an operation from the operation button 171, and controls the electronic clock 1 so that the operation button 171 is disabled when it does not accept an operation from the operation button 171.Furthermore, the CPU 11 controls the electronic clock 1 so that the touch sensor 181 is enabled when it accepts an operation from the touch sensor 181, and controls the electronic clock 1 so that the touch sensor 181 is disabled when it does not accept an operation from the touch sensor 181. "Enable" includes maintaining the enabled state if it is already enabled. "Disable" also includes maintaining the disabled state if it is already disabled. 【0019】 The state in which the operation button 171 is activated means that power is supplied from the battery 191 to the button operation unit 17, and the CPU 11 accepts the operation signal sent from the button operation unit 17 to the CPU 11. The CPU 11 accepting the operation signal from the button operation unit 17 means that the CPU 11 identifies the operation button 171 that was pressed based on the received operation signal and executes the process associated with that operation button 171. On the other hand, the state in which the operation button 171 is disabled means that the power supply from the battery 191 to the operation button 171 is stopped and no operation signal is sent from the button operation unit 17 to the CPU 11, or that the CPU 11 does not accept the operation signal received from the button operation unit 17 while maintaining the power supply from the battery 191 to the button operation unit 17. 【0020】 The state in which the touch sensor 181 is enabled means that power is supplied from the battery 191 to the touch operation unit 18, and the CPU 11 receives an operation signal transmitted from the touch operation unit 18 to the CPU 11. The CPU 11 receiving an operation signal from the touch operation unit 18 means that the CPU 11 identifies the content of the touch operation (whether or not a touch operation was performed and the touch location) based on the received operation signal, and executes the processing associated with the content of the touch operation. On the other hand, the state in which the touch sensor 181 is disabled means, for example, that the power to the touch sensor 181 is turned off. The state in which the power to the touch sensor 181 is turned off may be, for example, a state in which the power supply from the battery 191 to the touch operation unit 18 is stopped. Alternatively, the state in which the power to the touch sensor 181 is turned off may be a state in which the power supply from the battery 191 to the touch operation unit 18 is maintained, and the sensor control unit 182 has entered a predetermined sleep mode (power saving mode). Sleep mode is a mode in which the sensor control unit 182 stops the operation of the touch sensor 181 and stops major functions except for the function of waiting for a control signal to instruct the system to return from sleep mode. When the power to the touch sensor 181 is turned off, no operation signals related to touch operations are transmitted from the touch operation unit 18 to the CPU 11. As a result, the CPU 11 does not perform any processing in response to touch operations, even if touch operations are performed, so the touch sensor 181 is disabled. Alternatively, the state in which the touch sensor 181 is disabled may be such that the CPU 11 does not accept operation signals received from the touch operation unit 18, while maintaining power supply from the battery 191 to the touch operation unit 18 to perform normal operations. 【0021】 The operation of the electronic clock 1's screen transitions will be specifically explained below with reference to Figures 6 to 8. The settings menu screen 152 shown in Figure 6 is the screen displayed on the display unit 15 when the user configures the operation settings of the electronic clock 1. The settings menu screen 152 is displayed, for example, when a predetermined operation button 171 is pressed on the home screen 151 shown in Figure 1. When the CPU 11 switches the display from the home screen 151 to the settings menu screen 152, it refers to the screen setting data 132 and obtains the second setting information 22 associated with the settings menu screen 152. Accordingly, when the CPU 11 displays the settings menu screen 152 on the display unit 15, it operates the electronic clock 1 in touch operation mode. That is, the CPU 11 controls the operation to disable the operation button 171 and the touch sensor 181 to enable it. Also, as shown in Figure 6, in touch operation mode, the CPU 11 displays a touch operation indicator 32 (second indicator) on the display unit 15, indicating that operation by the touch sensor 181 is possible. The touch operation indicator 32 in this embodiment is a hand mark, but is not limited to this; it may be a character, symbol, figure, or a combination thereof. In addition to the touch operation indicator 32, the settings menu screen 152 displays the names of multiple setting items and a cursor 33 that represents the currently selected setting item. The cursor 33 can be moved upward by sliding it upward on the touch sensor 181, and downward by sliding it downward. Depending on the amount of the slide operation, it may be possible to move the cursor 33 across two or more setting items with a single slide operation. Furthermore, if the entire list of setting items cannot be displayed on one screen, the list of setting items can be scrolled up and down by sliding it. For example, when the cursor 33 is on the lowest setting item currently displayed, sliding it downward on the touch sensor 181 will scroll the list of setting items upward, displaying the lower display items that were not previously visible.Furthermore, when the cursor 33 is positioned over the topmost setting item currently displayed, sliding the touch sensor 181 upwards will scroll the list of setting items downwards, displaying the uppermost items that were not previously visible. In Figure 6, the cursor 33 is positioned over the "WORLD TIME" setting item, which displays the local time of a city in the world. When a tap is performed on the touch sensor 181 in this state, the display unit 15 switches to the world time selection screen 153 (see Figure 7) for selecting the city whose local time to display. 【0022】 When the CPU 11 switches the display to the world time selection screen 153, it refers to the screen setting data 132 and obtains the second setting information 22 associated with the world time selection screen 153. Accordingly, when the CPU 11 displays the world time selection screen 153 on the display unit 15, it keeps the electronic clock 1 in touch operation mode. Also, as shown in Figure 7, the CPU 11 displays the touch operation indicator 32 on the world time selection screen 153. In addition to the touch operation indicator 32, the world time selection screen 153 displays the names of several cities around the world and a cursor 33 that represents the selected city among the several cities. The list of cities may be scrollable vertically. In Figure 7, the cursor 33 is on the "LONDON" item. When a tap operation is performed on the touch sensor 181 in this state, the display on the display unit 15 switches to the world time confirmation screen 154 shown in Figure 8. 【0023】 When the CPU 11 switches the display to the world time confirmation screen 154, it refers to the screen setting data 132 and obtains the first setting information 21 associated with the world time confirmation screen 154. Accordingly, when the CPU 11 displays the world time confirmation screen 154 on the display unit 15, it operates the electronic clock 1 in button operation mode. That is, the CPU 11 controls the operation button 171 to be enabled and the touch sensor 181 to be disabled. Also, as shown in Figure 8, in button operation mode, the CPU 11 displays a button operation indicator 31 (first indicator) indicating that operation by the operation button 171 is possible, instead of the touch operation indicator 32. The button operation indicator 31 in this embodiment is a button mark, but is not limited to this and may be a character, symbol, graphic, or a combination thereof. The world time confirmation screen 154 is a screen for making the final decision on the city to display the local time, and the user has only two options to choose from: "YES" and "NO". Because there are few options and this is an important decision operation that affects the operation of the electronic clock 1, the world time confirmation screen 154 is associated with first setting information 21 that represents the button operation mode. On the world time confirmation screen 154, for example, the cursor 33 can be moved up and down using operation buttons 171a and 171c. Also, by pressing operation button 171b, the option that the cursor 33 is on can be determined. For example, as shown in Figure 8, by pressing operation button 171b when the cursor 33 is on "YES", the city for which the local time will be displayed can be determined to be "LONDON". Also, by pressing operation button 171b when the cursor 33 is on "NO", the city selection can be canceled. 【0024】 In a screen displayed in button operation mode, if the number of options is less than or equal to the number of operation buttons 171, the options and operation buttons 171 may be associated one-to-one, so that pressing an operation button 171 allows the user to select the option corresponding to that operation button 171. For example, as shown in Figure 9, in the world time confirmation screen 154, the option "YES" may be displayed in a position close to operation button 171b on the display unit 15, and the option "NO" may be displayed in a position close to operation button 171c, thereby associating operation buttons 171b and 171c with the options "YES" and "NO," respectively. In this case, pressing operation button 171b allows the user to select "YES" and decide on a city, and pressing operation button 171c allows the user to select "NO" and cancel the city selection. 【0025】 In touch operation mode, if a predetermined first switching operation is performed by the user, the CPU 11 may switch the operating mode of the electronic clock 1 from touch operation mode to button operation mode. For each screen, a screen for touch operation mode and a screen for button operation mode may be stored in advance in the storage unit 13, and the display may be switched from the screen for touch operation mode to the screen for button operation mode when switching to button operation mode. The first switching operation may be a predetermined operation on the touch sensor 181, for example, a special operation such as a long press, double tap, or triple tap. Also, if power supply to the button operation unit 17 is maintained in touch operation mode and operation signals can be transmitted from the button operation unit 17 to the CPU 11, the first switching operation may be a predetermined operation on a predetermined operation button 171, for example, a special operation such as a long press. The CPU 11 basically does not accept operation signals from the button operation unit 17 in touch operation mode, but it is sufficient to accept only the operation signal related to the first switching operation on the predetermined operation button 171. By enabling the first switching operation using the operation button 171, the user only needs to perform the first switching operation on the operation button 171 if they wish to switch to the button operation mode. This makes it possible to switch the operating mode with intuitive operation. When the first switching operation is performed, the CPU 11 may change the second setting information 22, which is associated with the currently displayed screen in the screen setting data 132, to the first setting information 21. 【0026】 In button operation mode, if a predetermined second switching operation is performed by the user, the CPU 11 may switch the operating mode of the electronic clock 1 from button operation mode to touch operation mode. The CPU 11 may also switch the display from the button operation mode screen to the touch operation mode screen along with the switch to touch operation mode. The second switching operation may be a predetermined operation on a predetermined operation button 171, such as a special operation like a long press. Furthermore, if power supply to the touch operation unit 18 is maintained in button operation mode and operation signals can be transmitted from the touch operation unit 18 to the CPU 11, the second switching operation may be a predetermined operation on the touch sensor 181, such as a long press, double tap, or triple tap. The CPU 11 basically does not accept operation signals from the touch operation unit 18 in button operation mode, but only accepts operation signals related to the second switching operation on the touch sensor 181. By enabling the second switching operation via the touch sensor 181, the user only needs to perform the second switching operation on the touch sensor 181 when they wish to switch to touch operation mode. Therefore, it is possible to switch the operating mode with intuitive operation. When the second switching operation is performed, the CPU 11 may change the first setting information 21, which is associated with the currently displayed screen in the screen setting data 132, to the second setting information 22. 【0027】 The touch sensor 181 consumes more power than the operation button 171. Therefore, when the remaining power stored in the battery 191 falls below a certain level, the electronic clock 1 may be operated in button operation mode instead of touch operation mode to extend the operating time of the electronic clock 1. The certain level of remaining power in the battery 191 may be, for example, 30% of the battery 191's initial charge or full charge. Also, as the remaining power of the battery 191 decreases, the number of screens operated in touch operation mode may be reduced (in other words, the number of screens operated in button operation mode may be increased). 【0028】 The following describes the operation mode control process performed by the CPU 11 to realize the operation of the electronic clock 1 as described above, with reference to the flowchart in Figure 10. The operation mode control process starts when the electronic clock 1 is powered on. Once the operation mode control process starts, the CPU 11 repeatedly determines whether a request has been made to display a screen different from the currently displayed screen (step S1). This display request is usually made in response to user operation. For example, if the operation button 171 to display the settings menu screen 152 is pressed while the home screen 151 is displayed, the CPU 11 determines that a request has been made to display the settings menu screen 152. If it is determined that a request has been made to display a screen ("YES" in step S1), the CPU 11 refers to the screen setting data 132 and obtains the setting information associated with the screen for which the display request was made (step S2). 【0029】 If the acquired setting information is determined to be the first setting information 21 corresponding to the button operation mode (YES in step S3), the CPU 11 executes steps S4 to S7 to transition to the button operation mode. First, the CPU 11 executes a process to disable the touch sensor 181 (step S4). This process may involve sending a control signal to the power control unit 192 to stop the power supply from the battery 191 to the touch operation unit 18. Alternatively, this process may involve sending a control signal to the sensor control unit 182 to put the sensor control unit 182 into sleep mode while maintaining the power supply to the touch operation unit 18. Alternatively, this process may involve changing the operation of the CPU 11 so that it does not accept operation signals sent from the touch operation unit 18 thereafter while maintaining the power supply to the touch operation unit 18. Next, the CPU 11 executes a process to enable the operation button 171 (step S5). This process may involve sending a control signal to the power control unit 192 to start the power supply from the battery 191 to the button operation unit 17. Alternatively, this process may involve changing the operation of the CPU 11 so that it can accept operation signals transmitted from the button operation unit 17 while power is supplied to the button operation unit 17. If the touch sensor 181 is already disabled at the point when the branch to "YES" is selected in step S3, step S4 is omitted, and if the operation button 171 is already enabled at that point, step S5 is omitted. Next, the CPU 11 transmits image data and control signals to the display unit 15 to display the screen for which a display request was made in step S1 (step S6), and also displays the button operation indicator 31 (step S7). From this point onward, the CPU 11 accepts operations in button operation mode (step S8). That is, the CPU 11 identifies the operated operation button 171 in accordance with the operation signal transmitted from the button operation unit 17, and executes the process corresponding to the identified operation button 171. 【0030】 The CPU 11 determines whether or not a second switching operation has been performed by the user (step S9). As described above, the second switching operation is usually an operation on the operation button 171, but it may also be an operation on the touch sensor 181. If it is determined that a second switching operation has been performed ("YES" in step S9), the CPU 11 changes the setting information associated with the currently displayed screen in the screen setting data 132 from the first setting information 21 to the second setting information 22 (step S10). The CPU 11 then moves the process to step S13, which will be described later, and executes steps S13 to S17 to switch to touch operation mode. If it is determined that a second switching operation has not been performed ("NO" in step S9), the CPU 11 determines whether or not a request has been made to display a screen different from the currently displayed screen (step S11). If CPU11 determines that no screen display request has been made ("NO" in step S11), it returns to step S9. If it determines that a screen display request has been made ("YES" in step S11), it returns to step S2. 【0031】 On the other hand, if the CPU 11 determines that the setting information acquired in step S2 is not the first setting information 21 corresponding to the button operation mode (i.e., it is the second setting information 22 corresponding to the touch operation mode) ("NO" in step S3), the CPU 11 acquires information on the remaining charge of the battery 191 from the power control unit 192 and determines whether the remaining charge is less than a standard amount (step S12). If the CPU 11 determines that the remaining charge of the battery 191 is less than a standard amount ("YES" in step S12), the CPU 11 moves the process to step S4 and executes steps S4 to S7 to switch to the button operation mode. If the CPU 11 determines that the remaining charge of the battery 191 is equal to or greater than the standard amount ("NO" in step S12), the CPU 11 executes steps S13 to S17 to switch to the touch operation mode. First, the CPU 11 executes a process to enable the touch sensor 181 (step S13). This process may also be a process that starts supplying power from the battery 191 to the touch operation unit 18 by sending a control signal to the power control unit 192. Alternatively, this process may involve sending a control signal to the sensor control unit 182 while power is supplied to the touch operation unit 18, thereby waking the sensor control unit 182 from sleep mode. Alternatively, this process may involve changing the operation of the CPU 11 to accept operation signals transmitted from the touch operation unit 18 while power is supplied to the touch operation unit 18. Next, the CPU 11 executes a process to disable the operation button 171 (step S14). This process may involve sending a control signal to the power supply control unit 192 to stop the power supply from the battery 191 to the button operation unit 17. Alternatively, this process may involve changing the operation of the CPU 11 to accept operation signals transmitted from the button operation unit 17 while maintaining the power supply to the button operation unit 17. If the touch sensor 181 is already enabled at the point where the branch to "NO" occurs in step S12, step S13 is omitted, and if the operation button 171 is already disabled at that point, step S14 is omitted.Furthermore, if the operation button 171 is not disabled in touch operation mode, the process to enable the operation button 171 (the same process as in step S5) is executed instead of step S14. 【0032】 Next, the CPU 11 determines whether or not an abnormal input has been received by the touch sensor 181 (step S15). For example, if the electronic clock 1 is used underwater, the capacitance detected by the touch sensor 181 will become abnormal due to contact between the operating surface 181a of the touch sensor 181 and a conductive liquid (seawater). In such a case, the CPU 11 determines that an abnormal input has been received by the touch sensor 181. If it is determined that an abnormal input has been received by the touch sensor 181 ("YES" in step S15), it is not appropriate to operate in touch operation mode. For this reason, the CPU 11 moves the process to step S4 and executes steps S4 to S7 to switch to button operation mode. If it is determined that no abnormal input has been received by the touch sensor 181 ("NO" in step S15), the CPU 11 sends image data and control signals to the display unit 15 to display the screen for which display was requested in step S1 (step S16), and also displays the touch operation indicator 32 (step S17). From this point onward, the CPU 11 accepts operations in touch operation mode (step S18). That is, the CPU 11 determines whether or not there is contact with the touch sensor 181 and the location of the contact in response to the operation signal transmitted from the touch operation unit 18, and executes processing corresponding to the determined contact location. 【0033】 The CPU 11 determines whether or not the user has performed the first switching operation (step S19). As described above, the first switching operation is usually an operation on the touch sensor 181, but it may also be an operation on the operation button 171. If it is determined that the first switching operation has been performed ("YES" in step S19), the CPU 11 changes the setting information associated with the currently displayed screen in the screen setting data 132 from the second setting information 22 to the first setting information 21 (step S20). The CPU 11 then moves the process to step S4 and executes steps S4 to S7 to switch to button operation mode. If it is determined that the first switching operation has not been performed ("NO" in step S19), the CPU 11 determines whether or not a request has been made to display a screen different from the currently displayed screen (step S21). If CPU 11 determines that no screen display request has been made ("NO" in step S21), it returns to step S19. If it determines that a screen display request has been made ("YES" in step S21), it returns to step S2. 【0034】 As described above, the electronic clock 1 according to this embodiment includes a display unit 15, an operation button 171 for detecting press operations, a touch sensor 181 for detecting touch operations, and a CPU 11. When the CPU 11 displays a screen on the display unit 15, it acquires setting information related to the operation mode pre-associated with the screen. If the acquired setting information is first setting information 21 corresponding to a button operation mode that accepts operations by the operation button 171 but does not accept operations by the touch sensor 181, the CPU 11 operates the electronic clock 1 in button operation mode. On the other hand, if the acquired setting information is second setting information 22 corresponding to a touch operation mode that accepts operations by the touch sensor 181, the CPU 11 operates the electronic clock 1 in touch operation mode. This allows the electronic clock 1 to be operated in an operation mode suitable for operation on the screen, among the button operation mode and touch operation mode, depending on the screen to be displayed. For example, when displaying a screen where an important decision operation is performed, the system can accept operations by the operation button 171 as a button operation mode, but not by operations by the touch sensor 181, thereby making it less likely for errors to occur. Furthermore, by accepting operations via the touch sensor 181 in touch operation mode on screens with many options or screens that require scrolling, intuitive and easy-to-understand operation can be achieved while shortening operation time and reducing the effort required for operation. Thus, user convenience related to operation during screen display can be improved. 【0035】 Furthermore, when the CPU 11 determines that a predetermined first switching operation has been performed by the user in touch operation mode, it switches the operating mode of the electronic clock 1 from touch operation mode to button operation mode. This allows the electronic clock 1 to operate in button operation mode when the user desires to operate it using the operation buttons 171. 【0036】 Furthermore, if the CPU 11 determines that the first switching operation has been performed while the screen is being displayed, it changes the second setting information 22 associated with the screen to the first setting information 21. This allows the operating mode of the electronic clock 1 to be set to the button operation mode desired by the user when the same screen as the currently displayed screen is to be displayed the next time. 【0037】 Furthermore, when the CPU 11 determines that a predetermined second switching operation has been performed by the user in button operation mode, it switches the operating mode of the electronic clock 1 from button operation mode to touch operation mode. This allows the electronic clock 1 to operate in touch operation mode when the user desires to operate it using the touch sensor 181. 【0038】 Furthermore, if the CPU 11 determines that a second switching operation has been performed while the screen is being displayed, it changes the first setting information 21 associated with the screen to the second setting information 22. This allows the operating mode of the electronic clock 1 to be set to the touch operation mode desired by the user when the same screen as the currently displayed screen is to be displayed the next time. 【0039】 Furthermore, the CPU 11 may control the electronic clock 1 so that it does not accept operation via the operation buttons 171 in touch operation mode. This prevents the use of operation buttons 171 that are unsuitable for operation, and makes operation easier to understand by limiting the available operation methods. Thus, the operability of the electronic clock 1 can be improved. 【0040】 Furthermore, in button operation mode, the CPU 11 displays a button operation indicator 31 on the display unit 15 to indicate that operation using the operation button 171 is possible, and in touch operation mode, it displays a touch operation indicator 32 on the display unit 15 to indicate that operation using the touch sensor 181 is possible. This makes it possible to visually communicate the current operating mode to the user in an easy-to-understand manner. 【0041】 Furthermore, the electronic clock 1 is equipped with a battery 191 that supplies power to at least the touch sensor 181, and when the CPU 11 acquires second setting information 22 as setting information associated with the screen, if the remaining charge of the battery 191 is below a predetermined standard amount, it operates the electronic clock 1 in button operation mode. This makes it possible to reduce power consumption by the touch sensor 181 when the remaining charge of the battery 191 is low and extend the operating time of the electronic clock 1. 【0042】 Furthermore, according to the control method of the electronic clock 1 according to this embodiment, the CPU 11 executes the above processing, thereby improving user convenience in terms of operation during screen display. In addition, the program 131 according to this embodiment causes the CPU 11 to execute the above processing. This improves user convenience in terms of operation during screen display. 【0043】 It should be noted that the present invention is not limited to the embodiments described above, and various modifications are possible. For example, although an electronic clock 1 was given as an example of an electronic device, it is not limited to this. The electronic device can be any device that has a display unit, operation buttons, and a touch sensor. For example, the electronic device may be a smartphone, a tablet terminal, or a wearable device other than a wristwatch. 【0044】 Furthermore, while a touch sensor 181 provided on the side of the housing 101 has been given as an example, the invention is not limited to this. The touch sensor may also be a touch panel provided on top of the display surface of the display unit 15. 【0045】 Furthermore, the screen setting data 132, which associates setting information representing the operating mode for each screen, does not necessarily have to be stored inside the electronic clock 1. For example, the screen setting data 132 may be stored on an external server, and the CPU 11 may obtain the setting information of the screen setting data 132 from the server via a communication unit provided in the electronic clock 1. 【0046】 Furthermore, while the display unit 15 was given as an example of a method to notify the user of the current operating mode, the current operating mode may also be notified by having the notification unit 16 vibrate with a vibration pattern corresponding to the operating mode, or by having it emit an audible notification with an audible notification pattern corresponding to the operating mode. 【0047】 Furthermore, while the above description discloses an example in which the flash memory of the storage unit 13 is used as a computer-readable medium for the program according to the present invention, the invention is not limited to this example. Other computer-readable mediums that can be used include information recording media such as HDDs (Hard Disk Drives), SSDs (Solid State Drives), and CD-ROMs. In addition, a carrier wave can also be used as a medium for providing program data according to the present invention via a communication line. 【0048】 Furthermore, the detailed configuration and operation of each component of the electronic clock 1 in the above embodiments can be appropriately modified without departing from the spirit of the present invention. Although embodiments of the present invention have been described, the scope of the present invention is not limited to the embodiments described above, but includes the scope of the invention as described in the claims and its equivalents. [Explanation of Symbols] 【0049】 1…Electronic clock (electronic device), 11…CPU (control unit), 15…Display unit, 21…First setting information, 22…Second setting information, 31…Button operation indicator (first indicator), 32…Touch operation indicator (second indicator), 171a~171c…Operation buttons, 181…Touch sensor, 191…Battery

Claims

[Claim 1] An electronic device comprising a display unit, an operation button for detecting a press operation, a touch sensor for detecting a touch operation, and a control unit, The control unit, When displaying a screen on the aforementioned display unit, The setting information related to the operating mode that is pre-associated with the aforementioned screen is obtained, If the acquired setting information corresponds to a first setting information that accepts operation by the operation buttons but does not accept operation by the touch sensor, the electronic device is operated in the first mode, If the acquired setting information corresponds to a second setting information that accepts operation by the touch sensor, the electronic device is operated in the second mode. electronic equipment. [Claim 2] The control unit, when it determines that a predetermined first switching operation has been performed by the user in the second mode, switches the operating mode of the electronic device from the second mode to the first mode. The electronic device according to claim 1. [Claim 3] When the control unit determines that the first switching operation has been performed while the screen is being displayed, it changes the second setting information associated with the screen to the first setting information. The electronic device according to claim 2. [Claim 4] The control unit, when it determines that a predetermined second switching operation has been performed by the user in the first mode, switches the operating mode of the electronic device from the first mode to the second mode. The electronic device according to claim 1. [Claim 5] When the control unit determines that the second switching operation has been performed while the screen is being displayed, it changes the first setting information associated with the screen to the second setting information. The electronic device according to claim 4. [Claim 6] The control unit controls the electronic device so that it does not accept operation by the operation button in the second mode. The electronic device according to claim 1. [Claim 7] The control unit, In the first mode, a first indicator indicating that operation using the operation buttons is possible is displayed on the display unit. In the second mode, a second indicator indicating that operation by the touch sensor is possible is displayed on the display unit. The electronic device according to claim 1. [Claim 8] It includes at least a battery that supplies power to the touch sensor, When the control unit acquires the second setting information as the setting information associated with the screen, and the remaining battery level is below a predetermined standard amount, it operates the electronic device in the first mode. The electronic device according to claim 1. [Claim 9] A control method for an electronic device comprising a display unit, an operation button for detecting a press operation, and a touch sensor for detecting a touch operation, When displaying a screen on the aforementioned display unit, The setting information related to the operating mode that is pre-associated with the aforementioned screen is obtained, If the acquired setting information corresponds to a first setting information that accepts operation by the operation buttons but does not accept operation by the touch sensor, the electronic device is operated in the first mode, If the acquired setting information corresponds to a second setting information that accepts operation by the touch sensor, the electronic device is operated in the second mode. A method for controlling electronic devices. [Claim 10] A computer provided in an electronic device that includes a display unit, an operation button for detecting a press operation, and a touch sensor for detecting a touch operation, When displaying a screen on the aforementioned display unit, A process to obtain setting information related to the operating mode that is pre-associated with the aforementioned screen. If the acquired setting information corresponds to a first setting information that accepts operation by the operation button but does not accept operation by the touch sensor, the electronic device is operated in the first mode. If the acquired setting information is second setting information corresponding to a second mode that accepts operation by the touch sensor, the electronic device is operated in the second mode. A program that executes the command.