Event trigger control method, device, electronic device and medium

By receiving and processing the input of the target application icon, determining and triggering the delay event, the problem of single and inflexible timing functions in the prior art is solved, and the custom delay triggering function is realized, which improves the user experience.

CN113703896BActive Publication Date: 2024-11-12VIVO MOBILE COMM HANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111002225.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-11-12
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

The timing function on existing electronic devices is limited to alarm clocks, and the timing function is not flexible enough to meet the user-defined delay trigger event needs.

Method used

By receiving input from the target application icon, determine the target delay time and target event, and trigger related events when the target delay time arrives, realizing the custom application delay triggering function.

Benefits of technology

This makes the timing function not only limited to the alarm clock, but becomes more flexible, improves the user experience, and can customize the duration and type of delayed triggering events as needed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113703896B_ABST
    Figure CN113703896B_ABST
Patent Text Reader

Abstract

The present application discloses an event trigger control method, device, electronic device and medium, which belongs to the field of communication technology. The method includes: receiving a first input of a first application icon of a target application, the first input is used to move the first application icon to the window of a target control; in response to the first input, determining a target delay duration and a target event, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, triggering the target event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an event trigger control method, device, electronic device and medium. Background Art

[0002] With the continuous development of mobile communication technology, smart electronic devices (such as mobile phones) are becoming more and more popular. The operating systems of existing electronic devices can be equipped with the Huarong grid system. In addition to being able to freely adjust the size of applications, there is also an atomic component library, which includes the original screen usage time, space cleaning, atomic notifications, atomic walkman, calendar, weather, wallpaper, schedule, and other rich atomic components, making the boring desktop suddenly lively and flexible, and the user experience is also very good.

[0003] Currently, the timing function on electronic devices is limited to alarm clocks, and the timing function is not flexible enough and has limitations. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an event trigger control method, device, electronic device and medium, which can solve the problem that the timing function of existing electronic devices is limited to an alarm clock and the timing function is not flexible and has limitations.

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

[0006] Receiving a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control;

[0007] In response to the first input, determining a target delay duration and a target event, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application;

[0008] When the target delay duration is reached, the target event is triggered.

[0009] In a second aspect, an embodiment of the present application further provides an event trigger control device, comprising:

[0010] A first receiving module, configured to receive a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control;

[0011] A first processing module, configured to determine a target delay duration and a target event in response to the first input, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application;

[0012] The control module is used to trigger the target event when the target delay time is reached.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the event-triggered control method described in the first aspect.

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

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the event-triggered control method as described in the first aspect.

[0016] In an embodiment of the present application, by receiving a first input to a first application icon of a target application, the first input is used to move the first application icon to a window of a target control; in response to the first input, a target delay duration and a target event are determined, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, the target event is triggered. In this way, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flow chart of an event trigger control method provided in an embodiment of the present application;

[0018] Figure 2 One of the interface schematic diagrams corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0019] Figure 3 The second interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0020] Figure 4 The third interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0021] Figure 5 The fourth interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0022] Figure 6The fifth interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0023] Figure 7 The sixth interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0024] Figure 8 The seventh interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0025] Fig. 9 The eighth interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0026] Fig.10 A ninth interface diagram corresponding to the execution steps of the event trigger control method according to an embodiment of the present application;

[0027] Fig.11 The tenth interface diagram corresponding to the execution steps of the event trigger control method of the embodiment of the present application;

[0028] Fig.12 This is a schematic diagram of the structure of an event-triggered control device according to an embodiment of the present application;

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

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

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

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

[0033] The photographing method provided by the embodiment of the present application will be described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0034] like Figure 1 FIG. 1 is a flow chart of an event trigger control method provided in an embodiment of the present application. The implementation process of the method will be specifically described below with reference to the figure.

[0035] Step 101, receiving a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control;

