Timing method and device for user behavior event

By displaying behavioral controls on the lock screen interface and/or desktop and receiving user input, the problem of cumbersome time recording operations in third-party applications is solved, and the function of quickly recording time expenditure is realized.

CN119065769APending Publication Date: 2024-12-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118163.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When users use third-party applications to record time expenses, the operation is cumbersome and takes a long time.

Method used

The behavior controls corresponding to multiple behavioral events are displayed on the lock screen interface and/or desktop of the electronic device, and the user's input is received, and the corresponding duration information is obtained and recorded to simplify the time recording process.

Benefits of technology

Simplifies user operations, reduces the time-consuming expense of recording time, and allows users to understand time usage more quickly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065769A_ABST
    Figure CN119065769A_ABST
Patent Text Reader

Abstract

The invention discloses a user behavior event timing method and device, and relates to the technical field of communication. The user behavior event timing method comprises the steps of displaying behavior controls corresponding to a plurality of behavior events on a target interface, wherein the target interface is any one of a desktop and a lock screen interface of the electronic equipment; receiving a first input of a user to a first behavior control, wherein the first behavior control is any one of the plurality of behavior controls; and in response to the first input, acquiring duration information of a first behavior event corresponding to the first behavior control in a preset unit duration, and recording the duration information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method and device for timing user behavior events. Background Art

[0002] Currently, users can use third-party applications (Application, APP) installed in electronic devices to record their time expenditures for a day. The way in which users use third-party APPs to record their time expenditures can be as follows: the user first unlocks the electronic device, finds the third-party APP in the electronic device, enters the third-party APP and finds the interface for recording time expenditures, and records time expenditures on this interface. In this way, when users record time expenditures in third-party APPs, they need to perform multiple operations, which is cumbersome and time-consuming. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method and device for timing user behavior events, which can solve the technical problems of related technologies in that the operation of recording time expenditure is cumbersome and time-consuming.

[0004] In a first aspect, an embodiment of the present application provides a method for timing a user behavior event, including:

[0005] Displaying behavior controls corresponding to the multiple behavior events respectively on a target interface, where the target interface is any one of a desktop and a lock screen interface of the electronic device;

[0006] Receive a first input of a user to a first behavior control, where the first behavior control is any one of the multiple behavior controls;

[0007] In response to the first input, duration information of a first behavior event corresponding to the first behavior control within a preset unit duration is obtained, and the duration information is recorded.

[0008] In a second aspect, an embodiment of the present application provides a timing device for user behavior events, including:

[0009] A display module, used for displaying behavior controls corresponding to the multiple behavior events respectively on a target interface, where the target interface is any one of a desktop and a lock screen interface of the electronic device;

[0010] A receiving module, configured to receive a first input from a user to a first behavior control, where the first behavior control is any one of a plurality of behavior controls;

[0011] The timing module is used to obtain, in response to the first input, the duration information of the first behavior event corresponding to the first behavior control within a preset unit duration, and record the duration information.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.

[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.

[0016] In an embodiment of the present application, if behavior controls corresponding to multiple behavior events are displayed on the lock screen interface, the user can record time expenses by making a first input to the first behavior control on the lock screen interface without unlocking the device. If behavior controls corresponding to behavior events are displayed on the desktop of the electronic device, the user can record time expenses by making a first input to the first behavior control on the desktop after unlocking and entering the desktop. In this way, the embodiment of the present application can simplify user operations and reduce the time spent by users in recording time expenses by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or the desktop, and recording time expenses by receiving the user's first input. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flowchart of a method for timing user behavior events provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a desktop of an electronic device provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of a lock screen interface provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of another lock screen interface provided in an embodiment of the present application;

[0021] Figure 5 A flowchart of a method for timing user behavior events provided in an embodiment of the present application;

[0022] Figure 6A flowchart of another method for timing user behavior events provided in an embodiment of the present application;

[0023] Figure 7 A schematic diagram of a desktop of another electronic device provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of a wallpaper interface provided in an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of a wallpaper set A provided in an embodiment of the present application;

[0026] Fig.10 A flowchart of another method for timing user behavior events provided in an embodiment of the present application;

[0027] Fig.11 A schematic diagram of a target interface provided in an embodiment of the present application;

[0028] Fig.12 A schematic diagram of the structure of a timing device for user behavior events provided in an embodiment of the present application;

[0029] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0030] Fig.14 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0032] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0033] As described in the background technology section, the relevant technology mainly uses third-party apps installed in electronic devices to record users' daily time expenditures on sports, study, meals, etc. When users use third-party apps to record time expenditures, they need to perform multiple operations, and the process is cumbersome and time-consuming.

[0034] To this end, an embodiment of the present application provides a method and device for timing user behavior events, which simplifies user operations and reduces the time spent on recording time expenditure by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or desktop, and recording time expenditure by receiving the user's first input.

[0035] The following describes in detail the method and device for timing user behavior events provided by the embodiments of the present application in conjunction with specific embodiments.

