Timing method and device and electronic equipment

By receiving input in the target application and obtaining duration information and automatically setting the countdown, the problem of cumbersome countdown in the prior art is solved, and efficiency and accuracy are improved.

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

Patent Information

Application Number
CN202411204560.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The process of setting a countdown in the prior art is cumbersome and inefficient. The user needs to exit the application and manually enter the timing information.

Method used

By receiving user inputs into the target application interface, obtaining target information related to duration and automatically counting down, the operation process is simplified and setting efficiency is improved.

Benefits of technology

It realizes identification and automatic setting of countdown in target applications, simplifies user operations, improves the efficiency and accuracy of timing settings, and saves time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088523A_ABST
    Figure CN119088523A_ABST
Patent Text Reader

Abstract

The invention discloses a timing method and device and electronic equipment, and belongs to the technical field of computers. The method comprises the steps that first input is received, the first input is input for a target position in an interface of a target application, or the first input is input for switching the target application into a timing application; in response to the first input, obtaining target information related to duration in an interface of the target application; and performing countdown according to the target information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and specifically relates to a timing method, device and electronic equipment. Background Art

[0002] When a user uses an application in an electronic device such as a computer or a mobile phone, if there is timing information indicating a length of time in the display content of the application, the user usually needs to set a countdown according to the length of time in the timing information.

[0003] However, the current practice of setting a countdown usually requires the user to exit the currently used application, manually open the countdown application and enter the specific duration in the timing information. This operation process is cumbersome and the efficiency of setting the countdown is low. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a timing method, device and electronic device, which can solve the technical problem of low efficiency in setting countdown.

[0005] In a first aspect, an embodiment of the present application provides a timing method, the method comprising:

[0006] Receiving a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application;

[0007] In response to the first input, obtaining target information related to duration in the interface of the target application;

[0008] A countdown is performed according to the target information.

[0009] In a second aspect, an embodiment of the present application provides a timing device, the device comprising:

[0010] A receiving module, configured to receive a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application;

[0011] an acquisition module, configured to acquire, in response to the first input, target information related to duration in the interface of the target application;

[0012] The first timing module is used to count down according to the target information.

[0013] 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 provided in the first aspect are implemented.

[0014] 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 provided in the first aspect are implemented.

[0015] 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 method provided in the first aspect.

[0016] 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 method provided in the first aspect.

[0017] In the timing method, device and electronic device of the present application, a first input can be received, wherein the first input is an input of a target position in the interface of a target application, or the first input is an input of switching from a target application to a timing application; in response to the first input, target information related to duration in the interface of the target application is obtained; and the duration corresponding to the target information is timed according to the target information. In this way, the duration information of the target position can be identified in the target application, or the duration information in the target application can be identified when switching to the timing application, and the corresponding countdown can be automatically set based on the duration information. The duration information can be automatically transferred between applications, thereby simplifying the user's operating process and improving the efficiency of timing settings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flowchart of a timing method provided by an embodiment of the present application;

[0019] Figure 2 is a schematic structural diagram of a timing device provided by another embodiment of the present application;

[0020] Figure 3 is a structural schematic diagram of an electronic device provided by another embodiment of the present application;

[0021] Figure 4 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0022] 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.

[0023] The terms "first", "second", etc. in the specification and claims 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 terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, 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 and claims 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.

[0024] In order to solve the above technical problems, the present application provides a timing method. The timing method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0025] like Figure 1 As shown, Figure 1 : is a flowchart of a timing method provided by an embodiment of the present application. The embodiment of the present application provides a timing method, which may include:

[0026] S101, receiving a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application;

[0027] In this embodiment, the timing method can be applied to electronic devices with display screens such as mobile phones and computers, and the first input can be a touch input of the user to the electronic device, for example, the touch input can be a touch click operation, a sliding operation, or other operations. The first input can also be an input operation performed by the user with the help of other input devices such as a mouse, a remote control device, a keyboard, etc. connected to the first electronic device. Unless otherwise specified, the input to the electronic device in the following description can be a touch click operation, a sliding operation, or other operations, and can also be an input operation performed by the user with the help of other input devices such as a mouse, a remote control device, a keyboard, etc. connected to the electronic device.