[0036] It should be noted that this method is applied to electronic equipment. Figure 2 As shown, the first application icon of the target application (such as Figure 2 1) and the target control (e.g. Figure 2 The atom delay device 6) is displayed on the desktop of the electronic device.

[0037] Here, the target control 6 is dragged out from the component library through user operation and displayed on the desktop.

[0038] It should be noted that the controls in this embodiment can also be called atomic components.

[0039] Optionally, the target control is an atomic delay or a cyclic atomic delay.

[0040] Optionally, the first input is a pre-set input, which may include but is not limited to at least one of a click input, a press input, a long press input, a pinch input, a drag input, a sliding input and a swipe input of the first application icon. That is to say, the first input may be one of the above inputs, or a combination of two or more of them.

[0041] Preferably, the first input is a combination of a long press input and a drag input. Figure 2 As shown, for example, the user long presses the application icon of application 1 displayed on the desktop and drags the application icon to the top of the atomic delay device 6.

[0042] Step 102, in response to the first input, determining a target delay duration and a target event, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application;

[0043] Optionally, the preset association relationship includes:

[0044] The first application icon is located in the window; or,

[0045] The first application icon is located on the border of the window.

[0046] Here, the first application icon is located in the window, which can be referred to Figure 4 The first application icon is located within the window border. Figure 8 The application icon of application 1 in the.

[0047] Step 103: When the target delay time is reached, trigger the target event.

[0048] In this step, when the timing duration reaches the target delay duration and triggers a target event related to the target application, the electronic device interrupts the running application.

[0049] Here, the timing starts when the target delay duration and the target event are determined.

[0050] The event trigger control method of the embodiment of the present application receives a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control; in response to the first input, a target delay duration and a target event are determined, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, the target event is triggered. In this way, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved.

[0051] Optionally, the target delay duration is a preset delay duration, and the target event is a preset event.

[0052] Here, the preset event can be set by the user or by the system default setting, and no specific limitation is made here.

[0053] In this case, the target delay time for delaying the triggering of the target event is the preset delay time, and the target event is the preset event, that is, the target delay time has been preset, and the target event is also preset. In response to the first input, that is, after the first input ends, the timing can be started, and when the timing reaches the preset delay time, the target event is triggered. As an optional implementation, in step 102 of the method of the embodiment of the present application, determining the target delay time includes:

[0054] receiving a second input from a user on the first application icon, where the second input is used to move a position of the first application icon;

[0055] In response to the second input, displaying the first application icon at a first position of the window;

[0056] According to the first position, a target delay duration is determined.

[0057] This step may specifically include:

[0058] When the first position is a position other than the starting position and the end position on the first preset trajectory, the duration corresponding to the remaining trajectory of the first position to the end position is determined as the target delay duration, and the first preset trajectory corresponds to the preset delay duration for triggering the target event.

[0059] It should be noted that this implementation can meet the user's demand for adjusting the delay time for triggering the target event.

[0060] In one example, if Figure 7 As shown, a user's drag input to the application icon of application 1 located in the window of atomic delay 6 is received, and in response to the drag input, the position of the application icon of application 1 when the drag input ends (i.e., when the user lets go) is determined, and the position is the first position, i.e., the position where the user wants the application icon of application 1 to stop, and the first position is the position on the first preset trajectory other than the starting position and the end position, and the duration corresponding to the remaining trajectory from the first position to the end position is determined as the target delay duration, wherein the first preset trajectory corresponds to the preset delay duration for delaying the triggering of the target event. In other words, the remaining time for triggering the target event related to application 1 can be controlled through user operation.

[0061] If the preset delay duration is set to 60s, the target event is determined to be "start application", and through user operation, the application icon of application 1 is dragged to the middle position of the first preset track, then 30s after the moment the dragging ends, the "start application" event is triggered and application 1 is automatically started.

[0062] As an optional implementation, in step 102 of the method of the embodiment of the present invention, determining the target delay duration includes:

