Terminal operation method, device, computer equipment and storage medium
By displaying the timing control in the current page of the terminal, configuring and executing the countdown function, the problem in the existing technology that applications cannot share the timing function is solved, and the timing function setting of any application is realized, which is convenient and efficient.
Patent Information
- Application Number
- CN202110217107.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-02-26
AI Technical Summary
In existing terminal systems, except for special applications such as cameras, other applications cannot share the timing function, resulting in the need to add a timing program for each application, which is time-consuming and labor-intensive.
By displaying the timing control on the current page of the terminal, configuring the countdown time of the operation event, responding to the triggering operation of the timing start entrance, intercepting the triggering event, and generating a triggering instruction when the timing time arrives, automatically executing the preset timing triggering area operation. Implement timing functions for any application.
It realizes the timing function setting of any button in any application, which is convenient and convenient, and solves the time-consuming and labor-intensive problem of adding a timing program to each application.
Smart Images

Figure CN115048019B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal use, and in particular to a terminal operation method, apparatus, computer equipment and storage medium. Background Art
[0002] When using the terminal in daily life, you may encounter a situation where you need to delay the execution of a certain button's function. In this case, you can use the timing function of the button to achieve this. For example, the camera's timed photo function can set the countdown time and click the shooting button. When the countdown time reaches the countdown time, the image is automatically captured.
[0003] However, in the current terminal system, the timing function is only set in the camera or other applications with special needs. Other applications cannot share the timing function. If other applications need to enjoy the timing function, it is necessary to add a corresponding timing program for each application. This method requires more time and manpower. Summary of the invention
[0004] Based on this, it is necessary to provide a terminal operation method, apparatus, computer device and storage medium to address the time-consuming and labor-intensive technical problems of the above-mentioned method of enabling all applications in the terminal to have a timing function.
[0005] A terminal operation method, the method comprising:
[0006] Displaying a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entry;
[0007] In response to a trigger operation on the timing start entrance, executing a timing operation on a preset timing trigger area;
[0008] When the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0009] In one embodiment, in response to the triggering operation on the timing start entry, executing the timing operation on the preset timing triggering area includes:
[0010] In response to a trigger operation on the timing start entry, intercepting a trigger event on a current page of the terminal;
[0011] Using the timed triggering area triggered on the current page of the terminal after the triggering event is intercepted as the preset timed triggering area;
[0012] The timing operation for the preset timing trigger area is performed through the timing control.
[0013] In one embodiment, in response to the trigger operation on the timed start entry, intercepting a trigger event on the current page of the terminal includes:
[0014] In response to a trigger operation on the timing start entry, a page mask is added to the current page of the terminal to obtain a page after the mask is added; the mask is used to intercept a trigger event on the current page of the terminal;
[0015] The timing triggering area triggered on the current page of the terminal after the triggering event is intercepted, as a preset timing triggering area, includes:
[0016] The timing trigger area triggered on the page after the mask is added is used as the preset timing trigger area.
[0017] In one embodiment, before executing the timing operation for the preset timing trigger area through the timing control, it also includes:
[0018] When a trigger operation is detected for the timed trigger area on the current page of the terminal after the trigger event is intercepted, an operation confirmation page is displayed; the operation confirmation page includes a confirmation entry, and the confirmation entry is used to confirm the trigger operation for the timed trigger area;
[0019] If a selection operation on the confirmation entry is detected, a timing operation on the timing trigger area is performed through the timing control.
[0020] In one embodiment, if the current page of the terminal is a display page of the current application, the method further includes:
[0021] In response to a trigger operation on the timed start entry, intercepting a trigger event on the current application;
[0022] After detecting a trigger operation on a timing trigger area on a current page of the terminal after the trigger event is intercepted, the method further includes:
[0023] The current application is switched to the background of the terminal for running.
[0024] In one embodiment, when the timing time reaches the countdown time set by the timing control, generating and executing a trigger instruction for the preset timing trigger area includes:
[0025] When the timing time reaches the countdown time set by the timing control, the current application is switched to the foreground of the terminal for display, the interception operation of the current application is canceled, and a trigger instruction for the preset timing trigger area is generated and executed.
[0026] In one embodiment, the timing control further includes a time setting entry; the method further includes:
[0027] In response to a trigger operation on the time setting entry, a countdown time setting page is displayed; the countdown time setting page includes a time input entry;
[0028] The time input into the time input entry is received as the countdown time.
[0029] In one embodiment, if there are multiple preset timing trigger areas, when the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed, and further includes:
[0030] When the timing time reaches the countdown time set by the timing control, a trigger instruction for each timing trigger area is generated and executed according to the triggering sequence of each timing trigger area.
[0031] A terminal operating device, the device comprising:
[0032] A display module, used to display a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entrance;
[0033] A timing module, configured to execute a timing operation for a preset timing triggering area in response to a triggering operation for the timing start entrance;
[0034] An execution module is used to generate and execute a trigger instruction for the preset timing trigger area when the timing time reaches the countdown time set by the timing control; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0035] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0036] Displaying a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entry;
[0037] In response to a trigger operation on the timing start entrance, executing a timing operation on a preset timing trigger area;
[0038] When the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0039] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0040] Displaying a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entry;
[0041] In response to a trigger operation on the timing start entrance, executing a timing operation on a preset timing trigger area;
[0042] When the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0043] The terminal operation method, device, computer equipment and storage medium are described above. The timing control is displayed in the current page of the terminal, and the timing start entrance is displayed in the timing control. The timing control is used to configure the countdown time for the operation event of the terminal, so that when a trigger operation for the timing start entrance is received, in response to the trigger operation, a timing operation for a preset timing trigger area is performed. When the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed to instruct the terminal to trigger the preset timing trigger area. The method sets a timing control that can be started at any time, and when the timing start entrance of the timing control is in a triggered state, the timing operation for the preset timing trigger area is performed. When the timing time reaches the preset countdown time, the trigger operation for the preset timing trigger area is automatically simulated, and the setting of the timing function for any application and any button in the application is realized. It is convenient and convenient, and the timing function only needs to be set once, thereby solving the technical problem of adding a corresponding timing program for each application and consuming time and effort. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of a flow chart of a terminal operation method in an embodiment;
[0045] Figure 2 is a schematic diagram of a timing control displayed in a current page of a terminal in one embodiment;
[0046] Figure 3 A schematic diagram of a page after adding a page mask in one embodiment;
[0047] Figure 4 A schematic diagram of a flow chart of performing a timed operation on an application program in one embodiment;
[0048] Figure 5 is a flowchart of a terminal operation method in another embodiment;
[0049] Figure 6 is a structural block diagram of a terminal operating device in an embodiment;
[0050] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] In one embodiment, Figure 1 As shown, a terminal operation method is provided. This embodiment uses the method applied to a terminal as an example for illustration, wherein the terminal may be, but is not limited to, various smart phones and tablet computers. In this embodiment, the method includes the following steps:
[0053] Step S102, displaying a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entry.
[0054] See also Figure 2 , which is a schematic diagram of a timing control displayed in the current page of the terminal. The timing control 20 includes a timing start entry 202 and a time setting entry 204. The timing start entry 202 is used to intercept the trigger event for the current page of the terminal when it is in a triggered state. The time setting entry 204 is used to instruct the terminal to display the countdown time setting page when it is in a triggered state.
[0055] Specifically, when the user needs to time the current operation event, the timer control can be triggered to be displayed on the current page of the terminal. More specifically, the user can trigger the timer control through the timer control switch in the pull-down notification bar of the terminal, or enter the terminal setting page, find the timer control in the setting page to trigger it, and after triggering the timer control display, the timer control can always be displayed in the terminal page in a suspended form, and can be moved in the terminal page and placed in any area. When the timer control is not in use, it can be Figure 2 The multiplication sign "×"-like entry on the right side of the area 204 collapses the timing start entry 202 and the time setting entry 204, and displays the timing control in a reduced area. When the reduced area is clicked, the timing start entry 202 and the time setting entry 204 are expanded, and the timing control is displayed Figure 2 The 20 areas shown are convenient for users to perform timing operations.
[0056] In this step, a timing control is displayed and a time setting entry is displayed in the timing control so that the user can set the countdown time by triggering the time setting entry. A timing start entry is displayed in the timing control so that the user can trigger the timing start entry when performing a timing operation, thereby adding a mask to the current page of the terminal and intercepting the trigger event for the current page of the terminal.
[0057] In one embodiment, the timing control also includes a time setting entrance; after step S102, it also includes: in response to a trigger operation on the time setting entrance, displaying a countdown time setting page; the countdown time setting page includes a time input entrance; receiving the time inputted for the time input entrance as the countdown time.
[0058] Specifically, the time input entry can be displayed in the form of a drop-down box in the countdown time setting page, that is, when the user triggers the time input entry, the terminal responds to the operation, and the indication page pops up a time selection drop-down box, and the time selection drop-down box can sequentially display different countdown times. For example, after the user clicks, double-clicks, or long presses to trigger the time input entry, the time input entry pops up a time selection drop-down box, and the pre-set time is sequentially displayed in the box, such as "1 second, 3 seconds, 5 seconds, 100 seconds...etc.".
[0059] Among them, the time input entrance can also be displayed in the form of an input box in the countdown time setting page, and the user can enter the time to be set in the input box to submit the countdown time.
[0060] In this step, by displaying the countdown time setting page and displaying the time input entry in the countdown time setting page, the user can set the countdown time of any length according to the needs without being limited to certain specific countdown times.
[0061] Step S104, in response to the triggering operation on the timing start entry, executing the timing operation on the preset timing triggering area.
[0062] In this step, the preset timing trigger area can be one or more. By pre-setting the timing trigger area, after receiving the user's trigger operation for the timing start entrance, the timing operation for the preset timing trigger area can be performed in response to the trigger operation.
[0063] Further, in one embodiment, step S104 specifically includes: in response to a trigger operation on a timed start entry, intercepting a trigger event on the current page of the terminal; using a timed trigger area triggered on the current page of the terminal after the trigger event is intercepted as a preset timed trigger area; and executing a timing operation on the preset timed trigger area through a timing control.
[0064] In a specific implementation, the setting process of the timing trigger area can be: after the terminal receives a trigger operation for a timing start entrance, in response to the trigger operation, the trigger event for the current page of the terminal is intercepted so that the timing trigger area is selected on the current page of the terminal after the trigger event is intercepted as the preset timing trigger area, and then the timing operation for the preset timing trigger area is executed through the timing control.
[0065] More specifically, in one embodiment, the method for intercepting a trigger event for a current page of a terminal may include: in response to a trigger operation for a timed start entry, adding a page mask to the current page of the terminal, obtaining a page with the mask added, and intercepting the trigger event for the current page of the terminal through the page mask.
[0066] Furthermore, if a page mask is added to the current page of the terminal to intercept the trigger event for the current page of the terminal, the step of using the timed trigger area triggered on the current page of the terminal after the trigger event is intercepted as the preset timed trigger area may include: using the timed trigger area triggered on the page after adding the mask as the preset timed trigger area.
[0067] See also Figure 3 , is a schematic diagram of a page after adding a page mask. After adding the page mask, the terminal will not respond when detecting a trigger operation for any area. For example, if the user triggers the send button in area 302 after adding the page mask, the information will not be sent.
[0068] Specifically, the user can start the timing entry in the timing control (i.e. Figure 2 202 area in the terminal) performs a trigger operation through a set trigger mode (such as single-click, double-click or pressing the touch for a certain time, etc.), and the terminal responds to the trigger operation by adding a page mask to the current page of the terminal, and obtains the following Figure 3 The page after adding the page mask is shown to intercept the trigger event for the current page of the terminal.
[0069] In actual applications, most applications need to execute timing functions. Therefore, when a user uses an application, after the timing start entrance is triggered and a mask is added to the terminal, all trigger events of the currently used application will be intercepted.
[0070] Step S106, when the timing time reaches the countdown time set by the timing control, a trigger instruction for a preset timing trigger area is generated and executed; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0071] Specifically, when the timing time of the timer associated with the timing control reaches the preset countdown time, a trigger instruction for the preset timing trigger area is generated and executed to instruct the terminal to trigger the preset timing trigger area, thereby realizing the timing trigger function for any page or any application of the terminal.
[0072] Furthermore, in one embodiment, if there are multiple preset timing trigger areas, the above step S106 also includes: when the timing time reaches the countdown time set by the timing control, generating and executing trigger instructions for each timing trigger area according to the triggering order of each timing trigger area.
[0073] Specifically, if the number of timed trigger areas selected by the user in the masked page is greater than or equal to two, then when the timing time reaches the countdown time set by the timing control, a trigger instruction for each timed trigger area is generated and executed in accordance with the trigger order of each timed trigger area by the user, to instruct the terminal to trigger each timed trigger area in sequence, wherein when the timing time reaches the countdown time, the terminal triggers each timed trigger area according to the trigger instruction in the same order as the trigger order of each timed trigger area by the user.
[0074] For example, in Figure 3 In the example, if the user triggers "h", "e", "l", "l", "o", and "send" in sequence on the masked page, when the timing reaches the countdown time, the terminal can trigger "h", "e", "l", "l", "o", and "send" in sequence to send the message "hello".
[0075] In the above terminal operation method, a timing control is displayed in the current page of the terminal, and a timing start entry is displayed in the timing control; the timing control is used to configure the countdown time for the operation event of the terminal, so that when a trigger operation for the timing start entry is received, in response to the trigger operation, a timing operation for a preset timing trigger area is performed, and when the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed to instruct the terminal to trigger the preset timing trigger area. This method sets a timing control that can be started at any time, and when the timing start entry of the timing control is in a triggered state, the timing operation for the preset timing trigger area is performed, and when the timing time reaches the preset countdown time, the trigger operation for the preset timing trigger area is automatically simulated, thereby realizing the setting of the timing function for any application and any button in the application, which is convenient and convenient, and only needs to set the timing function once, thereby solving the time-consuming and labor-intensive technical problem of adding a corresponding timing program for each application.
[0076] In one embodiment, it also includes: when a trigger operation on the timing trigger area on the page after adding the mask is detected, a timing operation of the trigger operation on the timing trigger area is performed through the timing control.
[0077] The timing trigger area may be any triggerable area on the page after the mask is added.
[0078] Specifically, when a trigger operation is detected for a timing trigger area on a page after adding a mask, the timing trigger area triggered by the user can also be marked, such as Figure 3 The circular mark on the send button shown in 302 in FIG. 1 is then started by starting the timer associated with the timing control to perform the timing operation of the trigger operation in the timing trigger area to start the countdown.
[0079] Wherein, after starting the timing operation of the trigger operation for the timing trigger area, as Figure 3 As shown, the current countdown time can be displayed in the timing control, that is, the time until the trigger operation for the timing trigger area is simulated. At the same time, a countdown pause entrance as shown in area 304 and a countdown stop entrance as shown in area 306 can also be displayed. The countdown pause entrance is used to temporarily stop the timing operation of the area selected by the user when in the trigger state, and keep the current completed timing time. The countdown stop entrance is used to stop the timing operation of the area selected by the user when in the trigger state, and set the completed timing time to zero.
[0080] In this step, when a trigger operation is detected for the timed trigger area on the page after adding the mask, the timing operation of the timed trigger area is performed, so that any button in the current page of the terminal or the current application can be used for timing operation, which expands the scope of application of the timing function and overcomes the single defect of only being able to perform timing operation on the set button of the application. By marking the area triggered by the user on the page after adding the mask, it is convenient for the user to confirm the area to be timed again, avoiding the situation where the wrong operation is performed but not discovered.
[0081] In one embodiment, before the step of executing the timing operation of the trigger operation for the preset timing trigger area through the timing control, the above-mentioned step also includes: when a trigger operation for the timing trigger area on the current page of the terminal after the trigger event is intercepted is detected, an operation confirmation page is displayed; the operation confirmation page includes a confirmation entrance and a negative entrance; if a selection operation for the confirmation entrance is detected, the timing operation for the timing trigger area is executed through the timing control.
[0082] The confirmation entry is used to instruct the timing control to start the countdown for the timing trigger area selected by the user when in the trigger state.
[0083] The negative entry is used to cancel the area selected by the user when in the trigger state, instruct the terminal to return to the page before the user selects the timed trigger area, and prompt the user to reselect the area required for timed triggering.
[0084] Specifically, after the terminal displays the confirmation entry and the negative entry through the operation confirmation page, the user can perform a trigger operation for the confirmation entry through a set trigger mode (such as single click, double click, or press and touch for a certain time, etc.), and the terminal responds to the trigger operation by starting a timer associated with the timing control to execute a countdown for the timed trigger area selected by the user. The negative entry can also be triggered by the same trigger mode as the confirmation entry. In response to the trigger action, the terminal cancels the area selected by the user and returns to the page before the user selects the timed trigger area, prompting the user to reselect the area required for timed triggering.
[0085] In this step, the confirmation entry and the negative entry are displayed through the operation confirmation page, which is convenient for the user to confirm the area selected to be timed triggered, thereby reducing the possibility of erroneous operation.
[0086] In one embodiment, if the current page of the terminal is the display page of the current application; it also includes: in response to a trigger operation on a timed start entry, intercepting a trigger event for the current application; after detecting the step of triggering the timed trigger area on the current page of the terminal after the trigger event is intercepted, it also includes: switching the current application to the background of the terminal for running.
[0087] Furthermore, in one embodiment, the above step S106 also includes: when the timing time reaches the countdown time set by the timing control, the current application is switched to the foreground of the terminal for display, the interception operation on the current application is canceled, and a trigger instruction for the preset timing trigger area is generated and executed.
[0088] Specifically, see Figure 4 , which is a flowchart of timing operation of an application, including the following steps: (1) setting the countdown time through the timing control; (2) in response to the trigger operation for the timing start entrance, adding a mask to the current page of the terminal, prompting the user to select the area that needs to be triggered by the timing; (3) after detecting the area of the timing trigger selected by the user, the area can be marked, and the current application can be switched to the background to run, so that the user can still operate other applications and start the countdown at the same time. If the user needs to continue to operate the current application, he can use Figure 3 The area 306 shown cancels the timing operation for the current application. (4) When the timing time reaches the preset countdown time, the mask is removed, the interception operation for the current application is canceled, the intercepted application is switched back to the foreground of the terminal for display, and a user click is simulated in the marked timing trigger area to complete the timing function.
[0089] In this embodiment, when a trigger operation of a timed trigger area is detected on a page after a mask is added, the current application is switched to the background of the terminal so that other applications can still operate normally. When the timing time reaches the countdown time set by the timing control, the interception operation of the current application is canceled so that the terminal simulates the trigger operation of the area selected in the current application, thereby realizing the timed trigger function of the area selected in the current application.
[0090] In one embodiment, after detecting the trigger operation for the timed trigger area on the page after adding the mask, it also includes: obtaining the application identifier of the current application; when the timing time reaches the countdown time set by the timing control, switching the current application to the foreground of the terminal for display according to the application identifier.
[0091] In this embodiment, before switching the current application of the terminal to the terminal background to continue operating other applications, it is also necessary to obtain the program identifier of the current application. When the timing time reaches the countdown time, the application that needs to be switched to the foreground can be determined based on the application identifier, further simulating the trigger operation for the marked area in the current application.
[0092] In another embodiment, Figure 5As shown, a terminal operation method is provided, the method comprising the following steps:
[0093] Step S502, displaying a timer control in the current page of the terminal; the timer control is used to configure the countdown time for the operation event of the terminal, and the timer control includes a timer start entry and a time setting entry;
[0094] Step S504, in response to the trigger operation on the time setting entry, displaying a countdown time setting page; the countdown time setting page includes a time input entry;
[0095] Step S506, receiving the time input into the time input portal as the countdown time;
[0096] Step S508, in response to the triggering operation on the timing start entry, a page mask is added to the current page of the terminal to obtain a page after the mask is added; the mask is used to intercept the triggering event on the current page of the terminal;
[0097] Step S510, when a trigger operation is detected for the timing trigger area on the page after adding the mask, an operation confirmation page is displayed; the operation confirmation page includes a confirmation entry and a negation entry;
[0098] Step S512, if a selection operation for the confirmation entry is detected, a timing operation for the trigger operation of the timing trigger area is performed through the timing control;
[0099] Step S514, when the timing time reaches the countdown time set by the timing control, a trigger operation for the timing trigger area is simulated.
[0100] The terminal operation method provided in this embodiment sets a timing control that can be started at any time, and when the timing start entrance of the timing control is in a triggered state, a mask is added to the current page of the terminal, so that the user can select any area of the current page of the terminal as a timing trigger area. When the timing time reaches the preset countdown time, the trigger operation for the selected timing trigger area is automatically simulated, thereby realizing the setting of the timing function for any application and any button in the application. It is convenient and only needs to set the timing function once, thereby solving the time-consuming and labor-intensive technical problem of adding a corresponding timing program for each application.
[0101] It should be understood that although Figure 1 , Figure 4 and Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , Figure 4 and Figure 5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0102] In one embodiment, Figure 6 As shown, a terminal operation device is provided, including: a display module 602, a timing module 604 and an execution module 606, wherein:
[0103] Display module 602, used to display a timing control in the current page of the terminal; the timing control is used to configure the countdown time for the operation event of the terminal, and the timing control includes a timing start entry;
[0104] The timing module 604 is used to execute a timing operation for a preset timing triggering area in response to a triggering operation for a timing start entrance;
[0105] The execution module 606 is used to generate and execute a trigger instruction for the preset timing trigger area when the timing time reaches the countdown time set by the timing control; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
[0106] In one embodiment, the timing module 604 is specifically used to intercept a trigger event for the current page of the terminal in response to a trigger operation for the timing start entry; use the timing trigger area triggered on the current page of the terminal after the trigger event is intercepted as a preset timing trigger area; and perform a timing operation for the preset timing trigger area through the timing control.
[0107] In one embodiment, the timing module 604 is also used to respond to a trigger operation for the timing start entry, add a page mask to the current page of the terminal, and obtain the page after the mask is added; the mask is used to intercept the trigger event for the current page of the terminal; and use the timing trigger area triggered on the page after the mask is added as the preset timing trigger area.
[0108] In one embodiment, the timing module 604 is also used to display an operation confirmation page when a trigger operation is detected for the timing trigger area on the current page of the terminal after the trigger event is intercepted; the operation confirmation page includes a confirmation entrance, and the confirmation entrance is used to confirm the trigger operation for the timing trigger area; if a selection operation for the confirmation entrance is detected, the timing operation for the timing trigger area is performed through the timing control.
[0109] In one embodiment, if the current page of the terminal is the display page of the current application; the above-mentioned timing module 604 is also used to intercept the trigger event for the current application in response to the trigger operation for the timed start entrance; and when a trigger operation for the timed trigger area on the current page of the terminal after the trigger event is intercepted is detected, the current application is switched to the background of the terminal for running.
[0110] In one embodiment, the above-mentioned execution module 606 is also used to switch the current application to the foreground of the terminal for display when the timing time reaches the countdown time set by the timing control, cancel the interception operation on the current application, and generate and execute a trigger instruction for the preset timing trigger area.
[0111] In one embodiment, the apparatus further comprises an identification acquisition module, which is used to acquire an application identification of the current application program;
[0112] The execution module 606 is also used to switch the current application to the foreground of the terminal for display according to the application identifier when the timing time reaches the countdown time set by the timing control.
[0113] In one embodiment, the above-mentioned device also includes a time setting module, which is used to display a countdown time setting page in response to a trigger operation on a time setting entry; the countdown time setting page includes a time input entry; and receives the time inputted for the time input entry as the countdown time.
[0114] In one embodiment, if there are multiple preset timing trigger areas, the above-mentioned execution module 606 is also used to generate and execute trigger instructions for each timing trigger area according to the trigger order of each timing trigger area when the timing time reaches the countdown time set by the timing control.
[0115] It should be noted that the terminal operating device of the present application corresponds one-to-one to the terminal operating method of the present application. The technical features and beneficial effects described in the embodiments of the above-mentioned terminal operating method are all applicable to the embodiments of the terminal operating device. For specific contents, please refer to the description in the embodiments of the method of the present application. No further details will be given here. This is hereby declared.
[0116] In addition, each module in the above terminal operation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0117] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a terminal operation method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the computer device housing, or an external keyboard, touch pad or mouse, etc.
[0118] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0119] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0121] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0122] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0123] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A terminal operation method, characterized in that: The method comprises: In response to a trigger operation of invoking a timing control, displaying a timing control in a current page of the terminal; the timing control is used to configure a countdown time for an operation event of the terminal, and the timing control includes a timing start entry; In response to a trigger operation on the timing start entry, intercepting a trigger event on a current page of the terminal; Using the timed triggering area triggered on the current page of the terminal after the triggering event is intercepted as the preset timed triggering area; Executing a timing operation for the preset timing trigger area through the timing control; When the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
2. The method according to claim 1, characterized in that The step of intercepting a trigger event for a current page of the terminal in response to a trigger operation for the timing start entry includes: In response to a trigger operation on the timing start entry, a page mask is added to the current page of the terminal to obtain a page after the mask is added; the mask is used to intercept a trigger event on the current page of the terminal; The timing triggering area triggered on the current page of the terminal after the triggering event is intercepted, as a preset timing triggering area, includes: The timing trigger area triggered on the page after the mask is added is used as the preset timing trigger area.
3. The method according to claim 1, characterized in that Before executing the timing operation for the preset timing triggering area through the timing control, the method further includes: When a trigger operation is detected for a timed trigger area on the current page of the terminal after the trigger event is intercepted, an operation confirmation page is displayed; the operation confirmation page includes a confirmation entry, and the confirmation entry is used to confirm the trigger operation for the timed trigger area; If a selection operation on the confirmation entry is detected, a timing operation on the timing trigger area is performed through the timing control.
4. The method according to claim 2, characterized in that: If the current page of the terminal is a display page of the current application, the method further includes: In response to a trigger operation on the timed start entry, intercepting a trigger event on the current application; After detecting a trigger operation on a timing trigger area on a current page of the terminal after the trigger event is intercepted, the method further includes: The current application is switched to the background of the terminal for running.
5. The method according to claim 4, characterized in that When the timing time reaches the countdown time set by the timing control, generating and executing a trigger instruction for the preset timing trigger area includes: When the timing time reaches the countdown time set by the timing control, the current application is switched to the foreground of the terminal for display, the interception operation of the current application is canceled, and a trigger instruction for the preset timing trigger area is generated and executed.
6. The method according to claim 1, characterized in that The timing control also includes a time setting entry; the method also includes: In response to a trigger operation on the time setting entry, a countdown time setting page is displayed; the countdown time setting page includes a time input entry; The time input into the time input entry is received as the countdown time.
7. The method according to claim 1, characterized in that If there are multiple preset timing trigger areas, when the timing time reaches the countdown time set by the timing control, a trigger instruction for the preset timing trigger area is generated and executed, and it also includes: When the timing time reaches the countdown time set by the timing control, a trigger instruction for each timing trigger area is generated and executed according to the triggering order of each timing trigger area.
8. A terminal operating device, characterized in that: The device comprises: A display module, configured to display a timing control in a current page of a terminal in response to a trigger operation of invoking a timing control; the timing control is used to configure a countdown time for an operation event of the terminal, and the timing control includes a timing start entry; A timing module, for intercepting a trigger event for the current page of the terminal in response to a trigger operation for the timing start entry; using the timing trigger area triggered on the current page of the terminal after the trigger event is intercepted as a preset timing trigger area; and performing a timing operation for the preset timing trigger area through the timing control; An execution module is used to generate and execute a trigger instruction for the preset timing trigger area when the timing time reaches the countdown time set by the timing control; the trigger instruction is used to instruct the terminal to trigger the preset timing trigger area.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