[0028] In this embodiment, the target application is an application running on the front end of the electronic device, and the target application is not a timing application. Optionally, when the target application is running on the front end of the electronic device, the interface of the target application is displayed on the display screen of the electronic device, and the first input can be an input performed by selecting a target position on the interface of the target application in the electronic device. Optionally, the first input can also be an input for the user to close or hide the target application on the front end and open the timing application.

[0029] S102, in response to the first input, obtaining target information related to duration in the interface of the target application;

[0030] In this embodiment, after receiving the first input from the user, the electronic device can determine the target information related to the duration from the interface of the target application in response to the first input. For example, the target application can be a sports tutorial application, which includes the text information "run for 10 minutes", and the above "10 minutes" can be determined as the target information, or the target application can also be a cooking tutorial application, which includes the text information "stir for 2 minutes", and the above "2 minutes" can also be determined as the target information.

[0031] In some embodiments, the first input is an input of a target position in an interface of a target application, and there is information related to duration in an area where the target position is located, and S102 includes:

[0032] In response to the first input, information related to duration is acquired in the area where the target location is located.

[0033] In this embodiment, when the first input is an input of a target position in the interface of the target application, the electronic device can respond to the first input, identify the semantics of the information in the area where the target position is located, and then determine the information related to the duration in the area where the target position is located as the target information. The area where the target position is located can be an area that is less than a distance threshold from the target position.

[0034] In this way, the user only needs to input the first input to quickly extract the target information related to the duration in the target application.

[0035] In some embodiments, obtaining information related to duration in the area where the target location is located includes:

[0036] When there are a plurality of first information related to duration in the area where the target position is located, displaying a timing control corresponding to the first information in a display area of ​​each first information;

[0037] In response to an input to a first timing control, first information corresponding to the first timing control is determined as the target information, and the first timing control is any one of the plurality of timing controls.

[0038] In this embodiment, if there are multiple first information related to duration in the area where the target location is located, a timing control corresponding to the first information can be displayed in the display area of ​​each first information. If the user further inputs the first timing control, the first information corresponding to the first timing control can be determined as the target information, and then the duration corresponding to the target information is timed.

[0039] In addition, in response to the first input, the electronic device may also display a plurality of other interactive controls in the display area of ​​each first information, and the interactive controls may include a copy control, a translation control, and a sharing control. If the user inputs the copy control, the first information corresponding to the copy control may be copied to the clipboard for pasting and use in other applications; if the user inputs the translation control, the first information corresponding to the translation control may be translated into another language selected by the user; if the user inputs the sharing control, the first information corresponding to the sharing control may be quickly shared through social media, email, messages, etc.

[0040] Through the above method, the target information required by the user can be accurately extracted from the target application.

[0041] In some embodiments, the first input is an input for switching from the target application to a timing application, and S102 includes:

[0042] In response to the first input, obtaining a screenshot of the interface of the target application before exiting the target application;

[0043] According to the arrangement order of the information in the interface screenshot, the first information related to the duration is determined as the target information.

[0044] In this embodiment, when the first input is an input for switching from the target application to the timing application, the electronic device can respond to the first input, obtain a screenshot of the interface of the target application when exiting the target application, and then identify the semantics of the information in the screenshot, and obtain all the information related to the duration in the screenshot. Then, the electronic device can also identify the layout order of the information in the screenshot, sort all the information related to the duration in order from front to back, and then determine the first information related to the duration after sorting as the target information.

[0045] Since the user has opened the timing application, the target information can be directly transmitted to the timing application, and the user can directly choose whether to time the duration corresponding to the target information in the timing application.

[0046] Through the above method, the accuracy and efficiency of countdown setting can be improved, and the user does not need to manually input the duration corresponding to the target information into the timing application, which saves time.

[0047] S103: Countdown is performed according to the target information.