[0063] Display the delay time setting mark;

[0064] In this step, in response to the first input, the delay time setting mark is displayed, that is, when the user moves the first application icon to the window of the target control, the delay time setting mark is triggered to be displayed. Figure 5 The "Set Time" control (i.e., the delay duration setting indicator) displayed in the figure.

[0065] receiving a third input from a user for setting an identifier for the delay duration;

[0066] In this step, the third input is a pre-set input, and the third input may include but is not limited to at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input and a swipe input of the first application icon. That is to say, the third input may be one of the above inputs, or a combination of two or more of them.

[0067] In response to the third input, a target delay duration selected by the user is determined.

[0068] In one example, if Figure 5 As shown, a click input to the "set time" control is received, and in response to the click input, a time selection box 7 is displayed, such as Figure 6 As shown, the user can select a time from 1 second to 1 year as the target delay time.

[0069] In this implementation, users can customize the target delay time for delaying the triggering of a target event according to their needs.

[0070] As an optional implementation, in step 102 of the method of the embodiment of the present invention, determining the target event includes:

[0071] Displaying at least one event to be triggered of the target application;

[0072] In this step, in response to the first input, at least one event to be triggered of the target application is displayed. Here, the at least one event to be triggered can be displayed in the form of a list or other display modes, which are not specifically limited here.

[0073] receiving a fourth input from a user on a first event among the at least one event to be triggered, wherein the first event is one of the at least one event to be triggered;

[0074] In response to the fourth input, the first event is determined as a target event.

[0075] The following is an example to illustrate the implementation process of the above implementation method.

[0076] like Figure 2 As shown, the electronic device receives the first input of the user to the application icon of application 1, that is, long pressing the application icon of application 1 and dragging the application icon to the top of the atomic delay 6; then, a list of events A for delay triggering is displayed, such as Figure 3 As shown; the event list A includes four events: starting the application, clearing the cache, checking for updates, and disconnecting wifi; then, receiving the user's click input on the event list A, clicking on one of the events, that is, determining the target event related to application 1.

[0077] It should be noted that if the target delay duration is determined by a delay setting identifier, and the target event is determined by displaying at least one to-be-triggered event of the target application, then in response to the first input, the delay setting identifier may be displayed first, and after the target delay duration is determined by user operation, at least one to-be-triggered event of the target application may be displayed, and the target event may be determined by user operation; or at least one to-be-triggered event of the target application may be displayed first, and after the target event is determined by user operation, the delay setting identifier may be displayed, and the target delay duration may be determined by user operation. No specific limitation is made here.

[0078] As an optional implementation, in step 103 of the method of the embodiment of the present application, when the target delay duration is reached, triggering the target event includes:

[0079] If the target event is a trigger event, the first application icon is controlled to start at a first starting time, move along a second preset trajectory, and when the moving time reaches the target delay time, stop moving and trigger the target event. The first starting time is the time for determining the target delay time and the target event.

[0080] Here, the above-mentioned dynamic display method can facilitate users to understand the progress of triggering the target event in real time, and also increase the fun.

[0081] It should be noted that the second preset track is located in the window of the target control.

[0082] In one example, the application icon of application 1 starts at the first starting time and at the starting position of the second preset track, that is, Figure 4 The leftmost part of the image starts to move slowly to the right along the second preset trajectory. When the movement duration reaches the preset delay duration, the image stops moving and triggers the target event related to application 1.

[0083] In Figure 7 In another example shown, a user's drag input for an application icon of application 1 located in the window of atomic delay device 6 is received, and in response to the drag input, the position of the application icon of application 1 when the drag input ends (i.e., when the user lets go) is determined, and the position is the first position, i.e., the position where the user wants the application icon of application 1 to stop, and the first position is the position on the first preset trajectory excluding the starting position and the end position, and the duration corresponding to the remaining trajectory from the first position to the end position is determined as the target delay duration (the target delay duration is less than the preset delay duration), wherein the first preset trajectory corresponds to the preset delay duration for delaying the triggering of the target event, and then, starting from the middle position (first position) of the second preset trajectory (i.e., the first preset trajectory), it starts to move slowly to the right along the second preset trajectory, and stops moving when the movement duration reaches the target delay duration, and triggers the target event related to application 1.

