WO2022237736A1 - 计时控件的使用方法、装置及电子设备 - Google Patents

计时控件的使用方法、装置及电子设备 Download PDF

Info

Publication number
WO2022237736A1
WO2022237736A1 PCT/CN2022/091784 CN2022091784W WO2022237736A1 WO 2022237736 A1 WO2022237736 A1 WO 2022237736A1 CN 2022091784 W CN2022091784 W CN 2022091784W WO 2022237736 A1 WO2022237736 A1 WO 2022237736A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
state
timing control
control
input
Prior art date
Application number
PCT/CN2022/091784
Other languages
English (en)
French (fr)
Inventor
刘香君
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022237736A1 publication Critical patent/WO2022237736A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the application belongs to the technical field of computers, and in particular relates to a method, device and electronic equipment for using a timing control.
  • the purpose of the embodiments of the present application is to provide a method, device and electronic device for using a timing control, which can solve the problem of poor effective limitation on the duration of application programs.
  • the embodiment of the present application provides a method for using a timing control, the method including:
  • the target event is associated with the target identifier, and the execution time of the target event is associated with the timing control.
  • the embodiment of the present application provides a device for using a timing control, which includes:
  • a receiving module configured to receive a first input to the timing control when the timing control and the target identification are displayed;
  • An execution module configured to, in response to the first input, execute a target event when the positional relationship between the timing control and the target mark satisfies a preset condition
  • the target event is associated with the target identifier, and the execution time of the target event is associated with the timing control.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an 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 .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the first input to the timing control may be received under the condition that the timing control and the target logo are displayed. Therefore, in response to the first input, when the positional relationship between the timing control and the target mark satisfies a preset condition, the target event associated with the target mark is executed. Wherein, the execution time of the target event is associated with the timing control.
  • the technical solution by manipulating the relative position of the timing control and the target mark, the automatic control and execution of events associated with the target mark and the execution time of the target event are realized. Moreover, the operation of triggering and executing the target event is simple, and the operation efficiency is high.
  • the input to the timing control can be used, so that when the positional relationship between the timing control and the target identification meets the preset conditions, the expected execution time of the application program can be automatically controlled, or Controls the execution time of the target event.
  • it is necessary to manually check the usage time on the statistics interface and manually trigger the application to execute the expected event when the usage time reaches the expected time which simplifies the operation process of triggering the application to execute the expected event and improves the operation efficiency . It also prevents the application program from relying on human operation control to execute expected events, and improves the triggering efficiency of expected events.
  • FIG. 1 is a flow chart of a method for using a timing control provided in an embodiment of the present application
  • Fig. 2 is a schematic diagram of the application interface of a method for using a timer control provided by the embodiment of the present application;
  • FIG. 3 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application
  • FIG. 4 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application
  • FIG. 5 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application.
  • FIG. 6 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application.
  • FIG. 7 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application.
  • Fig. 8 is a schematic interface diagram of a method for using a timing control provided by the embodiment of the present application.
  • Fig. 9 is a flow chart of another method for using the timing control provided by the embodiment of the present application.
  • FIG. 10 is a schematic interface diagram of a method for using a timing control provided in an embodiment of the present application.
  • Fig. 11 is a schematic interface diagram of a method for using a timing control provided by the embodiment of the present application.
  • Fig. 12 is a flow chart of another method for controlling the movement of the timing control provided by the embodiment of the present application.
  • Fig. 13 is a schematic interface diagram of a method for using a timing control provided in the embodiment of the present application.
  • Fig. 14 is a flow chart of a method for controlling the working state of the timing control provided by the embodiment of the present application.
  • Fig. 15 is a schematic interface diagram of a method for using a timing control provided by the embodiment of the present application.
  • Fig. 16 is a schematic interface diagram of a method for using a timing control provided by the embodiment of the present application.
  • Fig. 17 is a schematic interface diagram of a method for using a timing control provided by the embodiment of the present application.
  • Fig. 18 is a schematic interface diagram of an application method for using a timing control provided by an embodiment of the present application.
  • Fig. 19 is a block diagram of a device for using a timing control provided by an embodiment of the present application.
  • Fig. 20 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 21 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 1 shows a flow chart of a method for using a timing control provided by an embodiment of the present application.
  • the usage method of the timing control can be applied to touch electronic devices.
  • the touch electronic device may be a terminal installed with a touch display screen.
  • the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, a music player, a notebook computer, a laptop computer, a desktop computer, and the like.
  • the usage method of the timing control may include:
  • Step 101 Receive a first input to the timing control when the timing control and the target logo are displayed.
  • the electronic device may display one or more timing controls, and may also display one or more target identifications.
  • the target identifier may indicate the target function of the first application program or the second application program, and may also indicate an icon corresponding to the first application program or the second application program.
  • each target identifier may indicate a different first application program, or indicate a different target function of the same second application program.
  • the first application program and the second application program may be the same application program; or may be different application programs.
  • the second application program may be a system program
  • the target function of the second application program may be a network function or a power supply function.
  • the target identifier indicating the network function may be a network icon on the display interface.
  • the target identifier indicating the power supply function may be a battery icon on the display interface.
  • the shape of the timer control can be an hourglass shape.
  • Timing controls can be triggered to display by setting the input.
  • the electronic device may receive a seventh input, and display a timing control on the display interface in response to the seventh input.
  • the seventh input may be input of types such as click, long press, slide, air gesture or voice input.
  • the user can slide the word "T" on the display screen.
  • the electronic device can receive the sliding input, displaying the timing control in response to the sliding input.
  • a battery icon 201 is displayed on the display interface. Users can click on the battery icon. After receiving the click input on the battery icon, the electronic device displays a timing control on the display interface in response to the click input.
  • Step 102 in response to the first input, execute the target event when the positional relationship between the timing control and the target mark satisfies a preset condition.
  • the target event is associated with the target identifier, and the execution time of the target event is associated with the timing control.
  • the first input to the timing control may include an input of moving the timing control.
  • the timing control can thus be moved in accordance with the first input in response to the first input.
  • the target event associated with the target identifier may be a preset event.
  • the default setting may refer to a developer's factory setting, or may refer to a user's own setting.
  • the positional relationship between the timing control and the target mark meeting the preset condition may include at least one of the following: there is an overlapping area between the position of the timing control and the position of the target mark.
  • the timing control is located in the first target area corresponding to the target identification.
  • Timing controls and target markers are located in the second target area.
  • the first input may be the input of moving the timing control to the target mark, or the first input may be the movement of the timing control to the first corresponding to the target mark.
  • the first input may be an input to move the timing control to the second target area.
  • the first input may be a sliding input for moving the timing control to the target mark, or the first input may be a voice input for instructing to move the timing control to the area where the target mark is located.
  • the target identifier is an application icon, and the target identifier indicates the first application program of video A.
  • the target mark 302 is the icon 302 corresponding to the video A
  • the user can move the timer control 301 to the target mark 302
  • the first input is the input of moving the timer control 301 to the target mark 302 .
  • the target identifier is a network identifier, and the target identifier indicates the network function of the system application. Then the user can move the timing control 401 to the target logo (the network icon is blocked by the target logo at the end of the movement in FIG. 4 ), and the first input is to move the timing control 401 to the network logo.
  • the target identifier is a battery identifier, and the target identifier indicates the power supply function of the system application.
  • the target mark 502 is a battery icon 502
  • the user can move the timer control 501 to the target mark 502
  • the first input is the input of moving the timer control 501 to the target mark 502 .
  • the target identifier is a time identifier, and the target identifier indicates a system application.
  • the target mark 602 is a time icon 602 , and the user can move the timing control 601 to the time icon 602 .
  • the second input is an input to move the timing control 601 to the position where the time icon 602 is located.
  • the process for the electronic device to execute the target event may include: the electronic device controls the operating state of the object corresponding to the target identifier to be adjusted to the target operating state. That is, the target event is an event that controls the adjustment of the running state of the object corresponding to the target identifier to the target running state.
  • the target running state may include: a power-off state, a locked state, an unlocked state, a start-up state, a closed state or a low-power working state.
  • the target running status may also include a message-free status and the like.
  • the object corresponding to the target identifier when the object corresponding to the target identifier stops running, the object corresponding to the target identifier is in a closed state.
  • the running state of the object corresponding to the target identifier changes to a startable state after a set time interval.
  • the running state of the object corresponding to the target identifier can be changed to the activated state through a trigger operation such as clicking.
  • the user can perform setting input on the object corresponding to the target identifier, so that the object corresponding to the target identifier can run.
  • the power consumption of the object corresponding to the electronic device running the target identification is lower than the target power consumption
  • the target power consumption is when the object corresponding to the target identification is in the normal working state power consumption.
  • the electronic device controls the process of adjusting the running status of the object corresponding to the target identifier to the target running status, which may include: in the case that the target identifier is an application icon, the electronic device controls the adjustment of the running status of the application corresponding to the application icon to a locked state. Or, in a case where the target identifier is an application icon, the running state of the application corresponding to the control application icon is adjusted to the unlocked state. Or, in the case that the target identifier is an application icon, the electronic device controls the running state of the application corresponding to the application icon to be adjusted to the start state.
  • the electronic device controls the running state of the application corresponding to the application icon to be adjusted to a closed state.
  • the electronic device controls the operation state of the electronic device network to be adjusted to an off state.
  • the electronic device controls the electronic device to adjust its operating state to a low power consumption working state.
  • the target identifier is a time identifier, the electronic device controls the operation state of the electronic device to be adjusted to an off state.
  • different running states may correspond to different first inputs.
  • the application when the first input is to drag the timing control to the application icon, the application may be closed after a certain period of time.
  • One input is a long press on the timing control, and then a long press on the application icon so that the control moves to the location of the application icon, and the application can be locked after a certain period of time.
  • the process of executing the target event by the electronic device may also include: the electronic device controls the style of the object corresponding to the target identifier to be adjusted to the target style, that is, the event that the target time is the adjusted style.
  • the target event may also be other events, which is not limited in this embodiment of the present application.
  • the timing control has a timing function. Then the timing control can be set with a first duration (timing duration).
  • the first duration may be fixed at the factory, or the first duration may be configurable.
  • the method in response to the first input at step 102, when the positional relationship between the timing control and the target mark satisfies a preset condition, before executing the target event, the method further includes: The device may receive a fifth input to the timing control. In response to the fifth input, the first duration corresponding to the timing control is set.
  • the fifth input may be a write input of the first duration. That is, the user can directly write in the first duration through an input such as a keyboard, and the fifth input is the writing input of the first duration.
  • the timing control includes time addition and subtraction sub-controls.
  • the fifth input is an input to the time addition and subtraction sub-control. That is, the user can click the plus key in the time addition and subtraction sub-control to increase the timing time from the initial time (for example, 0) to obtain the first duration. Or, the user can click the minus sign key in the time addition and subtraction sub-control to make the timing time decrease from the initial time to obtain the first duration.
  • the first duration can be set by the user based on the fifth input, compared with the solution in which the first duration is a fixed duration, the setting flexibility of the timing control is improved, thereby making the timing duration based on the timing control , you can more flexibly control the running status of the object indicated by the target identifier.
  • the electronic device may execute the target event based on the first duration. Then in an optional situation, in response to the first input in step 102, when the positional relationship between the timing control and the target mark satisfies the preset condition, before the target event is executed, and before the electronic device responds to the fifth input, After setting the first duration corresponding to the timing control, the method further includes:
  • the electronic device receives a sixth input to the timing control.
  • the timing control is controlled to initiate the timing function.
  • the sixth input may be input of types such as click, long press, slide, air gesture or voice input.
  • the electronic device may send an activation instruction to the timing control after responding to the sixth input. Thereby, the timing control is controlled to start the timing function, and is in the timing state.
  • the timing control 701 may include a start sub-control 702 .
  • the sixth input may be a click input on the promoter control 702 .
  • the user can click to launch the child control.
  • the electronic device is made to receive a click input on the promoter control.
  • the sixth input may be a rotational input to the timing control. The user can rotate the timing control to a fourth angle in a set direction.
  • step 102 in response to the first input, the electronic device executes the target event when the positional relationship between the timing control and the target mark satisfies a preset condition may include: responding to the first input , when the positional relationship between the timing control and the target mark satisfies a preset condition, the electronic device receives a sixth input to the timing control. In response to the sixth input, the timing control is controlled to initiate the timing function.
  • the electronic device receives a sixth input to the timing control.
  • the timing control For the explanation and implementation process of controlling the timing control to start the timing function in response to the sixth input, reference may be made to the foregoing optional situation where the electronic device receives the sixth input to the timing control.
  • the explanation and implementation process of controlling the timing control to start the timing function will not be described in this embodiment of the present application. Because the electronic device can control the timing control to start the timing function in response to the sixth input when the positional relationship between the timing control and the target mark satisfies the preset condition. Compared with the former method, it avoids invalid timing of the timing control during the process of adjusting the position of the timing control and the target mark, and ensures the accuracy of the timing control.
  • the electronic device may execute the target event based on the first duration, and the process of executing the target event may include various situations.
  • the embodiment of the present application takes the following two optional implementation methods as examples illustrate.
  • the process for the electronic device to execute the target event may include: when the execution time is the execution start moment, executing the target event after a first duration.
  • the terminal may execute the target event after the timing control corresponds to the first duration.
  • the timer control can be considered as having the function of timing triggering and executing the target event.
  • the target event may be any of the aforementioned target events.
  • the target event executed after the first duration may be an event in which the operating state of the corresponding object is adjusted to the target operating state for the aforementioned control target identification. That is, if the execution time is the execution start time, the electronic device may adjust the running state of the object corresponding to the control target identifier to the target running state after a first period of time.
  • the electronic device can control the timing control to start timing from 0.
  • the timing duration is accumulated to the first duration
  • the running state of the object corresponding to the control target identifier is adjusted to the target running state.
  • the electronic device may control the timing control to start counting down from the first duration.
  • the countdown duration decreases to 0, it is considered that the countdown duration has reached the first duration, and the running state of the object corresponding to the control target identifier is adjusted to the target running state.
  • the electronic device may execute the target event when the timing reaches the first duration. Since the first duration of the timing control can be set, the timing of executing the target event by the electronic device can be manually controlled, which is convenient for the user to set the timing of changing the execution of the target event according to actual needs, thereby improving user experience.
  • the process for the electronic device to execute the target event may include: keeping executing the target event within the first duration when the execution time is the execution duration.
  • the electronic device may keep executing the target event within the first duration corresponding to the timing control.
  • the timer control can be considered as having the function of timing off the target event.
  • the target event may be any of the aforementioned target events.
  • keeping the electronic device executing the target event within the first duration may mean that the electronic device cannot control the object corresponding to the target identifier to execute events other than the target event within the first duration.
  • the electronic device may control the object corresponding to the target identifier to perform events other than the target event.
  • the event to be executed within the first duration may be an event in which the operating state of the object corresponding to the aforementioned control target identifier is adjusted to the target operating state. That is, in the case that the execution time is the execution duration, the electronic device may control the adjustment of the running state of the object corresponding to the target identifier and maintain it for the first duration.
  • the electronic device controls the timing control to start timing from 0 after the operating state of the object corresponding to the control target identifier is adjusted.
  • the timing duration is accumulated to the first duration
  • the running state of the object corresponding to the target identifier can be controlled to be adjusted from the target running state to the running state before adjustment.
  • the electronic device may control the timing control to start counting down from the first duration after the operating state of the object corresponding to the control target identifier is adjusted.
  • the countdown duration decreases to 0, it is considered that the countdown duration has reached the first duration, and the running state of the object corresponding to the target identifier can be controlled to be adjusted from the target running state to the running state before adjustment.
  • the electronic device may control to execute the target event and maintain the first duration. Since the first duration of the timing control can be set, the hold duration of the electronic device control target event can be manually controlled, which is convenient for the user to set the hold duration of the target event according to actual needs, and improves user experience.
  • the electronic device executes the target event process is further explained.
  • the process of adjusting the running state of the application corresponding to the electronic device control application icon to the locked state may include: adjusting the running state of the application corresponding to the electronic device control application icon to the locked state within the first time period.
  • the electronic device controls the running state of the application corresponding to the application icon to be adjusted to the locked state, and keeps the running state of the application corresponding to the application icon in the locked state within the first period of time.
  • the process of adjusting the running state of the application corresponding to the electronic device control application icon to the activated state may include: adjusting the running state of the application corresponding to the electronic device control application icon to the activated state within the first time period.
  • the electronic device controls the running state of the application corresponding to the application icon to be adjusted to the starting state, and keeps the running state of the application corresponding to the application icon as the starting state within the first period of time.
  • the process of adjusting the running state of the application corresponding to the electronic device control application icon to the closed state may include: within the first time period, adjusting the running state of the application corresponding to the electronic device control application icon to the closed state.
  • the electronic device controls the running state of the application corresponding to the application icon to be adjusted to the closed state, and keeps the running state of the application corresponding to the application icon in the closed state within the first period of time.
  • the process of the electronic device controlling the operation state of the electronic device network to be closed may include: within the first period of time, the electronic device controls the operation state of the electronic device network to be closed.
  • the electronic device controls the operation state of the electronic device network to be adjusted to the off state, and keeps the operation state of the electronic device network to be adjusted to the off state within the first period of time.
  • the process of the electronic device controlling the operation state of the electronic device to adjust to a low power consumption working state may include: within the first duration, the electronic device controls the operation state of the electronic device to adjust to a low power consumption working state. Consumed work status.
  • the electronic device controls the operating state of the electronic device to be adjusted to a low power consumption working state, and maintains the electronic device's running state to be adjusted to a low power consumption working state within a first period of time.
  • the process of the electronic device controlling the operation state of the electronic device to be turned off may include: within the first duration, the electronic device controls the operation state of the electronic device to be turned off. Alternatively, the electronic device controls the operation state of the electronic device to be adjusted to the off state, and maintains the operation state of the electronic device to be adjusted to the off state within the first period of time.
  • the target event is an event that controls the adjustment of the running state of the object corresponding to the target identifier to the target running state as an example.
  • the target running state may be a locked state.
  • the running state of the application corresponding to the electronic device control application icon is adjusted to the locked state after a first period of time. At this time, it indicates that after game A runs for a predetermined time, game A cannot run again within the set duration.
  • the set duration may be three hours or one day.
  • the electronic device may display a lock logo 802 on a target logo (the icon corresponding to game A in FIG. 8 ) 801 .
  • the locking mark is a mark shaped like a lock.
  • the target event is an event that controls the adjustment of the running state of the object corresponding to the target identifier to the target running state as an example.
  • Target running state is down.
  • the electronic device controls the operating state of the electronic device network to be adjusted to an off state after a first period of time. This indicates that the network connection will be cut off automatically after the first time.
  • the target event is an event that controls the adjustment of the running state of the object corresponding to the target identifier to the target running state as an example.
  • the target operating state is a low power operating state.
  • the electronic device controls the operating state of the electronic device to adjust to a low power consumption working state after a first period of time. At this time, it indicates that the power supply function will be in low power mode or deep sleep mode after the first period of time.
  • the target event is an event that controls the adjustment of the running state of the object corresponding to the target identifier to the target running state as an example.
  • Target running state is down.
  • the electronic device controls the operating state of the electronic device to be adjusted to an off state after a first period of time. At this time, it shows that it will automatically shut down after the first time.
  • the first input to the timing control may be received under the condition that the timing control and the target logo are displayed. Therefore, in response to the first input, when the positional relationship between the timing control and the target mark satisfies a preset condition, the target event associated with the target mark is executed. Wherein, the execution time of the target event is associated with the timing control.
  • the technical solution by manipulating the relative position of the timing control and the target mark, the automatic control and execution of events associated with the target mark and the execution time of the target event are realized. Moreover, the operation of triggering and executing the target event is simple, and the operation efficiency is high.
  • the input to the timing control can be used to realize automatic control of the expected execution time of the application program under the condition that the positional relationship between the timing control and the target identifier satisfies a preset condition, or Controls the execution time of the target event.
  • it is necessary to manually check the usage time on the statistics interface and manually trigger the application to execute the expected event when the usage time reaches the expected time which simplifies the operation process of triggering the application to execute the expected event and improves the operation efficiency . It also prevents the application program from relying on human operation control to execute expected events, and improves the triggering efficiency of expected events.
  • the electronic device can also provide the user with a single timing function by displaying timing controls.
  • the method also includes:
  • Step 901 receiving a fifth input to the timing control.
  • the fifth input may be a write input of a timing duration. That is, the user can directly write the timing duration through an input such as a keyboard, and the fifth input is the writing input of the timing duration.
  • the timing control includes timing duration addition and subtraction sub-controls.
  • the fifth input is the input to the timing duration addition and subtraction sub-control. That is, the user can click the plus button in the timing duration addition and subtraction sub-control to increase the timing duration from the initial time. Or, the user can click the minus sign button in the timing duration addition and subtraction sub-control to make the timing duration decrease from the initial time.
  • Step 902. In response to the fifth input, set the timing duration of the timing control.
  • the electronic device may set the written timing duration as the timing duration of the timing control.
  • the electronic device may acquire the timing duration obtained after adding and subtracting the sub-control input to the timing duration, and set the timing duration as the timing duration of the timing control.
  • Step 903 receiving a sixth input to the timing control.
  • the sixth input may be input of types such as click, long press, slide, air gesture or voice input.
  • the timing control 701 may include a start sub-control 702 .
  • the sixth input may be a click input on a promoter control. The user can click to launch the child control.
  • the electronic device is made to receive a click input on the promoter control.
  • the sixth input may be a rotational input to the timing control. The user can rotate the timing control to a fourth angle in a set direction.
  • Step 904 in response to the sixth input, control the timing control to start the timing function.
  • the electronic device may send an activation instruction to the timing control after responding to the sixth input.
  • the timing control is controlled to start the timing function, and is in the timing state.
  • Step 905 display a prompt message when the timed time reaches the timed time.
  • the prompt message is used to extract the user's arrival time.
  • the prompt message may be text information, picture information, voice information, or video information.
  • the prompt information may be text information.
  • the electronic device may display a screen display prompt window.
  • the prompt window may display prompt information.
  • the timing control can be displayed on any interface on the display screen in any state.
  • the timing control 1001 may display On the game interface 1000 of game A.
  • the timing control in the timing state is displayed, and in the off state, all or part of the display screen is off.
  • the timing control starts the timing function.
  • the display screen 1100 shown in FIG. 11 is a display screen in which all areas are off.
  • the timing control 1101 in the timing state can be displayed on the display screen.
  • the timing control can be displayed on any interface on the display screen in any state, which facilitates the user to check the timing progress anywhere, and improves the user's ability to manage and control the time.
  • the method also includes:
  • Step 1201 receiving a third input to the timing control.
  • Step 1202 in response to the third input, control the timing control to move based on the third input.
  • the third input may be input of types such as click, long press, slide, air gesture or voice input.
  • the electronic device controls the movement of the timing control based on the third input for further description.
  • the third input is a sliding input.
  • the process for the electronic device to control the movement of the timing control based on the third input may include: the electronic device acquires the sliding direction and track length of the sliding input. Controls the length of the track that the timing controls move in the direction of the swipe.
  • the display interface shown in FIG. 13 is the interface of game A.
  • the user can slide the timing control 1301 from the initial position A to the first position B along the first direction (the direction indicated by the arrow 1302 in FIG. 13 ).
  • the third input is the input of sliding the timing control to the first position along the first direction, then the electronic device controls the timing control to move from the initial position A to the first position B.
  • the user can slide the timing control 1301 from the initial position A to the second position C along the second direction (the direction indicated by the arrow 1303 in FIG. 13 ).
  • the third input is the input of sliding the timing control to the second position along the second direction, then the electronic device controls the timing control to move from the initial position A to the second position C.
  • the user can slide the timing control 1301 from the initial position A to the third position D along a third direction (the direction indicated by the arrow 1304 in FIG. 13 ).
  • the third input is the input of sliding the timing control to the third position along the third direction, and the electronic device controls the timing control to move from the initial position A to the third position D.
  • the third input is click input.
  • the process of the electronic device controlling the movement of the timing control based on the third input may include: the electronic device may acquire the target distance and moving direction between the click position of the click input and the display position of the timing control. Controls the timing control to move the target distance along the direction of movement.
  • the moving direction may be a direction from the displayed position to the clicked position.
  • Step 1203 display the timing control at the end position of the movement of the timing control.
  • the terminal may detect whether the end position of the movement of the timing control is an edge area of the display screen.
  • the electronic device may display the timing control.
  • the electronic device may hide the timing control or display part of the timing control.
  • the user can control the movement of the timing control, so that the electronic device can display the timing control at any position on the screen. And when it is detected that the end position of the movement of the timing control is the edge area of the display screen, it is considered that the user wants to hide the timing control to avoid interference from the timing control. At this time, the timing control can be hidden or part of the timing control can be displayed. Improved display flexibility of timing controls.
  • the style of the timing control may change based on the timing duration of the timing control when the timing control reaches the first duration. Therefore, the user can perceive the time change more intuitively and conveniently, and the remaining time can be displayed more vividly, thereby improving the user experience.
  • the method further includes: the electronic device can change the style of the timing control based on the timing duration.
  • the electronic device may store multiple time ranges, and the timing controls corresponding to each time range have different colors.
  • the method further includes: the electronic device changes the style of the timing control based on the timing duration.
  • the electronic device changes the style of the timing control based on the timing duration, and the process may include:
  • the electronic device obtains the target duration range to which the required duration belongs based on the required duration of the timing duration reaching the first duration. Change the color of the timing control to the color corresponding to the target duration range.
  • the electronic device stores a style change table.
  • This style change table is used to record the colors of the timing controls corresponding to each time range in multiple time ranges.
  • the electronic device can obtain in real time the time required for the timing duration to reach the first duration, and obtain the target duration range to which the required duration belongs.
  • the color corresponding to the target duration range is thereby looked up from the style change table. and change the color of the timing control to the color corresponding to the target duration range.
  • the colors corresponding to the three duration ranges are green, yellow, and red, respectively.
  • the color of the timing control changes to green, yellow and red in sequence from the time the timing control starts timing.
  • the process of the electronic device changing the style of the timing control based on the timing duration may include: the electronic device changes the depth of the color of the timing control based on the length required for the timing duration to reach the first duration. Among them, the shorter the required time, the stronger the depth.
  • the shape of the timing control may be an hourglass shape.
  • the timing control consists of two containers with opposite settings, and the two containers are used to display the filling.
  • the electronic device changes the style of the timing control based on the timing duration, and the process of changing the style of the timing control may include: the electronic device needs to reach the first duration based on the timing duration, and changes the amount of filling in the upper container and the filling in the lower container in the timing control. quantity of things. Among them, the shorter the required time, the smaller the amount of filling in the upper container, and the larger the amount of filling in the lower container, and the amount of change in the amount of filling in the upper container is different from the amount of filling in the lower container The amount of change is equal.
  • the method also includes:
  • Step 1401. Receive a fourth input for changing the gesture of the timing control.
  • the fourth input can be used to change the zoom gesture of the timing control.
  • the fourth input can also be used to change the rotation posture of the timing control and the like.
  • the fourth input is used to change the rotation posture of the timing control, that is, the fourth input is an input for rotating the timing control as an example for description.
  • the user can long press one end of the timing control and slide in a set direction. to rotate the timing control.
  • the set direction can be used to time the control in either direction.
  • Step 1402. In response to the fourth input, change the working state of the timing control based on the fourth input.
  • the process of the electronic device changing the working state of the timing control based on the fourth input may include: changing the rotation angle of the timing control based on the rotation angle of the timing control. working status.
  • the timing control in response to the fourth input, can be rotated in different directions by different angles. Then the electronic device can pre-store different working states of the timing controls corresponding to different angles along the set direction. After obtaining the rotation angle of the timing control in response to the fourth input, the electronic device may search for a corresponding relationship between the angle and the working state of the timing control based on the rotation angle of the timing control, and obtain a target working state corresponding to the rotation angle. Change the working state of the timing control to the target working state.
  • the corresponding relationship between the angle and the working state of the timing control may include: in the set direction, the first angle corresponds to the pause timing state, the second angle corresponds to the timing state, and the third angle corresponds to the restart timing state.
  • the process of changing the working state of the timing control by the electronic device may include: changing the working state of the timing control to the pause timing state when it is determined that the rotation angle of the timing control along the set direction is the first angle.
  • the working state of the timing control is changed to a timing state.
  • the working state of the timing control is changed to a re-timing state.
  • the conversion of different states of the timing control can be realized, and then different functions of the timing control can be realized. It is convenient for the user to operate, increases the interest of the user in use, and improves the user experience.
  • the embodiment of the present application uses the following three examples to illustrate again how the electronic device changes the working state of the timing control based on the rotation angle of the timing control in response to the fourth input.
  • the setting direction is the counterclockwise rotation direction of the timing control.
  • the first angle may be 90 degrees.
  • the extension direction of the timing control is the vertical direction.
  • the user presses and holds one end of the timing control 1501, and slides one end of the timing control 90 degrees along the set direction. Change the extension direction of the timer control to the horizontal direction, that is, the timer control 1601 shown in FIG. 16 .
  • the electronic device determines that the rotation angle of the timing control along the set direction is the first angle, the working state of the timing control is changed to a state of suspending timing. At this point, the timing control pauses timing.
  • the second angle may be -90 degrees.
  • the extension direction of the timing control is the horizontal direction.
  • the user presses and holds one end of the timing control 1701 , and slides one end of the timing control 1701 along the set direction by -90 degrees, that is, slides 90 degrees in the direction opposite to the set direction.
  • the electronic device determines that the rotation angle of the timing control along the set direction is the second angle, the working state of the timing control is changed to a timing state. At this point, the timing control resumes timing.
  • the third angle may be 360 degrees.
  • the user presses and holds one end of the timing control 1801 and slides one end of the timing control 360 degrees along a set direction.
  • the electronic device determines that the rotation angle of the timing control along the set direction is the third angle, the working state of the timing control is changed to a re-timing state.
  • the timing control resets the timing duration to zero and restarts the timing function.
  • the method for using the timing control may be by receiving the first input to the timing control when the timing control and the target logo are displayed. Therefore, in response to the first input, when the positional relationship between the timing control and the target mark satisfies a preset condition, the target event associated with the target mark is executed. Wherein, the execution time of the target event is associated with the timing control.
  • the technical solution by manipulating the relative position of the timing control and the target mark, the automatic control and execution of events associated with the target mark and the execution time of the target event are realized. Moreover, the operation of triggering and executing the target event is simple, and the operation efficiency is high.
  • the input to the timing control can be used to realize the automatic control and execution of the application program when the positional relationship between the timing control and the target identification meets the preset conditions. time, and control the execution time of the target event.
  • the execution subject of the method for using the timing control provided in the embodiment of the present application may be the device for using the timing control, or a control module in the device for using the timing control for executing the method for using the timing control.
  • the method for using the timing control provided by the device for using the timing control is taken as an example to illustrate the device for using the timing control provided in the embodiment of the present application.
  • FIG. 19 shows a block diagram of an apparatus 1900 for using a timing control provided by an embodiment of the present application.
  • the apparatus includes: a receiving module 1901 and an executing module 1902 .
  • a receiving module 1901 configured to receive a first input to the timing control when the timing control and the target logo are displayed;
  • Executing module 1902 configured to execute the target event in response to the first input when the positional relationship between the timing control and the target mark satisfies a preset condition
  • the target event is associated with the target identifier, and the execution time of the target event is associated with the timing control.
  • timing control corresponds to the first duration
  • execution module 1902 is further used for:
  • the execution time is the start execution time, execute the target event after the first duration
  • the execution time is the execution duration
  • within the first duration keep executing the target event.
  • the executing module 1902 is further configured to: adjust the running state of the object corresponding to the control target identifier to the target running state; wherein, the target running state includes: shutdown state, locked state, startup state, shutdown state or low power consumption working state .
  • the timing control corresponds to the first duration
  • the execution module is further configured to:
  • control the running state of the object corresponding to the target identifier to be adjusted to the target running state, and maintain the first duration in the target running state, wherein the target
  • the running state includes: a power-off state, a locked state, an unlocked state, a starting state, a closed state or a low-power working state.
  • execution module 1902 is also used for:
  • the target identifier is an application icon
  • the running state of the application corresponding to the control application icon is adjusted to a locked state
  • the target identifier is an application icon
  • the running state of the application corresponding to the control application icon is adjusted to an unlocked state
  • the target identifier is an application icon
  • the running state of the application corresponding to the control application icon is adjusted to the starting state
  • the target identifier is an application icon
  • the running state of the application corresponding to the control application icon is adjusted to be closed
  • the operating state of the control electronic equipment network is adjusted to a closed state
  • the operating state of the control electronic device is adjusted to a low power consumption working state
  • the operating state of the electronic control device is adjusted to be off.
  • the positional relationship between the timing control and the target identification meeting preset conditions includes at least one of the following:
  • the timing control is located in the first target area corresponding to the target identification
  • Both the timing control and the target mark are located in the second target area.
  • the receiving module is also configured to receive a fourth input
  • the device also includes: a module for changing the working state of the timing control based on the fourth input in response to the fourth input, wherein the working state includes: a pause timing state, a timing state, and a re-timing state state.
  • the receiving module is also configured to receive a seventh input
  • the device further includes: a module for displaying the timing control on a display interface in response to the seventh input.
  • the device for using the timing control can receive the first input to the timing control through the receiving module when the timing control and the target logo are displayed. Therefore, in response to the first input, the execution module executes the target event associated with the target mark when the positional relationship between the timing control and the target mark satisfies a preset condition. Wherein, the execution time of the target event is associated with the timing control.
  • the execution module executes the target event associated with the target mark when the positional relationship between the timing control and the target mark satisfies a preset condition.
  • the execution time of the target event is associated with the timing control.
  • the input to the timing control can be used, so that when the positional relationship between the timing control and the target identification meets the preset conditions, the expected execution time of the application program can be automatically controlled, or Controls the execution time of the target event.
  • it is necessary to manually check the usage time on the statistics interface and manually trigger the application to execute the expected event when the usage time reaches the expected time which simplifies the operation process of triggering the application to execute the expected event and improves the operation efficiency . It also prevents the application program from relying on human operation control to execute expected events, and improves the triggering efficiency of expected events.
  • the device for using the timer control in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the device for using the timing control in the embodiment of the present application may be a device 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 this embodiment of the present application.
  • the device for using the timing control provided by the embodiment of the present application can realize the various processes realized by the method embodiments in Fig. 1, Fig. 7, Fig. 12 and Fig. 14. To avoid repetition, details are not repeated here.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
  • the embodiment of the present application further provides an electronic device 2000, including a processor 2001, a storage 2002, and programs or instructions stored in the storage 2002 and operable on the processor 2001,
  • an electronic device 2000 including a processor 2001, a storage 2002, and programs or instructions stored in the storage 2002 and operable on the processor 2001,
  • the program or instruction is executed by the processor 2001, each process of the above-mentioned method for using the timing control can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 21 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 2100 includes but is not limited to: a radio frequency unit 2101, a network module 2102, an audio output unit 2103, an input unit 2104, a sensor 2105, a display unit 2106, a user input unit 2107, an interface unit 2108, a memory 2109, and a processor 2110, etc. part.
  • the electronic device 2100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 2110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 21 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 2107 is configured to receive a first input to the timing control when the timing control and the target logo are displayed;
  • Processor 2110 configured to, in response to the first input, execute a target event when the positional relationship between the timing control and the target mark satisfies a preset condition; wherein, the target event and the target mark Associated, the execution time of the target event is associated with the timing control.
  • the first input to the timing control may be received under the condition that the timing control and the target logo are displayed. Therefore, in response to the first input, when the positional relationship between the timing control and the target mark satisfies a preset condition, the target event associated with the target mark is executed. Wherein, the execution time of the target event is associated with the timing control.
  • the technical solution by manipulating the relative position of the timing control and the target mark, the automatic control and execution of events associated with the target mark and the execution time of the target event are realized. Moreover, the operation of triggering and executing the target event is simple, and the operation efficiency is high.
  • the input to the timing control can be used so that when the positional relationship between the timing control and the target identification satisfies the preset condition, the expected execution time of the application program can be automatically controlled and executed, And control the execution time of the target event.
  • it is necessary to manually check the usage time on the statistics interface and manually trigger the application to execute the expected event when the usage time reaches the expected time which simplifies the operation process of triggering the application to execute the expected event and improves the operation efficiency . It also prevents the application program from relying on human operation control to execute expected events, and improves the triggering efficiency of expected events.
  • the timing control corresponds to the first duration
  • the processor 2110 is further configured to:
  • the target event is executed after the first duration
  • the execution time is the execution duration
  • within the first duration keep executing the target event.
  • the processor 2110 is further configured to: control the running state of the object corresponding to the target identifier to be adjusted to the target running state; wherein, the target running state includes: shutdown state, locked state, unlocked state, started state, closed state state or low power working state.
  • the processor 2110 is further configured to: control the operation state of the object corresponding to the target identifier to be adjusted to the target operation state, including:
  • the target identifier is an application icon
  • control the running state of the application corresponding to the application icon to be adjusted to the locked state
  • the target identifier is an application icon
  • control the running state of the application corresponding to the application icon to be adjusted to the unlocked state
  • the target identifier is an application icon
  • control the running state of the application corresponding to the application icon to be adjusted to the startup state
  • the target identifier is an application icon
  • control the running state of the application corresponding to the application icon to be adjusted to the closed state
  • the target identifier is a network identifier
  • control the operation state of the electronic equipment network to be adjusted to the closed state
  • the operating state of the control electronic device is adjusted to the low power consumption working state
  • the operating state of the control electronic device is adjusted to the off state.
  • the positional relationship between the timing control and the target identification meeting preset conditions includes at least one of the following:
  • the timing control is located in the first target area corresponding to the target identifier
  • Both the timing control and the target mark are located in the second target area.
  • the first input to the timing control may be received under the condition that the timing control and the target logo are displayed. Therefore, in response to the first input, when the positional relationship between the timing control and the target mark satisfies a preset condition, the target event associated with the target mark is executed. Wherein, the execution time of the target event is associated with the timing control.
  • the technical solution by manipulating the relative position of the timing control and the target mark, the automatic control and execution of events associated with the target mark and the execution time of the target event are realized. Moreover, the operation of triggering and executing the target event is simple, and the operation efficiency is high.
  • the input to the timing control can be used so that when the positional relationship between the timing control and the target identification satisfies the preset condition, the expected execution time of the application program can be automatically controlled and executed, And control the execution time of the target event.
  • it is necessary to manually check the usage time on the statistics interface and manually trigger the application to execute the expected event when the usage time reaches the expected time which simplifies the operation process of triggering the application to execute the expected event and improves the operation efficiency . It also prevents the application program from relying on human operation control to execute expected events, and improves the triggering efficiency of expected events.
  • the input unit 2104 may include a graphics processor (Graphics Processing Unit, GPU) 21041 and a microphone 21042, and the graphics processor 21041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 2106 may include a display panel 21061, and the display panel 21061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 2107 includes a touch panel 21071 and other input devices 21072 . Touch panel 21071, also called touch screen.
  • the touch panel 21071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 21072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 2109 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 2110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 2110 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above-mentioned method for using the timer control is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method of using the above-mentioned timing control
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the method of using the above-mentioned timing control
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application further provides a device for using a timing control.
  • the device for using the timer control is configured to execute the processes of the above-mentioned embodiments of the method for using the timer control, and can achieve the same technical effect. To avoid repetition, details are not repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种计时控件的使用方法、装置及电子设备,属于计算机技术领域。计时控件的使用方法包括:在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关联。