[0048] In an embodiment of the present application, after obtaining the target information, the duration corresponding to the target information can be obtained through semantic recognition, and then a countdown task is set and started in a timing application. The countdown duration in the countdown task is the duration corresponding to the target information.

[0049] In the present application, a first input can be received, wherein the first input is an input of a target position in the interface of a target application, or the first input is an input of switching from a target application to a timing application, and information related to duration exists in the area where the target position is located; in response to the first input, target information related to duration in the interface of the target application is obtained; and the duration corresponding to the target information is timed according to the target information. In this way, the duration information of the target position can be identified in the target application, or the duration information in the target application can be identified when switching to the timing application, and the corresponding countdown can be automatically set based on the duration information. The duration information can be automatically transferred between applications, thereby simplifying the user's operating process and improving the efficiency of timing settings.

[0050] In some embodiments, after S103, the method further includes:

[0051] Progress information of a time duration corresponding to the target information is displayed in at least one of a display area for the target information and a task bar of the electronic device.

[0052] In this embodiment, after the duration corresponding to the target information is timed, the display interface of the electronic device can be directly switched to the interface of the target application. Then, in the interface of the target application, the progress information of the countdown task is displayed in a visual manner in the display area of ​​the target information. In addition, the progress information of the countdown task can also be displayed in the task bar of the electronic device. Among them, the display area of ​​the target information is an area in the interface of the target application for displaying specific information associated with the target information.

[0053] The progress information may be represented by a progress bar or by changes in countdown numbers. The progress information may include the remaining time and the elapsed time. In addition, the specific information of the countdown task, the total countdown time, the name or label of the countdown, etc. may be displayed in at least one of the target information display area and the task bar of the electronic device.

[0054] Through the above method, the user can see the timing progress in the interface of the target application, or, even if the timing user exits the target application, he can still see the timing progress in the task bar of the electronic device. This can help the user quickly and intuitively understand the time progress of task completion.

[0055] In some embodiments, after displaying the progress information of the time duration corresponding to the target information, the method further includes:

[0056] When receiving a second input of the progress information, pausing the timing corresponding to the progress information;

[0057] When a third input of the progress information is received, the countdown is restarted.

[0058] In this embodiment, the progress information may include a displayed pause control and a restart control. When a second input to the pause control is received, the electronic device may pause the timing corresponding to the progress information in response to the second input. When a third input to the restart control is received, the electronic device may restart the timing, i.e., reset the timing time of the countdown task.

[0059] In this manner, the user can manage the timing in real time through simple operations.

[0060] In some embodiments, the displaying of the progress information of the time duration corresponding to the target information includes:

[0061] Generating a progress bar associated with the application type according to the application type of the target application, the progress bar being used to represent progress information of the time duration corresponding to the target information;

[0062] The progress bar is displayed.

[0063] In this embodiment, the progress information of the timing can be displayed in the form of a progress bar. The progress bar can be a bar or ring pattern, and the progress bar is gradually filled as time passes, so that the completed time and the remaining time can be intuitively displayed.

[0064] After timing the duration corresponding to the target information, the application type of the target application can be determined, and then a progress bar associated with the application type can be generated and displayed. For example, the application type can include sports, food, etc. If the application type is sports, the progress bar associated with the application type can be a track-shaped bar progress bar. If the application type is food, the progress bar associated with the application type can be a progress bar composed of food patterns.

[0065] Through the above method, the progress of the task can be generated and displayed according to the characteristics of different application types.

[0066] In some embodiments, after the countdown, the method further includes:

[0067] When the duration corresponding to the target information is completed, determining the first duration-related information located after the target information in the layout order in the interface of the target application as the second information;

[0068] Displaying a second timing control in the display area of ​​the second information;

[0069] In response to a fourth input to the second timing control, a duration corresponding to the second information is timed.

[0070] In this embodiment, after the duration corresponding to the target information is timed, the electronic device can play a preset ringtone or display an animation to remind the user that the timing is over. Then, the electronic device can automatically search for the next second information related to the duration in the interface of the target application after the target information, and then display a second timing control in the display area of ​​the second information. If the user makes a second input to the second timing control, the electronic device can then time the duration corresponding to the second information.