[0036] The method for timing user behavior events provided in the embodiments of the present application can be applied to scenarios where users use electronic devices to record their time expenditures for exercise, rest, work, meals, housework, etc. in a day or a preset time period. Among them, a specific application scenario is that when the electronic device is in a locked state, the electronic device can display behavior controls corresponding to multiple behavior events on the lock screen interface, and the user can click on the corresponding behavior control to time the behavior event corresponding to the behavior control when the electronic device is locked.

[0037] Another specific application scenario is that the electronic device displays behavior controls corresponding to multiple behavior events on the desktop. After the user unlocks the electronic device, the user can time the corresponding behavior events by clicking the behavior controls on the desktop.

[0038] The above application scenarios can all realize the timing of user behavior events with less user operations, so that users can more clearly understand what events their time is spent on. It should be noted that the above application scenarios are only examples, and other application scenarios may also be included in actual applications.

[0039] Figure 1 This is a flowchart of a method for timing a user behavior event provided in an embodiment of the present application. The method for timing a user behavior event can be applied to electronic devices such as mobile phones, tablet computers, laptop computers, PDAs, and vehicle-mounted electronic devices. Figure 1 As shown, the timing method of the user behavior event may include the following steps:

[0040] S110: Displaying behavior controls corresponding to the plurality of behavior events respectively on the target interface.

[0041] The target interface is any one of the desktop and lock screen interfaces of the electronic device.

[0042] S120: Receive a first input from a user to a first behavior control.

[0043] The first behavior control is any one of the multiple behavior controls.

[0044] S130. In response to the first input, obtain duration information of a first behavior event corresponding to the first behavior control within a preset unit duration, and record the duration information.

[0045] The embodiments of the present application can simplify user operations and reduce the time spent by users in recording time expenditures by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or desktop, and recording time expenditures upon receiving the user's first input.

[0046] The above steps are described in detail below:

[0047] In S110, the target interface may be any one of the desktop and lock screen interfaces of the electronic device. Among them, the desktop of the electronic device may be the interface entered after the electronic device is unlocked, and the interface may include multiple application icons. The user can open the corresponding APP by clicking the application icon on the desktop. In addition to the application icon, the desktop may also include behavior controls corresponding to multiple behavior events. A behavior event may correspond to one or more behavior controls. The behavior events here may include but are not limited to daily behavior events such as exercise, work, rest, and eating.

[0048] Figure 2 It is a schematic diagram of a desktop of an electronic device provided in an embodiment of the present application. Figure 2 Take the desktop 20 including four application icons 201 and three behavior controls 202 as an example. In actual application, the desktop 20 may include more application icons 201 and more behavior controls 202. The four application icons 201 may be icons corresponding to APP1, APP2, APP3 and APP4, respectively. The three behavior controls 202 may be a motion behavior control, a work behavior control and a rest behavior control, respectively corresponding to a motion behavior event, a work behavior event and a rest behavior event.

[0049] In addition, the lock screen interface can be the interface before the electronic device is unlocked, that is, the interface when the electronic device is in a locked state. That is, the embodiment of the present application can time the user's behavior events in the unlocked state, and can also time the user's behavior events in the locked state, so as to meet the different needs of users.

[0050] In an embodiment of the present application, regardless of whether the electronic device is in a locked state or an unlocked state, behavior controls corresponding to multiple behavior events can be displayed in the corresponding interface, which facilitates the user to time the behavior events and simplifies the user's operations.

[0051] Figure 3 A schematic diagram of a lock screen interface provided in an embodiment of the present application. Figure 3 The lock screen interface 30 shown includes, for example, a sports behavior control 301, a work behavior control 302, and a rest behavior control 303. In actual application, the user can add, modify, or delete corresponding behavior controls according to needs.

[0052] In S120, the first behavior control may be any one of a plurality of behavior controls, and the first input may be used to time a first behavior event corresponding to the first behavior control.

[0053] As an example, the above-mentioned first input includes but is not limited to: the user's touch input to the first behavior control through a touch device such as a finger or a stylus, a voice command input by the user, a specific gesture input by the user, other feasible inputs, etc. The first input can be specifically determined according to actual usage requirements, and the embodiments of the present application are not limited. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. Based on this, the above-mentioned first input can, for example, be: the user's mobile input to the first behavior control.

[0054] The first input methods corresponding to different target interfaces may be the same or different. For example, when the target interface is the lock screen interface, the first input may be a movement input or a click input to the first behavior control, and when the target interface is the desktop, the first input may be a click input to the first behavior control.

[0055] In S130, the preset unit time length may be one day, half a day, or several hours, etc., and may be set specifically according to demand.

[0056] As an example, after receiving the first input from the user to the first behavior control, the electronic device can start the timer, obtain the duration information of the first behavior event corresponding to the first behavior control within a preset unit time, and record the duration information.

