Time refresh method, mobile terminal and computer-readable storage medium
By alternating the refresh cycle, the problem of inaccurate timing of the electronic ink screen is solved, ensuring the time precision and accuracy of the electronic ink screen display.
Patent Information
- Application Number
- CN202210778712.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The time displayed on the electronic ink screen is not accurately refreshed, especially when the timer is started at a time other than the full minute, the refresh accuracy is low.
The method of alternating refresh cycles is adopted to ensure the time accuracy of the electronic ink screen display by determining the first refresh cycle and the second refresh cycle. The first refresh cycle is equal to the difference between the moment value of the startup moment at the first time accuracy and the duration indicated by the second time accuracy. The sum of the second refresh cycle and the first refresh cycle is equal to the duration indicated by the second time accuracy.
Ensure the accuracy of the time displayed on the electronic ink screen, and the system time and timing time are consistent with the actual time, which improves the display accuracy of the electronic ink screen.
Smart Images

Figure CN115129292B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a time refresh method, a mobile terminal, and a computer-readable storage medium. Background Art
[0002] The mobile terminal may include an electronic ink screen that can display the current system time of the mobile terminal. In addition, the mobile terminal may be equipped with a timer that can display the timer's elapsed time on the electronic ink screen after the timer is started.
[0003] Because the refresh rate of an E-Ink screen is typically low, the time displayed on the E-Ink screen (including system time and timer time) is typically accurate to the minute, and the mobile terminal can refresh the time displayed on the E-Ink screen once a minute. Furthermore, to ensure the accuracy of the time displayed on the E-Ink screen, the mobile terminal typically refreshes the E-Ink screen at the exact minute.
[0004] However, if the start time of the timer is not the whole minute, the accuracy of the timing time displayed after each refresh of the electronic ink screen is low. Summary of the Invention
[0005] The present application provides a time refresh method, a mobile terminal and a computer-readable storage medium, which can solve the problem of low accuracy of the timing time displayed after each refresh of the electronic ink screen in the related art.
[0006] The technical solution is as follows:
[0007] In one aspect, a time refresh method is provided, which is applied to a mobile terminal, the mobile terminal including an electronic ink display, the mobile terminal being configured to keep time according to a first time accuracy and control the electronic ink display to display time according to a second time accuracy, wherein the first time accuracy is higher than the second time accuracy; the method comprising:
[0008] Starting a first timer installed in the mobile terminal;
[0009] If the start time of the first timer is not an integer multiple of the second time precision, determining a first refresh period and a second refresh period;
[0010] Refreshing the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle, the time including the system time and the time of the first timer;
[0011] The sum of the first refresh period and the second refresh period is equal to the duration indicated by the second time precision, and the first refresh period is equal to the difference between the duration and the moment value of the start moment at the first time precision.
[0012] In another aspect, a time refresh device is provided, configured in a mobile terminal; the mobile terminal includes an electronic ink screen, and the mobile terminal is configured to keep time according to a first time accuracy and control the electronic ink screen to display time according to a second time accuracy, wherein the first time accuracy is higher than the second time accuracy; the device includes:
[0013] A starting module, configured to start a first timer installed in the mobile terminal;
[0014] a determining module, configured to determine a first refresh period and a second refresh period if the start time of the first timer is not an integer multiple of the second time precision;
[0015] A refresh module, configured to refresh the time displayed on the electronic ink screen alternately according to the first refresh period and the second refresh period, wherein the time includes the system time and the time of the first timer;
[0016] The sum of the first refresh period and the second refresh period is equal to the duration indicated by the second time precision, and the first refresh period is equal to the difference between the duration and the moment value of the start moment at the first time precision.
[0017] On the other hand, a mobile terminal is provided, comprising: an electronic ink screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the time refresh method as described in the above aspects when executing the computer program.
[0018] On the other hand, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the time refresh method as described in the above aspects.
[0019] On the other hand, a computer program product comprising instructions is provided. When the computer program product is run on the computer, the computer is caused to execute the time refresh method described in the above aspects.
[0020] The beneficial effects of the technical solution provided by this application include at least:
[0021] The present application provides a time refresh method, a mobile terminal, and a computer-readable storage medium. After the start time of the first timer is not an integer multiple of the second time precision, the mobile terminal can determine the first refresh cycle and the second refresh cycle. Since the first refresh cycle is equal to the difference between the duration indicated by the second time precision and the time value of the start time at the first time precision, the time displayed on the electronic ink screen is refreshed after the first refresh cycle to ensure that the displayed system time is equal to the system time actually counted by the mobile terminal. Since the sum of the second refresh cycle and the first refresh cycle is equal to the duration indicated by the second time precision, the time displayed on the electronic ink screen is refreshed after the second refresh cycle to ensure that the displayed timing time of the first timer is equal to the timing time actually counted by the first timer. In this way, the time displayed on the electronic ink screen is refreshed alternately according to the first refresh cycle and the second refresh cycle to ensure the accuracy of the time displayed on the electronic ink screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 This is a flow chart of a time refresh method for a mobile terminal provided by an embodiment of the present application;
[0024] Figure 2 This is a flowchart of another time refresh method for a mobile terminal provided by an embodiment of the present application;
[0025] Figure 3 2 is a schematic diagram of a setting interface of a Pomodoro clock application provided in an embodiment of the present application;
[0026] Figure 4 This is a schematic diagram of the time displayed on a refreshed electronic ink screen provided in an embodiment of the present application;
[0027] Figure 5 This is a schematic diagram of time displayed on another refreshed electronic ink screen provided by an embodiment of the present application;
[0028] Figure 6 This is a schematic diagram of time displayed on another refreshed electronic ink screen provided by an embodiment of the present application;
[0029] Figure 7 This is a schematic diagram of the display of an electronic ink screen after a first timer pauses, provided by an embodiment of the present application;
[0030] Figure 8 This is a schematic diagram of a lock screen interface of a mobile terminal after a tomato timer corresponding to a focused working state is started, provided by an embodiment of the present application;
[0031] Figure 9 This is a schematic diagram of a lock screen interface of a mobile terminal after a tomato timer corresponding to a short break working state is started according to an embodiment of the present application;
[0032] Figure 10 This is a schematic diagram of an interface displayed on a mobile terminal after a tomato timer provided in an embodiment of the present application has expired;
[0033] Figure 11 This is a schematic diagram of the status of a currently running Pomodoro timer displayed on a mobile terminal after unlocking provided by an embodiment of the present application;
[0034] Figure 12 This is a structural diagram of a time refresh device provided in an embodiment of the present application;
[0035] Figure 13 This is a structural diagram of another time refresh device provided in an embodiment of the present application;
[0036] Figure 14 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application;
[0037] Figure 15 This is a software structure block diagram of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0039] An embodiment of the present application provides a time refresh method for a mobile terminal, which is applied to the mobile terminal. The mobile terminal includes an electronic ink screen, and the electronic ink screen is used to keep time according to a first time accuracy and control the electronic ink screen to display time according to a second time accuracy. The first time accuracy is higher than the second time accuracy. For example, the second time accuracy can be minutes (min) and the first time accuracy can be seconds (s). Optionally, the mobile terminal is a mobile phone, a tablet, a laptop computer, a wearable device, or an electronic clock.
[0040] See also Figure 1 , the method comprising:
[0041] Step 101: Start a first timer installed in a mobile terminal.
[0042] In an embodiment of the present application, the mobile terminal has a button for starting a first timer. The mobile terminal can start the first timer in response to a touch operation on the button. Optionally, the button can be a physical button provided on the side of the mobile terminal. Alternatively, the button can be a virtual button displayed on the electronic ink screen of the mobile terminal.
[0043] Alternatively, the mobile terminal is further equipped with a second timer, the end time of the second timer being equal to the start time of the first timer. The mobile terminal may start the first timer after the second timer ends.
[0044] It is understood that since the electronic ink display displays time according to the second time precision, the time precision of the first timer is the second time precision. For example, if the second time precision is minutes, the time precision of the first timer can be X min, where X is an integer greater than or equal to 1.
[0045] Step 102: If the start time of the first timer is not an integer multiple of the second time precision, determine a first refresh period and a second refresh period.
[0046] The sum of the first refresh period and the second refresh period is equal to the duration indicated by the second time precision. The first refresh period can be equal to the difference between the duration and the time value of the start time at the first time precision. Correspondingly, the second refresh period can be equal to the time value of the start time at the first time precision. Therefore, it can be seen that the time precision of the first refresh period and the second refresh period are both the first time precision.
[0047] In an embodiment of the present application, when the mobile terminal starts the first timer, the start time of the first timer can be obtained, and the start time includes: a time value at the first time precision and a time value at the second time precision. Afterwards, the mobile terminal can detect whether the start time is an integer multiple of the second time precision, for example, detecting whether the time value at the start time at the first time precision is an integer multiple of the duration indicated by the second time precision. If the mobile terminal determines that the start time is not an integer multiple of the second time precision, the first refresh cycle and the second refresh cycle can be determined. If the mobile terminal determines that the start time is an integer multiple of the second time precision, the default refresh cycle of the mobile terminal can be obtained, and the time displayed on the electronic ink screen can be refreshed according to the default refresh cycle.
[0048] Step 103: Refresh the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle.
[0049] The time displayed on the electronic ink screen includes: the system time of the mobile terminal and the timing time of the first timer.
[0050] In the embodiment of the present application, the time for refreshing the electronic ink screen display according to the first refresh cycle and the second refresh cycle alternately refers to: after the start time of the first timer reaches the first refresh cycle, the time for refreshing the electronic ink screen display is repeated until the first timer is paused or ends. The refresh process includes: refreshing the electronic ink screen display after the second refresh cycle after refreshing the electronic ink screen; refreshing the electronic ink screen display after the first refresh cycle after refreshing the electronic ink screen.
[0051] In summary, an embodiment of the present application provides a time refresh method for a mobile terminal, and after the start time of the first timer is not an integer multiple of the second time precision, the mobile terminal can determine the first refresh cycle and the second refresh cycle. Since the first refresh cycle is equal to the difference between the duration indicated by the second time precision and the time value of the start time at the first time precision, refreshing the time displayed on the electronic ink screen after the first refresh cycle can ensure that the displayed system time is equal to the system time actually counted by the mobile terminal. Since the sum of the second refresh cycle and the first refresh cycle is equal to the duration indicated by the second time precision, refreshing the time displayed on the electronic ink screen after the second refresh cycle can ensure that the timing time of the displayed first timer is equal to the timing time actually counted by the first timer. In this way, by refreshing the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle, the accuracy of the time displayed on the electronic ink screen can be ensured.
[0052] Figure 2 This is a flow chart of another method for refreshing the time of a mobile terminal provided by an embodiment of the present application. The method can be applied to a mobile terminal. The mobile terminal includes an electronic ink screen, the electronic ink screen is used to display the time according to a second time accuracy, and the mobile terminal is used to measure time according to a first time accuracy. The first time accuracy is higher than the second time accuracy. Figure 2 , the method may include:
[0053] Step 201: Start a first timer installed in a mobile terminal.
[0054] In an embodiment of the present application, the mobile terminal has a button for starting a first timer. The mobile terminal can start the first timer in response to a touch operation on the button. Optionally, the button can be a physical button provided on the side of the mobile terminal. Alternatively, the button can be a virtual button displayed on the electronic ink screen of the mobile terminal.
[0055] Alternatively, the mobile terminal is further equipped with a second timer, the end time of the second timer being equal to the start time of the first timer. The mobile terminal may start the first timer after the second timer ends.
[0056] For example, both the first timer and the second timer can be a tomato timer in a tomato clock application installed in the mobile terminal. Among them, the tomato clock application can enter different working states based on the tomato work method after running. The tomato work method is a time management method that divides working time into multiple tomato times. A tomato time consists of 25 minutes of focus time and 5 minutes of short break time by default. After the focus time in each tomato time is over, you can automatically enter the short break time. After multiple (for example, 4) tomato times (for example, 4) there will be a long break time, and after the short break time of the multiple tomato times is over, you can automatically enter the long break time.
[0057] From this, we can see that the Pomodoro app can be in one of three working states: focused, short break, and long break. Assuming that there's a long break after four Pomodoros, the Pomodoro app's automatic switching sequence can be: focused - short break - focused - short break - focused - short break - focused - short break - long break, and this cycle can continue until the Pomodoro app stops.
[0058] Each of the multiple working states of the Pomodoro Clock app can correspond to a Pomodoro timer. When the Pomodoro Clock app enters a certain working state, the mobile terminal can start the Pomodoro timer corresponding to that working state, causing the Pomodoro timer to begin timing. After the Pomodoro timer ends, the Pomodoro Clock app can enter the next working state. Accordingly, the mobile terminal can start the Pomodoro timer corresponding to the next working state.
[0059] It can be seen from this that, in the two tomato timers corresponding to two adjacent working states of the Tomato Clock application, after one tomato timer corresponding to one working state ends timing, the other tomato timer corresponding to the next working state can start timing.
[0060] Assuming the Pomodoro app's automatic work state switching sequence satisfies the following: Focused - Short Break - Focused - Short Break - Focused - Short Break - Focused - Short Break - Long Break, then if the first timer corresponds to the Focused work state, the second timer can be the timer for the Short Break work state, or the timer for the Long Break work state. If the first timer corresponds to the Short Break work state, the second timer is the timer for the Focused work state. If the first timer corresponds to the Long Break work state, the second timer is the timer for the Short Break work state.
[0061] It is understood that the Pomodoro Clock application interface may display a stop control for the Pomodoro Clock. In response to a user's touch operation on the stop control, the mobile terminal may terminate the Pomodoro Clock application. Furthermore, the Pomodoro timer duration corresponding to each operating state of the Pomodoro Clock application can be adjusted.
[0062] For example, see Figure 3 , Figure 3 A schematic diagram of a setting interface of a Pomodoro clock application is shown. Figure 3 As shown, the setting interface may include: a switch control 01 for starting timing by default, a timing duration setting control 02 for the timer corresponding to the focused working state, a timing duration setting control 03 for the timer corresponding to the short break working state, a timing duration setting control 04 for the timer corresponding to the long break working state, a reminder method setting control 05 for the end of timing, and an end switch control 06 for the Pomodoro timer.
[0063] from Figure 3 As can be seen, the reminder mode setting control 05 includes: a sound reminder switch control 051 and a vibration reminder switch control 052. The default timer duration for the focused working state is 25 minutes, the default timer duration for the short break working state is 5 minutes, and the default timer duration for the long break working state is 25 minutes.
[0064] Please refer to Figure 3 If the user wants to start the timer of the Pomodoro Timer app by pressing a physical button on the side of the mobile terminal (e.g., the Mozhi button) after the mobile terminal is locked, the switch control 01 can be selected. Accordingly, the mobile terminal can set the start operation of the timer to the pressing operation of the physical button after the screen is locked in response to the selection operation of the switch control 01.
[0065] The mobile terminal can also display multiple alternative durations in response to the user's touch operation on the control 02 for setting the timing duration of the timer corresponding to the focused working state, and can set the target duration as the timing duration of the timer corresponding to the focused working state in response to the user's selection operation on the target duration among the multiple alternative durations.
[0066] It can be understood that the implementation method of the mobile terminal adjusting the timing duration of the timer corresponding to the short rest working state and the timing duration of the timer corresponding to the long rest working state can refer to the implementation process of adjusting the timing duration of the timer corresponding to the focused working state, and the embodiments of this application will not be repeated here.
[0067] If the user requires the mobile terminal to use a sound reminder to alert the user after the timer expires, the user can select the sound reminder switch control 051. If the user requires the mobile terminal to use vibration to alert the user after the timer expires, the user can select the vibration reminder switch control 052. If the user requires the mobile terminal to stop running the Pomodoro Clock application after unlocking the mobile terminal, the user can select the Pomodoro Clock end switch control 06.
[0068] Assume that the user has selected the default start timer switch control 01 and the end timer control 06 for the Pomodoro timer, and has not adjusted the timer duration for the focused work state, the short break work state, and the long break work state. Figure 3 , the interface of the Pomodoro Clock application can be as follows Figure 3 shown.
[0069] The timer durations for the focused work state, the short break work state, and the long break work state are all default values. By default, the start timer switch control 01 and the end timer switch control 06 for the Pomodoro timer are both selected, meaning that the mobile terminal can start the timer after receiving a press of a physical button on the side of the mobile terminal after the screen is locked, and can also use a sound to remind the user when the timer expires.
[0070] Step 202: If the start time of the first timer is not an integer multiple of the second time precision, determine a first refresh period and a second refresh period.
[0071] The sum of the first refresh period and the second refresh period is equal to the duration indicated by the second time precision. The first refresh period may be equal to the difference between the duration and the time value of the start time at the first time precision.
[0072] In an embodiment of the present application, when a mobile terminal starts a first timer, it can obtain the start time of the first timer, which includes: a time value at a first time precision and a time value at a second time precision. The mobile terminal can then detect whether the start time is an integer multiple of the second time precision, for example, by detecting whether the time value at the start time at the first time precision is an integer multiple of the duration indicated by the second time precision. If the mobile terminal determines that the start time is an integer multiple of the second time precision, it can obtain the mobile terminal's default refresh cycle and refresh the time displayed on the electronic ink screen according to the default refresh cycle.
[0073] If the mobile terminal determines that the start-up time is not an integer multiple of the second time precision, the difference between the duration indicated by the second time precision and the moment value of the start-up time at the first time precision can be determined as the first refresh cycle, and the difference between the duration and the first refresh cycle can be determined as the second refresh cycle.
[0074] The difference between the duration and the start time at the first time precision is the value obtained by subtracting the time value from the duration. The difference between the duration and the first refresh cycle is the value obtained by subtracting the first refresh cycle from the duration.
[0075] For example, assuming that the start time of the first timer is 19:31:40, and the second time precision is minutes, that is, the duration indicated by the second time precision is 60 seconds. Since the start time 19:31:40 is not an integer multiple of the duration 60 seconds indicated by the first time progress, that is, the start time 19:31:40 is not a whole minute, the mobile terminal can determine that the first refresh period is 60 seconds - 40 seconds = 20 seconds, and the second refresh period is 40 seconds.
[0076] Step 203: Refresh the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle.
[0077] The process of a mobile terminal refreshing the time displayed on an electronic ink screen alternately according to a first refresh cycle and a second refresh cycle may include: refreshing the time displayed on the electronic ink screen after the start duration of a first timer reaches the first refresh cycle, and then repeating the refresh process until the first timer is paused or expires. The refresh process includes: refreshing the time displayed on the electronic ink screen after the second refresh cycle after refreshing the electronic ink screen; and refreshing the time displayed on the electronic ink screen after the first refresh cycle after refreshing the electronic ink screen. The time displayed on the electronic ink screen includes: the system time of the mobile terminal and the time measured by the first timer.
[0078] In an embodiment of the present application, before each refresh cycle in the first refresh cycle and the second refresh cycle, the mobile terminal can call the AlarmManager.setExactAndAllowWhileIdle() method and pass in the parameters AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime()+Interval2*1000, and PendingIntent to create an interface refresh event. After determining that the interface refresh event has arrived, the mobile terminal can refresh the time displayed on the electronic ink screen. Among them, the parameter value of Interval2 in the parameter SystemClock.elapsedRealtime()+Interval2*1000 is the refresh cycle.
[0079] It is understood that after the first timer is started, at each first refresh cycle, the system time measured by the mobile terminal (i.e., the time counted by the mobile terminal) is an integer multiple of the second time precision (for example, the system time is a whole minute), and at each second refresh cycle, the time measured by the first timer measured by the mobile terminal (i.e., the time actually counted by the first timer) is an integer multiple of the second time precision. Based on this, the mobile terminal can refresh the system time displayed on the electronic ink screen after each first refresh cycle, and can refresh the time displayed on the electronic ink screen after each second refresh cycle.
[0080] In an optional implementation, after each first refresh cycle, the mobile terminal may only refresh the system time displayed on the electronic ink screen. After each second refresh cycle, the mobile terminal may only refresh the timer time displayed on the electronic ink screen. This can save refresh resources of the mobile terminal.
[0081] In another optional implementation, after each first refresh cycle and each second refresh cycle, the mobile terminal may refresh the system time and the timer of the first timer displayed on the electronic ink screen. After each first refresh cycle, the timer displayed on the electronic ink screen is the same as the timer displayed after the previous refresh cycle. After each second refresh cycle, the system time displayed on the electronic ink screen is the same as the system time displayed after the previous refresh cycle.
[0082] For example, assume that the first timer is used for countdown, and the first timer duration is 2 minutes, the start time of the first timer is 19 hours 31 minutes 40 seconds, the first refresh period is 20 seconds, the second refresh period is 40 seconds, the second time precision is minutes, and the first time precision is seconds. Then refer to Figure 4After the first timer is started, the system time displayed on the electronic ink screen of the mobile terminal is 19:31, and the timing time of the first timer displayed is 2 minutes.
[0083] From the start of the first timer to 20 seconds after the first refresh cycle, the system time measured by the mobile terminal using the first time accuracy is 19 hours 32 minutes, and the timed time of the first timer using the first time accuracy is 1 minute 40 seconds. At this time, the mobile terminal can control the electronic ink screen to display the system time as 19:32 and the timed time as 2 minutes.
[0084] Afterwards, when the mobile terminal's timing duration reaches the second refresh period 40 seconds after the end of the first refresh period, the system time measured using the first time accuracy is 19 hours 32 minutes 40 seconds, and the timing duration of the first timer measured using the first time accuracy is 1 minute. At this point, the mobile terminal can control the electronic ink screen to display the system time as 19:32 and the timing duration as 1 minute.
[0085] Thus, the method provided in the embodiment of the present application can refresh the time displayed on the electronic ink screen after determining that any time in the timer or system time has reached the full minute. This ensures the accuracy of the time displayed on the electronic ink screen.
[0086] Optionally, after each first refresh cycle, the mobile terminal may further control the electronic ink screen to display a target symbol next to the time indicated by the first timer. This target symbol indicates the relative magnitude between the time displayed on the electronic ink screen and the time recorded by the first timer. The time recorded by the first timer is the time recorded by the mobile terminal. This ensures the accuracy of the time displayed on the electronic ink screen. The target symbol may be a less than sign or a greater than sign.
[0087] In the embodiment of the present application, if the first timer is used for countdown, that is, the first timer is a countdown timer, the target symbol is a less than symbol. If the first timer is used for countup, that is, the first timer is a countdown timer, the target symbol is a greater than symbol.
[0088] For example, suppose the first timer is used for countdown, and the time duration is 2 minutes, the first refresh cycle is 20 seconds, and the second refresh cycle is 40 seconds. After the first timer is started, after the first refresh cycle of 20 seconds, if Figure 5 As shown, the mobile terminal can control the electronic ink screen to display 2min and display a less than symbol on the left side of 2min. Figure 5 It can be seen that the left side is the side close to the left frame of the mobile terminal.
[0089] Optionally, the first timer is used for countdown. The process of the mobile terminal displaying a target symbol on one side of the timed time includes: if the mobile terminal determines that the timed time counted by the first timer is less than the duration indicated by the second time accuracy, displaying the target symbol (i.e., a less than symbol) on one side of the timed time counted by the first timer.
[0090] For example, suppose the first timer is used for countdown, and the time duration is 2 minutes, the first refresh period is 20 seconds, and the second refresh period is 40 seconds. After the first timer is started, after the first refresh period of 20 seconds, the time duration of the first timer using the first time accuracy is 1 minute 40 seconds. Since 1 minute 40 seconds is greater than 1 minute, Figure 6 As shown, the mobile terminal can control the electronic ink screen display for 2 minutes.
[0091] After the first second refresh cycle of 40s, the mobile terminal can control the electronic ink screen to display for 1 minute. After the second first refresh cycle of 20s, the timing time of the first timer using the first time accuracy is 40s. Since 40s is less than 1 minute, Figure 6 As shown, the mobile terminal can control the electronic ink screen to display 1 minute and display a less than symbol on the left side of the displayed 1 minute.
[0092] In the embodiment of the present application, the operating state of each timer installed in the mobile terminal (i.e., the first timer and the second timer described above) can be one of the following states: running state, paused state, and ended state. The timing of the timer in the running state is in progress. The timing of the timer in the paused state is paused. The timing of the timer in the ended state is ended.
[0093] After the first timer can pause, the mobile terminal can refresh the system time displayed on the electronic ink screen without refreshing the time of the first timer displayed on the electronic ink screen. Based on this, the mobile terminal can also perform the following steps:
[0094] Step 204: In response to the pause timing instruction for the first timer, pause the timing of the first timer.
[0095] In an embodiment of the present application, the mobile terminal has a button for pausing the first timer. The mobile terminal can pause the first timer in response to a touch operation on the button.
[0096] Optionally, the button may be a physical button provided on the side of the mobile terminal, or the button may be a virtual button displayed on the electronic ink screen of the mobile terminal.
[0097] It is understandable that after the mobile terminal pauses the first timer, it can also control the electronic ink screen to display the remaining time of the first timer. The remaining time displayed on the electronic ink screen can be greater than or equal to the remaining time counted by the first timer.
[0098] For example, assume that the first timer is used for countdown, and the timing duration is 2 minutes, the first refresh period is 20 seconds, the second refresh period is 40 seconds, and the start time of the first timer is 19:31:40. Assume that the mobile terminal receives a pause instruction for the first timer at 19:32:10. Since the timing time of the first timer using the first time accuracy is 1 minute 30 seconds at this time, the remaining timing duration of the first timer displayed by the mobile terminal can be as follows: Figure 7 As shown, the remaining timing time is 2 minutes.
[0099] Step 205: After the pause duration of the first timer reaches the target duration, the system time displayed on the electronic ink screen is refreshed.
[0100] The target duration is the duration indicated by the second time precision, minus the time value of the pause time of the first timer at the first time precision.
[0101] In this embodiment of the present application, after the target duration after the pause moment, the system time measured by the mobile terminal may be an integer multiple of the duration indicated by the second time precision. That is, the system time measured by the mobile terminal is consistent with the system time to be displayed. At this time, the mobile terminal refreshes the system time displayed on the electronic ink screen to ensure that the displayed system time is consistent with the system time measured by the mobile terminal.
[0102] Step 206: Refresh the system time displayed on the electronic ink screen according to the third refresh cycle.
[0103] The third refresh period is equal to the duration indicated by the second time precision, that is, the third refresh period is the sum of the first refresh period and the second refresh period.
[0104] After the mobile terminal refreshes the system time displayed on the E-Ink screen after the target duration, the system time displayed on the E-Ink screen will be consistent with the system time kept by the mobile terminal, and the refreshed system time displayed on the E-Ink screen will be the whole minute. Based on this, the mobile terminal can then periodically refresh the system time displayed on the E-Ink screen according to the third refresh cycle, so that the system time displayed on the E-Ink screen remains synchronized with the system time kept by the mobile terminal, thereby ensuring the accuracy of the system time displayed on the E-Ink screen.
[0105] In this embodiment of the present application, after the first timer reaches the end state, that is, after the first timer has finished timing, the third timer can be triggered to start timing. For example, the first and third timers are both Pomodoro timers, and the corresponding Pomodoro Clock applications have adjacent operating states. In this case, the mobile terminal can obtain the start time of the third timer and use the method provided in steps 201 to 203 to refresh the time displayed on the electronic ink screen. This embodiment of the present application will not be further described here.
[0106] Alternatively, after the first timer expires, the mobile terminal may refresh the system time displayed on the electronic ink screen. The process of refreshing the system time displayed on the electronic ink screen by the mobile terminal may include refreshing the system time displayed on the electronic ink screen once according to a first refresh cycle, and then periodically refreshing the time displayed on the electronic ink screen according to a third refresh cycle.
[0107] In an embodiment of the present application, after responding to the start instruction for the first timer, the mobile terminal may lock the screen and display a lock screen interface. The lock screen interface may display the system time of the mobile terminal and the time of the first timer.
[0108] Optionally, if the first timer is a tomato timer, the lock screen interface may further display the working status of the tomato clock application corresponding to the tomato timer.
[0109] For example, Figure 8 1 is a schematic diagram of a lock screen interface of a mobile terminal after a tomato timer corresponding to a focused working state is started, provided in an embodiment of the present application. Figure 9 This is a schematic diagram of the lock screen interface of the mobile terminal after the tomato timer corresponding to the short break working state provided by the embodiment of the present application is started. Figure 8 and Figure 9 It can be seen that after the tomato timer is started, the mobile terminal can display the time of the tomato timer and the working status of the tomato clock application corresponding to the tomato timer. Figure 8 The lock screen shown has the word "focused" displayed. Figure 9 The lock screen shown shows the text taking a short break.
[0110] And, from Figure 8 and Figure 9 It can also be seen that the mobile terminal can also display the number of completed Pomodoros.
[0111] In the embodiment of the present application, after the tomato timer ends, see Figure 10 , the mobile terminal can control the electronic ink screen to display the number of completed tomatoes. Figure 10 It can also be seen that the mobile terminal can also control the electronic ink screen to display the application logo of the Tomato Clock application.
[0112] It is understandable that after the mobile terminal receives the unlock instruction, it is not necessary to pause or end the Pomodoro timer. In this case, after the mobile terminal is unlocked, the status of the currently running Pomodoro timer can be displayed in the notification bar.
[0113] For example, if the lock screen of the mobile terminal currently displays the time of the Pomodoro timer corresponding to the short break working state, and the time is less than 1 minute, then after receiving the unlock instruction, the mobile terminal may display Figure 11 The interface shown. Figure 11 As can be seen in FIG, the mobile terminal can display the working status of the tomato clock application corresponding to the tomato timer, the timing time, the pause control 07, and the end control 08 of the tomato timer.
[0114] The mobile terminal can pause the tomato timer in response to a touch operation on the pause control 07. The mobile terminal can also end the tomato timer (i.e., end the tomato timer) in response to a touch operation on the end control 08.
[0115] In the embodiment of the present application, the first time progress is in seconds, the second time precision is in minutes, the first timer is a tomato timer, and the third timer can be triggered to start timing after the first timer ends. The first timer is used for countdown, the timing duration is 2 minutes, and the start time is 19 hours 30 minutes 40 seconds. As an example, the method provided in the embodiment of the present application is exemplarily described:
[0116] After the first timer is started, since the start time 19:30:40 is not a full minute, the mobile terminal can determine that the first refresh cycle is 20 seconds and the second refresh cycle is 40 seconds. At this time, the mobile terminal can detect whether the remaining timing of the first timer is greater than 1 minute. If the mobile terminal determines that the remaining timing is greater than 1 minute, it can call the AlarmManager.setExactAndAllowWhileIdle() method and enter the SystemClock.elapsedRealtime() + Interval2*1000 parameter to create an interface refresh event event1. After the mobile terminal determines that the interface refresh event event1 has been reached, it refreshes the time displayed on the electronic ink product. Among them, Interval2 is the interface refresh interval, and Interval2 is equal to the first refresh cycle.
[0117] After the interface refresh event event1 arrives, if the first timer has been paused, the mobile terminal will first refresh the system time displayed on the electronic ink screen after the system time measured using the first time accuracy reaches the next full minute. Afterwards, the mobile terminal can adjust the Interval2 in the parameter SystemClock.elapsedRealtime()+Interval2*1000 to the third refresh cycle to create a new interface refresh event event1, so that the mobile terminal refreshes the time displayed on the electronic ink product after determining that the interface refresh event event1 has been reached. In addition, the mobile terminal adjusts the Interval2 in the parameter SystemClock.elapsedRealtime()+Interval2*1000 to the third refresh cycle, and can repeat the operation of creating a new interface refresh event event1 every third refresh cycle.
[0118] If the first timer is not paused and the mobile terminal detects that the remaining duration of the first timer is greater than or equal to 1 minute, it can call the AlarmManager.setExactAndAllowWhileIdle() method and enter the SystemClock.elapsedRealtime() + Interval2 * 1000 parameter to create an interface refresh event event1. When the mobile terminal determines that the interface refresh event event1 has been reached, it refreshes the time of the electronic ink product display. Among them, Interval2 is equal to the second refresh period.
[0119] If the first timer is not paused and the mobile terminal detects that the remaining time of the first timer is less than 1 minute, a switching event, event 2, may be created. Upon arrival of event 2, the mobile terminal automatically starts the third timer. Accordingly, the Pomodoro Clock application enters the next working state.
[0120] It should be noted that the order of the steps of the time refresh method for a mobile terminal provided in the embodiments of the present application can be appropriately adjusted, and the steps can be increased or decreased accordingly. For example, step 205 can be deleted according to the circumstances, such as when the pause moment of the first timer is an integer multiple of the duration indicated by the second time accuracy; or steps 204 to 206 can also be deleted according to the circumstances. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application, and therefore will not be repeated here.
[0121] In summary, an embodiment of the present application provides a time refresh method for a mobile terminal, and after the start time of the first timer is not an integer multiple of the second time precision, the mobile terminal can determine the first refresh cycle and the second refresh cycle. Since the first refresh cycle is equal to the difference between the duration indicated by the second time precision and the time value of the start time at the first time precision, refreshing the time displayed on the electronic ink screen after the first refresh cycle can ensure that the displayed system time is equal to the system time actually counted by the mobile terminal. Since the sum of the second refresh cycle and the first refresh cycle is equal to the duration indicated by the second time precision, refreshing the time displayed on the electronic ink screen after the second refresh cycle can ensure that the timing time of the displayed first timer is equal to the timing time actually counted by the first timer. In this way, by refreshing the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle, the accuracy of the time displayed on the electronic ink screen can be ensured.
[0122] The embodiment of the present application provides a time refresh device, which is used to execute the time refresh method provided in the above method embodiment, and the device is configured in a mobile terminal. The mobile terminal includes: an electronic ink screen, and the mobile terminal is used to keep time according to a first time accuracy and control the electronic ink screen to display time according to a second time accuracy, wherein the first time accuracy is higher than the second time accuracy. Figure 12 , the apparatus 300 comprises:
[0123] The starting module 301 is configured to start a first timer installed in the mobile terminal.
[0124] The determination module 302 is configured to determine a first refresh cycle and a second refresh cycle if the start time of the first timer is not an integer multiple of the second time precision.
[0125] Refresh module 303 is configured to refresh the time displayed on the electronic ink screen alternately according to a first refresh cycle and a second refresh cycle, where the time includes the system time and the time measured by the first timer. The sum of the first refresh cycle and the second refresh cycle is equal to the duration indicated by the second time precision, and the first refresh cycle is equal to the difference between the duration and the time value of the start time at the first time precision.
[0126] Optionally, the refresh module 303 may be used to:
[0127] After each first refresh cycle, refresh the system time displayed on the electronic ink screen;
[0128] After each second refresh cycle, the timing time displayed on the electronic ink screen is refreshed.
[0129] Figure 13 This is a structural diagram of another time refresh device provided by an embodiment of the present application. Figure 13, the time refresh device 300 may further include:
[0130] The display module 304 is configured to display a target symbol on one side of the timing time after each first refresh cycle. The target symbol is used to indicate the relationship between the timing time displayed on the electronic ink screen and the timing time counted by the first timer.
[0131] Optionally, if the first timer is used for countdown, the target symbol is a less than symbol;
[0132] If the first timer is used for counting up, the target symbol is a greater-than symbol.
[0133] Optionally, the first timer is used for countdown. The display module 304 can be used for:
[0134] If the time counted by the first timer is less than the time indicated by the second time accuracy, a target symbol is displayed on one side of the time counted.
[0135] Optionally, the first time precision is seconds, and the second time precision is minutes.
[0136] Optionally, the mobile terminal is further equipped with a second timer, and the end time of the second timer is equal to the start time of the first timer. The starting module 301 can be used to:
[0137] like Figure 13 As shown, after the second timer ends, the first timer is started.
[0138] Optionally, the time refreshing device 300 may further include:
[0139] The pause module 305 is configured to pause the timing of the first timer in response to a pause timing instruction for the first timer.
[0140] The refresh module 303 can also be used to:
[0141] After the pause duration of the first timer reaches the target duration, the system time displayed on the electronic ink screen is refreshed once, where the target duration is the duration indicated by the second time accuracy, minus the time value of the pause moment of the first timer at the first time accuracy; the system time displayed on the electronic ink screen is refreshed according to the third refresh cycle, and the third refresh cycle is equal to the duration indicated by the second time accuracy.
[0142] In summary, an embodiment of the present application provides a mobile terminal that can determine a first refresh cycle and a second refresh cycle after the start time of the first timer is not an integer multiple of the second time precision. Since the first refresh cycle is equal to the difference between the duration indicated by the second time precision and the time value of the start time at the first time precision, refreshing the time displayed on the electronic ink screen after the first refresh cycle can ensure that the displayed system time is equal to the system time actually counted by the mobile terminal. Since the sum of the second refresh cycle and the first refresh cycle is equal to the duration indicated by the second time precision, refreshing the time displayed on the electronic ink screen after the second refresh cycle can ensure that the displayed timing time of the first timer is equal to the timing time actually counted by the first timer. In this way, by refreshing the time displayed on the electronic ink screen alternately according to the first refresh cycle and the second refresh cycle, the accuracy of the time displayed on the electronic ink screen can be ensured.
[0143] Figure 14 Schematic diagram of a mobile terminal provided by an embodiment of the present application. Figure 14 The mobile terminal 110 includes: an electronic ink screen 131, a memory 140, a processor 1101, and a computer program stored in the memory 140 and executable on the processor 1101. When the processor 1101 executes the computer program, the time refresh method provided in the above method embodiment is implemented.
[0144] The processor 1101 is configured to measure time according to a first time precision and control the electronic ink screen 131 to display time according to a second time precision. The first time precision is higher than the second time precision.
[0145] like Figure 14 As shown, the mobile terminal 110 may further include: a display unit 130, a radio frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a Bluetooth module 180, a power supply 190 and a camera 121 and other components.
[0146] The camera 121 can be used to capture still images or videos. The object is projected through the lens into a photosensitive element, which can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the processor 1101 for conversion into a digital image signal.
[0147] Processor 1101 is the control center of mobile terminal 110, connecting various components of the terminal using various interfaces and circuits. It executes various functions and processes data for mobile terminal 110 by running or executing software programs stored in memory 140 and accessing data stored in memory 140. In some embodiments, processor 1101 may include one or more processing units. Processor 1101 may also integrate an application processor and a baseband processor, with the application processor primarily processing the operating system, user interface, and application programs, while the baseband processor primarily handles wireless communications. It is understood that the baseband processor may not be integrated into processor 1101. In this application, processor 1101 can run the operating system and application programs, control the user interface display, and implement the time refresh method provided in the embodiments of this application. Furthermore, processor 1101 is coupled to the input unit and display unit 130.
[0148] The display unit 130 may be used to receive input digital or character information and generate signal input related to user settings and function control of the mobile terminal 110. Optionally, the display unit 130 may also be used to display information input by the user or provided to the user, as well as a graphical user interface (GUI) of various menus of the mobile terminal 110. The display unit 130 may include an electronic ink screen 131 disposed on the front of the mobile terminal 110. The display unit 130 may be used to display the various graphical user interfaces described herein.
[0149] The display unit 130 also includes a touch screen 132 disposed on the front of the mobile terminal 110. The electronic ink screen 131 can be used to display preview images. The touch screen 132 can detect user touch operations on or near it, such as clicking a button or dragging a scroll bar. The touch screen 132 can be overlaid on the electronic ink screen 131, or the touch screen 132 and the electronic ink screen 131 can be integrated to implement the input and output functions of the mobile terminal 110. This integration can be referred to as a touch display screen.
[0150] The memory 140 can be used to store software programs and data. The processor 1101 executes various functions and data processing of the mobile terminal 110 by running the software programs or data stored in the memory 140. The memory 140 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 140 stores an operating system that enables the mobile terminal 110 to run. In the present application, the memory 140 can store the operating system and various application programs, and may also store code for executing the time refresh method provided in the embodiments of the present application.
[0151] RF circuit 150 can be used to receive and transmit signals during information transmission or calls. It can receive downlink data from the base station and pass it to processor 1101 for processing; it can also send uplink data to the base station. Typically, RF circuits include but are not limited to antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and other components.
[0152] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 110. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output. The mobile terminal 110 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then outputs the audio data to the RF circuit 150 to be sent to, for example, another terminal, or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 can capture the user's voice.
[0153] Wi-Fi is a short-range wireless transmission technology. The mobile terminal 110 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 170, which provides users with wireless broadband Internet access.
[0154] The Bluetooth module 180 is used to exchange information with other Bluetooth devices having a Bluetooth module through the Bluetooth protocol. For example, the mobile terminal 110 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 180 to exchange data.
[0155] The mobile terminal 110 also includes a power supply 190 (e.g., a battery) for powering various components. The power supply can be logically connected to the processor 1101 via a power management system, thereby enabling the power management system to manage functions such as charging, discharging, and power consumption. The mobile terminal 110 may also be configured with a power button for powering on and off the terminal and for locking the screen.
[0156] The mobile terminal 110 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, and a temperature sensor 11103. The mobile terminal 110 may also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
[0157] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the mobile terminal and each device described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] Figure 15 This is a block diagram of the software structure of the mobile terminal provided in an embodiment of the present application. A layered architecture divides software into several layers, each with distinct roles and divisions of labor. Layers communicate with each other via software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime environment (ART) and system libraries, and the kernel layer.
[0159] The application layer can include a series of application packages. Figure 15 As shown, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message. The application framework layer provides the application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0160] like Figure 15 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0161] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0162] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0163] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0164] The phone manager is used to provide communication functions of the mobile terminal 110, such as management of call status (including answering, hanging up, etc.).
[0165] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0166] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to announce the completion of downloads, message reminders, and so on. The Notification Manager can also display notifications in the form of icons or scrolling text in the top status bar, such as notifications from background applications, or in the form of dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the communication terminal, and flashing indicator lights.
[0167] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0168] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0169] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0170] The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0171] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0172] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0173] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0174] A 2D graphics engine is a drawing engine for 2D drawings.
[0175] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0176] The embodiment of the present application provides a computer-readable storage medium in which a computer program is stored. The computer program is loaded by a processor and executes the time refresh method provided in the above embodiment, for example Figure 1 or Figure 2 The method shown.
[0177] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the time refresh method provided by the above method embodiment, for example: Figure 1 or Figure 2 The method shown.
[0178] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0179] It should be understood that the term "and / or" used herein indicates that three relationships can exist. For example, "A and / or B" can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. Furthermore, the term "at least one" in this application means one or more, and the term "plurality" in this application means two or more.
[0180] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. For example, without departing from the scope of the various examples described, a first refresh cycle may be referred to as a second refresh cycle, and similarly, a second refresh cycle may be referred to as a first refresh cycle.
[0181] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A time refresh method, characterized in that: The method is applied to a mobile terminal, the mobile terminal including an electronic ink screen, and the mobile terminal is configured to keep time according to a first time accuracy and control the electronic ink screen to display time according to a second time accuracy, wherein the first time accuracy is higher than the second time accuracy; the method comprising: Starting a first timer installed in the mobile terminal; If the start time of the first timer is not an integer multiple of the second time precision, determining a first refresh period and a second refresh period, and refreshing the time displayed on the electronic ink screen alternately according to the first refresh period and the second refresh period; the time includes the system time and the time measured by the first timer, the sum of the first refresh period and the second refresh period is equal to the duration indicated by the second time precision, and the first refresh period is equal to the difference between the duration and the time value of the start time at the first time precision; In response to a pause timing instruction for the first timer, pausing the timing of the first timer; After the pause duration of the first timer reaches a target duration, refreshing the system time displayed on the electronic ink screen; wherein the target duration is the duration indicated by the second time precision minus the time value of the pause of the first timer at the first time precision; The system time displayed on the electronic ink screen is refreshed according to a third refresh period, where the third refresh period is equal to the duration indicated by the second time accuracy.
2. The method according to claim 1, characterized in that The step of refreshing the electronic ink screen display time alternately according to the first refresh cycle and the second refresh cycle includes: After each of the first refresh cycles, refreshing the system time displayed on the electronic ink screen; After each of the second refresh cycles, the timing time displayed on the electronic ink screen is refreshed.
3. The method according to claim 2, characterized in that The method further comprises: After each of the first refresh cycles, a target symbol is displayed on one side of the timing time, and the target symbol is used to indicate the relationship between the timing time displayed on the electronic ink screen and the timing time counted by the first timer.
4. The method according to claim 3, characterized in that If the first timer is used for countdown, the target symbol is a less than symbol; If the first timer is used for counting up, the target symbol is a greater-than symbol.
5. The method according to claim 3, characterized in that The first timer is used for countdown; and the target symbol is displayed on one side of the countdown time, including: If the timing time counted by the first timer is less than the duration indicated by the second time accuracy, a target symbol is displayed on one side of the timing time.
6. The method according to any one of claims 1 to 5, characterized in that: The first time precision is seconds, and the second time precision is minutes.
7. The method according to any one of claims 1 to 5, characterized in that: The mobile terminal is further equipped with a second timer, the end time of the second timer being equal to the start time of the first timer; The starting the first timer includes: After the second timer ends, the first timer is started.
8. A mobile terminal, characterized in that: The mobile terminal comprises: an electronic ink screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the time refresh method according to any one of claims 1 to 7 when executing the computer program; The processor is configured to measure time according to a first time precision and control the electronic ink screen to display time according to a second time precision, wherein the first time precision is higher than the second time precision.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the time refresh method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Writing display method and device of electronic ink screen, terminal equipment and storage medium
CN114675775A