[0071] The layout order refers to the order in which the information elements are visually or logically arranged in the interface of the target application. For example, the layout order may be from top to bottom or from left to right, which is the order in which the information is displayed on the interface.

[0072] Since the tasks in the same target application are coherent, after the timing of the previous information is completed, the user is likely to time the next information in the target application. With the above method, after a timing task is completed, the system immediately prepares for the next timing task, and the user does not need to manually set the timer for each step one by one. This allows users to set multi-step timing tasks more smoothly.

[0073] In some embodiments, after the countdown, the method further includes:

[0074] When the timing is completed and there is no information related to the duration after the target information in the interface of the target application, a prompt message is output, where the prompt message is used to prompt the completion of the timing corresponding to all the durations in the target application.

[0075] In this embodiment, when the duration of the target information currently being timed ends, the electronic device will check the interface of the target application to inquire whether there is other information related to the duration after the current target information. If no subsequent information related to the duration is found after the current target information, the system will determine that all tasks that need to be timed have been completed. The electronic device will then generate and output a prompt message to inform the user that all timed tasks related to the duration in the current target application have been completed. The prompt message can be a voice broadcast "Congratulations on completing all timed tasks" or a specific dynamic special effect such as fireworks.

[0076] By outputting prompt information in this way, the system can clearly inform the user that all timing tasks have been completed, ensuring that the user does not waste time checking whether there are any unfinished timing tasks, and helping the user to more effectively manage the timing tasks related to the target application.

[0077] Figure 2 is a schematic diagram of the structure of a timing device provided by another embodiment of the present application, such as Figure 2As shown, the timing device may include:

[0078] The receiving module 201 is used to receive a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application;

[0079] An acquisition module 202, configured to acquire target information related to duration in the interface of the target application in response to the first input;

[0080] The first timing module 203 is used to count down according to the target information.

[0081] In the present application, a first input can be received, wherein the first input is an input of a target position in the interface of a target application, or the first input is an input of switching from a target application to a timing application, and information related to duration exists in the area where the target position is located; in response to the first input, target information related to duration in the interface of the target application is obtained; and the duration corresponding to the target information is timed according to the target information. In this way, the duration information of the target position can be identified in the target application, or the duration information in the target application can be identified when switching to the timing application, and the corresponding countdown can be automatically set based on the duration information. The duration information can be automatically transferred between applications, thereby simplifying the user's operating process and improving the efficiency of timing settings.

[0082] In another optional example, the first input is an input of a target position in an interface of a target application, and there is information related to duration in an area where the target position is located, and the acquisition module 202 includes:

[0083] A first acquisition unit is configured to acquire, in response to the first input, information related to the duration in the area where the target position is located.

[0084] In another optional example, the first acquiring unit further includes:

[0085] A display subunit, configured to display a timing control corresponding to the first information in a display area of ​​each first information when there are a plurality of first information related to the duration in the area where the target position is located;

[0086] The determination subunit is used to determine the first information corresponding to the first timing control as the target information in response to the input of the first timing control, and the first timing control is any one of the plurality of timing controls.

[0087] In another optional example, the acquisition module 202 further includes:

[0088] A second acquisition unit, configured to acquire, in response to the first input, a screenshot of the interface of the target application before exiting the target application;

[0089] The first determining unit is used to determine the first information related to the duration in the interface screenshot according to the layout order of the information as the target information.

[0090] In another optional example, the timing device further includes:

[0091] The first display module is used to display the progress information of the duration corresponding to the target information in at least one of the display area of ​​the target information and the task bar of the electronic device.

[0092] In another optional example, the timing device further includes:

[0093] A pause module, configured to pause the timing corresponding to the progress information when receiving a second input of the progress information;

[0094] The restart module is used to restart the countdown when receiving a third input of the progress information.

[0095] In another optional example, the first display module further includes:

[0096] A generating unit, configured to generate a progress bar associated with the application type according to the application type of the target application, wherein the progress bar is used to represent the progress information of the time duration corresponding to the target information;