[0084] The above implementation method realizes the function of delayed triggering events of custom applications through simple component interaction. For example, if application 1 is a ticket purchase APP, and the user needs to grab a ticket at the scheduled time and is worried about forgetting, the above custom application delayed triggering event function can be used to automatically open the ticket purchase APP when the scheduled time arrives. Even if the ticket purchase APP is in the startup state, it can directly jump to the page where the user previously purchased tickets, without having to turn off the alarm first and then open the application, which saves steps, saves time for users, and improves the user experience.

[0085] As another optional implementation, in step 103 of the method of the embodiment of the present application, when the target delay duration is reached, triggering the target event includes:

[0086] First, if the target event is a periodic trigger event and the target delay duration is a preset delay duration, the first application icon is controlled to start at a second starting time and move along a third preset trajectory, and the target event is triggered every time the movement duration reaches the preset delay duration. The second starting time is the time for determining the target delay duration and the target event, and the position of the first application icon at the second starting time is the starting position of the third preset trajectory.

[0087] Optionally, the third preset trajectory is a closed trajectory connected end to end;

[0088] Here, the target delay duration is a preset delay duration, that is, when the position between the first application icon and the window satisfies the preset association relationship, the second input to the first application icon, i.e., the input for moving the position of the first application icon, is not received.

[0089] Specifically, the third preset track may be a border of a window surrounding the target control.

[0090] In one example, if Figure 8 As shown, the electronic device receives the first input of the user to the application icon of application 1, that is, long pressing the application icon of application 1 and dragging the application icon to the top of the cyclic atomic delay 5; then, a list of events B available for delay triggering is displayed, such as Fig. 9 As shown; the event list B includes four events: starting the application, clearing the cache, checking for updates, and disconnecting wifi; then, receiving the user's click input on the event list B, clicking on one of the events, that is, determining the target event that is periodically triggered related to application 1.

[0091] Afterwards, the application icon of application 1 is located on the border of the window of the cyclic atomic delay device 5, which is a circular window. If the preset delay duration is pre-set, the timing starts when the target event is determined; assuming that the target event is a "detect update" event, the application icon of application 1 is controlled to start timing at the moment of determining the target event, and moves along the border of the circular window at the starting position, and every time the moving duration reaches the preset delay duration, the application icon of application 1 returns to the starting position and triggers the "detect update" event.

[0092] Assuming that one cycle is set to 24 hours, then Application 1 will trigger a "check for updates" event every 24 hours. If a new version is found at this time, it will automatically download and trigger an update.

[0093] On the other hand, if the target event is a periodic trigger event, and the target delay duration is less than the preset delay duration, the first application icon is controlled to start at a third starting time, move along a third preset trajectory, and the moving time is as long as the target delay duration, to trigger the target event, the third starting time is the time for determining the target delay duration and the target event, the position of the first application icon at the third starting time is the second position, and the second position is the position of the third preset trajectory excluding the starting position and the end position, and when the moving time of the first application icon is as long as the target delay duration, the first application icon is located at the end position of the third preset trajectory;

[0094] Here, the target delay duration is less than the preset delay duration, that is, when the position between the first application icon and the window satisfies the preset association relationship, a second input to the first application icon is received, that is, an input for moving the position of the first application icon.

[0095] It should be noted that, for a periodic triggering event, only the current duration adjustment of the second input is responded to, and then the target event is periodically triggered according to the preset delay duration.