[0057] The duration information here can be the duration of a single time period, or the cumulative duration of multiple time periods. For example, if the user works for a period of time within the preset unit time period, then takes a break, and then continues to work, the duration information here can be the cumulative duration of the two working time periods.

[0058] Taking the preset unit time as 9:00 a.m. - 12:00 noon, and the first behavior event as work, the user starts working at 9:00 a.m., that is, the electronic device starts timing the work at 9:00 a.m.; assuming that at 10:00 a.m. the user opens a video APP on the electronic device, watches a 20-minute video, and exits the video APP at 10:20, and continues to work until 12 noon, then the user's work timing result from 9:00 a.m. to 12:00 noon is 2 hours and 40 minutes.

[0059] Taking the target interface as the lock screen interface as an example, as an example, the first input may be an input for the user to move the first behavior control to the target area of ​​the lock screen interface.

[0060] Here, the target area can be the area on the lock screen except the area where the first line of controls are located. Figure 4 Shown, target area 401 can be the zone above the motor behavior control 301 in the lock screen interface.The dotted arrow can represent moving track, and moving track can be preset by the user.That is, when the user moves the motor behavior control 301 to the target area 401 according to the track preset by the user, the electronic device can start the timer, and the motor behavior event is started.Wherein, the motor behavior event timing is namely obtained the continuous duration information of the motor behavior event in the preset unit duration, and records this continuous duration information.

[0061] As an example, the moving track may also be any track that can reach the target area 401. That is, as long as the user moves the motor behavior control 301 to the target area 401, the electronic device can start the timer to start timing the motor behavior event.

[0062] As an example, when the user needs to switch the timed behavior event, it can be achieved by adjusting the behavior control in the target area. For example, when the electronic device is timing the work behavior event corresponding to the work behavior control, if the user wants to time the rest behavior event corresponding to the rest behavior control, the work behavior control can be moved out of the target area, and the electronic device can terminate the timing of the work behavior event. Then, by moving the rest behavior control to the target area, the timing of the rest behavior event can be started. In addition, when the electronic device is timing the work behavior event corresponding to the work behavior control, if the user wants to time the rest behavior event corresponding to the rest behavior control, the rest behavior control can also be directly moved to the target area to terminate the timing of the work behavior event and start the timing of the rest behavior event.

[0063] In this way, by changing the position of the first behavior control to time the first behavior event corresponding to the first behavior control, the effect of preventing accidental touches can be achieved and the accuracy of timing can be improved.

[0064] In the case where the electronic device supports fingerprint unlocking, as an example, the target area may be a fingerprint unlocking area. Accordingly, the timing method of the user behavior event may also include the following steps:

[0065] After the user moves the first behavior control to the fingerprint unlocking area, the electronic device is unlocked.

[0066] As an example, when the target area coincides with the fingerprint unlocking area, when the electronic device detects that the user moves the first behavior control to the fingerprint unlocking area, it can not only unlock the electronic device, but also start the timing of the first behavior event at the same time. That is, through one operation, both unlocking and timing functions can be achieved at the same time, simplifying the user's operation.

[0067] As an example, after the electronic device is unlocked, it can continue to stay on the lock screen interface or directly enter the desktop, which can be set by the user.

[0068] Figure 5 A flowchart of a method for timing user behavior events provided in an embodiment of the present application, Figure 5 and Figure 1 The difference is that Figure 5 Also includes S140.

[0069] In S140, in response to the first input, when the electronic device is in an unlocked state, a target desktop is displayed.

[0070] The application icon on the target desktop is determined according to the first behavior event. In the embodiment of the present application, the operation of displaying the target desktop and the timing operation can be performed simultaneously or in a certain order, which is not limited here. That is, S130 and S140 can be performed simultaneously or in order.

[0071] In addition, the embodiments of the present application do not limit the unlocking method of the electronic device. For example, it can be unlocked by face, fingerprint, password, side button, sliding, etc.

[0072] In addition, the target desktop can be the original desktop of the electronic device or an adjusted desktop. For example, according to the event type of the first behavior event, the application icons of the original desktop can be filtered. Specifically, the target desktop can be obtained by only displaying certain application icons or hiding certain application icons.

[0073] Taking the first behavior event as work as an example, the electronic device can hide the application icons of apps that affect work efficiency and only display the application icons of apps related to work. Among them, apps that affect work efficiency may include but are not limited to shopping apps and entertainment apps. Apps related to work may include but are not limited to instant messaging apps and office apps.

[0074] Taking the first behavior event as exercise as an example, the electronic device can choose to display only sports apps. Taking the first behavior event as sleep as an example, the user can choose to display only the clock app. The specific application icons displayed by the electronic device can be pre-set by the user according to needs.

[0075] As an example, when the target interface is the lock screen interface, after receiving the first input from the user to the first behavior control, the electronic device can adjust the desktop of the electronic device according to the event type of the first behavior event, so that after the electronic device is unlocked, the adjusted desktop, that is, the target desktop, can be directly displayed, making it convenient for the user to quickly enter the corresponding APP for operation.

[0076] As an example, when the target interface is the desktop, after receiving the user's first input to the first behavior control, the electronic device can display the change process from the original desktop to the target desktop, so that the user can more intuitively understand the differentiated display process of the desktop.

[0077] The embodiment of the present application can dynamically adjust the application icons on the desktop according to the first behavior event, so that the adjusted desktop matches the first behavior event, thereby realizing a differentiated display of the desktop. At the same time, after the electronic device is unlocked, the user can also quickly enter the corresponding APP for operation.

[0078] In some embodiments, the target interface may further include duration information corresponding to the multiple behavior events. Accordingly, the timing method of the user behavior event may further include: Figure 6 The steps shown, Figure 6 and Figure 1 The difference is that Figure 6 Also includes S150.

[0079] In S150 , the duration information of the first behavior event is updated and displayed.

[0080] The duration information may include, for example, the duration of the first behavior event, the duration ratio, the usage time period, etc. The duration information may be displayed in the form of a table, a pie chart, a bar chart, etc., so that the user can intuitively understand the usage duration of each behavior event.

[0081] Take the duration information including duration ratio as an example, Figure 7 As shown, the duration ratio can be displayed by lines, and the duration ratios corresponding to different behavioral events can be distinguished by different colors. Figure 7 For example, the red line represents the duration of the exercise behavior event, the blue line represents the duration of the work behavior event, and the green line represents the duration of the rest behavior event. The longer the line, the longer the usage time of the behavior event. In actual application, the color of the behavior control can also be consistent with the color of the line. For example, if the duration of the exercise behavior event is represented by a red line, the exercise behavior control can also be displayed in red.

[0082] When the duration of the first behavior event changes, the electronic device can synchronously update the duration information of the first behavior event, thereby improving the accuracy of the timing result.

[0083] In addition to simplifying the user's timing operation on behavior events, the embodiments of the present application can also display the duration information corresponding to each behavior event on the lock screen interface or desktop, so that the user can more intuitively understand the usage of each behavior event. At the same time, the duration information of the first behavior event can be updated as the first behavior event changes, thereby improving the accuracy of the timing results.

[0084] In some embodiments, the user behavior event timing method may further include the following steps:

[0085] In response to the first input, a target wallpaper corresponding to the first behavior control is displayed.

[0086] Here, the target wallpaper may be the wallpaper corresponding to the first behavior control. Different types of behavior events may correspond to different wallpapers, and the same type of behavior events may correspond to the same wallpaper. Of course, one behavior event may correspond to one wallpaper, which may be set by the user.

[0087] For example, if the timed behavior events include five types: work, rest, eating, exercise, and housework, then the wallpapers may also include five types of wallpapers: work, rest, eating, exercise, and housework. There may be multiple wallpapers of each type, and the user may select a suitable wallpaper from them according to the needs.

[0088] When the electronic device times a certain behavior event, the wallpaper of the target interface can be set to a wallpaper corresponding to the type of the behavior event. For example, for a sports behavior event, the wallpaper of the target interface can be set to a sports wallpaper. For a resting behavior event, the wallpaper of the target interface can be set to a resting wallpaper.

[0089] The wallpaper here can be a default wallpaper provided by the electronic device, or a user-defined wallpaper, for example, the user can add or delete wallpapers by himself. The user-defined wallpaper can be obtained from a photo album, the Internet, or a reading image server.

[0090] Figure 8 A schematic diagram of a wallpaper interface provided in an embodiment of the present application. The wallpaper interface 80 can display multiple wallpaper sets. Figure 8 Take three wallpaper sets as an example. The three wallpaper sets are wallpaper set A, wallpaper set B, and wallpaper set C. Each wallpaper set may include multiple types of timed wallpapers, and different wallpaper sets may include different types of timed wallpapers. For example, wallpaper set A may include sports wallpapers, rest wallpapers, and work wallpapers. Wallpaper set B may include sports wallpapers and housework wallpapers. Wallpaper set C may include rest wallpapers and entertainment wallpapers.

[0091] When a user clicks on a wallpaper set, all types of time-lapse wallpapers included in the wallpaper set can be displayed, and the user can select a suitable time-lapse wallpaper from multiple types of time-lapse wallpapers. Figure 8 Take the wallpaper set A shown in the figure as an example. Fig. 9 As shown, the electronic device can display sports wallpaper 901, work wallpaper 902 and rest wallpaper 903 included in wallpaper set A. Of course, the user can also click on the edit control 904 to add wallpaper or delete wallpaper.

[0092] As an example, the electronic device may display the target wallpaper corresponding to the first behavior control in the lock screen interface and / or the desktop. For example, when the target interface is the lock screen interface, the electronic device may display the wallpaper corresponding to the first behavior control only in the lock screen interface, or may display the wallpaper corresponding to the first behavior control only on the desktop, or may display the target wallpaper corresponding to the first behavior control in both the lock screen interface and the desktop.

