Function processing method, apparatus, device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2026-08-11
AI Technical Summary
其中,功能触发方式的便捷性对用户体验至关重要,但部分终端功能的触发路径复杂,不易便捷触发,且仅能触发单一功能
[0041] This disclosure enables the initiation of function execution through a trigger operation response mechanism, allowing users to command the terminal to execute time-configured trigger functions via simple trigger operations, thus greatly simplifying the operation process. Furthermore, this method can flexibly handle diverse function execution needs, associating different trigger functions with different times. In this way, the same trigger operation is no longer limited to the implementation of a single function, but can implement different functions at different times, achieving personalized and time-sharing function execution, and improving the overall ease of use and satisfaction of the user.
Smart Images

Figure CN122547261A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a functional processing method, apparatus, device, storage medium, and program product. Background Technology
[0002] With the rapid development of terminal technology, terminal devices can provide a variety of functions for users. As users' reliance on and needs for terminal devices vary across different scenarios, terminal devices need to meet more functional requirements. Among these, the ease of function triggering is crucial to user experience; however, some terminal functions have complex triggering paths, are not easy to trigger conveniently, and can only trigger a single function.
[0003] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this disclosure is to provide a functional processing method, apparatus, device, storage medium, and program product.
[0005] According to a first aspect of the present disclosure, a function processing method is provided, comprising: in response to a triggering operation, obtaining a current time; determining a target triggering function to be executed based on the current time, wherein the target triggering function is one or more triggering functions associated with the current time; and executing the target triggering function.
[0006] In some implementations, determining the target trigger function to be executed based on the current time includes: determining the target time period to which the current time belongs based on the current time; and determining the target trigger function based on the target time period.
[0007] In some implementations, determining the target triggering function based on the target time period includes: determining a set of functions associated with the target time period, wherein the set of functions includes at least one triggering function; and determining the target triggering function based on the set of functions.
[0008] In some implementations, the one or more triggering functions include a first function and a second function, wherein the first function is provided by a first application and the second function is provided by a second application, and the first application is different from the second application.
[0009] In some implementations, the triggering operation is at least one of the following: an interactive action on the trigger button, a specified voice, or a specified gesture.
[0010] In some implementations, the interactive action includes at least one of the following: long press, short press, rotation, flick, drag, and double tap.
[0011] In some implementations, the trigger button is a physical button and / or a virtual trigger control.
[0012] In some implementations, executing the target triggering function includes: in response to the number of triggering functions being multiple, obtaining the function execution order corresponding to the multiple triggering functions, the function execution order including at least one of parallel execution order and serial execution order; and executing the multiple triggering functions according to the function execution order.
[0013] In some implementations, executing the plurality of triggering functions in the order of function execution includes: in response to the existence of a serial execution order in the function execution order, determining the serial functions involved in the serial execution order among the plurality of triggering functions; and in response to the serial function satisfying a corresponding completion condition, executing the serial function that is located after the serial function in the serial execution order.
[0014] In some embodiments, the function processing method further includes: displaying a first prompt message, the first prompt message being used to prompt the user to perform an operation that matches the completion conditions of the current serial function.
[0015] In some implementations, the function processing method further includes: determining the trigger operation to be configured, the time period to be configured, and the function to be configured; and establishing the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
[0016] In some implementations, determining the trigger operation to be configured includes: displaying option information for at least one candidate operation; and determining the trigger operation to be configured based on the received selection operation of the option information.
[0017] In some implementations, determining the trigger operation to be configured includes: displaying a second prompt message, the second prompt message being used to prompt the user to perform a demonstration operation to configure the trigger operation; and in response to receiving the demonstration operation, determining the trigger operation to be configured based on the demonstration operation.
[0018] In some implementations, determining the time period to be configured includes: determining the time period to be activated based on the received configuration operations for the start and end times; determining the date to be activated based on the received configuration operations for the period; and determining the time period to be activated in the date to be activated as the time period to be configured.
[0019] In some implementations, establishing the association between the configurable trigger operation, the configurable time period, and the configurable function includes: in response to the number of configurable functions being multiple, configuring the execution order of the multiple configurable functions, the execution order including at least one of parallel execution order and serial execution order; and establishing the association between the configurable trigger operation, the configurable time period, and the configurable function according to the execution order.
[0020] In some implementations, in response to a triggering operation, obtaining the current time includes: in response to a first triggering operation on a first control, obtaining a first time associated with the first triggering operation; determining a target triggering function to be executed based on the current time includes: determining a first target triggering function to be executed based on the first time, the first target triggering function including: a third function associated with a third application; executing the target triggering function includes: executing the first target triggering function; the method further includes: in response to a second triggering operation on the first control, obtaining a second time associated with the second triggering operation, the second time being different from the first time; determining a second target triggering function to be executed based on the second time, the second target triggering function including: a fourth function associated with a fourth application; executing the second target triggering function.
[0021] According to a second aspect of the present disclosure, a function processing apparatus is provided, comprising: an acquisition unit for acquiring a current time in response to a triggering operation; a determination unit for determining a target triggering function to be executed based on the current time, wherein the target triggering function is one or more triggering functions associated with the current time; and a function execution unit for executing the target triggering function.
[0022] In some implementations, the determining unit determines the target triggering function to be executed based on the current time, including: determining the target time period to which the current time belongs based on the current time; and determining the target triggering function based on the target time period.
[0023] In some implementations, the determining unit determines the target triggering function based on the target time period by: determining a set of functions associated with the target time period, wherein the set of functions includes at least one triggering function; and determining the target triggering function based on the set of functions.
[0024] In some implementations, the one or more triggering functions include a first function and a second function, wherein the first function is provided by a first application and the second function is provided by a second application, and the first application is different from the second application.
[0025] In some implementations, the triggering operation is at least one of the following: an interactive action on the trigger button, a specified voice, or a specified gesture.
[0026] In some implementations, the interactive action includes at least one of the following: long press, short press, rotation, flick, drag, and double tap.
[0027] In some implementations, the trigger button is a physical button and / or a virtual trigger control.
[0028] In some implementations, the function execution unit executes the target triggering function, including: in response to the number of triggering functions being multiple, obtaining the function execution order corresponding to the multiple triggering functions, the function execution order including at least one of parallel execution order and serial execution order; and executing the multiple triggering functions according to the function execution order.
[0029] In some implementations, the function execution unit executes the plurality of triggering functions in the function execution order, including: in response to the existence of a serial execution order in the function execution order, determining the serial functions involved in the serial execution order among the plurality of triggering functions; and in response to the serial function satisfying a corresponding completion condition, executing the serial function that is located after the serial function in the serial execution order.
[0030] In some embodiments, the function processing device further includes a display unit for displaying first prompt information, the first prompt information being used to prompt the user to perform an operation that matches the completion conditions of the current serial function.
[0031] In some embodiments, the function processing device further includes a configuration unit for: determining a trigger operation to be configured, a time period to be configured, and a function to be configured; and establishing the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
[0032] In some implementations, the display unit is further configured to display option information for at least one candidate operation; the configuration unit is further configured to determine the trigger operation to be configured based on the received selection operation of the option information.
[0033] In some embodiments, the display unit is further configured to display a second prompt message, which prompts the user to perform a demonstration operation to configure the trigger operation; the configuration unit is further configured to determine the trigger operation to be configured based on the demonstration operation in response to receiving the demonstration operation.
[0034] In some implementations, the configuration unit determines the time period to be configured by: determining the time period to be activated based on the received configuration operations for the start and end times; determining the date to be activated based on the received configuration operations for the period; and determining the time period to be activated in the date to be activated as the time period to be configured.
[0035] In some implementations, the configuration unit establishes the association between the configuration trigger operation, the configuration time period, and the configuration function, including: in response to the number of configuration functions being multiple, configuring the execution order of the multiple configuration functions, the execution order including at least one of parallel execution order and serial execution order; and establishing the association between the configuration trigger operation, the configuration time period, and the configuration function according to the execution order.
[0036] In some embodiments, the acquisition unit is further configured to: acquire a first time associated with the first trigger operation in response to a first trigger operation on the first control; the determination unit is further configured to: determine a first target trigger function to be executed based on the first time, the first target trigger function including: a third function associated with a third application; the function execution unit is further configured to: execute the first target trigger function; and the acquisition unit is further configured to: acquire a second time associated with the second trigger operation in response to a second trigger operation on the first control, the second time being different from the first time; the determination unit is further configured to: determine a second target trigger function to be executed based on the second time, the second target trigger function including: a fourth function associated with a fourth application; the function execution unit is further configured to: execute the second target trigger function.
[0037] According to a third aspect of the present disclosure, an electronic device is provided, characterized in that it includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the above-described functional processing method.
[0038] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform a function processing method, the method comprising: in response to a triggering operation, acquiring a current time; determining a target triggering function to be executed based on the current time, wherein the target triggering function is one or more triggering functions associated with the current time; and executing the target triggering function.
[0039] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the above-described functional processing method.
[0040] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0041] This disclosure enables the initiation of function execution through a trigger operation response mechanism, allowing users to command the terminal to execute time-configured trigger functions via simple trigger operations, thus greatly simplifying the operation process. Furthermore, this method can flexibly handle diverse function execution needs, associating different trigger functions with different times. In this way, the same trigger operation is no longer limited to the implementation of a single function, but can implement different functions at different times, achieving personalized and time-sharing function execution, and improving the overall ease of use and satisfaction of the user.
[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0043] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0044] Figure 1 This is a flowchart illustrating a functional processing method according to some embodiments of the present disclosure.
[0045] Figure 2 This is a flowchart illustrating yet another functional processing method according to some embodiments of the present disclosure.
[0046] Figure 3 This is a flowchart illustrating a function configuration process according to some embodiments of the present disclosure.
[0047] Figure 4 This is a schematic diagram illustrating the determination of a trigger operation to be configured in a functional processing method according to some embodiments of the present disclosure.
[0048] Figure 5 This is a schematic diagram illustrating the determination of a time period to be configured in a functional processing method according to some embodiments of the present disclosure.
[0049] Figure 6 This is a schematic diagram illustrating the determination of a function to be configured in a functional processing method according to some embodiments of the present disclosure.
[0050] Figure 7 This is a block diagram illustrating a functional processing apparatus according to some embodiments of the present disclosure.
[0051] Figure 8 This is a block diagram illustrating an apparatus for functional processing according to some embodiments of the present disclosure. Detailed Implementation
[0052] Exemplary embodiments of this disclosure will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. Various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will become apparent upon understanding this disclosure. For example, the order of operations described herein is merely illustrative and is not limited to those orders set forth herein, but can be changed as will become apparent upon understanding this disclosure, except for operations that must be performed in a particular order. Furthermore, for clarity and brevity, descriptions of features known in the art may be omitted.
[0053] The embodiments described below, which are examples of some of the embodiments of this disclosure, do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0054] The specific implementation methods of the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0055] Figure 1 This is a flowchart illustrating a functional processing method according to some embodiments of the present disclosure, such as... Figure 1 As shown, the functional processing method can be applied to electronic devices, including but not limited to terminal devices such as smartphones, smart tablets, wearable devices, desktop computers, laptops, and smart speakers. It can also include server-side devices such as local servers and cloud servers. The server-side device can be deployed in a computer cluster consisting of one computer or multiple computers. The functional processing method can include the following steps.
[0056] In step S110, in response to the trigger operation, the current time is obtained.
[0057] Triggering actions can be user-initiated behaviors (such as clicking a button or inputting voice). They determine when to execute a function, providing a shortcut to follow up with the corresponding function. Triggering actions are immediate and targeted, allowing users to quickly initiate the flow of subsequent functions through simple actions, thus enhancing the user experience.
[0058] In this embodiment of the disclosure, the current time can be the real-time time point obtained when the trigger operation is received, and may include information such as year, month, day, hour, minute, and second. Of course, the current time in this disclosure is not limited to the above embodiment; the current time may also include year, month, day, hour, and minute, or it may include year, month, day, hour, etc. The current time can be used to determine the function to be executed in subsequent steps based on pre-set rules or logic.
[0059] In some embodiments of this disclosure, the triggering operation is at least one of the following: an interactive action on the trigger button, a specified voice, or a specified gesture.
[0060] In some embodiments of this disclosure, the interactive action includes at least one of the following: long press, short press, rotation, flick, drag, and double tap.
[0061] In some embodiments of this disclosure, the trigger button is a physical button and / or a virtual trigger control.
[0062] In this embodiment, the trigger button can be a physical button on the terminal device or a physical button bound to the terminal device. Physical buttons can include, for example, physical buttons, switches, knobs, etc. A physical button is a physically existing button that the user can directly touch and operate. A physical button can be located on the device's casing or be an additional external button associated with the terminal. The trigger button can also be a virtual trigger control displayed on the screen.
[0063] This disclosure provides a variety of triggering methods, allowing users to choose the appropriate method based on their usage habits, scenarios, and device conditions. For example, users can directly interact with the trigger button on the device or interface to complete the triggering operation, or they can complete the triggering operation through specific voice commands or specific gestures.
[0064] In an exemplary embodiment, the triggering operation can also be designed as other operations according to actual needs, such as a double-click operation, a triple-click operation, or moving the terminal device in a specified manner. The triggering operation can also be a combination of the above operations; for example, the triggering operation could be to first press a physical button on the terminal device and then input a specified voice.
[0065] In this embodiment, the triggering operation can provide a rich variety of interactive methods, offering users different operable approaches. This diversity of triggering operations makes the user interface more flexible and concise, provides developers with more design space, and also increases the number of shortcut commands users can create.
[0066] In step S120, the target triggering function to be executed is determined based on the current time, wherein the target triggering function is one or more triggering functions associated with the current time.
[0067] In this embodiment of the disclosure, rules or logic can be predefined to associate time information with specific functions (i.e., target triggering functions). For example, a mapping table can be set up, which sets the association between a certain time point or time period of each day and triggering functions. Then, the mapping table is searched according to the current time to determine one or more triggering functions that should be executed, i.e., target triggering functions.
[0068] One or more triggering functions can be functions provided by the device's operating system or applications installed on the device, functions provided by the same application on the same device, functions provided by different applications on the same device, or functions provided by applications on different manageable devices.
[0069] For example, the target trigger function could be: first, control the mobile phone to connect to the speaker via Bluetooth, then open the music software on the mobile phone, and then control the speaker to play the songs in the music software on the mobile phone.
[0070] In some embodiments of this disclosure, the one or more triggering functions include a first function and a second function, wherein the first function is provided by a first application and the second function is provided by a second application, and the first application is different from the second application.
[0071] In this embodiment of the disclosure, if there are multiple triggering functions associated with the current time, these multiple triggering functions can be provided by different applications. Users can activate multiple applications on the terminal through a single triggering operation, integrating functions from different applications to achieve a rich variety of triggering function combinations.
[0072] For example, the first application could be a screen recording application, whose primary function is screen recording; the second application could be a video processing application, whose secondary function is video editing. In this way, users can activate the services of both the screen recording and video processing applications with a single trigger, satisfying diverse usage needs.
[0073] In an exemplary embodiment, when the target triggering function includes multiple triggering functions, the same function may exist among these multiple triggering functions, and the same multiple functions may be configured to be executed simultaneously (in parallel) and / or sequentially (in serial).
[0074] For example, multiple trigger functions can include two screenshot functions, which can be provided by the same screenshot application, and these two screenshot functions can be configured to be executed sequentially (e.g., executed 3 seconds apart). Then, by executing a trigger operation, the user can activate the screenshot application twice in succession, so that the screenshot application can provide the screenshot function service twice.
[0075] For example, multiple trigger functions can include two random number generation functions. These two random number generation functions can be provided by the same random number generation application, and these two random number generation functions can be configured to execute simultaneously. Then, the user can execute a trigger operation to invoke the random number generation application twice, so that the random number generation application can give two random number generation results.
[0076] In step S130, the target triggering function is executed.
[0077] In this embodiment of the disclosure, after determining the target trigger function, it can be executed according to the specific logic and process of the corresponding function, which may involve calling different modules of the device system, different applications, or interacting with external devices. By executing the target trigger function, the purpose of automating operations based on time is achieved.
[0078] As can be seen from the above steps, the functional processing method provided in this disclosure can obtain the current time in response to a trigger operation and automatically execute a target trigger function related to the current time. Therefore, in this embodiment, on the one hand, the function execution process can be initiated through the response mechanism of the trigger operation, allowing users to command the terminal to execute time-configured trigger functions through simple trigger operations, thereby greatly simplifying the operation process and improving the user experience. On the other hand, this method can flexibly respond to diverse function execution needs; different times can be associated with different trigger functions. Thus, the same trigger operation is no longer limited to the implementation of a single function, but can implement different functions at different times, achieving personalized and time-sharing function execution. This provides users with a personalized intelligent control mechanism based on a combination of time and user operation in scenarios where certain tasks or functions need to be automatically executed according to a specific time, improving the overall convenience and satisfaction of the user's terminal use.
[0079] In some embodiments of this disclosure, determining the target trigger function to be executed based on the current time includes: determining the target time period to which the current time belongs based on the current time; and determining the target trigger function based on the target time period.
[0080] In this embodiment of the disclosure, one or more preset time periods can be pre-configured for the triggering operation, and a target triggering function corresponding to each preset time period can be configured. The current time is compared with the configured preset time periods. If there is a preset time period that includes the current time, then this preset time period can be determined as the target time period.
[0081] In this embodiment, specific functions or applications can be associated with each preset time period according to actual needs, serving as target triggering functions related to the preset time period. These functions can be any existing function on a terminal, such as sending notifications, launching applications, adjusting device settings, etc., or functions on other manageable devices; different preset time periods can be bound to the same or different target triggering functions. In this embodiment, the corresponding target triggering function can be automatically executed according to the matched target time period, thereby providing personalized services that meet user needs and improving user experience.
[0082] For example, if a user may have a meeting between 9:00 and 10:00 AM and needs to silence their phone during the meeting, a "silent mode enabled" trigger function can be configured in advance for the 9:00-10:00 AM time period. Then, when the user needs to silence their phone when the meeting starts at 9:30 AM, the "silent mode enabled" function can be executed directly through the trigger operation.
[0083] In an exemplary embodiment, the target time period may be a time period in a preset time period set, which corresponds to the triggering operation.
[0084] This allows for multiple preset trigger operations, each with its own corresponding preset time period set. Upon receiving a trigger operation, the system first determines the preset time period set corresponding to that operation, and then matches the current time with that time period within that preset time period set.
[0085] In some embodiments of this disclosure, determining the target triggering function based on the target time period includes: determining a set of functions associated with the target time period, wherein the set of functions includes at least one triggering function; and determining the target triggering function based on the set of functions.
[0086] In this embodiment, triggering functions associated with time periods can be combined into a function set, and the identification information of the function set can be associated and stored with the identification information of the time period to construct a clear and organized management structure. In this way, the identification information of the corresponding function set can be directly retrieved based on the target time period to which the current time belongs, and then one or more triggering functions in the corresponding function set can be identified as the target triggering function.
[0087] Through the embodiments of this disclosure, triggering functions can be integrated into a set, and the triggering functions can be associated with time periods in the form of a set. On the one hand, this simplifies the management of the association between functions and time periods, enables quick lookup of the corresponding function set based on time periods, improves the efficiency of function lookup, and makes the response more timely. On the other hand, it also facilitates the updating and maintenance of triggering functions, enhancing the flexibility of triggering function management.
[0088] In some embodiments of this disclosure, executing the target triggering function includes: in response to the number of triggering functions being multiple, obtaining the function execution order corresponding to the multiple triggering functions, wherein the function execution order includes at least one of parallel execution order and serial execution order; and executing the multiple triggering functions according to the function execution order.
[0089] In this embodiment of the disclosure, when it is detected that more than one trigger function bound to the target time period needs to be executed, the execution order of these trigger functions can be obtained first. This execution order determines how each trigger function will be executed, whether it is performed simultaneously (in parallel) or sequentially (in serially).
[0090] Parallel execution means that multiple triggering functions can start executing simultaneously, which can improve execution efficiency, especially when these functions have no interdependencies. Sequential execution, on the other hand, means that triggering functions will be executed sequentially in a specific order; this method is suitable for functions that have sequential dependencies.
[0091] For example, if a user wants to play specific music using a speaker, they can set trigger functions including "connect to Bluetooth speaker" and "play specific music using Bluetooth speaker," and these two functions can be set to execute sequentially, meaning the Bluetooth speaker is connected first, followed by music playback. When the user executes the trigger operation, the two functions will be executed in sequence, achieving the effect of playing specific music using the speaker, thus avoiding the need to play music through the terminal.
[0092] This disclosure provides a flexible way to handle multiple triggered functions bound to a target time period, enabling efficient resource utilization while ensuring correct function execution. It also offers significant flexibility, allowing users to customize the function execution order according to different needs, providing more personalized, efficient, and automated services.
[0093] In some embodiments of this disclosure, executing the plurality of triggering functions according to the function execution order includes: in response to the existence of a serial execution order in the function execution order, determining the serial functions involved in the serial execution order among the plurality of triggering functions; in response to the serial function satisfying the corresponding completion condition, executing the serial function located after the serial function in the serial execution order.
[0094] In this embodiment, all serial functions set to be executed sequentially can be identified first. These serial functions are arranged in a certain order, and the execution of each function depends on the completion of the previous function. For each serial function, its execution status can be monitored, and it can be checked whether the completion conditions corresponding to that function are met. The completion conditions can be set based on actual needs, such as obtaining the current input parameters to execute the function and the function is completed, returning a specific result, reaching a certain time node, etc.
[0095] Once a current serial function has met its completion conditions, the terminal knows that it can safely execute the next serial function. Therefore, the terminal can start and execute the next serial function following the current function in the serial execution order, until all serial functions have been executed in the predetermined order.
[0096] In an exemplary embodiment, multiple triggering functions may also occur in a mixed manner, with serial and parallel processes. The terminal can adopt a similar strategy to ensure the correct execution of the functions.
[0097] The embodiments disclosed herein can ensure that each triggered function can be executed correctly in the expected order under complex execution sequence configurations, thereby helping to ensure the stability and reliability of the system, while meeting users' needs for automation and intelligence.
[0098] In some embodiments of this disclosure, the function processing method further includes: displaying a first prompt message, the first prompt message being used to prompt the user to perform an operation that matches the completion conditions of the current serial function.
[0099] In this embodiment of the disclosure, if there is a part of the current serial function that requires user interaction, then when the current serial function is about to start executing or is executing but has not yet been completed, a first prompt message can be displayed to ensure that the user can receive the necessary guidance in a timely manner.
[0100] The first prompt message can clearly indicate the operation that the user needs to perform, and these operations can be matched with the completion conditions of the current serial function. For example, if the current serial function requires the user to select a Bluetooth speaker to connect, the first prompt message can include "Please select a Bluetooth speaker to continue".
[0101] In an exemplary embodiment, the first prompt information can be displayed in various ways, such as text prompts on the screen, voice prompts, pop-up prompts, etc. The choice of which method to use may depend on the type of device, user preferences, and the current usage scenario, and this disclosure does not limit this.
[0102] In addition, immediate feedback can be provided after a user performs an action, such as confirmation messages, error messages, or progress updates. This feedback helps users understand whether their action was successful and the current status of the process.
[0103] Through the embodiments disclosed herein, the first prompt information can be used to help users better understand the operations they need to perform, thereby ensuring the smooth execution of multiple serial triggering functions. This embodiment can be applied to serial execution processes that require user participation and confirmation, in order to reduce the possibility of misoperation and improve the reliability of the entire process and user satisfaction.
[0104] Figure 2 This is a flowchart illustrating yet another functional processing method according to some embodiments of the present disclosure, such as... Figure 2 As shown, the functional processing method may include the following steps.
[0105] Step S210: In response to the trigger operation, obtain the current time.
[0106] Step S220: Based on the current time, determine the target triggering function to be executed, wherein the target triggering function is one or more triggering functions associated with the current time; execute the target triggering function.
[0107] Step S230: Obtain the execution order of multiple triggered functions.
[0108] Step S240: If the function execution order includes a serial execution order, determine the serial functions involved in the multiple triggering functions in the serial execution order.
[0109] Step S250: In response to the serial function satisfying the corresponding completion condition, execute the serial function that follows the serial function in the serial execution sequence.
[0110] The specific implementation methods for each of the above steps have been described in detail in the embodiments of the method, and will not be elaborated here.
[0111] Figure 3 This is a flowchart illustrating a functional configuration method according to some embodiments of the present disclosure, such as... Figure 3 As shown, in some embodiments of this disclosure, the function processing method can also perform function configuration, and the function configuration process can include the following steps.
[0112] Step S310: Determine the trigger operation to be configured, the time period to be configured, and the function to be configured.
[0113] In this embodiment of the disclosure, the trigger operation to be configured can be a physical button or a virtual button. The user can specify which buttons will be used to trigger specific functions.
[0114] The time period to be configured can be a specific date, time range, or a recurring time pattern (such as a specific time each day or week). These time periods define when the corresponding function can be triggered.
[0115] The functions to be configured can be tasks or operations that the terminal can perform, such as playing music, sending notifications, launching applications, etc. Users can choose which functions will be activated by a trigger button during a specific period of time.
[0116] Step S320: Establish the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
[0117] In this embodiment of the disclosure, a correspondence can be established between the trigger operation to be configured and the time period to be configured, as well as a binding relationship can be established between the time period to be configured and the function to be configured. Alternatively, the trigger operation to be configured and the time period to be configured can be treated as a granular information, and an association relationship can be established between this granular information and the function to be configured.
[0118] It can record which time periods each trigger operation is associated with. This means that when a specific trigger operation is received within a certain time period, the terminal will know that the trigger operation is configured to be valid within that time period. It can also record which functions each time period is associated with, so that when a corresponding trigger operation is detected within a specific time period, the terminal can know which function to execute.
[0119] In an exemplary embodiment, the recording can be done by the terminal itself, or the configuration result can be uploaded to the cloud server after configuration and recorded by the cloud server.
[0120] In an exemplary embodiment, these relationships can be configured via a graphical user interface (GUI) or a command-line interface (CLI). The configuration process may include selecting a trigger action, setting a time period, selecting a function, and confirming these selections. The configuration process may also verify the validity of the configuration, such as checking whether time periods overlap and whether a trigger action has been configured.
[0121] This disclosure provides a configurable function processing method that offers high flexibility and adjustability, allowing users to reconfigure the relationship between triggering operations, time periods, and functions according to changes in requirements, in order to adapt to different usage scenarios, user preferences, or business needs.
[0122] In some embodiments of this disclosure, determining a trigger operation to be configured includes: displaying option information for at least one candidate operation; and determining the trigger operation to be configured based on a received selection operation of the option information.
[0123] In this embodiment of the disclosure, the candidate operation can be a predefined or available trigger operation, such as pressing a physical button on the left side of the terminal. For each candidate operation, related option information can be displayed to help users identify and select the operation they want to configure. The option information may include the button's label, icon, location description, or any other features that help users distinguish them. For example, the option information may be the text information "Press physical button 1" and a schematic diagram of the physical button's location on the terminal.
[0124] The system can receive user selections via a graphical user interface (GUI) or other user interaction methods (such as touchscreen, mouse clicks, keyboard input, etc.), and then determine which candidate operation is selected as the trigger operation to be configured based on the user's selection. This may involve parsing user input, such as click events, touch locations, or input commands, and mapping them to the corresponding candidate operations.
[0125] In some embodiments of this disclosure, determining the trigger operation to be configured includes: displaying a second prompt message, the second prompt message being used to prompt the user to perform a demonstration operation to configure the trigger operation; and in response to receiving the demonstration operation, determining the trigger operation to be configured based on the demonstration operation.
[0126] In this embodiment of the disclosure, the second prompt message is a prompt displayed to the user, used to inform or guide the user to perform a demonstration operation. This demonstration operation will be used to determine the trigger operation to be configured, thereby guiding the user to interact. For example, the second prompt message may include "Please demonstrate the trigger operation you want to configure." The demonstration operation can be any action that the user wants to set as a trigger operation, such as pressing a physical button on the terminal, pressing a virtual control on the screen, drawing two circles on the screen, shaking the phone, or saying a specific sentence.
[0127] The system implementing this method needs to be able to capture and recognize the demonstration operations performed by the user. For example, event listeners, image acquisition units, voice acquisition units, input device drivers, or other technologies can be used to capture user input.
[0128] This disclosure allows users to configure trigger operations according to their own habits and needs, satisfying different users' preferences and usage scenarios, thus fulfilling personalized settings and enhancing user autonomy during system use. Furthermore, determining the trigger operation to be configured based on the user's demonstration operation more accurately reflects the user's true intent, allowing users to precisely convey their desired triggering method through their demonstration, thereby making the trigger operation configuration more precise.
[0129] In an exemplary embodiment, the user can first select the option information of the trigger operation they want to configure through the user interface. When the system receives the selection operation, it can display a second prompt message. The second prompt message is equivalent to reminding the user to confirm their selection and instructing the user on how to perform the confirmation operation. For example, the second prompt message may include "Please perform the trigger operation you selected to confirm" or "Please perform a trigger operation once". Only when the user performs the trigger operation corresponding to the selected option information will it be recognized by the system as "confirmation of the trigger operation". If the user performs an unmatched trigger operation, such as pressing a button that was not selected, it is equivalent to the trigger operation being unconfigured.
[0130] In this exemplary embodiment, after the user performs the trigger operation corresponding to the selected option information again according to the instructions of the second prompt information, the system can determine the trigger operation as the trigger operation to be configured. This adds a confirmation step to ensure the accuracy of the user's selection, prevents configuration errors caused by accidental operation, and thus improves the security of the user experience.
[0131] Figure 4 This is a schematic diagram illustrating the determination of a trigger operation to be configured in a functional processing method according to some embodiments of this disclosure. For example... Figure 4 As shown, it includes interface diagram 401 and interface diagram 402.
[0132] In the interface diagram 401, the user can select the "Custom button 2" option, and then the second prompt message "Please press the corresponding button to enter the settings" will be displayed as shown in the interface diagram 402. Then, the user can start configuring the shortcut command for the "Press custom button 2" trigger operation.
[0133] In some embodiments of this disclosure, determining the time period to be configured includes: determining the time period to be activated based on the received configuration operations for the start and end times; determining the date to be activated based on the received configuration operations for the period; and determining the time period to be activated in the date to be activated as the time period to be configured.
[0134] In this embodiment of the disclosure, the start time is the starting point specified by the user for the period to be activated, and the start time can be a specific time point, such as "8:00 AM". The end time is the ending point specified by the user for the period to be activated, and the end time can also be a specific time point, such as "10:00 AM".
[0135] In this embodiment of the disclosure, the period is the frequency and pattern of the activation period specified by the user that should be repeated, which may include daily, specific days of the week, specific dates of the month, or other custom period patterns.
[0136] In an exemplary embodiment, users can perform these configuration operations through a user interface (such as a time picker, calendar control, etc.), and the system can receive and record these operations.
[0137] In this embodiment of the disclosure, the system can combine the time periods to be activated on the date to be activated to form the final time period to be configured. This time period accurately describes the activation mode desired by the user, including which time periods on which dates should be activated.
[0138] This disclosure introduces a detailed configuration process, enabling the system to more accurately meet users' needs for the time period to be configured and providing users with a clearer and more intuitive interactive experience. At the same time, it also provides the system with greater flexibility and scalability to adapt to constantly changing usage scenarios and user preferences.
[0139] Figure 5 This is a schematic diagram illustrating the determination of a time period to be configured in a functional processing method according to some embodiments of this disclosure. For example... Figure 5 As shown, it includes interface schematic diagram 501, interface schematic diagram 502, interface schematic diagram 503, interface schematic diagram 504 and interface schematic diagram 505.
[0140] Users can create shortcuts by pressing the custom button 2 as shown in the interface diagram 501, and then jump to the subpage for creating shortcuts (i.e., interface diagrams 502 and 504).
[0141] Interface diagram 502 may include controls for activating a time period (i.e., the controls pointed to by the finger in interface diagram 502). By clicking the controls for activating a time period in interface diagram 502, a page as shown in interface diagram 503 can be displayed, where the user can select the start time and end time.
[0142] Interface diagram 504 may include a control for activating a date (i.e., the control pointed to by the finger in interface diagram 504). Clicking the control for activating a date in interface diagram 504 will display a page as shown in interface diagram 505, where the user can select a date to be activated. The date to be activated may be periodic.
[0143] Figure 6 This is a schematic diagram illustrating the determination of a function to be configured in a functional processing method according to some embodiments of this disclosure, such as... Figure 6 As shown, it includes interface diagram 601, interface diagram 602, interface diagram 603 and interface diagram 604.
[0144] Interface diagram 601 can be the same as interface diagrams 502 and 504 described above. Interface diagram 601 may include controls for selecting functions (i.e., the controls pointed to by the finger in interface diagram 601). By clicking the control for selecting functions in interface diagram 601, a page like that in interface diagram 602 can be displayed. Interface diagram 602 may include function information for multiple candidate functions. These multiple candidate functions may come from different applications.
[0145] After selecting a candidate function, a page like interface diagram 603 can be displayed, which may include function information of the selected function. Interface diagram 603 may also include a confirmation control (i.e., the control pointed to by the finger in interface diagram 603). By clicking the confirmation control, a set of shortcut instructions for pressing the physical button "Custom Button 2" can be configured, and then the user will be redirected to a page like interface diagram 604, which shows the time period and function configured for "Custom Button 2".
[0146] In this way, if a trigger operation is received on "Custom Button 2" within the selected time period, the selected function as shown in the interface diagram 603 can be executed.
[0147] In some embodiments of this disclosure, establishing the association between the configurable trigger operation, the configurable time period, and the configurable function includes: in response to the number of configurable functions being multiple, configuring the execution order of the multiple configurable functions, the execution order including at least one of parallel execution order and serial execution order; and establishing the association between the configurable trigger operation, the configurable time period, and the configurable function according to the execution order.
[0148] In this embodiment of the disclosure, users can configure the execution order of these functions through a user interface (such as drag-and-drop sorting, selection boxes, etc.). The system can also provide a default execution order, or automatically infer the optimal execution order based on the characteristics of the functions and their interrelationships. Once the execution order of the functions is determined, the system can combine this order with the time period to be configured to establish a binding relationship. This means that within the specified time period, the system will trigger and execute these functions according to the configured execution order.
[0149] This disclosure provides a function execution order configuration process, enabling the system to more accurately meet users' needs for the execution order of multiple functions within a specific time period and providing users with a clearer and more intuitive interactive experience. Simultaneously, it also provides the system with greater flexibility and scalability to adapt to constantly changing usage scenarios and user preferences.
[0150] In an exemplary embodiment, a termination condition can also be set for the function to be configured. When the termination condition is met, the use of the function to be configured can be automatically terminated. The termination condition may be, for example, the activation duration of the function to be configured reaching a duration threshold, the receipt of a termination command, or the detection of the activation of a specified function. This disclosure does not limit the scope of the termination condition.
[0151] In some embodiments of this disclosure, in response to a triggering operation, obtaining the current time includes: in response to a first triggering operation on a first control, obtaining a first time associated with the first triggering operation; determining a target triggering function to be executed based on the current time includes: determining a first target triggering function to be executed based on the first time, the first target triggering function including a third function associated with a third application; executing the target triggering function includes: executing the first target triggering function; the method further includes: in response to a second triggering operation on the first control, obtaining a second time associated with the second triggering operation, the second time being different from the first time; determining a second target triggering function to be executed based on the second time, the second target triggering function including a fourth function associated with a fourth application; executing the second target triggering function.
[0152] In this embodiment of the disclosure, the first control can be a physical button or a virtual trigger control on the screen. The first trigger operation and the second trigger operation of the first control can be the same operation; for example, both the first and second trigger operations can be a click operation on the virtual trigger control on the screen. Alternatively, the first trigger operation and the second trigger operation of the first control can be different operations; for example, the first trigger operation is a single press of a specified physical button on the terminal device, and the second trigger operation is two consecutive presses of the specified physical button on the terminal device.
[0153] In this embodiment of the disclosure, the third application and the fourth application may be the same or different. When the third application and the fourth application are the same, the third function and the fourth function may be the same or different.
[0154] In an exemplary embodiment, multiple different target triggering functions can be pre-configured for the first control in multiple different time periods. Then, when the user performs a triggering operation on the first control at different times and the different times belong to different time periods, the target triggering functions associated with the different time periods can be triggered.
[0155] For example, the following associations can be pre-configured for the first control: (1) Establish an association between the first control, the first time period (09:00-12:00), and the first target triggering function. The first target triggering function may include: screen recording function associated with a screen recording application, call function associated with a telephone application, and voice-to-text conversion function associated with a speech-to-text application. (2) Establish an association between the first control, the second time period (12:00-14:00), and the second target triggering function. The second target triggering function may include: Bluetooth connection function associated with the terminal operating system and music playback function associated with a music player application. (3) Establish an association between the first control, the third time period (14:00-19:00), and the third target triggering function. The third target triggering function may include: photo-taking function associated with a photography application (such as the system camera). (4) Establish an association between the first control, the fourth time period (23:00-8:00), and the fourth target triggering function. The fourth target triggering function may include: do-not-disturb mode function associated with the terminal operating system.
[0156] Based on this configuration, users can achieve the following use cases:
[0157] (1) When a user presses the first control between 09:00 and 12:00, the phone application will be invoked, a contact selection dialog box will pop up to select a contact and make a call, and the screen recording function of the screen recording application and the voice-to-text conversion function will be activated. After the call ends, the user can manually terminate the screen recording function, and the relevant files will be automatically saved and archived. When the user presses the first control again between 09:00 and 12:00, the above operations can be repeated.
[0158] (2) When the user presses the first control within the time range of [12:00 to 14:00), the Bluetooth speaker can be connected and the music player application can be opened to play favorite playlists through the connected Bluetooth speaker.
[0159] (3) When the user presses the first control within the time range of [14:00 to 19:00), the photography application can be launched quickly to record the moment and capture meaningful images.
[0160] (4) When the user presses the first control within the time range of [23:00 to 8:00), the Do Not Disturb mode provided by the terminal operating system can be quickly activated to allow the user to rest.
[0161] As can be seen, the corresponding target triggering functions for different time periods can be arranged for the first control according to the user's actual needs. By dividing the corresponding tasks of the first control into different execution cycles, the tedious operation of frequently switching shortcut controls to trigger different functions is avoided.
[0162] Through the embodiments of this disclosure, the same control can participate in the interaction of triggering operations at different times, and thus call the functions provided by the corresponding application at different times, meeting the diverse needs of users in various scenarios, making the overall operation more convenient and efficient, and improving the ease of use of function triggering and user experience.
[0163] It should be noted that the above figures are merely illustrative representations of the processes included in methods according to some embodiments of this disclosure, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0164] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.
[0165] Figure 7 This is a block diagram illustrating a functional processing apparatus according to some embodiments of the present disclosure. (Refer to...) Figure 7The device includes: an acquisition unit 701, a determination unit 705, a function execution unit 702, a display unit 703, and a configuration unit 704.
[0166] The acquisition unit 701 is used to acquire the current time in response to the trigger operation; the determination unit 705 is used to determine the target trigger function to be executed based on the current time, wherein the target trigger function is one or more trigger functions associated with the current time; and the function execution unit 702 is used to execute the target trigger function.
[0167] In some embodiments of this disclosure, the determining unit 705 determines the target triggering function to be executed based on the current time, including: determining the target time period to which the current time belongs based on the current time; and determining the target triggering function based on the target time period.
[0168] In some embodiments of this disclosure, the determining unit 705 determines the target triggering function based on the target time period by: determining a set of functions associated with the target time period, wherein the set of functions includes at least one triggering function; and determining the target triggering function based on the set of functions.
[0169] In some embodiments of this disclosure, the one or more triggering functions include a first function and a second function, wherein the first function is provided by a first application and the second function is provided by a second application, and the first application is different from the second application.
[0170] In some embodiments of this disclosure, the triggering operation is at least one of the following: an interactive action on the trigger button, a specified voice, or a specified gesture.
[0171] In some embodiments of this disclosure, the interactive action includes at least one of the following: long press, short press, rotation, flick, drag, and double tap.
[0172] In some embodiments of this disclosure, the trigger button is a physical button and / or a virtual trigger control.
[0173] In some embodiments of this disclosure, the function execution unit 702 executes the target triggering function, including: in response to the number of triggering functions being multiple, obtaining the function execution order corresponding to the multiple triggering functions, the function execution order including at least one of parallel execution order and serial execution order; and executing the multiple triggering functions according to the function execution order.
[0174] In some embodiments of this disclosure, the function execution unit 702 executes the plurality of triggering functions according to the function execution order, including: in response to the existence of a serial execution order in the function execution order, determining the serial functions involved in the serial execution order among the plurality of triggering functions; in response to the serial function satisfying the corresponding completion condition, executing the serial function located after the serial function in the serial execution order.
[0175] In some embodiments of this disclosure, the display unit 703 is used to: display first prompt information, the first prompt information being used to prompt the user to perform an operation that matches the completion conditions of the current serial function.
[0176] In some embodiments of this disclosure, the configuration unit 704 is used to: determine the trigger operation to be configured, the time period to be configured, and the function to be configured; and establish the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
[0177] In some embodiments of this disclosure, the display unit 703 is further configured to display option information for at least one candidate operation; the configuration unit 704 is further configured to determine the trigger operation to be configured based on the received selection operation of the button information.
[0178] In some embodiments of this disclosure, the display unit 703 is further configured to display a second prompt message, the second prompt message being used to prompt the user to perform a demonstration operation to configure the trigger operation; the configuration unit 704 is further configured to determine the trigger operation to be configured based on the demonstration operation in response to receiving the demonstration operation.
[0179] In some embodiments of this disclosure, the configuration unit 704 determines the time period to be configured, including: determining the time period to be activated based on the received configuration operations for the start time and end time; determining the date to be activated based on the received configuration operations for the period; and determining the time period to be activated in the date to be activated as the time period to be configured.
[0180] In some embodiments of this disclosure, the configuration unit 704 establishes the association between the configuration trigger operation, the configuration time period, and the configuration function, including: in response to the number of configuration functions being multiple, configuring the execution order of the multiple configuration functions, the execution order including at least one of parallel execution order and serial execution order; and establishing the association between the configuration trigger operation, the configuration time period, and the configuration function according to the execution order.
[0181] In some embodiments of this disclosure, the acquisition unit 701 is further configured to: acquire a first time associated with the first trigger operation in response to a first trigger operation on the first control; the determination unit 705 is further configured to: determine a first target trigger function to be executed based on the first time, the first target trigger function including: a third function associated with a third application; the function execution unit 702 is further configured to: execute the first target trigger function; and the acquisition unit 701 is further configured to: acquire a second time associated with the second trigger operation in response to a second trigger operation on the first control, the second time being different from the first time; the determination unit 705 is further configured to: determine a second target trigger function to be executed based on the second time, the second target trigger function including: a fourth function associated with a fourth application; the function execution unit 702 is further configured to: execute the second target trigger function.
[0182] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0183] Figure 8 This is a block diagram illustrating an apparatus 800 for function processing according to some embodiments of the present disclosure. For example, apparatus 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0184] Reference Figure 8 The device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0185] Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0186] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0187] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 800.
[0188] Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0189] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0190] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0191] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0192] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as WiFi, 3G, 4G, 5G, other communication standards, or combinations thereof. In some embodiments of this disclosure, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of this disclosure, communication component 816 further includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0193] In some embodiments of this disclosure, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0194] In some embodiments of this disclosure, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions that can be executed by a processor 820 of device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0195] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform a function processing method, the method comprising: in response to a triggering operation, acquiring a current time; determining a target triggering function to be executed based on the current time, wherein the target triggering function is one or more triggering functions associated with the current time; and executing the target triggering function.
[0196] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0197] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A functional processing method characterized by, include: In response to the triggered operation, obtain the current time; Based on the current time, determine the target trigger function to be executed, wherein the target trigger function is one or more trigger functions associated with the current time; Execute the target trigger function.
2. The method according to claim 1, characterized in that, Based on the current time, determine the target trigger function to be executed, including: Based on the current time, determine the target time period to which the current time belongs; The target trigger function is determined based on the target time period.
3. The method according to claim 2, characterized in that, Based on the target time period, the target triggering function is determined to include: Based on the target time period, a set of functions associated with the target time period is determined, wherein the set of functions includes at least one triggering function; The target triggering function is determined based on the set of functions.
4. The method according to claim 1, characterized in that, The one or more triggering functions include a first function and a second function, wherein the first function is provided by a first application and the second function is provided by a second application, and the first application is different from the second application.
5. The method according to claim 1, characterized in that, The triggering operation is at least one of the following: an interactive action on the trigger button, a specified voice, or a specified gesture.
6. The method according to claim 5, characterized in that, The interactive actions include at least one of the following: long press, short press, rotation, flick, drag, and double tap.
7. The method according to claim 5, characterized in that, The trigger button can be a physical button or a virtual trigger control.
8. The method according to claim 1, characterized in that, Executing the target trigger function includes: In response to the presence of multiple triggering functions, the execution order of the multiple triggering functions is obtained, wherein the execution order includes at least one of parallel execution order and serial execution order; The multiple triggering functions are executed in the order described.
9. The method according to claim 8, characterized in that, The multiple triggering functions are executed in the order described above, including: In response to the existence of a serial execution order in the function execution order, the serial execution order is determined to be the serial functions involved in the plurality of triggering functions; In response to the serial function satisfying the corresponding completion condition, the serial function that follows the serial function in the serial execution sequence is executed.
10. The method according to claim 9, characterized in that, The method further includes: The system displays a first prompt message, which prompts the user to perform an operation that matches the completion conditions of the current serial function.
11. The method according to claim 1, characterized in that, The method further includes: Determine the trigger operation to be configured, the time period to be configured, and the function to be configured; Establish the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
12. The method according to claim 11, characterized in that, Determine the actions to be configured, including: Display option information for at least one candidate operation; Based on the received selection operation of the option information, the trigger operation to be configured is determined.
13. The method according to claim 11, characterized in that, Determine the actions to be configured, including: Display a second prompt message, which prompts the user to perform a demonstration operation to configure the trigger operation; In response to receiving a demonstration operation, the trigger operation to be configured is determined based on the demonstration operation.
14. The method according to claim 11, characterized in that, Determine the time period to be configured, including: Based on the received configuration operations for the start and end times, determine the time period to be activated; Based on the received configuration operation for the period, determine the activation date; The period to be activated in the date to be activated is determined as the period to be configured.
15. The method according to claim 11, characterized in that, Establishing the association between the trigger operation to be configured, the time period to be configured, and the function to be configured includes: In response to the fact that there are multiple functions to be configured, the execution order of the multiple functions to be configured is configured, the execution order including at least one of parallel execution order and serial execution order; Based on the execution order, establish the association between the trigger operation to be configured, the time period to be configured, and the function to be configured.
16. The method according to claim 1, characterized in that, In response to a triggering operation, the current time is obtained, including: in response to a first triggering operation on a first control, obtaining a first time associated with the first triggering operation; Based on the current time, determine the target trigger function to be executed, including: based on the first time, determine the first target trigger function to be executed, the first target trigger function including: a third function associated with a third application; Executing the target triggering function includes: executing the first target triggering function; The method further includes: In response to a second trigger operation on the first control, a second time associated with the second trigger operation is obtained, wherein the second time is different from the first time; Based on the second time, a second target triggering function to be executed is determined, the second target triggering function including: a fourth function associated with the fourth application; Execute the second target trigger function.
17. A functional processing device, characterized in that, include: The acquisition unit is used to acquire the current time in response to a trigger operation; The determining unit is configured to determine, based on the current time, a target triggering function to be executed, wherein the target triggering function is one or more triggering functions associated with the current time; The function execution unit is used to execute the target triggering function.
18. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the steps of the method according to any one of claims 1-16.
19. A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform a functional processing method, the method comprising: In response to the triggered operation, obtain the current time; Based on the current time, determine the target trigger function to be executed, wherein the target trigger function is one or more trigger functions associated with the current time; Execute the target trigger function.
20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-16.