[0096] It should be noted that if the third preset trajectory is a closed trajectory connected end to end, when the movement time of the first application icon is as long as the target delay time, the first application icon is located at the end position of the third preset trajectory, which is also the starting position of the third preset trajectory.

[0097] Updating the target delay duration to a preset delay duration;

[0098] Control the first application icon to start at a fourth starting time and move along a third preset trajectory, and trigger the target event every time the moving duration reaches the preset delay duration. The fourth starting time is the target delay duration update time, and the position of the first application icon at the third starting time is located at the starting point of the third preset trajectory.

[0099] The above dynamic display method can facilitate users to understand the progress of triggering the target event in real time, which increases the fun.

[0100] The above implementation method of periodically triggering target events makes scheduled tasks richer and more flexible. For example, a short video playback app can set a delay event to automatically play videos, so users can implement a "video alarm clock" function to automatically play videos at a certain time every morning. For another example, an instant messaging app provides an automatic message sending function, so that users don't have to wait until midnight to send blessing messages to others one by one on important holidays.

[0101] Here, the target application may be one or more. When there are multiple target applications, in order to ensure that the positions of the icons and windows of the multiple applications satisfy the preset association relationship and for subsequent dynamic display without affecting each other, as an optional implementation, after receiving the first input of the first application icon of the target application, the method of the embodiment of the present application further includes:

[0102] The size of the first application icon is reduced according to a preset ratio.

[0103] Here, if Fig.10 As shown, the application icon of application 2 and the application icon of application 4 can be moved into the window of the atomic delay device through the user's long press and drag operation; Fig.11 As shown, the application icon of application 2 and the application icon of application 3 can be moved into the window of the cyclic atomic delayer through a long press and drag operation by the user.

[0104] In this way, the delayed trigger event function of different applications can be realized, the timing function is more flexible, and the user experience is improved.

[0105] The event trigger control method of the embodiment of the present application receives a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control; in response to the first input, a target delay duration and a target event are determined, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, the target event is triggered. In this way, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved.

[0106] It should be noted that the event trigger control method provided in the embodiment of the present application can be executed by an event trigger control device, or a control module in the event trigger control device for executing the event trigger control method. In the embodiment of the present application, the event trigger control device provided in the embodiment of the present application is described by taking the event trigger control device executing the event trigger control method as an example.

[0107] like Fig.12 FIG. 1 is a schematic diagram of the structure of an event trigger control device provided in an embodiment of the present application. The event trigger control device 1200 may include:

[0108] A first receiving module 1201 is used to receive a first input to a first application icon of a target application, where the first input is used to move the first application icon to a window of a target control;

[0109] A first processing module 1202 is used to determine a target delay duration and a target event in response to the first input, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application;

[0110] The control module 1203 is used to trigger the target event when the target delay duration is reached.

[0111] Optionally, the first processing module 1202 includes:

[0112] A first receiving unit, configured to receive a second input from a user on the first application icon, wherein the second input is used to move a position of the first application icon;

[0113] a first display unit, configured to display the first application icon at a first position of the window in response to the second input;

[0114] The first processing unit is used to determine a target delay duration according to the first position.

[0115] Optionally, the first processing unit is specifically configured to:

[0116] When the first position is a position other than the starting position and the end position on the first preset trajectory, the duration corresponding to the remaining trajectory of the first position to the end position is determined as the target delay duration, and the first preset trajectory corresponds to the preset delay duration for triggering the target event.

[0117] Optionally, the first processing module 1202 includes:

[0118] The second display unit is used to display a delay time setting mark;

[0119] A second receiving unit is used to receive a third input of a user setting an identifier for the delay duration;

[0120] The second processing unit is used to determine the target delay duration selected by the user in response to the third input.

[0121] Optionally, the first processing module 1202 includes:

[0122] A third display unit, configured to display at least one to-be-triggered event of the target application;

[0123] A third receiving unit, configured to receive a fourth input from a user on a first event in the at least one event to be triggered, wherein the first event is one of the at least one event to be triggered;