[0093] When the embodiment of the present application receives the first input of the user to the first behavior control, the target wallpaper corresponding to the first behavior control can be displayed on the lock screen interface and / or the desktop at the same time, that is, the wallpaper is combined with the timing, so that the user can understand the current timing behavior event more intuitively.

[0094] In some embodiments, the electronic device may be a foldable device, that is, the electronic device includes at least two display screens. Taking the electronic device including a first display screen and a second display screen as an example, the first display screen and the second display screen may be in a vertical relationship, a left-right relationship, or an inside-outside relationship, that is, one display screen is an inner screen and the other display screen is an outer screen.

[0095] In the case where the electronic device includes a first display screen and a second display screen, the first input may be an input of a user to a target interface in a target display screen. The target display screen may be any one of the first display screen and the second display screen. That is, the first input may act on the target interface of the first display screen or the target interface of the second display screen.

[0096] As an example, the above-mentioned displaying the target wallpaper corresponding to the first behavior control may include the following steps:

[0097] The target wallpaper corresponding to the first line of controls is displayed on the target interface of the target display screen.

[0098] Taking the target display screen as the first display screen as an example, the first behavior control can be located on the first display screen. When the electronic device receives the first input of the user to the first behavior control, the target wallpaper corresponding to the first behavior control can be displayed only on the target interface of the first display screen, and the wallpaper of the second display screen remains unchanged.

[0099] In some embodiments, the above method for timing the user's behavior events can also be applied only to the first display screen or the second display screen. For example, when applied to the first display screen, the electronic device will only time the APP opened by the user in the first display screen, and vice versa.

[0100] In some embodiments, assuming that the user works through the second display screen, in order not to affect the user's work efficiency, the electronic device can filter or hide the entertainment apps in the second display screen so that the user cannot see the entertainment apps in the second display screen.

[0101] In the embodiment of the present application, when the electronic device is a foldable device, different display screens can be used for differentiated timing and differentiated display wallpapers, so that timing events are more targeted and can better meet the different needs of users.

[0102] In some embodiments, the behavior event and the application program may have an association relationship. Taking the behavior event and the application program as an example, Fig.10 A flowchart of another method for timing user behavior events provided in an embodiment of the present application. Fig.10 and Figure 1 The difference is that Fig.10 S160 - S170 may be further included after S130 .

[0103] In S160, when the user's second input to the first application is received and the second behavior event corresponding to the first application is different from the first behavior event, stop recording the duration information of the first behavior event and start recording the duration information of the second behavior event within the preset unit duration.

[0104] Here, the behavior event is associated with the application, which means that the application used by the user can indicate the type of behavior event. For example, if the user uses a sports APP, it represents a sports behavior event. If the user uses a reading APP, it represents a learning behavior event.

[0105] The second input may be an input from a user to start a second application. Exemplarily, the second input includes, but is not limited to: a user's touch input to the first application through a touch device such as a finger or a stylus, a voice command input by a user, a specific gesture input by a user, other feasible inputs, etc. The second input can be specifically determined according to actual usage requirements, and the embodiments of the present application are not limited thereto. The specific gesture in the embodiments of the present application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application may be a single-click input, a double-click input, or any number of click inputs, etc., and may also be a long press input or a short press input. Based on this, the second input may, for example, be: a user's click input to the first application.

[0106] As an example, during the process of timing a first behavior event, if a second input from the user to a second application is received, and the second behavior event indicated by the second application is different from the first behavior event, the electronic device can pause the timing of the first behavior event and start the timing of the second behavior event.

[0107] For example, the user goes to bed at 11 o'clock in the evening, that is, the electronic device starts timing the sleep behavior event at 11 o'clock. The user opens the reading app at 11:15, then the electronic device stops timing the sleep behavior event at 11:15 and starts timing the learning behavior event.

[0108] In S170, when a third input from the user for exiting the first application is received, the recording of the duration information of the second behavior event is stopped and the recording of the duration information of the first behavior event within the preset unit duration is continued.

[0109] The third input can be used to exit the first application. Exemplarily, the third input includes but is not limited to: the user's touch input to the first application through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual usage requirements, and are not limited in the embodiments of the present application. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the third input can be: the user's sliding input to the first application.

[0110] When the user exits the first application, the electronic device may terminate the timing of the second behavior event and continue to time the first behavior event.

[0111] Based on the above embodiment, if the user exits the reading APP at 12 o'clock in the evening and then goes to sleep, the electronic device can stop timing the learning behavior event at 12 o'clock and continue timing the sleeping behavior event. That is, the electronic device can count the time from 11:15 to 12:00 into the learning behavior event.

[0112] As an example, when the user opens a reading app, the desktop wallpaper can also be switched from a sleep wallpaper to a study wallpaper. When the user closes the reading app, the desktop wallpaper can be switched from a study wallpaper to a sleep wallpaper. That is, the desktop wallpaper can be dynamically switched as the timing event changes.

[0113] In an embodiment of the present application, when an application and a behavior event are associated, and when the second behavior event to which the application opened by the user belongs is different from the first behavior event being timed, the electronic device can automatically switch the timing event from the first behavior event to the second behavior event, and continue to time the first behavior event when the user exits the application, thereby realizing automatic switching of timing events and ensuring the accuracy of the timing results.

[0114] In some embodiments, Fig.11 As shown, the target interface 110 may further include a target control 111. Accordingly, the timing method of the user behavior event may further include the following steps:

[0115] receiving a fourth input from the user to the target control;

[0116] In response to a fourth input, target information corresponding to the plurality of behavior events is displayed, the target information including a time period and an application corresponding to each behavior event.

[0117] The fourth input can be used to display the target information corresponding to each behavior event. Exemplarily, the fourth input includes but is not limited to: the user's touch input to the target control 111 through a touch device such as a finger or a stylus, a voice command input by the user, a specific gesture input by the user, other feasible inputs, etc. The fourth input can be specifically determined according to actual usage requirements, and the embodiment of the present application is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. Based on this, the fourth input can, for example, be: a user's click input to the target control 111.

[0118] As an example, after the electronic device receives the fourth input of the user to the target control 111, the target interface 110 can display information such as time periods, APPs, etc. corresponding to the sports behavior events, work behavior events, and learning behavior events. Of course, the target interface 110 can also display information other than time periods and APPs, which is not limited in the embodiments of the present application. As a result, the user can more clearly and completely understand what he has done within the preset unit time length and where his time is spent, which helps to improve the user's self-discipline.

[0119] As another example, the user may also perform input on the first behavior control or the progress bar in the above embodiment to display only the detailed information of a certain behavior event to meet the personalized needs of the user.

[0120] In some embodiments, after the target information corresponding to the plurality of behavior events is displayed, the timing method of the user behavior event may further include the following steps:

[0121] receiving a fifth input of target information from the user;

[0122] In response to a fifth input, a behavior event corresponding to the target time period is adjusted.

[0123] The fifth input can be used to adjust the behavioral event corresponding to the target event segment. Exemplarily, the fifth input includes but is not limited to: the user's touch input of the target information through a touch device such as a finger or a stylus, a voice command input by the user, a specific gesture input by the user, other feasible inputs, etc. The fifth input can be specifically determined according to actual usage requirements, and the embodiment of the present application is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. Based on this, the fifth input can, for example, be: a long press input of the target information by the user.

[0124] As an example, the user may also verify the target information of each behavior event displayed by the electronic device, and adjust the incorrect information to ensure the accuracy of the timing result.

[0125] For example, if the statistics of the timing events corresponding to a certain time period are incorrect, the user can modify the type of the timing events corresponding to the incorrect time period.

[0126] That is, the embodiment of the present application can support the user to verify and modify the information of each behavioral event recorded by the electronic device in response to the user's fifth input of the target information, so as to improve the accuracy of the timing result.

[0127] In some embodiments, the user behavior event timing method may further include the following steps:

[0128] At a preset time point, push information is displayed. The push information is used to push a behavior event timing report within a target preset unit duration. The behavior event timing report is generated based on multiple behavior events and their corresponding duration information. The target preset unit duration is the previous preset unit duration before the preset time point.

[0129] receiving a sixth input from the user regarding the push information;

[0130] In response to a sixth input, a behavioral event timing report is displayed.

[0131] Here, the preset time point can be set by the user, for example, it can be set to 24:00 every day or 9:00 am the next day. After the preset time point is determined, the electronic device can regularly display push information, which is used to push the behavior event timing report generated by the electronic device according to the timing results of each behavior event in the previous cycle.

[0132] The sixth input can be used to display a behavioral event timing report. Exemplarily, the sixth input includes but is not limited to: the user's touch input of the push information through a touch device such as a finger or a stylus, a voice command input by the user, a specific gesture input by the user, other feasible inputs, etc. The sixth input can be specifically determined according to actual usage needs, and the embodiment of the present application is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. Based on this, the sixth input can, for example, be: a user's click input of the push information.

[0133] After receiving the sixth input from the user, the electronic device may display the behavior event timing report for the user to view.

[0134] The embodiment of the present application can regularly push behavioral event timing reports within the previous cycle to users, so that users can timely understand the overall time consumption distribution within the previous cycle, thereby using electronics in a healthier way and improving work efficiency.

[0135] The embodiments of the present application can simplify user operations and reduce the time spent by users in recording time expenditures by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or desktop, and recording time expenditures upon receiving the user's first input.

[0136] It should be noted that the user behavior event timing method provided in the embodiment of the present application can be executed by a user behavior event timing device, or a processing module in the user behavior event timing device for executing the user behavior event timing method. In the embodiment of the present application, the user behavior event timing device executing the user behavior event timing method is taken as an example to illustrate the user behavior event timing device provided in the embodiment of the present application.