[0097] A display unit is used to display the progress bar.

[0098] In another optional example, the timing device further includes:

[0099] A first determining module is used to determine, when the timing of the duration corresponding to the target information is completed, the first information related to the duration that is located after the target information in the layout order in the interface of the target application as the second information;

[0100] A second display module, configured to display a second timing control in a display area of ​​the second information;

[0101] The second timing module is used to time the duration corresponding to the second information in response to a fourth input to the second timing control.

[0102] In another optional example, the timing device further includes:

[0103] The prompt module is used to output prompt information when the timing is completed and there is no information related to the duration after the target information in the interface of the target application, and the prompt information is used to prompt the completion of the timing corresponding to all durations in the target application.

[0104] The timing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-mounted 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., and 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 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 is not specifically limited.

[0105] The timing device in the embodiment of the present application may be a device having 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.

[0106] The timing device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0107] Alternatively, if Figure 3 As shown, an embodiment of the present application also provides an electronic device 100, including a processor 110, a memory 119, and a program or instruction stored in the memory 119 and executable on the processor 110. When the program or instruction is executed by the processor 110, each process of the above-mentioned timing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

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

[0109] Please refer to Figure 4 , Figure 4 The hardware structure diagram of an electronic device for implementing an embodiment of the present application is shown in FIG. The electronic device 100 includes, but is not limited to, a radio frequency unit 121, a network module 122, an audio output unit 123, an input unit 124, a sensor 125, a display unit 126, a user input unit 127, an interface unit 128, a memory 129, and a processor 120.

[0110] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 120 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device 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.

[0111] The user input unit 127 is used to receive a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application;

[0112] The processor 120 is configured to obtain, in response to the first input, target information related to duration in the interface of the target application;

[0113] The processor 120 is used to perform a countdown according to the target information.

[0114] In the present application, a first input can be received, wherein the first input is an input of a target position in the interface of a target application, or the first input is an input of switching from a target application to a timing application, and information related to duration exists in the area where the target position is located; in response to the first input, target information related to duration in the interface of the target application is obtained; and the duration corresponding to the target information is timed according to the target information. In this way, the duration information of the target position can be identified in the target application, or the duration information in the target application can be identified when switching to the timing application, and the corresponding countdown can be automatically set based on the duration information. The duration information can be automatically transferred between applications, thereby simplifying the user's operating process and improving the efficiency of timing settings.

[0115] In another optional example, the processor 120 is further configured to, in response to the first input, obtain information related to duration in the area where the target location is located.

[0116] In another optional example, the display unit 126 is used to display a timing control corresponding to the first information in a display area of ​​each first information when there are multiple first information related to the duration in the area where the target position is located;

[0117] The processor 120 is further configured to, in response to an input to a first timing control, determine first information corresponding to the first timing control as the target information, wherein the first timing control is any one of the plurality of timing controls.

[0118] In another optional example, the processor 120 is further configured to, in response to the first input, obtain a screenshot of the interface of the target application before exiting the target application;

[0119] According to the arrangement order of the information in the interface screenshot, the first information related to the duration is determined as the target information.

[0120] In another optional example, the display unit 126 is used to display progress information of the duration corresponding to the target information in at least one of the display area of ​​the target information and the task bar of the electronic device.

[0121] In another optional example, the processor 120 is configured to pause the timing corresponding to the progress information when receiving a second input of the progress information;

[0122] The processor 120 is configured to restart the countdown when receiving a third input of the progress information.

[0123] In another optional example, the processor 120 is used to generate a progress bar associated with the application type according to the application type of the target application, and the progress bar is used to represent the progress information of the time duration corresponding to the target information;

[0124] The display unit 126 is used to display the progress bar.

[0125] In another optional example, the processor 120 is further configured to:

[0126] When the duration corresponding to the target information is completed, determining the first duration-related information located after the target information in the layout order in the interface of the target application as the second information;

[0127] A display unit 126, configured to display a second timing control in a display area of ​​the second information;