[0124] The third processing unit is configured to determine the first event as a target event in response to the fourth input.

[0125] Optionally, the control module 1203 includes:

[0126] The first control unit is used to control the first application icon to start from a first starting time, move along a second preset trajectory, and stop moving when the moving time reaches the target delay time, and trigger the target event when the target event is a trigger event. The first starting time is the time for determining the target delay time and the target event.

[0127] Optionally, the control module 1203 includes:

[0128] A second control unit is used to control the first application icon to move along a third preset trajectory starting from a second starting time when the target event is a periodic trigger event and the target delay duration is a preset delay duration, and to trigger the target event every time the movement duration reaches the preset delay duration, the second starting time is the time for determining the target delay duration and the target event, and the position of the first application icon at the second starting time is the starting position of the third preset trajectory.

[0129] Optionally, the control module 1203 includes:

[0130] A third control unit is used for controlling the first application icon to start from a third starting moment and move along a third preset trajectory when the target event is a periodic trigger event and the target delay duration is a preset delay duration, and the movement duration is as long as the target delay duration to trigger the target event, the third starting moment is a moment for determining the target delay duration and the target event, the position of the first application icon at the third starting moment is a second position, and the second position is a position of the third preset trajectory excluding the starting position and the end position, and when the movement duration of the first application icon is as long as the target delay duration, the first application icon is located at the end position of the third preset trajectory;

[0131] An updating unit, used for updating the target delay duration to a preset delay duration;

[0132] A fourth control unit is used to control the first application icon to move along a third preset trajectory starting from a fourth starting time, and trigger the target event every time the moving duration reaches the preset delay duration, the fourth starting time is the target delay duration update time, and the position of the first application icon at the third starting time is located at the starting point of the third preset trajectory.

[0133] The event trigger control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0134] The event trigger control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0135] The event trigger control device provided in the embodiment of the present application can achieve Figures 1 to 11 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0136] The event trigger control device of the embodiment of the present application receives a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control; in response to the first input, a target delay duration and a target event are determined, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, the target event is triggered. In this way, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved.

[0137] Alternatively, if Fig.13 As shown, an embodiment of the present application also provides an electronic device 1300, including a processor 1301, a memory 1302, and a program or instruction stored in the memory 1302 and executable on the processor 1301. When the program or instruction is executed by the processor 1301, each process of the above-mentioned event-triggered control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0139] Fig.14 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present application.

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

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

[0142] Among them, the user input unit 1407 is used to receive a first input to a first application icon of a target application, and the first input is used to move the first application icon to the window of a target control; the processor 1410 is used to determine a target delay duration and a target event in response to the first input, wherein the position between the first application icon and the window satisfies a preset association relationship, and the target event is related to the target application; when the target delay duration is reached, the target event is triggered.

[0143] In the embodiment of the present application, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved.

[0144] Optionally, the user input unit 1407 is also used to: receive a second input from the user to the first application icon, and the second input is used to move the position of the first application icon; the display unit 1406 is also used to: display the first application icon at the first position of the window in response to the second input; the processor 1410 is also used to: determine the target delay duration based on the first position.

[0145] Optionally, the processor 1410 is further configured to:

[0146] When the first position is a position other than the starting position and the end position on the first preset trajectory, the duration corresponding to the remaining trajectory of the first position to the end position is determined as the target delay duration, and the first preset trajectory corresponds to the preset delay duration for triggering the target event.

[0147] Optionally, the display unit 1406 is also used to: display a delay duration setting identifier; the user input unit 1407 is also used to receive a third input from the user for the delay duration setting identifier; the processor 1410 is also used to: determine the target delay duration selected by the user in response to the third input.

[0148] Optionally, the display unit 1406 is also used to: display at least one event to be triggered of the target application; the user input unit 1407 is also used to receive a fourth input from the user for a first event among the at least one event to be triggered, wherein the first event is one of the at least one event to be triggered; the processor 1410 is also used to: determine the first event as a target event in response to the fourth input.