Description

计时控件的使用方法、装置及电子设备
相关申请的交叉引用
本申请要求在2021年05月10日提交中国专利局、申请号为202110506741.7、名称为“计时控件的使用方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于计算机技术领域,具体涉及一种计时控件的使用方法、装置及电子设备。
背景技术
目前的终端已经存在许多可以根据用户行为进行统计的功能。例如,可以统计用户使用某应用程序的使用时长等。
用户想要限定自己使用某应用程序的时间时,通常可以在使用该应用程序一段时间后,通过进入指定界面,查看终端统计的该应用程序的使用时长,以确定自己使用该应用程序的时间是否达到预期时间,以决定自己是否对应用程序执行诸如关闭应用程序等预期事件。然而,这种方式操作过程较为繁琐,且因对应用程序执行预期事件依赖人为操作控制,导致执行预设事件的触发效率较低。
发明内容
本申请实施例的目的是提供一种计时控件的使用方法、装置及电子设备,能够解决对应用程序使用时长的有效限制能力较差的问题。
第一方面,本申请实施例提供了一种计时控件的使用方法,该方法包括:
在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;
响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;
其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关联。
第二方面,本申请实施例提供了一种计时控件的使用装置,该装置包括:
接收模块,用于在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;
执行模块,用于响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;
其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关联。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,可以在显示有计时控件和目标标识的情况下,通过接收对计时控件的第一输入。从而响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作效率较高。在目标标识标识应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制应用程序执行预期时间,或者控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
附图说明
图1是本申请实施例提供的一种计时控件的使用方法的流程图;
图2是本申请实施例提供的一种计时控件的使用方法应用的界面示意 图;
图3是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图4是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图5是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图6是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图7是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图8是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图9是本申请实施例提供的另一种计时控件的使用方法的流程图;
图10是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图11是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图12是本申请实施例提供的又一种控制计时控件移动方法的流程图;
图13是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图14是本申请实施例提供的一种控制计时控件工作状态方法的流程图;
图15是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图16是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图17是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图18是本申请实施例提供的一种计时控件的使用方法应用的界面示意图;
图19是本申请实施例提供的一种计时控件的使用装置的框图;
图20是本申请实施例提供的一种电子设备的结构示意图;
图21是本申请实施例提供的一种电子设备的硬件结构示意图。
具体实施例
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的计时控件的使用方法进行详细地说明。
请参考图1,其示出了本申请实施例提供的一种计时控件的使用方法的流程图。该计时控件的使用方法可以应用于触控类的电子设备。其中,触控类电子设备可以为安装有触控类的显示屏幕的终端。例如,该终端可以为手机、平板电脑、电子书阅读器、智能眼镜、智能手表、音乐播放器、笔记本电脑、膝上型便携计算机以及台式计算机等。如图1所示,该计时控件的使用方法可以包括:
步骤101、在显示有计时控件和目标标识的情况下,接收对计时控件的第一输入。
本申请实施例中,电子设备可以显示有一个或多个计时控件,也可以显示一个或多个目标标识。目标标识可以指示第一应用程序或者第二应用程序的目标功能,也可以是指示第一应用程序或者第二应用程序对应的图标。其中,在目标标识的数量为多个的情况下,各目标标识可以指示不同的第一应用程序,或者指示同一第二应用程序的不同目标功能。其中,第一应用程序和第二应用程序可以为同一应用程序;或者也可以为不同的应用程序。
示例的,第二应用程序可以为系统程序,则第二应用程序的目标功能可以为网络功能或者供电功能等。其中,指示网络功能的目标标识可以为显示界面的网络图标。指示供电功能的目标标识可以为显示界面的电池图标。
可选地,计时控件的形状可以为沙漏形状。计时控件可以通过设定输入触发显示。示例的,电子设备可以接收第七输入,响应于第七输入,在显示界面上显示计时控件。其中,第七输入可以是点击、长按、滑动、悬空手势或者语音输入等类型的输入。例如,用户可以在显示屏幕上滑动“T”字样。电子设备可以接收该滑动输入,响应于滑动输入显示计时控件。或者,如图2所示,显示界面显示有电池图标201。用户可以点击电池图标。电子设备接收到对电池图标的点击输入后,响应于该点击输入,在显示界面上显示计时控件。
步骤102、响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件。其中,目标事件与目标标识相关联,目标事件的执行时间与计时控件相关联。
本申请实施例中,对计时控件的第一输入可以包括移动计时控件的输入。从而可以响应于第一输入,根据第一输入移动计时控件。以便在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件。其中,与目标标识相关联的目标事件可以为预先设定的事件。该预设设定可以指的是开发人员出厂设置,也可以指的是用户自主设置。
可选地,计时控件与目标标识的位置关系满足预设条件可以包括以下至少一项:计时控件的位置与目标标识的位置存在重合区域。计时控件位于目标标识对应的第一目标区域内。计时控件与目标标识均位于第二目标区域。则可选地,与前述三种预设条件分别对应的是:第一输入可以为将计时控件移动至目标标识的输入,或者,第一输入可以为将计时控件移动至目标标识对应的第一目标区域的输入。或者,第一输入可以为将计时控件移动至第二目标区域的输入。示例的,第一输入可以为将计时控件移动至目标标识的滑动输入,或者第一输入为指示将计时控件移动至目标标识所在区域的语音输入。
示例的,如图3所示,目标标识为应用图标,目标标识指示为视频A的第一应用程序。图3中目标标识302为视频A对应的图标302,则用户可以将计时控件301移动至目标标识302,则第一输入为将计时控件301移动至目标标识302的输入。如图4所示,目标标识为网络标识,目标标识指示 系统应用的网络功能。则用户可以将计时控件401移动至目标标识(网络图标在图4中被移动终止处的目标标识遮挡),则第一输入为将计时控件401移动至网络标识的输入。如图5所示,目标标识为电池标识,目标标识指示系统应用的供电功能。图5中目标标识502为电池图标502,则用户可以将计时控件501移动至目标标识502,则第一输入为将计时控件501移动至目标标识502的输入。如图6所述,目标标识为时间标识,目标标识指示系统应用。图6中目标标识602为时间图标602,则用户可以将计时控件601移动至时间图标602。则第二输入为将计时控件601移动至时间图标602所在位置的输入。
可选地,电子设备执行目标事件的过程可以包括:电子设备控制目标标识对应对象的运行状态调整为目标运行状态。也即是,目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件。其中,目标运行状态可以包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。该目标运行状态还可以包括消息免提醒状态等。
其中,目标标识对应对象停止运行时,目标标识对应对象处于关闭状态。在目标标识对应对象处于锁定状态时,目标标识对应对象的运行状态在间隔设定时长后更改为可启动状态。在目标标识对应对象处于解锁状态时,目标标识对应对象的运行状态可以通过诸如点击等触发操作更改为启动状态。在目标标识对应对象处于可开启状态时,用户可以对目标标识对应对象执行设定输入,使得目标标识对应对象运行。目标标识对应对象处于低功耗工作状态时,电子设备运行目标标识对应对象的功耗低于目标功耗,目标功耗为目标标识对应对象处于正常工作状态时,电子设备运行目标标识对应对象的功耗。在目标标识指示对象处于消息免提醒状态时,目标标识对应对象生成所有消息均无法在显示屏幕上显示。
本申请实施例中,电子设备控制目标标识对应对象的运行状态可更改的目标运行状态较多,电子设备控制目标标识对应对象的运行状态的灵活性较高。
示例的,电子设备控制目标标识对应对象的运行状态调整为目标运行状态的过程可以包括:在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为锁定状态。或者,在目标标识为应用图标的情况下,控制应用图标对应应用的运行状态调整为解锁状态。或者,在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为 启动状态。或者,在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为关闭状态。或者,在目标标识为网络标识的情况下,电子设备控制电子设备网络的运行状态调整为关闭状态。或者,在目标标识为电池标识的情况下,电子设备控制电子设备的运行状态调整为低功耗工作状态。或者,在目标标识为时间标识的情况下,电子设备控制电子设备的运行状态调整为关闭状态。
可以理解的,不同的运行状态可以与不同的第一输入对应,例如,如上示例,在第一输入为将计时控件拖动移动至应用图标的时候,可以在一定时间后将应用关闭,在第一输入为对计时控件长按,再对应用图标长按以使即是控件移动至应用图标所在位置的时候,可以在一定时间后将应用锁定。
本申请实施例中,电子设备执行目标事件的过程也可以包括:电子设备控制目标标识对应对象的样式调整为目标样式,即目标时间为调整样式的事件。当然,目标事件也可以为其他事件,本申请实施例对此不作限定。
可选地,计时控件具有计时功能。则计时控件可以设定有第一时长(定时时长)。该第一时长可以为出厂固定设置的,或者该第一时长可以为可配置的。在该第一时长为可配置的情况下,在步骤102响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件之前,所述方法还包括:电子设备可以接收对计时控件的第五输入。响应于第五输入,设置计时控件对应的第一时长。
其中,第五输入可以为第一时长的写入输入。即用户可以直接通过诸如键盘等输入件,直接写入第一时长,则第五输入为第一时长的写入输入。或者,计时控件包括时间加减子控件。第五输入为对时间加减子控件的输入。即用户可以点击时间加减子控件中加号键,使得定时时间从初始时间(例如0)开始增加,得到第一时长。或者,用户可以点击时间加减子控件中减号键,使得定时时间从初始时间开始减小,得到第一时长。
本申请实施例中,由于第一时长可以由用户基于第五输入设置,因此,相较于第一时长为固定时长的方案,提高了计时控件的设置灵活性,进而使得基于计时控件的定时时长,可以更为灵活地控制目标标识指示对象的运行状态。
在计时控件对应第一时长的情况下,电子设备可以基于第一时长,执行目标事件。则一种可选地情况下,在步骤102响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件之前,且在电 子设备响应于第五输入,设置计时控件对应的第一时长之后,所述方法还包括:
电子设备接收对计时控件的第六输入。响应于第六输入,控制计时控件启动计时功能。可选地,第六输入可以是点击、长按、滑动、悬空手势或者语音输入等类型的输入。电子设备可以在响应于第六输入后,向计时控件发送启动指令。从而控制计时控件启动计时功能,处于计时状态。
示例的,如图7所示,计时控件701可以包括启动子控件702。第六输入可以为对启动子控件702的点击输入。用户可以点击启动子控件。使得电子设备在接收到对启动子控件的点击输入。或者,第六输入可以为对计时控件的旋转输入。用户可以沿设定方向旋转计时控件至第四角度。
则另一种可选地情况下,步骤102中,电子设备响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件可以包括:响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,电子设备接收对计时控件的第六输入。响应于第六输入,控制计时控件启动计时功能。
其中,电子设备接收对计时控件的第六输入。响应于第六输入,控制计时控件启动计时功能的解释和实现过程可以参考前述一种可选地情况中,电子设备接收对计时控件的第六输入。响应于第六输入,控制计时控件启动计时功能的解释和实现过程,本申请实施例对此不做赘述。由于电子设备可以在计时控件与目标标识的位置关系满足预设条件的情况下,响应于第六输入,控制计时控件启动计时功能。相较于前一种方式,避免了调整计时控件与目标标识的位置的过程中,计时控件的无效计时,保证了计时控件的使用准确性。
可选地,在计时控件对应第一时长的情况下,电子设备可以基于第一时长,执行目标事件的过程可以包括多种情况,本申请实施例以以下两种可选地实现方式为例进行说明。
第一种可选地实现方式,电子设备执行目标事件的过程可以包括:在执行时间为开始执行时刻的情况下,在第一时长后,执行目标事件。
本申请实施例中,终端可以在计时控件对应于第一时长后执行目标事件。此时计时控件可以认为具有定时触发执行目标事件的功能。目标事件可以为前述任一目标事件。
可选地,在第一时长后执行的目标事件可以为前述控制目标标识对应对 象的运行状态调整为目标运行状态的事件。即在执行时间为开始执行时刻的情况下,电子设备可以在第一时长后,控制目标标识对应对象的运行状态调整为目标运行状态。
示例的,电子设备可以控制计时控件从0开始计时。在计时时长累加至第一时长时,控制目标标识对应对象的运行状态调整为目标运行状态。或者,电子设备可以控制计时控件从第一时长开始倒计时。在倒计时时长减小至0时,认为计时时长到达第一时长,控制目标标识对应对象的运行状态调整为目标运行状态。
本申请实施例中,在计时控件存在设定的第一时长的情况下,电子设备可以在计时时长到达第一时长时执行目标事件。由于计时控件的第一时长可以为设定的,因此,电子设备执行目标事件的时机可人为控制,便于用户根据实际需求设置执行目标事件的变更时机,提高用户体验。
第二种可选地实现方式,电子设备执行目标事件的过程可以包括:在执行时间为执行时长的情况下,在第一时长内,保持执行目标事件。
本申请实施例中,电子设备可以在计时控件对应于第一时长内,保持执行目标事件。此时计时控件可以认为具有定时关闭目标事件的功能。目标事件可以为前述任一目标事件。可选地,电子设备在第一时长内保持执行目标事件可以指的是在第一时长内电子设备无法控制目标标识对应对象执行除目标事件之外的事件。则在第一时长之后,电子设备可以控制目标标识对应对象执行除目标事件之外的事件。
可选地,在第一时长内保持执行的事件可以为前述控制目标标识对应对象的运行状态调整为目标运行状态的事件。即在执行时间为执行时长的情况下,电子设备可以控制目标标识对应对象的运行状态调整并保持第一时长。
示例的,电子设备在控制目标标识对应对象的运行状态调整后,控制计时控件从0开始计时。在计时时长累加至第一时长时,可以控制目标标识对应对象的运行状态从目标运行状态调整为调整前的运行状态。或者,电子设备可以在控制目标标识对应对象的运行状态调整后,控制计时控件从第一时长开始倒计时。在倒计时时长减小至0时,认为计时时长到达第一时长,可以控制目标标识对应对象的运行状态从目标运行状态调整为调整前的运行状态。
本申请实施例中,在计时控件存在设定的第一时长的情况下,电子设备可以控制执行目标事件并保持第一时长。由于计时控件的第一时长可以为设 定的,因此,电子设备控制目标事件的保持时长可人为控制,便于用户根据实际需求设置目标事件的保持时长,提高用户体验。
示例的,以目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件为例,上述第一种可选地实现方式和第二种可选地实现方式中,电子设备执行目标事件的过程进行进一步说明。
在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为锁定状态的过程可以包括:在第一时长内,电子设备控制应用图标对应应用的运行状态调整为锁定状态。或者,电子设备控制应用图标对应应用的运行状态调整为锁定状态,并保持第一时长内应用图标对应应用的运行状态为锁定状态。
在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为启动状态的过程可以包括:在第一时长内,电子设备控制应用图标对应应用的运行状态调整为启动状态。或者,电子设备控制应用图标对应应用的运行状态调整为启动状态,并保持第一时长内应用图标对应应用的运行状态为启动状态。
在目标标识为应用图标的情况下,电子设备控制应用图标对应应用的运行状态调整为关闭状态的过程可以包括:在第一时长内,电子设备控制应用图标对应应用的运行状态调整为关闭状态。或者,电子设备控制应用图标对应应用的运行状态调整为关闭状态,并保持第一时长内应用图标对应应用的运行状态为关闭状态。
或者,在目标标识为网络标识的情况下,电子设备控制电子设备网络的运行状态调整为关闭状态的过程可以包括:在第一时长内,电子设备控制电子设备网络的运行状态调整为关闭状态。或者,电子设备控制电子设备网络的运行状态调整为关闭状态,并保持第一时长内电子设备网络的运行状态调整为关闭状态。
或者,在目标标识为电池标识的情况下,电子设备控制电子设备的运行状态调整为低功耗工作状态的过程可以包括:在第一时长内,电子设备控制电子设备的运行状态调整为低功耗工作状态。或者,电子设备控制电子设备的运行状态调整为低功耗工作状态,并保持第一时长内电子设备的运行状态调整为低功耗工作状态。
或者,在目标标识为时间标识的情况下,电子设备控制电子设备的运行状态调整为关闭状态的过程可以包括:在第一时长内,电子设备控制电子设 备的运行状态调整为关闭状态。或者,电子设备控制电子设备的运行状态调整为关闭状态,并保持第一时长内电子设备的运行状态调整为关闭状态。
一种示例的,假设目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件为例。如图8所示,目标运行状态可以为锁定状态。在图3所示的操作下,在第一时长后电子设备控制应用图标对应应用的运行状态调整为锁定状态。此时,表明游戏A运行定时时间后,游戏A在设定时长内无法再次运行。该设定时长可以为三个小时或者一天等。电子设备可以在目标标识(图8中游戏A对应的图标)801上显示锁定标识802。图8中锁定标识为形如锁子的标识。该技术方案中可以简单地通过对计时控件执行第一输入,使得计时控件与应用图标的位置关系满足预设条件下,自动在第一时长后控制应用图标对应应用的运行状态调整为锁定状态。这样实现限定应用程序使用时间这一功能的操作过程简单,提高了有效限制应用程序使用时长的效率。同时,可以帮助用户提升对时间的管理能力,提高用户体验。
另一种示例的,假设目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件为例。目标运行状态为关闭状态。在图4所示的操作下,在第一时长后电子设备控制电子设备网络的运行状态调整为关闭状态。此时表明,第一时长后将自动切断网络连接。
又一种示例的,假设目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件为例。目标运行状态为低功耗运行状态。在图5所示的操作下,在第一时长后电子设备控制电子设备的运行状态调整为低功耗工作状态。此时表明,第一时长后将供电功能进行低电量模式或者深度睡眠模式。
再一种示例的,假设目标事件为控制目标标识对应对象的运行状态调整为目标运行状态的事件为例。目标运行状态为关闭状态。在图6所示的操作下,在第一时长后电子设备控制电子设备的运行状态调整为关闭状态。此时表明,第一时长后自动关机。
在本申请实施例中,可以在显示有计时控件和目标标识的情况下,通过接收对计时控件的第一输入。从而响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作 效率较高。在目标标识指示应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制应用程序执行预期时间,或者控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
可选地,电子设备还可以通过显示计时控件,向用户提供单一计时功能。如图9所示,所述方法还包括:
步骤901、接收对计时控件的第五输入。
可选地,第五输入可以为定时时长的写入输入。即用户可以直接通过诸如键盘等输入件,直接写入定时时长,则第五输入为定时时长的写入输入。或者,计时控件包括定时时长加减子控件。第五输入为对定时时长加减子控件的输入。即用户可以点击定时时长加减子控件中加号键,使得定时时长从初始时间开始增加。或者,用户可以点击定时时长加减子控件中减号键,使得定时时长从初始时间开始减小。
步骤902、响应于第五输入,设置计时控件的定时时长。
本申请实施例中,与前述第五输入对应的是,电子设备可以将写入的定时时长设置为计时控件的定时时长。或者,电子设备可以获取对定时时长加减子控件输入后,得到的定时时长,将该定时时长设置为计时控件的定时时长。
步骤903、接收对计时控件的第六输入。
可选地,第六输入可以是点击、长按、滑动、悬空手势或者语音输入等类型的输入。示例的,如图7所示,计时控件701可以包括启动子控件702。第六输入可以为对启动子控件的点击输入。用户可以点击启动子控件。使得电子设备在接收到对启动子控件的点击输入。或者,第六输入可以为对计时控件的旋转输入。用户可以沿设定方向旋转计时控件至第四角度。
步骤904、响应于第六输入,控制计时控件启动计时功能。
本申请实施例中,电子设备可以在响应于第六输入后,向计时控件发送启动指令。从而控制计时控件启动计时功能,处于计时状态。
步骤905、在计时时长到达定时时长时,显示提示消息。提示消息用于 提取用户到达定时时长。
可选地,提示消息可以是文字信息、图片信息、语音信息或者视频信息等。示例地,提示信息可以为文字信息。电子设备在计时时长到达定时时长时,可以显示屏幕显示提示窗口。该提示窗口可以显示有提示信息。
需要说明的是,计时控件可以在任一状态下的显示屏幕上的任一界面显示。例如,如图10所示,在计时控件与目标标识的位置关系满足预设条件的情况下,电子设备控制应用图标对应应用(游戏A)的运行状态调整为关闭状态时,计时控件1001可以显示于游戏A的游戏界面1000上。
进一步地,在显示屏幕处于熄屏状态下,显示处于计时状态的计时控件,熄屏状态下显示屏幕的全部区域灭屏或部分区域灭屏。计时状态下计时控件启动计时功能。示例地,如图11所示,图11所示的显示屏幕1100为处于全部区域灭屏的显示屏幕。处于计时状态的计时控件1101可以显示于显示屏幕上。
本申请实施例中,计时控件可以在任意状态下的显示屏幕上的任意界面显示,方便了用户随处查看计时进度,提高了用户对时间的管控能力。
可选地,计时控件在显示的过程中,用户可以随意改变计时控件的显示位置。如图12所示,所述方法还包括:
步骤1201、接收对计时控件的第三输入。
步骤1202、响应于第三输入,基于第三输入控制计时控件移动。
可选地,第三输入可以是点击、长按、滑动、悬空手势或者语音输入等类型的输入。本申请实施例以第三输入为滑动输入或者点击操作为例,对电子设备基于第三输入控制计时控件移动进行进一步说明。
第一种可选地实现方式,第三输入为滑动输入。电子设备基于第三输入控制计时控件移动的过程可以包括:电子设备获取滑动输入的滑动方向和轨迹长度。控制计时控件沿滑动方向移动轨迹长度。
示例的,如图13所示,图13所示的显示界面为游戏A的界面。用户可以将计时控件1301从初始位置A开始,沿第一方向(图13中箭头1302所指方向)滑动至第一位置B。第三输入为将计时控件沿第一方向滑动至第一位置的输入,则电子设备控制计时控件从初始位置A移动至第一位置B。或者,用户可以将计时控件1301从初始位置A开始,沿第二方向(图13中箭头1303所指方向)滑动至第二位置C。第三输入为将计时控件沿第二 方向滑动至第二位置的输入,则电子设备控制计时控件从初始位置A移动至第二位置C。或者,用户可以将计时控件1301从初始位置A开始,沿第三方向(图13中箭头1304所指方向)滑动至第三位置D。第三输入为将计时控件沿第三方向滑动至第三位置的输入,则电子设备控制计时控件从初始位置A移动至第三位置D。
第二种可选地实现方式,第三输入为点击输入。电子设备基于第三输入控制计时控件移动的过程可以包括:电子设备可以获取点击输入的点击位置与计时控件的显示位置之间的目标距离以及移动方向。控制计时控件沿移动方向移动目标距离。其中,移动方向可以为由显示位置指向点击位置的方向。
步骤1203、在计时控件移动的终止位置显示计时控件。
可选地,终端可以检测计时控件移动的终止位置是否为显示屏幕的边缘区域。在检测到计时控件移动的终止位置不为显示屏幕的边缘区域时,电子设备可以显示计时控件。在检测到计时控件移动的终止位置为显示屏幕的边缘区域时,电子设备可以隐藏计时控件,或者显示部分计时控件。
本申请实施例中,用户可以控制计时控件移动,使得电子设备可以在屏幕任意位置显示计时控件。并且在检测到计时控件移动的终止位置为显示屏幕的边缘区域时,认为用户想要隐藏计时控件,避免计时控件的干扰,此时可以隐藏计时控件,或者显示部分计时控件。提高了计时控件的显示灵活性。
可选地,计时控件在显示的过程中,计时控件的样式可以在计时控件计时至第一时长的过程,基于计时控件计时时长的变化而变化。从而可以更为直观地且便捷地让用户感知时间变化,可以更为生动的展示时间剩余量,提高了用户体验。所述方法还包括:电子设备可以基于计时时长,改变计时控件的样式。
可选地,电子设备可以存储有多个时长范围中,各时长范围对应的计时控件的颜色不同。所述方法还包括:电子设备基于计时时长,改变计时控件的样式。
其中,电子设备基于计时时长,改变计时控件的样式的过程可以包括:
电子设备基于计时时长到达第一时长的所需时长,得到所需时长所属的目标时长范围。将计时控件的颜色更改为目标时长范围对应的颜色。
示例的,电子设备存储有样式更改表。该样式更改表用于记录多个时长范围中,各时长范围对应的计时控件的颜色不同。电子设备可以实时获取计 时时长到达第一时长的所需时长,得到所需时长所属的目标时长范围。从而从样式更改表中查找该目标时长范围对应的颜色。并将计时控件的颜色更改为目标时长范围对应的颜色。例如,存在三个时长范围,分别为[0,1/3X)、[1/3X,2/3X)以及[2/3X,X],X表示定时时长。三个时长范围分别对应的颜色为绿色、黄色和红色。则从计时控件开始计时起,计时控件的颜色依次更改为绿色、黄色和红色。
或者,电子设备基于计时时长,改变计时控件的样式的过程可以包括:电子设备基于计时时长到达第一时长的所需时长,更改计时控件的颜色的深度。其中,所需时长越短,深度越强。
或者,计时控件的形状可以为沙漏形状。计时控件包括两个对立设置的容器,两个容器内用于显示有填充物。电子设备基于计时时长,改变计时控件的样式的过程可以包括:电子设备基于计时时长到达第一时长的所需时长,更改计时控件中位于上方的容器内填充物的数量以及位于下方的容器内填充物的数量。其中,所需时长越短,上方的容器内填充物的数量越少,下方的容器内填充物的数量多,且上方的容器内填充物的数量的变化量与下方的容器内填充物的数量的变化量相等。
可选地,计时控件在启动计时功能之后,用户可以通过改变计时控件的姿态,从而改变计时控件的工作状态。如图14所示,所述方法还包括:
步骤1401、接收用于改变计时控件的姿态的第四输入。
可选地,第四输入可以用于改变计时控件的缩放姿态。或者第四输入也可以用于改变计时控件的旋转姿态等。本申请实施例以第四输入为用于改变计时控件的旋转姿态,即第四输入为用于旋转计时控件的输入为例进行说明。
示例的,用户可以通过长按计时控件的一端,并沿设定方向进行滑动。以旋转计时控件。该设定方向可以计时控件的任一环绕方向。
步骤1402、响应于第四输入,基于第四输入更改计时控件的工作状态。
本申请实施例中,在第四输入为用于旋转计时控件的输入的情况下,电子设备基于第四输入更改计时控件的工作状态的过程可以包括:基于计时控件的旋转角度,更改计时控件的工作状态。
可选地,响应于第四输入,计时控件可以沿不同方向旋转不同角度。则电子设备可以预先存储有沿设定方向上,不同角度对应的计时控件的不同工 作状态。电子设备在响应于第四输入,获取计时控件的旋转角度后,可以基于计时控件的旋转角度,查找角度与计时控件的工作状态的对应关系,得到该旋转角度对应的目标工作状态。将计时控件的工作状态更改为目标工作状态。
示例的,角度与计时控件的工作状态的对应关系可以包括:在设定方向上,第一角度与暂停计时状态对应,第二角度与计时状态对应,第三角度与重新计时状态对应。则电子设备基于计时控件的旋转角度,更改计时控件的工作状态的过程可以包括:当确定计时控件沿设定方向的旋转角度为第一角度时,将计时控件的工作状态更改为暂停计时状态。当确定计时控件沿设定方向的旋转角度为第二角度时,将计时控件的工作状态更改为计时状态。当确定计时控件沿设定方向的旋转角度为第三角度时,将计时控件的工作状态更改为重新计时状态。
本申请实施例中,通过旋转计时控件这种简单的交互方式,可以实现计时控件不同状态的转换,继而实现计时控件的不同功能。便于用户操作,增加了用户使用趣味性,提高了用户体验。
本申请实施例通过以下三个示例,对电子设备响应于第四输入,基于计时控件的旋转角度,更改计时控件的工作状态进行再次说明。以下三个示例中,均假设设定方向为计时控件的逆时针环绕方向。
一示例的,第一角度可以为90度。如图15所示,计时控件的延伸方向为竖直方向。用户长按计时控件1501的一端,将该计时控件的一端沿设定方向滑动90度。使得计时控件的延伸方向变更为水平方向,即如图16所示的计时控件1601。电子设备确定计时控件沿设定方向的旋转角度为第一角度时,将计时控件的工作状态更改为暂停计时状态。此时,计时控件暂停计时。
另一示例的,第二角度可以为-90度。如图17所示,计时控件的延伸方向为水平方向。用户长按计时控件1701的一端,将该计时控件的一端沿设定方向滑动-90度,即沿设定方向的反方向滑动90度。电子设备确定计时控件沿设定方向的旋转角度为第二角度时,将计时控件的工作状态更改为计时状态。此时,计时控件恢复计时。
又一示例的,第三角度可以为360度。如图18所示,用户长按计时控件1801的一端,将该计时控件的一端沿设定方向滑动360度。电子设备确定计时控件沿设定方向的旋转角度为第三角度时,将计时控件的工作状态更改为重新计时状态。此时,计时控件将计时时长清零,重新启动计时功能。
综上所述,本申请实施例提供的一种计时控件的使用方法,可以在显示有计时控件和目标标识的情况下,通过接收对计时控件的第一输入。从而响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作效率较高。在目标标识用于标识应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制执行应用程序执行预期时间,以及控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
需要说明的是,本申请实施例提供的计时控件的使用方法,执行主体可以为计时控件的使用装置,或者该计时控件的使用装置中的用于执行计时控件的使用的方法的控制模块。本申请实施例中以计时控件的使用装置执行计时控件的使用的方法为例,说明本申请实施例提供的计时控件的使用的装置。
请参考图19,其示出了本申请实施例提供的一种计时控件的使用装置1900的框图,所述装置包括:接收模块1901以及执行模块1902。
接收模块1901,用于在显示有计时控件和目标标识的情况下,接收对计时控件的第一输入;
执行模块1902,用于响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行目标事件;
其中,目标事件与目标标识相关联,目标事件的执行时间与计时控件相关联。
可选地,计时控件对应于第一时长,执行模块1902,还用于:
在执行时间为开始执行时刻的情况下,在第一时长后,执行目标事件;
或者,在执行时间为执行时长的情况下,在第一时长内,保持执行目标事件。
可选地,执行模块1902,还用于:控制目标标识对应对象的运行状态调整为目标运行状态;其中,目标运行状态包括:关机状态、锁定状态、启动状态、关闭状态或者低功耗工作状态。
可选地,所述计时控件对应于第一时长,所述执行模块,还用于:
在所述执行时间为开始执行时刻的情况下,在所述第一时长后,控制所述目标标识对应对象的运行状态调整为目标运行状态;
或者,在所述执行时间为执行时长的情况下,控制所述目标标识对应对象的运行状态调整为目标运行状态,并在所述目标运行状态下保持所述第一时长,其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
可选地,执行模块1902,还用于:
在目标标识为应用图标的情况下,控制应用图标对应应用的运行状态调整为锁定状态;
或者,在目标标识为应用图标的情况下,控制应用图标对应应用的运行状态调整为解锁状态;
或者,在目标标识为应用图标的情况下,控制应用图标对应应用的运行状态调整为启动状态;
或者,在目标标识为应用图标的情况下,控制应用图标对应应用的运行状态调整为关闭状态;
或者,在目标标识为网络标识的情况下,控制电子设备网络的运行状态调整为关闭状态;
或者,在目标标识为电池标识的情况下,控制电子设备的运行状态调整为低功耗工作状态;
或者,在目标标识为时间标识的情况下,控制电子设备的运行状态调整为关闭状态。
可选地,计时控件与目标标识的位置关系满足预设条件包括以下至少一项:
计时控件的位置与目标标识的位置存在重合区域;
计时控件位于目标标识对应的第一目标区域内;
所述计时控件与所述目标标识均位于第二目标区域。
可选地,所述接收模块,还用于接收第四输入;
所述装置还包括:用于响应于所述第四输入,基于所述第四输入更改所 述计时控件的工作状态的模块,其中,所述工作状态包括:暂停计时状态、计时状态以及重新计时状态。
可选地,所述接收模块,还用于接收第七输入;
所述装置还包括:用于响应于所述第七输入,在显示界面显示所述计时控件的模块。
综上所述,本申请实施例提供的一种计时控件的使用装置,可以在显示有计时控件和目标标识的情况下,通过接收模块接收对计时控件的第一输入。从而使得执行模块响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作效率较高。在目标标识标识应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制应用程序执行预期时间,或者控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
本申请实施例中的计时控件的使用装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的计时控件的使用装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的计时控件的使用装置能够实现图1、图7、图12以 及图14的方法实施例实现的各个过程,为避免重复,这里不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽咯,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
可选地,如图20所示,本申请实施例还提供一种电子设备2000,包括处理器2001,存储2002,存储在存储器2002上并可在所述处理器2001上运行的程序或指令,该程序或指令被处理器2001执行时实现上述计时控件的使用方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图21为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备2100包括但不限于:射频单元2101、网络模块2102、音频输出单元2103、输入单元2104、传感器2105、显示单元2106、用户输入单元2107、接口单元2108、存储器2109、以及处理器2110等部件。
本领域技术人员可以理解,电子设备2100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图21中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元2107,用于在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;
处理器2110,用于响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关 联。
本申请实施例中,可以在显示有计时控件和目标标识的情况下,通过接收对计时控件的第一输入。从而使得响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作效率较高。在目标标识标识应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制执行应用程序执行预期时间,以及控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
可选地,所述计时控件对应于第一时长,处理器2110,还用于:
在所述执行时间为开始执行时刻的情况下,在所述第一时长后,执行所述目标事件;
或者,在所述执行时间为执行时长的情况下,在所述第一时长内,保持执行所述目标事件。
可选地,处理器2110,还用于:控制所述目标标识对应对象的运行状态调整为目标运行状态;其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
可选地,处理器2110,还用于:所述控制所述目标标识对应对象的运行状态调整为目标运行状态,包括:
在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述锁定状态;
或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述解锁状态;
或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述启动状态;
或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述关闭状态;
或者,在所述目标标识为网络标识的情况下,控制电子设备网络的运行状态调整为所述关闭状态;
或者,在所述目标标识为电池标识的情况下,控制电子设备的运行状态调整为所述低功耗工作状态;
或者,在所述目标标识为时间标识的情况下,控制电子设备的运行状态调整为所述关闭状态。
可选地,所述计时控件与所述目标标识的位置关系满足预设条件包括以下至少一项:
所述计时控件的位置与所述目标标识的位置存在重合区域;
所述计时控件位于所述目标标识对应的第一目标区域内;
所述计时控件与所述目标标识均位于第二目标区域。
本申请实施例中,可以在显示有计时控件和目标标识的情况下,通过接收对计时控件的第一输入。从而使得响应于第一输入,在计时控件与目标标识的位置关系满足预设条件的情况下,执行与目标标识相关联的目标事件。其中,该目标事件的执行时间与计时控件相关联。该技术方案中通过操控计时控件与目标标识的相对位置,实现了自动控制执行与目标标识相关联的事件,以及控制目标事件的执行时间。且触发执行目标事件的操作简单,操作效率较高。在目标标识标识应用程序的情况下,该技术方案中可以通过对计时控件的输入,使得在计时控件与目标标识的位置关系满足预设条件的情况下,实现自动控制执行应用程序执行预期时间,以及控制目标事件的执行时间。相较于相关技术中,需要人为通过在统计界面查看使用时长,并在使用时间达到预期时间人为触发应用程序执行预期事件的方式,简化了触发应用程序执行预期事件的操作过程,提高了操作效率。也避免了应用程序执行预期事件依赖人为操作控制,提高了预期事件的触发效率。
应理解的是,本申请实施例中,输入单元2104可以包括图形处理器(Graphics Processing Unit,GPU)21041和麦克风21042,图形处理器21041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元2106可包括显示面板21061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板21061。用户输入单元2107包括触控面板21071以及其他输入设备21072。触控面板21071,也称为触摸屏。触控面板21071可包括触摸检测装置和触摸控制器两个部分。其他输入设备21072可以包括但不限于物理键盘、功能键(比如 音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器2109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器2110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述计时控件的使用方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述计时控件的使用方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例另提供了一种计时控件的使用装置。所述计时控件的使用装置被配置成用于执行上述计时控件的使用方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方 法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (20)

  1. 一种计时控件的使用方法,其中,所述方法包括:
    在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;
    响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;
    其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关联。
  2. 根据权利要求1所述的方法,其中,所述计时控件对应于第一时长,所述执行目标事件,包括:
    在所述执行时间为开始执行时刻的情况下,在所述第一时长后,执行所述目标事件;
    或者,在所述执行时间为执行时长的情况下,在所述第一时长内,保持执行所述目标事件。
  3. 根据权利要求1或2所述的方法,其中,所述执行目标事件,包括:
    控制所述目标标识对应对象的运行状态调整为目标运行状态;
    其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
  4. 根据权利要求1所述的方法,其中,所述计时控件对应于第一时长,所述执行目标事件,包括:
    在所述执行时间为开始执行时刻的情况下,在所述第一时长后,控制所述目标标识对应对象的运行状态调整为目标运行状态;
    或者,在所述执行时间为执行时长的情况下,控制所述目标标识对应对 象的运行状态调整为目标运行状态,并在所述目标运行状态下保持所述第一时长,其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
  5. 根据权利要求3或4所述的方法,其中,所述控制所述目标标识对应对象的运行状态调整为目标运行状态,包括:
    在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述锁定状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述解锁状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述启动状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述关闭状态;
    或者,在所述目标标识为网络标识的情况下,控制电子设备网络的运行状态调整为所述关闭状态;
    或者,在所述目标标识为电池标识的情况下,控制电子设备的运行状态调整为所述低功耗工作状态;
    或者,在所述目标标识为时间标识的情况下,控制电子设备的运行状态调整为所述关闭状态。
  6. 根据权利要求1所述的方法,其中,所述计时控件与所述目标标识的位置关系满足预设条件包括以下至少一项:
    所述计时控件的位置与所述目标标识的位置存在重合区域;
    所述计时控件位于所述目标标识对应的第一目标区域内;
    所述计时控件与所述目标标识均位于第二目标区域。
  7. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收第四输入;
    响应于所述第四输入,基于所述第四输入更改所述计时控件的工作状态,其中,所述工作状态包括:暂停计时状态、计时状态以及重新计时状态。
  8. 根据权利要求1所述的方法,其中,在所述在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入之前,所述方法还包括:
    接收第七输入;
    响应于所述第七输入,在显示界面显示所述计时控件。
  9. 一种计时控件的使用装置,其中,所述装置包括:
    接收模块,用于在显示有计时控件和目标标识的情况下,接收对所述计时控件的第一输入;
    执行模块,用于响应于所述第一输入,在所述计时控件与所述目标标识的位置关系满足预设条件的情况下,执行目标事件;
    其中,所述目标事件与所述目标标识相关联,所述目标事件的执行时间与所述计时控件相关联。
  10. 根据权利要求9所述的装置,其中,所述计时控件对应于第一时长,所述执行模块,还用于:
    在所述执行时间为开始执行时刻的情况下,在所述第一时长后,执行所述目标事件;
    或者,在所述执行时间为执行时长的情况下,在所述第一时长内,保持执行所述目标事件。
  11. 根据权利要求9或10所述的装置,其中,所述执行模块,还用于:
    控制所述目标标识对应对象的运行状态调整为目标运行状态;
    其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
  12. 根据权利要求9所述的装置,其中,所述计时控件对应于第一时长,所述执行模块,还用于:
    在所述执行时间为开始执行时刻的情况下,在所述第一时长后,控制所述目标标识对应对象的运行状态调整为目标运行状态;
    或者,在所述执行时间为执行时长的情况下,控制所述目标标识对应对象的运行状态调整为目标运行状态,并在所述目标运行状态下保持所述第一时长,其中,所述目标运行状态包括:关机状态、锁定状态、解锁状态、启动状态、关闭状态或者低功耗工作状态。
  13. 根据权利要求11或12所述的装置,其中,所述执行模块,还用于:
    在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述锁定状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述解锁状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述启动状态;
    或者,在所述目标标识为应用图标的情况下,控制所述应用图标对应应用的运行状态调整为所述关闭状态;
    或者,在所述目标标识为网络标识的情况下,控制电子设备网络的运行状态调整为所述关闭状态;
    或者,在所述目标标识为电池标识的情况下,控制电子设备的运行状态调整为所述低功耗工作状态;
    或者,在所述目标标识为时间标识的情况下,控制电子设备的运行状态调整为所述关闭状态。
  14. 根据权利要求6所述的装置,其中,所述计时控件与所述目标标识的位置关系满足预设条件包括以下至少一项:
    所述计时控件的位置与所述目标标识的位置存在重合区域;
    所述计时控件位于所述目标标识对应的第一目标区域内;
    所述计时控件与所述目标标识均位于第二目标区域。
  15. 根据权利要求1所述的装置,其中,
    所述接收模块,还用于接收第四输入;
    所述装置还包括:用于响应于所述第四输入,基于所述第四输入更改所述计时控件的工作状态的模块,其中,所述工作状态包括:暂停计时状态、计时状态以及重新计时状态。
  16. 根据权利要求1所述的装置,其中,
    所述接收模块,还用于接收第七输入;
    所述装置还包括:用于响应于所述第七输入,在显示界面显示所述计时控件的模块。
  17. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8任一项所述的计时控件的使用方法的步骤。
  18. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8任一项所述的计时控件的使用方法的步骤。
  19. 一种芯片,其中,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8 任一项所述的计时控件的使用方法的步骤。
  20. 一种计时控件的使用装置,其中,所述计时控件的使用装置被配置成用于执行如权利要求1-8任一项所述的计时控件的使用方法。
PCT/CN2022/091784 2021-05-10 2022-05-09 计时控件的使用方法、装置及电子设备 WO2022237736A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110506741.7A CN113254096A (zh) 2021-05-10 2021-05-10 计时控件的使用方法、装置及电子设备
CN202110506741.7 2021-05-10

Publications (1)

Publication Number Publication Date
WO2022237736A1 true WO2022237736A1 (zh) 2022-11-17

Family

ID=77222438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091784 WO2022237736A1 (zh) 2021-05-10 2022-05-09 计时控件的使用方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN113254096A (zh)
WO (1) WO2022237736A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254096A (zh) * 2021-05-10 2021-08-13 维沃移动通信有限公司 计时控件的使用方法、装置及电子设备
CN113703896A (zh) * 2021-08-30 2021-11-26 维沃移动通信(杭州)有限公司 事件触发控制方法、装置、电子设备及介质
CN115242919A (zh) * 2022-07-21 2022-10-25 浙江极氪智能科技有限公司 基于终端设备的计时控制方法和设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258310A (ja) * 2008-04-15 2009-11-05 Toshiba Corp 情報処理装置
US20160062582A1 (en) * 2014-09-02 2016-03-03 Apple Inc. Stopwatch and timer user interfaces
CN110413315A (zh) * 2019-07-29 2019-11-05 维沃移动通信有限公司 一种应用程序控制方法及电子设备
CN110515506A (zh) * 2019-07-10 2019-11-29 华为技术有限公司 一种倒计时显示方法及电子设备
CN112631496A (zh) * 2019-09-24 2021-04-09 深圳市万普拉斯科技有限公司 移动终端的控制方法、装置、计算机设备和存储介质
CN112764611A (zh) * 2021-01-21 2021-05-07 维沃移动通信(杭州)有限公司 应用程序控制方法、装置和电子设备
CN113254096A (zh) * 2021-05-10 2021-08-13 维沃移动通信有限公司 计时控件的使用方法、装置及电子设备
CN113703896A (zh) * 2021-08-30 2021-11-26 维沃移动通信(杭州)有限公司 事件触发控制方法、装置、电子设备及介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101517968B1 (ko) * 2008-07-07 2015-05-06 엘지전자 주식회사 자이로센서를 구비한 휴대 단말기 및 그 제어방법
KR20110014040A (ko) * 2009-08-04 2011-02-10 엘지전자 주식회사 이동 단말기 및 그의 아이콘 충돌 제어방법
US9075507B2 (en) * 2013-03-14 2015-07-07 Cellco Partnership Silence reminder
CN106225416B (zh) * 2016-08-10 2019-02-05 广东格兰仕集团有限公司 智能冰箱的食物管理方法
CN110471581A (zh) * 2018-05-08 2019-11-19 苹果公司 用于控制或呈现电子设备上的设备使用的用户界面
US11625101B2 (en) * 2018-05-30 2023-04-11 Google Llc Methods and systems for identifying three-dimensional-human-gesture input
CN112306602A (zh) * 2020-10-27 2021-02-02 北京字节跳动网络技术有限公司 一种计时方法、装置、电子设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258310A (ja) * 2008-04-15 2009-11-05 Toshiba Corp 情報処理装置
US20160062582A1 (en) * 2014-09-02 2016-03-03 Apple Inc. Stopwatch and timer user interfaces
CN110515506A (zh) * 2019-07-10 2019-11-29 华为技术有限公司 一种倒计时显示方法及电子设备
CN110413315A (zh) * 2019-07-29 2019-11-05 维沃移动通信有限公司 一种应用程序控制方法及电子设备
CN112631496A (zh) * 2019-09-24 2021-04-09 深圳市万普拉斯科技有限公司 移动终端的控制方法、装置、计算机设备和存储介质
CN112764611A (zh) * 2021-01-21 2021-05-07 维沃移动通信(杭州)有限公司 应用程序控制方法、装置和电子设备
CN113254096A (zh) * 2021-05-10 2021-08-13 维沃移动通信有限公司 计时控件的使用方法、装置及电子设备
CN113703896A (zh) * 2021-08-30 2021-11-26 维沃移动通信(杭州)有限公司 事件触发控制方法、装置、电子设备及介质

Also Published As

Publication number Publication date
CN113254096A (zh) 2021-08-13

Similar Documents

Publication Publication Date Title
WO2022237736A1 (zh) 计时控件的使用方法、装置及电子设备
US11960714B2 (en) Devices, methods, and graphical user interfaces for accessing notifications
CN108702446B (zh) 一种拍照方法和终端
US7890778B2 (en) Power-off methods for portable electronic devices
EP4343491A2 (en) Devices, methods, and graphical user interfaces for providing a home button replacement
US9075612B2 (en) System and method for managing display power consumption
EP2825950B1 (en) Touch screen hover input handling
US11650733B2 (en) Device, method, and graphical user interface for controlling multiple devices in an accessibility mode
KR101483349B1 (ko) 다른 장치의 디스플레이 해상도를 가지는 모드를 포함하는 복수의 애플리케이션 디스플레이 모드를 갖는 장치 및 방법
US20230065161A1 (en) Device, Method, and Graphical User Interface for Handling Data Encoded in Machine-Readable Format
TWI448956B (zh) 用於條件啟動或停用軟式按鈕之裝置及方法
KR20160014481A (ko) Idle 모드에서 동작하는 전자 장치 및 방법
WO2019019835A1 (zh) 响应黑屏手势的方法、装置、存储介质及移动终端
CN111831099A (zh) 电子设备
EP3828682A1 (en) Method, apparatus for adding shortcut plug-in, and intelligent device
US20200125371A1 (en) Waking and sleeping a display among a plurality of displays using gestures
CN104571839A (zh) 一种终端及其处理方法、装置
WO2023005828A1 (zh) 消息显示方法、装置和电子设备
WO2023143430A1 (zh) 信息显示方法及装置
WO2023030085A1 (zh) 事件触发控制方法、装置、电子设备及介质
WO2022262722A1 (zh) 电子设备的响应方法、装置和电子设备
WO2023056977A1 (zh) 应用程序启动方法, 装置及电子设备
CN112947829A (zh) 误操作处理方法、装置、电子设备及可读存储介质
WO2016078251A1 (zh) 一种投影仪播放控制方法、装置及计算机存储介质
CN112764611B (zh) 应用程序控制方法、装置和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22806699

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE