Functional task processing method and apparatus, and electronic device and storage medium
By providing users with customizable configuration information for task processing, this approach solves the problem that existing task platforms cannot meet personalized needs, thereby improving user experience and development efficiency.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2025-08-13
- Publication Date
- 2026-05-28
AI Technical Summary
Existing functional task platforms are unable to meet users' personalized needs, resulting in a poor user experience.
By providing users with a function task processing method that allows them to customize configuration information, users can edit the configuration information of function tasks, generate custom configuration information, and execute function tasks according to the user's configuration information. Other users can execute tasks using default or custom configuration information.
It enables personalized functional tasks to meet user needs without affecting the user experience of other users, thereby reducing development costs and improving efficiency.
Smart Images

Figure CN2025114464_28052026_PF_FP_ABST
Abstract
Description
Methods, apparatuses, electronic devices and storage media for processing functional tasks
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411686891.0, filed on November 22, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] This disclosure relates to methods, apparatuses, electronic devices, and storage media for processing functional tasks. Background Technology
[0004] With the development of artificial intelligence technology, many platforms offer functional tasks for users, such as translating text or generating article summaries. Users can achieve preset functions by calling these tasks. However, these functional tasks sometimes differ from users' needs and cannot adequately meet their specific requirements. Summary of the Invention
[0005] This disclosure provides a method, apparatus, electronic device, and storage medium for processing functional tasks.
[0006] The following technical solution is adopted in this disclosure.
[0007] In some embodiments, this disclosure provides a method for processing functional tasks, including:
[0008] In response to the first operation event, determine the first functional task from the existing functional tasks;
[0009] In response to a second operation event where the first user edits the configuration information of the first functional task, custom configuration information corresponding to the first user is generated;
[0010] Wherein, the first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user; when other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
[0011] In some embodiments, this disclosure provides a method for processing functional tasks, including:
[0012] In response to a third operation event that executes the first functional task, determine the current user executing the first functional task;
[0013] In response to the fact that the current user has corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user.
[0014] The first functional task is a task that implements a set function through an artificial intelligence model.
[0015] In some embodiments, this disclosure provides a processing apparatus for a functional task, comprising:
[0016] A determining unit is used to determine a first functional task from existing functional tasks in response to a first operational event;
[0017] The control unit is configured to generate custom configuration information corresponding to the first user in response to a second operation event in which the first user edits the configuration information of the first functional task.
[0018] Wherein, the first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user; when other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
[0019] In some embodiments, this disclosure provides a processing apparatus for a functional task, comprising:
[0020] The determining unit is configured to determine the current user performing the first functional task in response to a third operation event that triggers the execution of the first functional task.
[0021] The control unit is configured to execute the first functional task according to the custom configuration information corresponding to the current user in response to the current user having corresponding custom configuration information.
[0022] The first functional task is a task that implements a set function through an artificial intelligence model.
[0023] In some embodiments, this disclosure provides an electronic device, including: at least one memory and at least one processor;
[0024] The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above method.
[0025] In some embodiments, this disclosure provides a computer-readable storage medium for storing program code that, when run by a processor, causes the processor to perform the methods described above. Attached Figure Description
[0026] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0027] Figure 1 is a flowchart of a method for processing functional tasks according to an embodiment of this disclosure;
[0028] Figure 2 is a flowchart of a method for processing functional tasks according to an embodiment of this disclosure; and,
[0029] Figure 3 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0030] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0031] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0032] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0033] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0034] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0035] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0036] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0037] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0038] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0039] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.
[0040] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0041] The solutions provided by the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0042] As shown in Figure 1, Figure 1 is a flowchart of a functional task processing method according to an embodiment of the present disclosure, including the following steps.
[0043] S11. In response to the first operation event, determine the first functional task from the existing functional tasks.
[0044] In some embodiments, the method proposed in this disclosure can be used in terminals such as mobile phones, tablets, and computers, and particularly in artificial intelligence platforms on these terminals. The first functional task is a task that implements a set function through an artificial intelligence model. There can be one or more functional tasks that implement the set function through an artificial intelligence model. Determining the first functional task from existing functional tasks can involve selecting the first functional task from multiple existing functional tasks. Specifically, multiple functional tasks can be displayed in the terminal's operation interface, and then the first user can select one as the first functional task. The functional task can be a function implemented by an artificial intelligence model, which can be displayed in the form of controls. Any functional task can be, for example, translating sentences, generating a summary of an article, or continuing an article. The functional task can have a corresponding interface (an interface in the programming domain). When executing the first functional task, the interface corresponding to the first functional task can be called. In the specific implementation of the interface, the artificial intelligence model can be called to execute the set function.
[0045] S12. In response to a second operation event where the first user edits the configuration information of the first functional task, generate custom configuration information corresponding to the first user.
[0046] In some embodiments, the configuration information can be divided into default configuration information and custom configuration information. A first functional task has default configuration information. When a first user edits the configuration information of the first functional task, if the current configuration information is the default configuration information, it can be copied, modified, and then saved as the first user's corresponding custom configuration information. The default configuration information of the first functional task will not change due to a second operation event that edits the configuration information of the first functional task. For example, the first functional task could be: generating an article summary. The first user editing the configuration information of the first functional task to obtain corresponding custom configuration information is equivalent to obtaining a corresponding custom first functional task. When the first user executes the first functional task, the first functional task is executed according to the first user's corresponding custom configuration information. That is, when the first user executes the first functional task, their custom first functional task is executed according to the corresponding custom configuration information. When other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users. In some embodiments, when executing the first functional task, the interface of the first functional task is called. After generating the custom configuration information corresponding to the first user, the interface of the first functional task does not change, and the way the user executes the first functional task remains unchanged—it still involves calling the interface of the first functional task. However, when different users call the same (first functional task) interface, they will independently execute the first functional task based on the same or different configuration information (default configuration information or custom configuration information). In some embodiments, before step S11, the method further includes: setting the configuration information of the first functional task to allow user customization, and granting the first user permission to customize the functional task.
[0047] In the field of artificial intelligence, platforms often offer a large number of functional tasks (such as translation, summary generation, and article continuation), but these tasks may not fully meet user needs in practical applications. Different users have personalized requirements regarding the format of the output content. Redeveloping these functional tasks by providing feedback to developers is not only costly and inefficient, but also requires modifying the interface of the called functional task at every point. Therefore, in some embodiments of this disclosure, customization permissions for the first functional task are granted, allowing the first user to customize the configuration information of the first functional task according to their own needs. This ensures that the first functional task meets the personalized needs of the first user without affecting other users' use of the first functional task.
[0048] To better illustrate the method proposed in this disclosure, a specific embodiment is given below. In an artificial intelligence platform, one or more functional tasks are configured. These functional tasks reside above the data layer where the artificial intelligence model resides; that is, the functional tasks and the artificial intelligence model can reside in different data layers. Layering is an architectural design pattern. It divides the software system into multiple different data layers according to function and responsibility. Each layer has its specific role and function, and the layers interact through defined interfaces. This layered structure is similar to a multi-layered building, where each layer is built upon the layer below and provides support for the layer above, achieving high cohesion and low coupling. The functions within each layer are closely related, and the interdependence between different layers is minimized. This improves maintainability, scalability, and testability, and avoids coupling between them. Each functional task contains its own descriptive statement, which is either text or a combination of text and placeholders for input parameters. During execution, the functional task generates instances of the descriptive statement based on the specific values of the input parameters (the placeholders are replaced with the actual input parameter values). The descriptive statement uses natural language to describe the function that the AI model needs to implement. For example, if the functional task is to generate a document summary, the descriptive statement could be: "Please generate a summary of {{document variables}}". The placeholders for the input parameters can be the content enclosed in double brackets, i.e., "{{document variables}}". When executing this functional task, the specific values of the input parameters need to be received to replace the placeholders, i.e., the document for which the summary needs to be generated needs to be specified. The descriptive statement, with the placeholders replaced by the input parameter values, is then passed to the lower-level AI model to implement the function of the task, such as generating a summary of a specified article. In this embodiment, one or more functional tasks are open for custom functionality, and the permission to customize functional tasks is granted to the first user. The first user can select a functional task from the list of tasks with enabled customization as their primary functional task. This task has default configuration information. The first user can then modify this configuration information by copying the current configuration (usually the default) and modifying it to create a custom configuration. However, the default configuration information remains. Each functional task has a corresponding interface, which is called when the task is executed. This interface can accept input parameters (to receive their values). Different users can call the same interface when executing the primary functional task, but the specific implementation can differ. For example, the first user might modify the format of the output content, allowing the task to output content according to the user's specified format.
[0049] In some embodiments of this disclosure, the configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task; the second operation event for the first user to edit the configuration information of the first functional task includes one or more of the following: changing the artificial intelligence model, modifying the parameters of the artificial intelligence model, or modifying the description statement of the first functional task; wherein, the input parameters of the first functional task cannot be changed.
[0050] In some embodiments, the first functional task is executed by calling an intelligent program to implement its function. The specific AI model called and its parameters can be modified, allowing the user to select their preferred AI model. When executing the first functional task, a descriptive statement, with placeholders replaced by the values of the specific input parameters, is input into the AI model. The AI model understands the descriptive statement and generates output content, which is typically the data the first functional task needs to return to the user. The first user can customize the descriptive statement. In some embodiments, the descriptive statement includes: text statements and placeholders for the input parameters. Modifying the descriptive statement of the first functional task includes: modifying the text statements within the descriptive statement. In some embodiments, for example, the descriptive statement is "Please generate a summary of {{document variables}}", the placeholder for the input parameters is {{document variables}}, and the rest is text statements. The first user can add formatting requirements to the text statements, such as "Please generate a summary of {{document variables}} according to XX format", where XX represents the formatting requirements written by the first user. It is important to note that the input parameters for the first functional task cannot be changed; that is, input parameters cannot be deleted, added, or their types cannot be modified. Modifying the input parameters for the first functional task will change the input parameters when calling its interface, potentially causing the interface to fail and resulting in an exception or failure in executing the first functional task.
[0051] In some embodiments of this disclosure, the method further includes: in response to a third operation event that executes the first functional task, determining the current user executing the first functional task; in response to the current user having corresponding custom configuration information, executing the first functional task according to the custom configuration information corresponding to the current user; or, in response to the current user not having corresponding custom configuration information, executing the first functional task according to the default configuration information.
[0052] In some embodiments, this disclosure sets up function routing. When the first function task is executed, it determines whether the current user has enabled custom configuration information. If the user has customized the configuration information of the first function task, the first function task is executed according to the corresponding custom configuration information. If the user has not customized the configuration information of the first function task, the first function task is executed according to the default configuration information, thereby achieving the effect of routing.
[0053] In some embodiments of this disclosure, the custom configuration information and the default configuration information corresponding to each user are stored independently and in isolation; changes to the custom configuration information and the default configuration information for each user do not affect each other. In some embodiments, the data of each user is independent of each other. If a user customizes the configuration information of a certain function task, it will not affect other users' use of the function task. Similarly, updates to the default configuration information of a function task will not affect the custom configuration information. For example, if the description statement or the artificial intelligence model used in the default configuration information of the first function task is changed, the description statement or the artificial intelligence model used by the first user when using the first function task will not be affected, thereby avoiding a decrease in user experience.
[0054] In some embodiments of this disclosure, the method further includes: in response to an event that updates the default configuration information, determining whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user; and in response to a conflict, stopping the update. In some embodiments, for a first functional task, the default configuration information of the first functional task can be updated, for example, by changing the description statement, input parameters, etc. At this time, it will be compared with the custom configuration information of the first functional task of each user. Specifically, it can be comparing the differences between the updated part and the user-defined part to prevent conflicts from occurring. If a conflict exists, the update will be stopped to avoid situations where the user cannot execute the first functional task after the update or the output after executing the first functional task does not conform to expectations.
[0055] In some embodiments of this disclosure, determining whether there is a conflict between the default configuration information and the user-specific custom configuration information includes: a conflict exists if the updated default configuration information includes a new input parameter that is required. In some embodiments, if the updated configuration information includes a new required input parameter (usually added to the interface), the value of this required input parameter needs to be written when executing the first functional task. However, if the user does not modify the required input parameter when generating custom configuration information, the user cannot execute the first functional task, resulting in a decreased user experience. To ensure the normal operation and updates of the function, the differences between the user-specific configuration information and the updated default configuration information are monitored and compared to avoid conflicts. If the input parameters of the user-specific configuration information and the input parameters of the default configuration information are inconsistent, the custom configuration information cannot be used.
[0056] The following describes another embodiment in detail with reference to Figure 2. On the artificial intelligence platform, the administrator enables custom functions for functional tasks and can configure permissions for each user, setting which users can customize the configuration information of functional tasks. Developers are personnel who develop functional tasks, typically members of the service provider offering the functional tasks. Users are personnel who accept and use the functional tasks provided by the service provider; for example, developers are R&D personnel of a company's functional tasks, and users are those who have subscribed to the company's functional tasks. Developers can enable user customization for a functional task and can fill in descriptions such as the task's description. After enabling customization, it can be set that variables (input parameters) cannot be deleted when editing the functional task's configuration information. Authorized users can select the functional task to be modified, then edit its configuration information, such as modifying the description, setting the required artificial intelligence model and parameters, and then publish it.
[0057] In other embodiments of this disclosure, a method for processing functional tasks is also proposed, the execution end of which can be the same as that for processing other functional tasks. The method steps in other embodiments can be combined with this method and the method described below, and the explanations of the method steps and terms in other embodiments can also be used in this method and the method described below without conflict. This method includes:
[0058] In response to a third operation event that executes the first functional task, determine the current user executing the first functional task;
[0059] In response to the fact that the current user has corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user.
[0060] The first functional task is a task that implements a set function through an artificial intelligence model.
[0061] In some embodiments, in response to the current user not having corresponding custom configuration information, the first functional task is executed according to the default configuration information of the first functional task;
[0062] In some embodiments, the configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task; the custom configuration information of the first user includes one or more of the following: a custom artificial intelligence model, the parameters of the custom artificial intelligence model, or a custom description statement of the first functional task. This method can be executed after steps S11 and S12. The current user can customize the first functional task according to their own defined custom configuration information. The custom configuration information corresponding to the current user can be obtained by the current user editing based on the default configuration information of the first functional task. The custom configuration information corresponding to the current user can be obtained by performing one or more of the following operations on the default configuration information: changing the artificial intelligence model, modifying the parameters of the artificial intelligence model, or modifying the description statement of the first functional task; wherein, the input parameters of the first functional task cannot be changed.
[0063] In some embodiments, the description statement includes: a text statement and placeholders for the input parameters;
[0064] Modifying the description statement of the first functional task includes: modifying the text statements in the description statement.
[0065] In some embodiments, the custom configuration information and the default configuration information for each user are stored independently and in isolation; changes to the custom configuration information and the default configuration information for each user do not affect each other.
[0066] In some embodiments, the method further includes: in response to an event that updates the default configuration information, determining whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user; and in response to a conflict, stopping the update.
[0067] In some embodiments, determining whether the default configuration information conflicts with the custom configuration information corresponding to each user includes: if the updated default configuration information adds a new input parameter and the new input parameter is a required field, then a conflict is determined to exist.
[0068] This disclosure also proposes a processing apparatus for a functional task, comprising:
[0069] A determining unit is used to determine a first functional task from existing functional tasks in response to a first operational event;
[0070] The control unit is configured to generate custom configuration information corresponding to the first user in response to a second operation event in which the first user edits the configuration information of the first functional task.
[0071] Wherein, the first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user; when other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
[0072] In some embodiments, the configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task.
[0073] The second operation event for the first user to edit the configuration information of the first functional task includes one or more of the following: changing the artificial intelligence model, modifying the parameters of the artificial intelligence model, or modifying the description statement of the first functional task;
[0074] The input parameters for the first functional task cannot be changed.
[0075] In some embodiments, the description statement includes: a text statement and placeholders for the input parameters;
[0076] Modifying the description statement of the first functional task includes: modifying the text statements in the description statement.
[0077] In some embodiments, the control unit is further configured to: determine the current user performing the first functional task in response to a third operation event that executes the first functional task; execute the first functional task according to the custom configuration information corresponding to the current user in response to the current user having corresponding custom configuration information; or execute the first functional task according to the default configuration information in response to the current user not having corresponding custom configuration information.
[0078] In some embodiments, the custom configuration information and the default configuration information for each user are stored independently and in isolation; changes to the custom configuration information and the default configuration information for each user do not affect each other.
[0079] In some embodiments, the control unit is further configured to: in response to an event that updates the default configuration information, determine whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user; and in response to a conflict, stop the update.
[0080] In some embodiments, determining whether the default configuration information conflicts with the custom configuration information corresponding to each user includes:
[0081] If the updated default configuration information includes a new input parameter that is required, then a conflict is identified.
[0082] This disclosure also proposes a processing apparatus for a functional task, comprising:
[0083] The determining unit is configured to determine the current user performing the first functional task in response to a third operation event that triggers the execution of the first functional task.
[0084] The control unit is configured to execute the first functional task according to the custom configuration information corresponding to the current user in response to the current user having corresponding custom configuration information.
[0085] The first functional task is a task that implements a set function through an artificial intelligence model.
[0086] In some embodiments, the control unit is further configured to: in response to the current user not having corresponding custom configuration information, execute the first functional task according to the default configuration information of the first functional task.
[0087] In some embodiments, the configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task.
[0088] The custom configuration information corresponding to the current user includes one or more of the following: a custom artificial intelligence model, parameters of the custom artificial intelligence model, or a custom description of the first functional task.
[0089] In some embodiments, the custom configuration information and the default configuration information for each user are stored independently and in isolation; changes to the custom configuration information and the default configuration information for each user do not affect each other.
[0090] In some embodiments, the control unit is further configured to: in response to an event that updates the default configuration information, determine whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user; and in response to a conflict, stop the update.
[0091] In some embodiments, determining whether the default configuration information conflicts with the custom configuration information corresponding to each user includes:
[0092] If the updated default configuration information includes a new input parameter that is required, then a conflict is identified.
[0093] For embodiments of the apparatus, since they basically correspond to the method embodiments, relevant details can be found in the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0094] The methods and apparatus of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0095] Referring now to FIG3, a schematic diagram of the structure of an electronic device (e.g., a terminal device or a server) 800 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.
[0096] Electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0097] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0098] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0099] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0100] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0101] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0102] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.
[0103] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0105] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0106] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0107] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0108] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, including:
[0109] In response to the first operation event, determine the first functional task from the existing functional tasks;
[0110] In response to a second operation event where the first user edits the configuration information of the first functional task, custom configuration information corresponding to the first user is generated;
[0111] Wherein, the first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user; when other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
[0112] According to one or more embodiments of this disclosure, a method for processing a functional task is provided, wherein the configuration information of the first functional task includes one or more of the following: an artificial intelligence model used when executing the first functional task, parameters of the artificial intelligence model, a description statement of the first functional task, and input parameters of the first functional task.
[0113] The second operation event for the first user to edit the configuration information of the first functional task includes one or more of the following: changing the artificial intelligence model, modifying the parameters of the artificial intelligence model, or modifying the description statement of the first functional task;
[0114] The input parameters for the first functional task cannot be changed.
[0115] According to one or more embodiments of this disclosure, a method for processing a functional task is provided, wherein the description statement includes: a text statement and placeholders for the input parameters;
[0116] Modifying the description statement of the first functional task includes: modifying the text statements in the description statement.
[0117] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, further comprising:
[0118] In response to a third operation event that executes the first functional task, determine the current user executing the first functional task;
[0119] In response to the current user having corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user; or...
[0120] In response to the fact that the current user does not have corresponding custom configuration information, the first functional task is executed according to the default configuration information.
[0121] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, wherein the custom configuration information corresponding to each user and the default configuration information are stored independently and in isolation.
[0122] Changes to the custom configuration information for each user and changes to the default configuration information do not affect each other.
[0123] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, further comprising:
[0124] In response to an event that updates the default configuration information, determine whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user;
[0125] Due to the existence of a conflict, this update is being stopped.
[0126] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, which determines whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user, including:
[0127] If the updated default configuration information includes a new input parameter that is required, a conflict will occur.
[0128] According to one or more embodiments of this disclosure, a method for processing functional tasks is provided, including:
[0129] In response to a third operation event that executes the first functional task, determine the current user executing the first functional task;
[0130] In response to the fact that the current user has corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user.
[0131] The first functional task is a task that implements a set function through an artificial intelligence model.
[0132] According to one or more embodiments of the present disclosure, a processing apparatus for a functional task is provided, comprising:
[0133] A determining unit is used to determine a first functional task from existing functional tasks in response to a first operational event;
[0134] The control unit is configured to generate custom configuration information corresponding to the first user in response to a second operation event in which the first user edits the configuration information of the first functional task.
[0135] Wherein, the first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user; when other users execute the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
[0136] This disclosure also proposes a processing apparatus for a functional task, comprising:
[0137] The determining unit is configured to determine the current user performing the first functional task in response to a third operation event that triggers the execution of the first functional task.
[0138] The control unit is configured to execute the first functional task based on the custom configuration information corresponding to the current user in response to the current user having corresponding custom configuration information; wherein the first functional task is a task that implements a set function through an artificial intelligence model.
[0139] According to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one memory and at least one processor;
[0140] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the above.
[0141] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that, when executed by a processor, causes the processor to perform the methods described above.
[0142] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0143] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0144] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for processing a functional task, comprising: In response to the first operation event, determine the first functional task from the existing functional tasks; In response to a second operation event where the first user edits the configuration information of the first functional task, custom configuration information corresponding to the first user is generated; The first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user. When other users perform the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
2. The method according to claim 1, wherein, The configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task; The second operation event for the first user to edit the configuration information of the first functional task includes one or more of the following: changing the artificial intelligence model, modifying the parameters of the artificial intelligence model, or modifying the description statement of the first functional task; The input parameters for the first functional task cannot be changed.
3. The method according to claim 2, wherein, The description statement includes: a text statement and placeholders for the input parameters; Modifying the description statement of the first functional task includes: modifying the text statements in the description statement.
4. The method according to any one of claims 1 to 3, further comprising: In response to a third operation event that executes the first functional task, determine the current user executing the first functional task; In response to the fact that the current user has corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user. or, In response to the fact that the current user does not have corresponding custom configuration information, the first functional task is executed according to the default configuration information.
5. The method according to any one of claims 1 to 4, wherein, Each user's custom configuration information and the default configuration information are stored independently and in isolation. Changes to the custom configuration information for each user and changes to the default configuration information do not affect each other.
6. The method according to any one of claims 1 to 5, further comprising: In response to an event that updates the default configuration information, determine whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user; Due to the existence of a conflict, this update is being stopped.
7. The method according to claim 6, wherein, Determining whether there is a conflict between the default configuration information and the custom configuration information corresponding to each user includes: If the updated default configuration information includes a new input parameter that is required, then a conflict is identified.
8. A method for processing a functional task, comprising: In response to a third operation event that executes the first functional task, determine the current user executing the first functional task; In response to the fact that the current user has corresponding custom configuration information, the first functional task is executed according to the custom configuration information corresponding to the current user. The first functional task is a task that implements a set function through an artificial intelligence model.
9. The method according to claim 8, wherein, Also includes: In response to the fact that the current user does not have corresponding custom configuration information, the first functional task is executed according to the default configuration information of the first functional task.
10. The method according to claim 8 or 9, wherein, The configuration information of the first functional task includes one or more of the following: the artificial intelligence model used when executing the first functional task, the parameters of the artificial intelligence model, the description statement of the first functional task, and the input parameters of the first functional task; The custom configuration information corresponding to the current user includes one or more of the following: a custom artificial intelligence model, parameters of the custom artificial intelligence model, or a custom description of the first functional task.
11. A processing apparatus for a functional task, comprising: A determining unit is used to determine a first functional task from existing functional tasks in response to a first operational event; The control unit is configured to generate custom configuration information corresponding to the first user in response to a second operation event in which the first user edits the configuration information of the first functional task. The first functional task is a task that implements a set function through an artificial intelligence model; when the first user executes the first functional task, the first functional task is executed according to the custom configuration information corresponding to the first user. When other users perform the first functional task, the first functional task is executed according to the default configuration information of the first functional task or the custom configuration information corresponding to other users.
12. A processing apparatus for a functional task, comprising: The determining unit is configured to determine the current user performing the first functional task in response to a third operation event that triggers the execution of the first functional task. The control unit is configured to execute the first functional task according to the custom configuration information corresponding to the current user in response to the current user having corresponding custom configuration information. The first functional task is a task that implements a set function through an artificial intelligence model.
13. An electronic device, comprising: At least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method of any one of claims 1 to 10.
14. A computer-readable storage medium for storing program code that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 10.
Citation Information
Patent Citations
Image processing method and device, electronic equipment and storage medium
CN116543074A
Target application generation method and device based on large language model and storage medium
CN117492743A
Display object generation method and system, electronic equipment and storage medium
CN118733169A
Intelligent agent configuration method, electronic equipment, storage medium and product
CN118885606A
Functional task processing method and device, electronic equipment and storage medium
CN119621271A