[0128] The processor 120 is configured to time a duration corresponding to the second information in response to a fourth input to the second timing control.

[0129] In another optional example, the processor 120 is also used to output a prompt message when the timing is completed and there is no information related to the duration after the target information in the interface of the target application, and the prompt message is used to prompt the completion of the timing corresponding to all durations in the target application.

[0130] It should be understood that in the embodiment of the present application, the input unit 124 may include a graphics processor (Graphics Processing Unit, GPU) 1241 and a microphone 1242, and the graphics processor 1241 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 126 may include a display panel 1261, and the display panel 1261 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 127 includes a touch panel 1271 and at least one of other input devices 1272. The touch panel 1271 is also called a touch screen. The touch panel 1271 may include two parts: a touch detection device and a touch controller. Other input devices 1272 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.

[0131] The memory 129 can be used to store software programs and various data. The memory 129 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 129 may include a volatile memory or a non-volatile memory, or the memory 129 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 129 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0132] The processor 120 may include one or more processing units; optionally, the processor 120 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 120.

[0133] An 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 timing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0134] The processor is the processor in the electronic device 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.

[0135] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein 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 timing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0136] 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.

[0137] 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 timing method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0138] 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.

[0139] 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 prior art, 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.

[0140] 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 timing method, characterized in that: include: Receiving a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application; In response to the first input, obtaining target information related to duration in the interface of the target application; A countdown is performed according to the target information.

2. The method according to claim 1, characterized in that: The first input is an input of a target position in an interface of a target application, and information related to duration exists in an area where the target position is located. In response to the first input, obtaining information related to duration in the interface of the target application includes: In response to the first input, information related to duration is acquired in the area where the target location is located.

3. The method according to claim 2, characterized in that The acquiring of information related to the duration in the area where the target location is located includes: When there are a plurality of first information related to duration in the area where the target position is located, displaying a timing control corresponding to the first information in a display area of ​​each first information; In response to an input to a first timing control, first information corresponding to the first timing control is determined as the target information, and the first timing control is any one of the plurality of timing controls.

4. The method according to claim 1, characterized in that: The first input is an input for switching from the target application to a timing application, and the step of obtaining target information related to duration in an interface of the target application in response to the first input includes: In response to the first input, obtaining a screenshot of the interface of the target application before exiting the target application; According to the arrangement order of the information in the interface screenshot, the first information related to the duration is determined as the target information.

5. The method according to claim 1, characterized in that After the countdown, the method further includes: The progress information of the duration corresponding to the target information is displayed in at least one of the display area of ​​the target information and the task bar of the electronic device.

6. A timing device, characterized in that: include: A receiving module, configured to receive a first input, wherein the first input is an input of a target position in an interface of a target application, or the first input is an input of switching from the target application to a timing application; an acquisition module, configured to acquire, in response to the first input, target information related to duration in the interface of the target application; The first timing module is used to count down according to the target information.

7. The device according to claim 6, characterized in that The first input is an input of a target position in an interface of a target application, and the area where the target position is located has information related to the duration. The acquisition module includes: A first acquisition unit is configured to acquire, in response to the first input, information related to the duration in the area where the target position is located.

8. The device according to claim 7, characterized in that The first acquisition unit further includes: A display subunit, configured to display a timing control corresponding to the first information in a display area of ​​each first information when there are a plurality of first information related to the duration in the area where the target position is located; The determination subunit is used to determine the first information corresponding to the first timing control as the target information in response to the input of the first timing control, and the first timing control is any one of the plurality of timing controls.

9. The device according to claim 6, characterized in that The acquisition module also includes: A second acquisition unit, configured to acquire, in response to the first input, a screenshot of the interface of the target application before exiting the target application; The first determining unit is used to determine the first information related to the duration in the interface screenshot according to the layout order of the information as the target information.

10. The device according to claim 6, characterized in that The timing device also includes: The first display module is used to display the progress information of the duration corresponding to the target information in at least one of the display area of ​​the target information and the task bar of the electronic device.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the timing method according to any one of claims 1 to 5 are implemented.