[0137] Fig.12 A schematic diagram of the structure of a timing device for user behavior events provided in an embodiment of the present application.

[0138] like Fig.12 As shown, the timing device 1200 for the user behavior event may include:

[0139] Display module 1201, used for displaying behavior controls corresponding to multiple behavior events respectively on a target interface, where the target interface is any one of the desktop and lock screen interfaces of the electronic device;

[0140] A receiving module 1202 is configured to receive a first input from a user to a first behavior control, where the first behavior control is any one of a plurality of behavior controls;

[0141] The timing module 1203 is used to obtain, in response to the first input, the duration information of the first behavior event corresponding to the first behavior control within a preset unit duration, and record the duration information.

[0142] In an embodiment of the present application, if behavior controls corresponding to multiple behavior events are displayed on the lock screen interface, the user can record time expenses by making a first input to the first behavior control on the lock screen interface without unlocking the device. If behavior controls corresponding to behavior events are displayed on the desktop of the electronic device, the user can record time expenses by making a first input to the first behavior control on the desktop after unlocking and entering the desktop. In this way, the embodiment of the present application can simplify user operations and reduce the time spent by users in recording time expenses by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or the desktop, and recording time expenses by receiving the user's first input.

[0143] In some possible implementations of the embodiments of the present application, the target interface is a lock screen interface, and the first input is an input in which the user moves the first behavior control to a target area of ​​the lock screen interface.

[0144] In some possible implementations of the embodiments of the present application, the display module 1201 is also used to display a target desktop when the electronic device is in an unlocked state after responding to the first input, and the application icons on the target desktop are determined according to the first behavior event.

[0145] In some possible implementations of the embodiments of the present application, the target interface also includes duration information corresponding to multiple behavioral events respectively, and the display module 1201 is also used to update and display the duration information of the first behavioral event after the timing module 1203 records the duration information.

[0146] In some possible implementations of the embodiments of the present application, the display module 1201 is further configured to display a target wallpaper corresponding to the first behavior control in response to the first input.

[0147] In some possible implementations of the embodiments of the present application, the behavior event is associated with the application, and the timing module 1203 is also used to stop recording the duration information of the first behavior event and start recording the duration information of the second behavior event within a preset unit duration when a second input from the user to the first application is received and the second behavior event corresponding to the first application is different from the first behavior event; and to stop recording the duration information of the second behavior event and continue recording the duration information of the first behavior event within the preset unit duration when a third input from the user to exit the first application is received.

[0148] The embodiments of the present application can simplify user operations and reduce the time spent by users in recording time expenditures by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or desktop, and recording time expenditures upon receiving the user's first input.

[0149] The timing device of the user behavior event in the embodiment of the present application can be a device or a component in an electronic device, such as an integrated circuit or a chip. As an example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.

[0150] The electronic device in the embodiment of the present application may be a terminal with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0151] The timing device for user behavior events provided in the embodiment of the present application can achieve Figures 1 to 9 The various processes in the embodiment of the method for timing user behavior events are similar to each other and can achieve the same technical effect. To avoid repetition, they will not be described here.

[0152] like Fig.13 As shown, an embodiment of the present application also provides an electronic device 1300, including a processor 1301 and a memory 1302, wherein the memory 1302 stores programs or instructions that can be executed on the processor 1301, and when the program or instructions are executed by the processor 1301, the various steps of the above-mentioned user behavior event timing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0153] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile terminals and non-mobile terminals.

[0154] Fig.14A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0155] The electronic device 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410 and other components.

[0156] Those skilled in the art will appreciate that the electronic device 1400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The structure of the electronic device 1400 shown in the figure does not constitute a limitation on the electronic device 1400. The electronic device 1400 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0157] The display unit 1406 is used to display the behavior controls corresponding to the multiple behavior events on the target interface, and the target interface is any one of the desktop and lock screen interfaces of the electronic device;

[0158] A user input unit 1407, used to receive a first input of a user to a first behavior control, where the first behavior control is any one of a plurality of behavior controls;

[0159] Processor 1410 is used to obtain, in response to a first input, duration information of a first behavior event corresponding to a first behavior control within a preset unit duration, and record the duration information.

[0160] In an embodiment of the present application, if behavior controls corresponding to multiple behavior events are displayed on the lock screen interface, the user can record time expenses by making a first input to the first behavior control on the lock screen interface without unlocking the device. If behavior controls corresponding to behavior events are displayed on the desktop of the electronic device, the user can record time expenses by making a first input to the first behavior control on the desktop after unlocking and entering the desktop. In this way, the embodiment of the present application can simplify user operations and reduce the time spent by users in recording time expenses by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or the desktop, and recording time expenses by receiving the user's first input.

[0161] In some possible implementations of the embodiments of the present application, the target interface is a lock screen interface, and the first input is an input in which the user moves the first behavior control to a target area of ​​the lock screen interface.