[0149] Optionally, the processor 1410 is further configured to:

[0150] If the target event is a trigger event, the first application icon is controlled to start at a first starting time, move along a second preset trajectory, and when the moving time reaches the target delay time, stop moving and trigger the target event. The first starting time is the time for determining the target delay time and the target event.

[0151] Optionally, the processor 1410 is further configured to:

[0152] If the target event is a periodic trigger event and the target delay duration is a preset delay duration, the first application icon is controlled to move along a third preset trajectory starting from a second starting time, and the target event is triggered every time the movement duration reaches the preset delay duration. The second starting time is the time for determining the target delay duration and the target event, and the position of the first application icon at the second starting time is the starting position of the third preset trajectory.

[0153] Optionally, the processor 1410 is further configured to:

[0154] If the target event is a periodic trigger event, and the target delay duration is less than the preset delay duration, the first application icon is controlled to start at a third starting time, move along a third preset trajectory, and the moving time is as long as the target delay duration, to trigger the target event, the third starting time is the time for determining the target delay duration and the target event, the position of the first application icon at the third starting time is the second position, and the second position is the position of the third preset trajectory excluding the starting position and the end position, and when the moving time of the first application icon is as long as the target delay duration, the first application icon is located at the end position of the third preset trajectory;

[0155] Updating the target delay duration to a preset delay duration;

[0156] Control the first application icon to start at a fourth starting time and move along a third preset trajectory, and trigger the target event every time the moving duration reaches the preset delay duration. The fourth starting time is the target delay duration update time, and the position of the first application icon at the third starting time is located at the starting point of the third preset trajectory.

[0157] In the embodiment of the present application, a custom application delay trigger event function is implemented by utilizing simple component interaction, so that the timing is not limited to an alarm clock, the timing function is more flexible, and the user experience is improved.

[0158] It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1409 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1410.

[0159] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned event-triggered control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

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

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

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

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

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

Claims

1. An event-triggered control method, characterized in that: include: Receiving a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control; In response to the first input, determining a target delay duration and a target event, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application; When the target delay time is reached, triggering the target event; Determine the target delay duration, including: receiving a second input from a user on the first application icon, where the second input is used to move a position of the first application icon; In response to the second input, displaying the first application icon at a first position of the window; According to the first position, a target delay duration is determined.

2. The method according to claim 1, characterized in that Determining a target delay duration according to the first position includes: When the first position is a position other than the starting position and the end position on the first preset trajectory, the duration corresponding to the remaining trajectory of the first position to the end position is determined as the target delay duration, and the first preset trajectory corresponds to the preset delay duration for triggering the target event.

3. The method according to claim 1, characterized in that Identify target events, including: Displaying at least one event to be triggered of the target application; receiving a fourth input from a user on a first event among the at least one event to be triggered, wherein the first event is one of the at least one event to be triggered; In response to the fourth input, the first event is determined as a target event.

4. The method according to claim 1, characterized in that: When the target delay time is reached, the target event is triggered, including: If the target event is a trigger event, the first application icon is controlled to start at a first starting time, move along a second preset trajectory, and when the moving time reaches the target delay time, stop moving and trigger the target event. The first starting time is the time for determining the target delay time and the target event.

5. The method according to claim 1, characterized in that When the target delay time is reached, the target event is triggered, including: If the target event is a periodic trigger event and the target delay duration is a preset delay duration, the first application icon is controlled to move along a third preset trajectory starting from a second starting time, and the target event is triggered every time the movement duration reaches the preset delay duration. The second starting time is the time for determining the target delay duration and the target event, and the position of the first application icon at the second starting time is the starting position of the third preset trajectory.

6. The method according to claim 1, characterized in that When the target delay time is reached, the target event is triggered, including: If the target event is a periodic trigger event, and the target delay duration is less than the preset delay duration, the first application icon is controlled to start at a third starting time, move along a third preset trajectory, and the moving time is as long as the target delay duration, to trigger the target event, the third starting time is the time for determining the target delay duration and the target event, the position of the first application icon at the third starting time is the second position, and the second position is the position of the third preset trajectory excluding the starting position and the end position, and when the moving time of the first application icon is as long as the target delay duration, the first application icon is located at the end position of the third preset trajectory; Updating the target delay duration to a preset delay duration; Control the first application icon to start at a fourth starting time and move along a third preset trajectory, and trigger the target event every time the moving duration reaches the preset delay duration. The fourth starting time is the target delay duration update time, and the position of the first application icon at the third starting time is located at the starting point of the third preset trajectory.

7. An event-triggered control device, characterized in that: include: A first receiving module, configured to receive a first input to a first application icon of a target application, wherein the first input is used to move the first application icon to a window of a target control; A first processing module, configured to determine a target delay duration and a target event in response to the first input, wherein the positions between the first application icon and the window satisfy a preset association relationship, and the target event is related to the target application; A control module, used to trigger the target event when the target delay time is reached; The first processing module comprises: A first receiving unit, configured to receive a second input from a user on the first application icon, wherein the second input is used to move a position of the first application icon; a first display unit, configured to display the first application icon at a first position of the window in response to the second input; The first processing unit is used to determine a target delay duration according to the first position.

8. The device according to claim 7, characterized in that The first processing unit is specifically configured to: When the first position is a position other than the starting position and the end position on the first preset trajectory, the duration corresponding to the remaining trajectory of the first position to the end position is determined as the target delay duration, and the first preset trajectory corresponds to the preset delay duration for triggering the target event.

9. The device according to claim 7, characterized in that The first processing module comprises: A third display unit, configured to display at least one to-be-triggered event of the target application; A third receiving unit, configured to receive a fourth input from a user on a first event in the at least one event to be triggered, wherein the first event is one of the at least one event to be triggered; The third processing unit is configured to determine the first event as a target event in response to the fourth input.

10. The device according to claim 7, characterized in that The control module comprises: The first control unit is used to control the first application icon to start from a first starting time, move along a second preset trajectory, and stop moving when the moving time reaches the target delay time, and trigger the target event when the target event is a trigger event. The first starting time is the time for determining the target delay time and the target event.

11. The device according to claim 7, characterized in that The control module comprises: A second control unit is used to control the first application icon to move along a third preset trajectory starting from a second starting time when the target event is a periodic trigger event and the target delay duration is a preset delay duration, and to trigger the target event every time the movement duration reaches the preset delay duration, the second starting time is the time for determining the target delay duration and the target event, and the position of the first application icon at the second starting time is the starting position of the third preset trajectory.

12. The device according to claim 7, characterized in that The control module comprises: a third control unit, for controlling the first application icon to start at a third starting moment and move along a third preset trajectory for a moving time equal to the target delay time, so as to trigger the target event, when the target event is a periodic triggering event and the target delay time is less than a preset delay time, wherein the third starting moment is a moment for determining the target delay time and the target event, the position of the first application icon at the third starting moment is a second position, and the second position is a position of the third preset trajectory excluding a starting position and an end position, and when the moving time of the first application icon is equal to the target delay time, the first application icon is located at an end position of the third preset trajectory; An updating unit, used for updating the target delay duration to a preset delay duration; A fourth control unit is used to control the first application icon to move along a third preset trajectory starting from a fourth starting time, and trigger the target event every time the moving duration reaches the preset delay duration, the fourth starting time is the target delay duration update time, and the position of the first application icon at the third starting time is located at the starting point of the third preset trajectory.

13. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the event-triggered control method as claimed in any one of claims 1 to 6.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the event-triggered control method according to any one of claims 1 to 6 are implemented.