[0162] In some possible implementations of the embodiments of the present application, the display unit 1406 is further used to display a target desktop when the electronic device is in an unlocked state, and the application icons on the target desktop are determined according to the first behavior event.

[0163] In some possible implementations of the embodiments of the present application, the target interface also includes duration information corresponding to multiple behavioral events respectively, and the display unit 1406 is also used to update and display the duration information of the first behavioral event after the processor 1410 records the duration information.

[0164] In some possible implementations of the embodiments of the present application, the display unit 1406 is further configured to display a target wallpaper corresponding to the first behavior control in response to the first input.

[0165] In some possible implementations of the embodiments of the present application, the behavior event is associated with an application, and the processor 1410 is also used to, after recording the duration information, stop recording the duration information of the first behavior event and start recording the duration information of the second behavior event within a preset unit duration when receiving a second input from the user to the first application, and the second behavior event corresponding to the first application is different from the first behavior event; and stop recording the duration information of the second behavior event and continue recording the duration information of the first behavior event within the preset unit duration when receiving a third input from the user to exit the first application.

[0166] The embodiments of the present application can simplify user operations and reduce the time spent by users in recording time expenditures by displaying behavior controls corresponding to multiple behavior events on the lock screen interface and / or desktop, and recording time expenditures upon receiving the user's first input.

[0167] It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and at least one of other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0168] The memory 1409 can be used to store software programs and various data. The memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1409 may include a volatile memory or a non-volatile memory, or the memory 1409 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0169] The processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1410.

[0170] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned user behavior event timing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0171] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0172] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned user behavior event timing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0173] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0174] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned user behavior event timing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0175] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0176] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0177] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for timing user behavior events, characterized in that: include: Displaying behavior controls corresponding to the plurality of behavior events respectively on a target interface, wherein the target interface is any one of a desktop interface and a lock screen interface of the electronic device; receiving a first input from a user to a first behavior control, where the first behavior control is any one of the plurality of behavior controls; In response to the first input, duration information of a first behavior event corresponding to the first behavior control within a preset unit duration is obtained, and the duration information is recorded.

2. The method according to claim 1, characterized in that The target interface is a lock screen interface, and the first input is an input in which a user moves the first behavior control to a target area of ​​the lock screen interface.

3. The method according to claim 1, characterized in that After responding to the first input, the method further includes: When the electronic device is in an unlocked state, a target desktop is displayed, and application icons on the target desktop are determined according to the first behavior event.

4. The method according to any one of claims 1 to 3, characterized in that The target interface further includes the duration information corresponding to the multiple behavioral events respectively. After recording the duration information, the method further includes: The duration information of the first behavior event is updated and displayed.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In response to the first input, a target wallpaper corresponding to the first behavior control is displayed.

6. The method according to any one of claims 1 to 3, characterized in that The behavior event is associated with the application. After recording the duration information, the method further includes: Upon receiving a second input from the user to the first application, and when the second behavior event corresponding to the first application is different from the first behavior event, stopping recording the duration information of the first behavior event and starting recording the duration information of the second behavior event within the preset unit time; When a third input from the user is received to exit the first application, the recording of the duration information of the second behavior event is stopped and the recording of the duration information of the first behavior event within the preset unit duration is continued.

7. A timing device for user behavior events, characterized in that: include: A display module, configured to display behavior controls corresponding to the plurality of behavior events on a target interface, wherein the target interface is any one of a desktop and a lock screen interface of the electronic device; A receiving module, configured to receive a first input from a user to a first behavior control, where the first behavior control is any one of the plurality of behavior controls; The timing module is used to obtain duration information of a first behavior event corresponding to the first behavior control within a preset unit time in response to the first input, and record the duration information.

8. The device according to claim 7, characterized in that The target interface is a lock screen interface, and the first input is an input in which a user moves the first behavior control to a target area of ​​the lock screen interface.

9. The device according to claim 7, characterized in that The display module is further configured to display a target desktop after responding to the first input and when the electronic device is in an unlocked state, where the application icons on the target desktop are determined according to the first behavior event.

10. The device according to any one of claims 7 to 9, characterized in that: The target interface also includes the duration information corresponding to the multiple behavioral events respectively. The display module is further used to update and display the duration information of the first behavioral event after recording the duration information.

11. The device according to any one of claims 7 to 9, characterized in that: The display module is further configured to display a target wallpaper corresponding to the first behavior control in response to the first input.

12. The device according to any one of claims 7 to 9, characterized in that: The behavior event is associated with the application program. The timing module is further configured to, after recording the duration information, stop recording the duration information of the first behavior event and record the duration information of the second behavior event within the preset unit time when receiving a second input from the user to the first application and the second behavior event corresponding to the first application is different from the first behavior event; When a third input from the user is received to exit the first application, the recording of the duration information of the second behavior event is stopped and the recording of the duration information of the first behavior event within the preset unit duration is continued.