WO2022242641A1 - Task implementation method and apparatus, and electronic device - Google Patents

Task implementation method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022242641A1
WO2022242641A1 PCT/CN2022/093323 CN2022093323W WO2022242641A1 WO 2022242641 A1 WO2022242641 A1 WO 2022242641A1 CN 2022093323 W CN2022093323 W CN 2022093323W WO 2022242641 A1 WO2022242641 A1 WO 2022242641A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
functions
input
data
target
Prior art date
Application number
PCT/CN2022/093323
Other languages
French (fr)
Chinese (zh)
Inventor
孙一鸣
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022242641A1 publication Critical patent/WO2022242641A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Definitions

  • the present application belongs to the technical field of communications, and in particular relates to a task realization method, device and electronic equipment.
  • cooperative tasks Currently, electronic devices can work cooperatively through multiple functions to achieve some tasks (hereinafter referred to as cooperative tasks).
  • the electronic device when the electronic device receives an image (hereinafter referred to as image 1) through a communication application, the user can first trigger the electronic device to save the image 1 to the gallery, and open the image 1 stored in the gallery through the image processing application, to Process image 1 with an image processing application, and save the processed image 1. Then the user can trigger the electronic device to send the processed image 1 to a friend through a communication application.
  • image 1 an image
  • the collaborative task of receiving, processing, and sending the image 1 can be realized through the cooperative work of the sending and receiving function of the communication application, the storage function of the gallery, and the image processing function of the image processing application.
  • the purpose of the embodiment of the present application is to provide a task realization method, device and electronic equipment, which can solve the problem that the operation process of realizing the task through the cooperative work of multiple functions is relatively complicated.
  • the embodiment of the present application provides a task realization method, the method includes: receiving the first input for the target control, the target control is used to trigger the execution of M functions according to the target execution sequence, and the M functions is a function in at least one application of the electronic device, M is an integer greater than 1; in response to the first input, the M functions are executed according to the target execution order; wherein, the input data of the first function includes the second For output data of functions, both the first function and the second function are functions among the M functions, and the execution order of the second function is before the execution order of the first function.
  • the embodiment of the present application provides a task realization device, the device includes: a receiving module and an execution module; the receiving module is used to receive the first input for the target control, and the target control is used to trigger Execute M functions according to the target execution order, the M functions are functions in at least one application of the electronic device, and M is an integer greater than 1; the execution module is configured to respond to the first received by the receiving module One input, execute the M functions according to the target execution sequence; wherein, the input data of the first function includes the output data of the second function, and both the first function and the second function are among the M functions function, and the execution order of the second function is before the execution order of the first function.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the first input for the target control can be received, and the target control is used to trigger the execution of M functions according to the target execution order
  • the M functions are functions in at least one application of the electronic device, and M is greater than An integer of 1
  • the input data of the first function is the output data of the second function
  • both the first function and the second function are the M functions function
  • the execution order of the second function is before the execution order of the first function.
  • the electronic device can be triggered to perform the task according to the order of execution (such as target execution order) to execute the M functions, so the task can be realized after the M functions are executed according to the target execution order.
  • the task realization method provided by the embodiment of the present application can simplify the operation process of realizing a task through the cooperative work of multiple functions.
  • FIG. 1 is a schematic diagram of a task realization method provided by an embodiment of the present application
  • Fig. 2 is one of the schematic diagrams of the data transmission direction of the M functions in the task realization method provided by the embodiment of the present application;
  • Fig. 3 is the second schematic diagram of the data transmission direction of M functions in the task realization method provided by the embodiment of the present application;
  • FIG. 4 is one of the interface schematic diagrams of the application of the task realization method provided by the embodiment of the present application.
  • Fig. 5 is the second schematic interface diagram of the application of the task realization method provided by the embodiment of the present application.
  • FIG. 6 is the third schematic diagram of the interface of the application of the task realization method provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of the target control in the application of the task realization method provided by the embodiment of the present application.
  • FIG. 8 is the fourth schematic diagram of the application interface of the task realization method application provided by the embodiment of the present application.
  • Fig. 9 is the fifth schematic diagram of the application interface of the task realization method provided by the embodiment of the present application.
  • Fig. 10 is the sixth schematic diagram of the application interface of the task realization method provided by the embodiment of the present application.
  • Fig. 11 is the seventh schematic diagram of the interface of the application of the task realization method provided by the embodiment of the present application.
  • FIG. 12 is a schematic diagram of a task realization device in an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an electronic device in an embodiment of the present application.
  • FIG. 14 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • Script It is an executable file written in a certain format using a specific descriptive language (ie scripting language). Scripting language, also known as extended language, or dynamic language, is a programming language used to control software applications. Scripts are usually saved in text (ASCII), and only interpreted or compiled when called.
  • ASCII ASCII
  • the computer (such as the task realization device in the embodiment of the present application) will perform a series of operations.
  • the task realization apparatus may execute a script to set the execution order of the M functions as the following target execution order, and generate a target control for triggering the execution of the M functions according to the target execution order.
  • processing results (ie output data) of different functions may be stored in different folders, the process of finding the processing results of different functions is also very cumbersome.
  • the task implementation method provided by the embodiment of the present application expands the desktop design concept as follows:
  • Some functions in the control application provide services independently, for example, set the functional components of the indication function.
  • a desired input such as an image
  • the electronic device can process the image through the function and output a processed result.
  • the first interface may include functional components indicating the functions in the above 1). In this way, the functions indicated by these functional components can be quickly triggered to execute.
  • function 1 and function 2 can be connected by connecting the output terminal of one functional component with the input terminal of the other functional component. After the function 1 is connected with the function 2, the electronic device can directly send the output data of the function 1 to the function 2 as the input data of the function 2. In this way, some more complicated tasks can be realized through function 1 and function 2 in sequence.
  • the user can trigger the connection of two or more functional components by inputting the functional components in the first interface; Connect at least two functional components by means of a script that connects two functional components. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
  • the above-mentioned script may be obtained from a server, stored locally on the electronic device, or received through a communication application, which may be determined according to actual usage requirements. Not limited.
  • a plurality of functional components connected in the component interface are collectively referred to as functional controls (also referred to as functions in colloquial terms).
  • each function control indicates two or more functions.
  • the user can trigger the execution of all the functions indicated by the functional control according to a certain execution order (such as the following target execution order) by inputting a function control, and after executing all the functions indicated by the function control, A task that can be realized through the cooperation of these functions can be realized.
  • this embodiment of the present application provides a task realization method, and the task realization method may include the following steps 101 and 102 .
  • the following takes the implementation of the task as an example to illustrate the implementation method of the task.
  • Step 101 the task realization apparatus receives a user's first input on a target control.
  • the target control can be used to trigger the execution of M functions according to the target execution sequence
  • the M functions are functions in at least one application of the electronic device
  • M is an integer greater than 1.
  • the target control may be set by the user-triggered task realization device, or may be set by the task realization device based on downloaded or received scripts. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
  • the script please refer to the relevant description of the script in the above-mentioned part of the explanation of terms. In order to avoid repetition, details are not repeated here.
  • the task realization device may display at least one functional control on the second interface, and the at least one functional control includes a target control.
  • the second interface may be the desktop of the electronic device, or may be the first interface described below, where the first interface is an interface for setting function controls in the electronic device.
  • the first interface may also be called a component page, and the two have the same meaning and can be interchanged.
  • a first logo indicating the first interface may be set on the third interface, and the user may input the first logo, for example, click on the first logo, to trigger the task realization device to display the second logo. an interface.
  • the third interface may be a notification bar interface or a status bar interface (also called an application drawer).
  • the first input may be the user's input to the target control in the second interface, or the first input may be the input of obtaining data through the application, for example, the first input may be the Select the input of the image.
  • the first input can be any possible input such as touch input, input to physical keys, facial recognition input, fingerprint input, air gesture input, etc., which can be determined according to actual use requirements,
  • the embodiment of this application is not limited.
  • the user may trigger the task realization device to execute the following step 102 on the first interface, the desktop or the application interface.
  • Step 102 the task realizing device executes M functions according to the target execution order in response to the first input.
  • the input data of the first function is the output data of the second function
  • the first function and the second function are functions with different execution orders among the M functions
  • the execution order of the second function is before the execution order of the first function.
  • the data type of the input data of the first function can be compatible with the data type of the output data of the first function, that is, the premise of using the output data of one function as the input data of another function is that the data type of the input data of the other function can be compatible The data type of the output data for this one function.
  • the output data of this one function can be used as the input data of the other function, That is, the data type of the output data of the other function is compatible with the data type of the input data of the one function.
  • the data types of the input data and output data of the function may include at least one of the following: application data type (i), application behavior type (ii), user input type (iii), or user Any possible data type such as data type (iii) can be customized.
  • the data of the application data category may include at least one of the following: text, image, video, audio, and application information (such as application name).
  • the data of the application behavior category may include any possible application behavior such as the behavior of invoking the application, the behavior of adjusting the application parameters, and the behavior of sharing the application data.
  • the data of the user input category includes at least one of the following: an input form input by the user, and an input object input by the user.
  • the input form of the user input can be a contact form or a non-contact form
  • the contact form includes any possibility such as single click, double click, multiple clicks, slide, drag, heavy press, or long press. form of contact.
  • Non-contact forms include biometric information recognition (such as fingerprint recognition, iris recognition) or air gestures.
  • the user input may be an input to a physical button, a virtual control, a virtual sign, or an interface, etc., which may be determined according to actual usage requirements.
  • User-definable data types refer to certain forms that can be provided to users to enable users to customize data forms, and use these customized data forms for input and output.
  • the user-definable data type can be a template used to represent a certain type of data. For example, the user likes a certain type of music. These music can be disassembled into several different forms of features (that is, different members), such as text (lyrics, names, etc. ), image (cover), audio (timbre, melody, etc.).
  • a user-definable data type can also be used as a data that implements a certain type of operation by conveying a concept.
  • data whose data type is a user-definable data type may be used as input data and/or output data of a function.
  • the task realization device can filter, merge and disassemble the members of Class A music through the adapter component. Therefore, when the user needs to perform some processing on Class A music, the cooperative task can be realized by connecting the adapter component with other basic function components.
  • the task realization device executes M functions
  • the M functions are executed according to the execution sequence of the M functions.
  • the first function may include at least one function among the M functions
  • the second function may also include at least one function among the M functions.
  • the output data of one of the second functions may be used as the input data of one or more functions of the first function; the output data of multiple functions of the second function may also be data as input data for one of the first functions. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
  • the second function 20 includes function A
  • the first function 21 It includes function B and function C
  • the output data of function A is the input data of function B and function C
  • the output data of one function in the second function is used as the input data of multiple functions in the first function.
  • the second function 22 includes function D and function E
  • the first function 23 includes function F
  • the output data of function D and function E are the input data of function F, namely Output data of a plurality of the second functions serves as input data of one of the first functions.
  • the execution sequence of at least one of the first functions may be the same or different.
  • the execution sequence of at least one of the second functions may be the same or different, and may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
  • M functions include 3 functions, and these 3 functions are arranged in order of execution: function A, function B and function C; as shown in Figure 3, the output data of function A can be the input of function B data, and the output data of function A and the output data of function B are both the input data of function C. It can be seen from FIG. 3 that although the execution order of function A and function B is different, the output data of function A and the output data of function B can be used as the input data of function C at the same time. That is, in the embodiment of the present application, the output data of the function executed earlier may be used as the input data of the function executed later.
  • the task realizing device can realize the task that can only be realized by the cooperation of the M functions (hereinafter referred to as task 1). That is to say, the process of executing the M functions according to the target execution order is the process of controlling the M functions to work together to complete the task 1 .
  • the task realization device may execute at least some of the M functions in accordance with the target execution sequence; function starts executing.
  • the execution order of these 4 functions i.e. the target execution order
  • the task realization device executes function 1, function 2, function 3, and function 4 according to the target execution sequence; it can also execute function 2, function 3, and function 4 according to the target execution sequence; it can also execute function 4 according to the target execution sequence.
  • the task realization method when it is required to realize a certain task through the cooperation of multiple functions (such as the above-mentioned M functions), since the input to the target control indicating the M functions can be used, that is, The electronic device can be triggered to execute the M functions in an execution sequence capable of realizing the task (for example, a target execution sequence), so the task can be realized after the execution of the M functions in the target execution order is completed.
  • the task realization method provided by the embodiment of the present application can trigger multiple functions to complete the task through a single input, it can simplify the task through multiple functions. Functions work together to realize the operational process of a task.
  • function 1 outputs multiple output data (such as taking multiple photos continuously), and the multiple output data are respectively used as the input data of function 3 together with the output data of function 2, Then, the plurality of output data can form an input queue, and the output data of the other function can be used as the input data of the third function.
  • function 1, function 2 and function 3 are different functions among the above M functions.
  • a prompt mark (such as a number) will be displayed on the functional component indicating the function to inform the user of the number of inputs waiting on the current path.
  • the user can click the prompt to open the input details floating window.
  • the user can view the input summary information (such as a thumbnail), and click the summary information to view the input details and data (such as an image).
  • the user can trigger to adjust the arrangement order of the input data in the queue or delete some of the input data by inputting.
  • step 102 may specifically be implemented through the following step 102a.
  • Step 102a the task realization device executes M functions starting from the initial function among the M functions according to the target execution order and the initial input data.
  • the above-mentioned initial input data can be the input data of the initial function, and the initial function can be any one of the following (1) to (4):
  • the initial function is the first function executed after the task realization device receives the first input.
  • the number of initial functions may be one or multiple.
  • the task realization device after the task realization device receives the first input, it can execute the initial function among the M functions, and the function whose execution sequence is after the execution sequence of the initial function, and does not execute the execution sequence after the execution sequence of the initial function previous function.
  • the task realization device may first determine an initial function, and then obtain initial input data based on the determined initial function, such as the above-mentioned (1), (3) and (4).
  • the initial input data can be obtained first, and then the initial function can be determined based on the initial input parameters, such as (2) above.
  • the first input is the user's input to the target control in the second interface; in the above (2), the first Input is the input to get data through the application.
  • the initial function is a preset function among the M functions.
  • the initial function of setting the device may be implemented by triggering a task through input.
  • the initial function is a function determined according to the data type of the initial input data among the M functions.
  • the task realization device may bind the target control to the operation of acquiring application data in the application.
  • the task realization device can display a floating menu, which includes multiple functional controls, and the functions indicated by the multiple functional controls include input data types compatible with the The function of the data type of the data (hereinafter referred to as function X), when the user selects the target control among the multiple functional controls, the task realization device can send the data to the target control, and execute the target control instruction according to the target execution order function.
  • the task realization device can also bind the target control with operations such as screen capture, recording, video, and games, so as to automatically execute at least some of the above M functions after receiving these operations.
  • the initial function may be the first function in which the data type of the output data is compatible with the initial input data among the M functions arranged in the order of target execution.
  • the data type of the output data may be compatible with the first function of the initial input data. The details can be determined according to the binding requirements.
  • the initial function is a function determined according to user input among the M functions.
  • the task realization method provided in the embodiment of the present application may further include the following steps 103 and 104.
  • Step 103 the task realization apparatus displays at least two first options in response to the first input.
  • the first option indicates all functions of the same execution order among the M functions.
  • Step 104 the task realization device receives a fourth input of the target option in the at least two first options.
  • the fourth input may be a touch input on the target option, for example, the fourth input is the user's click, long press, or heavy press input on the target option.
  • step 105 the task realizing device determines that the initial function is the function indicated by the target option in response to the fourth input.
  • the task realization device can execute M functions from the initial function among the M functions according to the target execution order and initial input data
  • the initial function is a preset function, according to the data type of the initial input data
  • a certain function, a function determined according to user input, or a function with the first execution order can improve the flexibility of realizing the task on the basis of simplifying the operation process of realizing the task through the cooperative work of multiple functions.
  • the target control when the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data; the above-mentioned first input may be Move the first data identifier in the at least one data identifier to the input on the target control; wherein, the initial input data is the data indicated by the first data identifier, and the initial function is determined according to the data type of the initial input data among the M functions function, or the function with the first execution order.
  • the first interface may also include N functional components, each of which has a function, and the user may also move the data identifier to one of the N functional components to trigger the task
  • the implementing device processes the data indicated by the data identifier through the function indicated by the functional component.
  • the N functions indicated by the N functional components may include functions in the above M functions, or may not include functions in the above M functions.
  • the user can drag one or more data identifiers in the at least one interface to the functional component indicating the sending function in the at least one interface, so as to trigger the task realization device to send these data.
  • the task realization device may display the data identification of the output data of the function at a position adjacent to the functional component or functional control indicating the function in the first interface, for example, displaying the output data of the function The output terminal of the control. If a function outputs multiple data, the data identifiers of these data can be displayed in a folder.
  • the data type indicated by the at least one data identifier may be any possible data type such as application data type, application behavior type, user input type, and user-definable data type.
  • the first interface 40 includes a target control 41, and the target control is used to trigger the execution of function 1 - function 2 and function 3 - Function 4, that is, execute M functions according to the target execution order;
  • the target control 41 may include an input area 42, and the first input may specifically be an input for the user to move the first data mark 43 to the input area 42, so that the task is realized
  • the device may respond to the first input, according to the target execution order and the data indicated by the first data identifier, from the M functions, the input data type includes the data type of the data indicated by the first data identifier, and execute the M functions. .
  • the above at least one data identifier is a shortcut entry of data in the electronic device.
  • multiple data identifiers on the first interface can be classified into one data folder, and the user can click on the folder to trigger the task realization device to display the expanded interface of the folder , and display the multiple data identifiers on the expanded interface.
  • the data indicated by the above at least one data identifier can be stored in a storage space corresponding to the first interface (hereinafter referred to as the target storage space), and of course, it can also be stored in the electronic device except for the target Any storage space other than the storage space, such as stored in the storage corresponding to the application. Specifically, it can be determined according to actual usage requirements, and is limited in the embodiments of this application.
  • the user may trigger sending the data in the desktop or the application to the target storage space through an input, and display the data identifier of the data on the first interface.
  • the task realization device may display "send to the component interface (that is, the first interface)", when the user chooses to send to the component page, if application 1 supports sending the data therein to the first interface, then the task realization device can send these data to the target storage space; if application 1 does not support sending The data therein is sent to the first interface, and the user can copy or cut the selected data and paste it in the target storage space.
  • the task realization device saves the selected data in the target storage space, as shown in (b) in FIG. 5 , it may display the data identifiers 52 of these data on the first interface 51 .
  • the user when the user inputs to the application interface to trigger the task realization device to obtain data through the application where the application interface is located, such as downloading files, taking pictures, etc., the user can also trigger the task realization device to store these data in the target storage space.
  • a data adding control 53 may be included on the first interface, and the user may input the data adding control 53 to trigger the task realization device to add data in the target storage space. data, and display the data identifier of the added data on the first interface.
  • the task realization device may display the newly created data identifier in the vacant area on the first interface, if there is an vacant area on the first interface, a new interface may be created, and then the newly created data may be displayed logo.
  • the output data of each function may be cached, for example, the output data of each function may be cached for a preset duration.
  • the data identification of the data can be set on the first interface, the user can directly select the data that meets his needs on the first interface, without having to manually enter the folder to select the data, so it can be further simplified. operation process.
  • the data type of the input data of the initial input function is different, and the method for the task realization device to obtain the initial input data may also be different.
  • the task implementation device obtains the initial input data The method is described in detail.
  • the task realization device may first display the In the interface of the data identification, the user may select and input the data identification to trigger the task realization device to obtain the application data corresponding to the selection input.
  • the task implementation device receives the first input for the target control, if the application behavior of an application If the monitoring authority of an application is permission monitoring, then the task implementation device can monitor the application behavior of the application, and use the monitored application behavior as the input data of the initial function; if the application behavior permission of an application is permission monitoring, then the task realization device The user may be prompted first to set the monitoring permission of the application behavior of the application to allow monitoring, and then obtain the application behavior of the application.
  • the data type of the input data of the initial input function (that is, the initial input data) is the user input type, and the initial input data is passed by the user in an interface (hereinafter referred to as the target interface) to acquire the first target input, after the task realization device receives the first input, it can display the target interface first, and when receiving the first target input from the user on the target interface, the task realization device can obtain the initial input data, and perform the initial function according to the initial input data.
  • the task realization device can run the camera application, as shown in (b) in Figure 6
  • the task realizing device can display shooting preview interface 61 (being target interface);
  • the function takes a picture and outputs the captured image.
  • the task realization device can display a handwriting input interface (ie, the target interface), which includes an undo control, Confirm the control and the handwriting area; when the task realization device receives the user's handwriting input in the handwriting area and the click input (i.e. the first target input) to the confirmation control, the task realization device can generate a handwriting mark according to the input parameters of the handwriting input,
  • the handwritten mark can be a pattern, a character, or the like.
  • the task realization device can output the handwriting function
  • the multiple documents received by the handwritten identification and receiving function are sent to the signature function, and the signature function signs the handwritten identification to each document in the multiple PDFs respectively.
  • the task realization device can display a recording interface, which includes a start recording control, a pause recording control, and an end recording control.
  • the task realization device can control the recording function to start recording, and output the recorded audio data.
  • the operational flexibility can be further improved, and the human-computer interaction performance can be improved.
  • the task realization method provided in the embodiment of the present application may further include the following steps 106 and 107.
  • Step 106 the task realization device receives the user's second input on the M functional components in the first interface.
  • Step 107 the task realizing device responds to the second input and connects the M functional components through at least one connection component according to the target execution sequence.
  • each functional component indicates one of the above M functions
  • the second input can be used to trigger setting the execution order of the M functions as the target execution order.
  • the target control is determined by the connected M functional components.
  • the target control may be displayed in the first form or in the second form.
  • FIG. 7 is a schematic diagram of the target control displayed in the first form, which may be It can be seen that the target control displayed in the first form is a thumbnail or a simplified diagram of the connected M functional components; or, as shown in Figure 7 (b) is a schematic diagram of the target control displayed in the second form, you can see It can be seen that the target control displayed in the second form includes M functional components and connection components used to connect the M components, that is, includes M functional components in a connected state.
  • the user can input ( Different from the above-mentioned first input), to trigger the task realization device to display the target control shown in (b) in FIG. 7 and displayed in the second form.
  • the target execution order is any execution order that can meet the user's actual use requirements.
  • each functional component includes a data input port and a data output port, and the data input port and the data output port may be in a display state or in a hidden state.
  • the data input port and the data output port of a functional component when the data input port and the data output port of a functional component are in the displayed state, the data input port and the data output port of the functional component may be represented by a dotted line box or a warning symbol (such as "x" in FIG. 2 ).
  • connection components are two connection components
  • the task realization device connects the two functional components through a connection component
  • the data of a function component may be transferred through the connection component
  • the output port is connected to the data input port of another functional component; to indicate that the output data of the function indicated by the one functional component is used as the input data of the function indicated by the other functional component.
  • each functional component can be connected to the data output port of at least one functional component; the data output port of each functional component can be connected to the data input port of at least one functional component.
  • the functions indicated by the above at least two functional components include at least two functions with different execution orders.
  • connection assembly can be a pipeline assembly (such as the pipeline assembly 30 in FIG. 3 ), a flow distribution assembly (such as the flow distribution assembly 31 in FIG. 44), wherein, the pipeline component can connect two functional components; the diversion component and the convergence component can connect at least three functional components, the diversion component is used to use the output data of one function as the input data of multiple functions, and the convergence component is used to combine The output data of multiple functions serves as the input data of a functional component.
  • the second input may be any input that can set an execution order for the M functions.
  • the second input may be the user's mobile input to the M functional components (the first implementation), the user's input to the option menu of the M functional components (the second implementation), or at least one connection component input (the third implementation).
  • the first implementation manner the second input is the user's movement input to the M functional controls.
  • the first interface includes a functional component 1 and a functional component 2, the functional component 1 indicates the function g1, and the functional component 2 indicates the function g2.
  • the user can long press the functional component 1, and Drag the functional component 1 to the functional component 2; as shown in (b) in Figure 8, when the functional component 1 and the functional component 2 partially overlap, if the data type of the input data of the function g1 is compatible with the output data of the function g2 data type, it means that the output data of functional component 2 can be used as the input data of the function indicated by functional component 1, so as shown in (c) in Figure 8, when functional component 1 is put down, that is, when it leaves the screen,
  • the task realization device can connect the data input port of function component 1 to the data output port of function component 2; if the data type of the input data of function g1 is not compatible with the data type of the output data of function g2, it means that the The output data is used as the input data of the function indicated by the functional component 1, so that when
  • a connection identification (such as the connection identification shown in (b) in FIG. 8 ) can be displayed. 81), to prompt the user that the data output port of function component 2 can be connected with the data input port of function 2. Otherwise, a prompt message may be output to remind the user that the data output port of the function component 2 cannot be connected with the data input port of the function 2.
  • the task realization device may display a position prompt mark on the first interface (such as the position prompt mark shown in (b) in FIG. 8 82), the position prompt mark 82 is used to prompt the display area of the functional component 1 when the functional component 1 is released.
  • the display area is determined according to the size of the functional component 1 and the current location of the functional component 1. Specifically, the display area is the closest to the current location of the functional component 1 in the first interface, and its size is greater than or equal to the function Empty space for the size of the component.
  • the task realization device may first display the functional component 1 on the right side of the functional component 2 and in the area adjacent to the functional component 2, and then display the functional component 1 The data input port is connected with the data output port of the functional component 2 . If the connection logo is not displayed, the task realization device can drag the display area of the functional component 1 before the functional component 1 to display the functional component 1, that is, keep the display area of the functional component 1 unchanged.
  • the second implementation manner the second input is the user's input to the option menu of the M functional components.
  • the first interface 90 includes a functional component 1 and a functional component 2, the functional component 1 indicates the function g1, and the user can long press the functional component 1, as shown in FIG.
  • the task realization device can display the option menu 91 of the functional component 1, and the option menu 91 includes a connection panel 92, which includes 4 connection keys (i.e. shown in (b) in FIG. 9 ).
  • connection key to trigger the connection of the first functional component located in the direction indicated by the connection key in the first interface with functional component 1; for example, as shown in Figure 9
  • the task realization device can connect the data input port of the functional component 1 with the data input port located in the functional component 1 through the connection component The data output port of the functional component 2 on the left is connected.
  • the task realization device can preset the connection mode, for example, preset the data input port of the functional component to which the connection key belongs and the data output port of the first functional component in the direction indicated by the connection key port connection; in this way, after the user inputs a connection key, the task realization device can connect the functional component to which the connection key belongs to the functional component selected through the connection key according to the preset connection mode. Or, after the user inputs a connection key, the task realization device can display a selection box, which includes a third option and a fourth option, the third option being "connect with the data input port of the selected functional component", and the third option being "connected to the data input port of the selected functional component".
  • the fourth option is the option of "connecting to the data output port of the selected functional component", so that the user can input the third option or the fourth option to trigger the task realization device to connect the functional component to which the connection key belongs according to the connection mode selected by the user and the functional component selected by this connection key.
  • the task realization device may automatically determine the connection mode according to the data compatibility between the functional component to which the connection key belongs and the functional component selected through the connection key.
  • the second input is a user's input to at least one connection component.
  • the first interface may further include connection components, and the user may drag both ends of a connection component to connect the two ends of the connection component to different functional components.
  • a user may connect one end of a connection component to a data input port of a functional component, and connect the other end of the connection component to a data output port of another functional component.
  • connection component may be marked with an arrow, and the direction of the arrow indicates a data transmission direction between functional components connected to the connection component.
  • the data input port of one functional component can be connected to the data output port of another functional component only on the premise of satisfying data compatibility.
  • the task realization device may keep the connection between the M functional components unchanged. change, i.e. without breaking the connection between functional components and connection components.
  • the target execution order is set by the user through the second input to trigger the task realization device for M functions, it can be ensured that the tasks realized after the task realization device executes M functions according to the target execution order can meet the actual needs of the user .
  • the task realization method provided by the embodiment of the present application may further include the following step 108.
  • Step 108 the task realization apparatus displays a synchronization mark on the first connection component.
  • the first connection component is a connection component connected to a functional component indicating a third function and at least two fourth functions.
  • the synchronous identification (such as the synchronous identification 32 shown in the dotted line in Figure 3) can be used for: a, indicating that after at least two fourth functions are performed, the third function is executed, that is, the progress of synchronous execution; and/or, b,
  • the synchronization flag can be used to trigger re-execution of M functions starting from the fifth function among the M functions, that is, to roll back the execution progress, and the execution order of the fifth function is smaller than that of the third function.
  • the third function may be a function of the first function
  • at least two fourth functions may be functions of the second function.
  • the first connection component may be one connection component, or may be multiple connection components.
  • the first connection component may be two pipeline components; or, the first connection component may be one flow distribution component.
  • the synchronization component is used to separate and synchronize the functional components. For example, as shown in FIG. 3 , after the task realization device determines that both the output data of function A and the output data of function B reach function C, the task realization device can execute function C; otherwise, function C will not be executed.
  • the task realization device can also configure the synchronization component, and the configuration of the synchronization component includes: after executing at least two fourth functions, automatically executing the third function; or, executing at least two fourth functions. After the fourth function is completed, and after receiving an input from the user to trigger continuation of execution, the third function is executed.
  • the synchronization flag is configured to execute the third function after the execution of at least two fourth functions is completed, and after receiving an input from the user to trigger the continuation of execution, then after the execution of at least two fourth functions is completed, the task realization device can Displays a floating button for user action.
  • the task realization device may cache the input data of each of the M functions, so that when the user inputs to the synchronization component, the fifth function is triggered to start, and the M functions are re-executed.
  • the task implementing device may re-execute the fifth function directly according to the buffered input data of the fifth data, and execute the functions whose execution order is after the fifth function among the M functions according to the target execution order.
  • the task realization device can display the synchronous component on the connection component between the functional component of the one function and the functional components of the multiple functions , and the synchronization component can be used to synchronize the execution progress and/or roll back the execution progress, so the operation accuracy and flexibility can be further improved on the basis of simplifying the operation process of realizing the task through the cooperative work of multiple functions.
  • the task realization method provided in the embodiment of the present application may further include the following steps 109 and 110.
  • Step 109 the task realization device receives a third input from the user.
  • step 110 the task realizing device executes a target operation corresponding to the third input in response to the third input.
  • the target operation can be any one of the following (1), (2), (3), (4) and (5):
  • the user can trigger the addition of at least one functional component on the first interface by inputting an icon on the desktop; Add at least one functional component on the first interface.
  • the user can click on the left area of an application icon 101 on the desktop 100, as shown in (b) in Figure 10, the task realization device can display N functions component 102 and a first interface 103, the N functional components 102 are functional components of at least part of the functions in the application indicated by the application icon 101; the user can select at least one of the N functional components 102 according to his actual use needs
  • the functional components are dragged into the first interface to add at least one functional component to the first interface.
  • the third input includes an input to an icon on the desktop and a movement input to at least one functional component.
  • the function indicated by the at least one functional component is a function in the same application, and N is a positive integer.
  • the task realization device may first display N functional components.
  • the task realization device keeps displaying the N functional components and displays the first interface.
  • the task realization apparatus may display these sub-interfaces respectively in the form of thumbnails, and the user may At least one functional component is dragged to any one of these sub-interfaces.
  • the user can add a control 111 input to the components in the first interface 110, as shown in (b) in Figure 11, the task realization device can display a list of functional components Interface 112 , the functional component list interface may include functional components of functions in multiple applications. Then the user can select at least one of the above-mentioned functional components in the functional component list interface according to actual usage requirements. It can be understood that, in this example, the function indicated by the at least one functional component may be a function in one or more applications.
  • the functional components in the functional component list interface can be sorted in various ways such as initial letters of names, function types (such as video processing, music processing).
  • the third input is a user's touch input on at least one object in the first interface.
  • one object may be a functional component or a functional control.
  • the first interface includes a delete control
  • the user can trigger deletion of a functional component or functional control from the first interface by inputting component deletion.
  • the third input is a user's touch input on at least one object in the first interface.
  • the display parameter of the object may include at least one of a display position of the object, a display size of the object, and an arrangement structure of the object.
  • one object may be a functional component or a functional control.
  • the user can first press and hold the object to trigger the object to be in the parameter adjustment mode.
  • the task realization device may display a size adjustment frame around the object, and the user may input by dragging the size adjustment frame to trigger adjustment of the display parameters of the object. After the adjustment is completed, the user can click on a blank space of the first interface to trigger the task realization device to exit the parameter adjustment mode.
  • the display parameters of the object may include the arrangement structure of the object.
  • the arrangement structure of the object refers to the arrangement structure among the functional components in the functional control.
  • the user can adjust the arrangement structure of the multiple functional components into a triangular structure through the third input.
  • the third input is a user's touch input on the target functional component in the first interface.
  • the target functional component may be a functional component in the first interface, or a functional component in a functional control of the first interface.
  • the function parameter of the function may be determined according to the function.
  • the function parameter of the image processing function may be: brightness, contrast, grayscale, exposure etc.
  • the function parameters of the handwriting input function may include: line color, line width, etc.
  • the user can first press and hold the target functional component to trigger the display of the option menu of the target functional component.
  • the target functional component includes a parameter adjustment flag for adjusting the function parameter of the target functional component, and the user can trigger adjustment of the function parameter of the function indicated by the target functional component by inputting the parameter adjustment flag.
  • the parameter adjustment indicator may be a slide bar or a button, wherein the slide bar is used to adjust the parameter of the numerical range type, and the button is used to adjust the parameter of the switch type.
  • the third input is a user's touch input on the above two functional components in the first interface.
  • the user can first trigger the task realization device to display the option menu of any one of the at least two functional components , and then to the option menu, and then input through the connection panel in the option menu to trigger the task realization device to adjust the data transmission direction between the at least two functional components.
  • step 109 and step 110 are executed after step 106 as an example for illustration. In actual implementation, as long as the task realization device displays the first interface, step 109 and step 110 can be executed, for example Step 109 and step 110 may be performed before step 101 or step 106 .
  • the user can trigger the task realization device to add at least one functional component in the first interface, delete at least one object from the first interface, and adjust the display of at least one object in the first interface through the third input.
  • parameter adjust the functional parameters of the function indicated by the target functional component, or adjust the data transmission direction between two functional components, so the operational flexibility of realizing the task through the cooperative work of multiple functions can be further improved.
  • the task realization device may classify the functional components according to the type of function indicated by the functional components, and display different types of functional components in different areas of the first interface.
  • the first interface may be divided into multiple areas, each area includes a window, and each window is used to display a type of functional component.
  • the user can trigger the task realization device to switch the functional components by sliding input on the window.
  • functional component a is displayed in a window, and the user can slide to the left on the window to trigger the task realization device to display functional component b.
  • the types of functions indicated by functional component a and functional component b are the same.
  • the execution subject may be a task realization device, or a control module in the task realization device for executing the task realization method.
  • the task realization method provided by the task realization device is described as an example to illustrate the task realization device provided in the embodiment of the present application.
  • the embodiment of the present application provides a task realization apparatus 120
  • the task realization apparatus 120 may include: a receiving module 121 and an execution module 122 .
  • the receiving module 121 may be configured to receive a first input for the target control, and the target control may be used to trigger the execution of M functions according to the target execution sequence, where the M functions are functions in at least one application of the electronic device, and M is greater than An integer of 1;
  • the execution module 122 is configured to execute the M functions in response to the first input received by the receiving module 121 according to the target execution order; wherein, the input data of the first function includes the output data of the second function, and the first Both the function and the second function are functions among the M functions, and the execution order of the second function is before the execution order of the first function, and the data type of the input data is compatible with the data type of the output data.
  • the execution module 122 may specifically be configured to execute the M functions starting from the initial function among the M functions according to the target execution order and initial input data;
  • the initial input data is the input data of the initial function
  • the initial function is any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input, or a function with the first execution order.
  • the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
  • the first input is an input for moving the first data identifier in the at least one data identifier to the target control
  • the initial input data is the data indicated by the first data identifier, and the initial function is executed first, or is determined according to the data type of the initial input data.
  • the task realization device may further include a connection module; the receiving module 121 may also be configured to receive the M functional components in the first interface before receiving the first input for the target control.
  • the second input, each functional component indicates one of the M functions, and the second input is used to trigger setting the execution order of the M functions as the target execution order;
  • connection module configured to connect the M functional components through at least one connection component according to the target execution sequence in response to the second input received by the receiving module 121;
  • the target control is determined by the connected M functional components; each connecting component is connected with at least two functional components in the M functional components, and the connecting component is used to indicate the connection between the functions indicated by the at least two functional components. Data transfer direction.
  • the M functions include a third function and at least two fourth functions, and the output data of at least two fourth functions is the input data of the third function;
  • the device also includes a display module ;
  • the display module can be used to display the synchronization mark on the first connection component after the connection module connects the M functional components, and the first connection component is a connection to a functional component indicating a third function and at least two fourth functions components;
  • the synchronization identification is used for:
  • the trigger starts from the fifth function among the M functions to re-execute the M functions, and the execution sequence of the fifth function is before the execution sequence of the third function.
  • the receiving module 121 may also be configured to receive a third input
  • the executing module 122 may also be configured to execute a target operation corresponding to the third input in response to the third input received by the receiving module 121, and the target operation is any of the following:
  • Add at least one functional component in the first interface delete at least one object from the first interface, adjust the display parameters of at least one object in the first interface, adjust the functional parameters of the function indicated by the target functional component, and adjust two functional components
  • the target functional component may be a functional component in the first interface, or a functional component in the functional control of the first interface.
  • the task realization device when a certain task is required to be realized through the cooperation of multiple functions (such as the above-mentioned M functions), since the input of the target control can be used to trigger the electronic device to realize the task
  • the M functions are executed in an execution order (for example, the target execution order), so the task can be realized after the M functions are executed according to the target execution order.
  • the task realization method provided by the embodiment of the present application can simplify the operation process of realizing a task through the cooperative work of multiple functions.
  • the task realization device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the task realization device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the task realization apparatus 120 provided in the embodiment of the present application can realize each process realized by the task realization method in the method embodiments shown in FIG. 1 to FIG. 11 . To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored on the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above-mentioned task realization method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the user input unit 1007 can be used to receive the first input for the target control, and the target control can be used to trigger the execution of M functions according to the target execution sequence, and the M functions are functions in at least one application of the electronic device, M is an integer greater than 1;
  • the processor 1010 is configured to, in response to the first input received by the user input unit 1007, execute the M functions according to the target execution order; wherein, the input data of the first function includes the output of the second function
  • the data, the first function and the second function are all functions among the M functions, and the execution order of the second function is before the execution order of the first function.
  • the processor 1010 can specifically be configured to execute the M functions starting from the initial function among the M functions according to the target execution order and initial input data; wherein, the initial input data is The input data of the initial function, the initial function is any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input, or a function with the highest execution order.
  • the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
  • the first input is the input of moving the first data identifier in at least one data identifier to the target control; wherein, the initial input data is the data indicated by the first data identifier, and the initial function is the first in the execution order, or is based on the initial The data type of the input data is determined.
  • the user input unit 1007 may also be configured to receive a second input for M functional components in the first interface before receiving the first input for the target control, each functional component Indicating one of the M functions, the second input is used to trigger setting the execution order of the M functions as the target execution order; the processor 1010 may be configured to respond to the second input received by the user input unit 1007, according to The target execution sequence is to connect the M functional components through at least one connecting component; wherein, the target control is determined by the connected M functional components; each connecting component is connected to at least two functional components in the M functional components, The connection component is used to indicate the direction of data transmission between the functions indicated by at least two functional components.
  • the M functions include a third function and at least two fourth functions, and the output data of at least two fourth functions is the input data of the third function;
  • the device further includes a display unit 1006;
  • the display unit 1006 may be configured to display a synchronization mark on the first connection component after the processor 1010 connects the M functional components, and the first connection component is a function indicating a third function and at least two fourth functions Connected components for component connections;
  • the synchronization flag is used to: indicate that after at least two fourth functions are executed, execute the second function; and/or, trigger the re-execution of the M functions starting from the fifth function among the M functions, the fifth The execution order of the functions is smaller than the execution order of the third function.
  • the user input unit 1007 can also be used to receive a third input; the processor 1010 can also be used to respond to the third input received by the user input unit 1007, and perform
  • the target action for is any of the following:
  • Add at least one functional component in the first interface delete at least one object from the first interface, adjust the display parameters of at least one object in the first interface, adjust the functional parameters of the function indicated by the target functional component, and adjust two functional components
  • the target functional component may be a functional component in the first interface, or a functional component in the functional control of the first interface.
  • the task realization method can simplify the operation process of realizing a task through the cooperative work of multiple functions.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned task realization method embodiment can be achieved, and the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above-mentioned task realization method embodiments, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

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

Abstract

Disclosed in the present application are a task implementation method and apparatus, and an electronic device, relating to the technical field of communication. The method comprises: receiving a first input for a target control, the target control being used for triggering the execution of M functions according to a target execution order, the M functions being the functions in at least one application of an electronic device, and M being an integer greater than 1; and, in response to the first input, executing the M functions according to the target execution order; input data of a first function comprises output data of a second function, the first function and the second function both being functions amongst the M functions, and the execution order of the second function being before the execution order of the first function.

Description

任务实现方法、装置和电子设备Task realization method, device and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年05月21日在中国提交的中国专利申请号202110560134.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110560134.9 filed in China on May 21, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种任务实现方法、装置和电子设备。The present application belongs to the technical field of communications, and in particular relates to a task realization method, device and electronic equipment.
背景技术Background technique
目前,电子设备可以通过多个功能协同工作,以实现一些任务(以下称为协同任务)。Currently, electronic devices can work cooperatively through multiple functions to achieve some tasks (hereinafter referred to as cooperative tasks).
示例性地,当电子设备通过通讯应用接收到一张图像(以下称为图像1),用户可以先触发电子设备将图像1保存至图库,且通过图像处理应用打开图库中存储的图像1,以通过图像处理应用处理图像1,并保存处理后的图像1。然后用户可以触发电子设备通过通讯应用将处理后的图像1发送至好友。如此可以通过通讯应用的收发功能、图库的存储功能、图像处理应用的图像处理功能之间的协同工作,实现接收、处理,以及发送图像1的协同任务。For example, when the electronic device receives an image (hereinafter referred to as image 1) through a communication application, the user can first trigger the electronic device to save the image 1 to the gallery, and open the image 1 stored in the gallery through the image processing application, to Process image 1 with an image processing application, and save the processed image 1. Then the user can trigger the electronic device to send the processed image 1 to a friend through a communication application. In this way, the collaborative task of receiving, processing, and sending the image 1 can be realized through the cooperative work of the sending and receiving function of the communication application, the storage function of the gallery, and the image processing function of the image processing application.
然而,按照上述方法,由于在对不同功能输入之后,才能触发电子设备通过这些功能实现协同任务,因此导致通过多个功能协同工作以实现任务的操作过程较为繁琐。However, according to the above method, since the electronic device can be triggered to realize the cooperative task through these functions only after the input of different functions, the operation process of realizing the task through the cooperative work of multiple functions is relatively cumbersome.
发明内容Contents of the invention
本申请实施例的目的是提供一种任务实现方法、装置和电子设备,能够解决通过多个功能协同工作以实现任务的操作过程较为繁琐的问题。The purpose of the embodiment of the present application is to provide a task realization method, device and electronic equipment, which can solve the problem that the operation process of realizing the task through the cooperative work of multiple functions is relatively complicated.
第一方面,本申请实施例提供了一种任务实现方法,该方法包括:接收针对目标控件的第一输入,所述目标控件用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;响应于所述第一输入,按照所述目标执行次序,执行该M个功能;其中,第一功能的输入数据包括第二功能的输出数据,所述第一功能和所述第二功能均为该M个功能中的功能,且所述第二功能的执行次序在所述第一功能的执行次序之前。In the first aspect, the embodiment of the present application provides a task realization method, the method includes: receiving the first input for the target control, the target control is used to trigger the execution of M functions according to the target execution sequence, and the M functions is a function in at least one application of the electronic device, M is an integer greater than 1; in response to the first input, the M functions are executed according to the target execution order; wherein, the input data of the first function includes the second For output data of functions, both the first function and the second function are functions among the M functions, and the execution order of the second function is before the execution order of the first function.
第二方面,本申请实施例提供了一种任务实现装置,所述装置包括:接收模块和执行模块;所述接收模块,用于接收针对目标控件的第一输入,所述目标控件用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;所述执行模块,用于响应于所述接收模块接收的所述第一输入,按照所述目标执行次序,执行该M个功能;其中,第一功能的输入数据包括第二功能的输出数据,所述第一功能和所述第二功能均为该M个功能中的功能,且所述第二功能的执行次序在所述第一功能的执行次序之前。In the second aspect, the embodiment of the present application provides a task realization device, the device includes: a receiving module and an execution module; the receiving module is used to receive the first input for the target control, and the target control is used to trigger Execute M functions according to the target execution order, the M functions are functions in at least one application of the electronic device, and M is an integer greater than 1; the execution module is configured to respond to the first received by the receiving module One input, execute the M functions according to the target execution sequence; wherein, the input data of the first function includes the output data of the second function, and both the first function and the second function are among the M functions function, and the execution order of the second function is before the execution order of the first function.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
在本申请实施例中,可以接收针对目标控件的第一输入,目标控件用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;且响应于第一输入,按照目标执行次序,执行M个功能;其中,第一功能的输入数据为第二功能的输出数据,第一功能和第二功能均为该M个功能中的功能,且第二功能的执行次序在第一功能的执行次序之前。通过该方案,当需求通过多个功能(例如上述M个功能)协同的方式来实现某个任务时,由于可以通过目标控件的输入,触发电子设备按照能够实现该任务的执行顺序(例如目标执行次序)执行该M个功能,因此在按照目标执行次序执行该M个功能完成后,即可实现该任务。如此,相比于传统技术中需求对不同功能进行一系列输入的方案,本申请实施例提供的任务实现方法可以简化通过多个功能协同工作实现任务的操作过程。In the embodiment of the present application, the first input for the target control can be received, and the target control is used to trigger the execution of M functions according to the target execution order, the M functions are functions in at least one application of the electronic device, and M is greater than An integer of 1; and in response to the first input, execute M functions according to the target execution order; wherein, the input data of the first function is the output data of the second function, and both the first function and the second function are the M functions function, and the execution order of the second function is before the execution order of the first function. Through this solution, when a certain task needs to be realized through the cooperation of multiple functions (such as the above-mentioned M functions), since the input of the target control can be used, the electronic device can be triggered to perform the task according to the order of execution (such as target execution order) to execute the M functions, so the task can be realized after the M functions are executed according to the target execution order. In this way, compared with the solution in the traditional technology that requires a series of inputs to different functions, the task realization method provided by the embodiment of the present application can simplify the operation process of realizing a task through the cooperative work of multiple functions.
附图说明Description of drawings
图1为本申请实施例提供的任务实现方法的示意图;FIG. 1 is a schematic diagram of a task realization method provided by an embodiment of the present application;
图2为本申请实施例提供的任务实现方法中的M个功能的数据传输方向示意图之一;Fig. 2 is one of the schematic diagrams of the data transmission direction of the M functions in the task realization method provided by the embodiment of the present application;
图3为本申请实施例提供的任务实现方法中的M个功能的数据传输方向示意图之二;Fig. 3 is the second schematic diagram of the data transmission direction of M functions in the task realization method provided by the embodiment of the present application;
图4为本申请实施例提供的任务实现方法应用的界面示意图之一;FIG. 4 is one of the interface schematic diagrams of the application of the task realization method provided by the embodiment of the present application;
图5为本申请实施例提供的任务实现方法应用的界面示意图之二;Fig. 5 is the second schematic interface diagram of the application of the task realization method provided by the embodiment of the present application;
图6为本申请实施例提供的任务实现方法应用的界面示意图之三;FIG. 6 is the third schematic diagram of the interface of the application of the task realization method provided by the embodiment of the present application;
图7为本申请实施例提供的任务实现方法应用中的目标控件的示意图;FIG. 7 is a schematic diagram of the target control in the application of the task realization method provided by the embodiment of the present application;
图8为本申请实施例提供的任务实现方法应用的界面示意图之四;FIG. 8 is the fourth schematic diagram of the application interface of the task realization method application provided by the embodiment of the present application;
图9为本申请实施例提供的任务实现方法应用的界面示意图之五;Fig. 9 is the fifth schematic diagram of the application interface of the task realization method provided by the embodiment of the present application;
图10为本申请实施例提供的任务实现方法应用的界面示意图之六;Fig. 10 is the sixth schematic diagram of the application interface of the task realization method provided by the embodiment of the present application;
图11为本申请实施例提供的任务实现方法应用的界面示意图之七;Fig. 11 is the seventh schematic diagram of the interface of the application of the task realization method provided by the embodiment of the present application;
图12为本申请实施例中的任务实现装置的示意图;FIG. 12 is a schematic diagram of a task realization device in an embodiment of the present application;
图13为本申请实施例中的电子设备的示意图;FIG. 13 is a schematic diagram of an electronic device in an embodiment of the present application;
图14为本申请实施例提供的电子设备的硬件示意图。FIG. 14 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下 可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the data so used can be interchanged under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面首先对本申请的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。Firstly, some nouns or terms involved in the claims and description of the present application will be explained below.
脚本(Script):是使用一种特定的描述性语言(即脚本语言),依据一定的格式编写的可执行文件。脚本语言又被称为扩建的语言,或者动态语言,是一种编程语言,用来控制软件应用程序,脚本通常是以文本(ASCⅡ)保存,只是在被调用时进行解释或者编译。Script (Script): It is an executable file written in a certain format using a specific descriptive language (ie scripting language). Scripting language, also known as extended language, or dynamic language, is a programming language used to control software applications. Scripts are usually saved in text (ASCII), and only interpreted or compiled when called.
需要说明的是,当执行脚本时,计算机(例如本申请实施例中的任务实现装置)会执行一连串的操作。例如,任务实现装置可以通过执行一个脚本,将M个功能的执行次序设置为下述的目标执行次序,并生成用于触发按照目标执行次序,执行M个功能的目标控件。It should be noted that when the script is executed, the computer (such as the task realization device in the embodiment of the present application) will perform a series of operations. For example, the task realization apparatus may execute a script to set the execution order of the M functions as the following target execution order, and generate a target control for triggering the execution of the M functions according to the target execution order.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的任务实现方法、装置和电子设备进行详细地说明。The task realization method, device and electronic equipment provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
目前,在实现某些任务时,往往需要用到多个功能,例如,将一个功能的输出数据作为另一个功能的输入数据;从而当需求功能应用协同工作实现任务时,用户需求触发电子设备而在多个功能之间来回切换,如此导致通过多个功能协同工作以实现任务的操作过程十分复杂。At present, when implementing certain tasks, it is often necessary to use multiple functions, for example, the output data of one function is used as the input data of another function; thus, when the required function applications work together to achieve the task, the user needs to trigger the electronic device and Switching back and forth between multiple functions complicates the operation of multiple functions working together to accomplish a task.
进一步地,由于不同功能的处理结果(即输出数据)可能保存在不同的文件夹中,从而使得查找不同功能的处理结果的过程也十分繁琐。Further, since the processing results (ie output data) of different functions may be stored in different folders, the process of finding the processing results of different functions is also very cumbersome.
为了解决上述技术问题,本申请实施例提供的任务实现方法,拓展桌面设计概念如下:In order to solve the above-mentioned technical problems, the task implementation method provided by the embodiment of the present application expands the desktop design concept as follows:
1),控制应用中的一些功能(例如视频处理应用中的反色功能、翻转功能等)独立提供服务,例如,设置指示功能的功能组件。对一个功能提供期望的输入(如一张图像)之后,电子设备即可通过该功能处理该图像,并输出处理后的结果。1) Some functions in the control application (such as the color inversion function and flipping function in the video processing application) provide services independently, for example, set the functional components of the indication function. After a desired input (such as an image) is provided to a function, the electronic device can process the image through the function and output a processed result.
2),设置一类特殊的界面(例如下述的第一界面),第一界面中可以包括指示上述1)中的功能的功能组件。如此可以通过这些功能组件快速触发执行这些功能组件指示的功能。2) Set a special type of interface (such as the first interface described below), and the first interface may include functional components indicating the functions in the above 1). In this way, the functions indicated by these functional components can be quickly triggered to execute.
3),在上述2)中的组件界面中,如果一个功能组件指示的功能(以下称为功能1)的输出数据的数据类型被另一功能组件指示的功能(以下称为功能2)的输入数据的数据类型兼容,那么可以通过将该一个功能组件的输出端与该另一个功能组件的输入端连接,以实现将功能1与功能2连接。在功能1与功能2连接之后,电子设备可以直接将功能1的输出数据发送至功能2,并作为功能2的输入数据。如此可以通过依次功能1和功能2实现一些较为复杂的任务。3), in the component interface in the above 2), if the data type of the output data of the function indicated by one functional component (hereinafter referred to as function 1) is input by the function indicated by another functional component (hereinafter referred to as function 2) If the data types of the data are compatible, function 1 and function 2 can be connected by connecting the output terminal of one functional component with the input terminal of the other functional component. After the function 1 is connected with the function 2, the electronic device can directly send the output data of the function 1 to the function 2 as the input data of the function 2. In this way, some more complicated tasks can be realized through function 1 and function 2 in sequence.
需要要说明的是,本申请实施例中,用户可以通过对第一界面中的功能组件的输入,触发将两个或两个以上功能组件连接;或者,也可以通过运行用于指示将至少两个功能组件进行连接的脚本的方式,将该至少两个功能组件连接。具体可以根据实际使用需求确定,本申请实施例不作限定。It should be noted that, in this embodiment of the application, the user can trigger the connection of two or more functional components by inputting the functional components in the first interface; Connect at least two functional components by means of a script that connects two functional components. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
可选地,本申请实施例中,上述脚本可以为从服务器获取的,也可以为电子设备本地保存的,还可以为通过通讯应用接收到的,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the above-mentioned script may be obtained from a server, stored locally on the electronic device, or received through a communication application, which may be determined according to actual usage requirements. Not limited.
本申请实施例中,将组件界面中相连后多个功能组件的统称为功能控件(口语中也可以称为功能)。可以理解,每个功能控件指示两个或两个以上的功能。可以理解,用户可以通过对一个功能控件的输入,触发按照一定执行顺序(例如下述的目标执行次序),执行该功能控件指示的全部功能,且在执行完该功能控件指示的全部功能之后,可以实现一个经过这些功能协同实现的任务。如此,由于可以直接通过对指示能够协同完成一个协同任务的多个功能的功能控件输入,直接触发按照一定顺序执行这些功能,并在执行完这些功能之后,实现一个经过这些功能协同实现的个任务;而无需再依次对不同功能进行一个或多个输入,也无需查找各个功能的输出数据,因此可以简化通过过个功能协同以完成任务的操作过程。In the embodiment of the present application, a plurality of functional components connected in the component interface are collectively referred to as functional controls (also referred to as functions in colloquial terms). It can be understood that each function control indicates two or more functions. It can be understood that the user can trigger the execution of all the functions indicated by the functional control according to a certain execution order (such as the following target execution order) by inputting a function control, and after executing all the functions indicated by the function control, A task that can be realized through the cooperation of these functions can be realized. In this way, it is possible to directly trigger the execution of these functions in a certain order by directly inputting the function control indicating multiple functions that can cooperate to complete a coordinated task, and after executing these functions, a task realized through the coordination of these functions can be realized ; There is no need to perform one or more inputs to different functions in turn, and there is no need to search for the output data of each function, so the operation process of completing a task through cooperation of several functions can be simplified.
如图1所示,本申请实施例提供一种任务实现方法,该任务实现方法可以包括下述的步骤101和步骤102。下面以任务实现执行该任务实现方法为例进行示例性说明。As shown in FIG. 1 , this embodiment of the present application provides a task realization method, and the task realization method may include the following steps 101 and 102 . The following takes the implementation of the task as an example to illustrate the implementation method of the task.
步骤101、任务实现装置接收用户针对目标控件的第一输入。 Step 101, the task realization apparatus receives a user's first input on a target control.
其中,目标控件可以用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数。Wherein, the target control can be used to trigger the execution of M functions according to the target execution sequence, the M functions are functions in at least one application of the electronic device, and M is an integer greater than 1.
可以理解,上述M个功能可以为相同应用中的功能,也可以为不同应用中的功能,具体可以根据实际使用需求确定,本申请实施例不作限定。It can be understood that the above M functions may be functions in the same application, or functions in different applications, which may be determined according to actual usage requirements, and are not limited in this embodiment of the present application.
可选地,本申请实施例中,目标控件可以为用户触发任务实现装置设置的,也可以为任务实现装置基于下载或接收的脚本设置的。具体可以根据实际使用需求确定,本申请实施例不作限定。对于脚本的描述具体可以参见上述名词解释部分对脚本的相关描述,为了避免重复,此处不再赘述。Optionally, in this embodiment of the present application, the target control may be set by the user-triggered task realization device, or may be set by the task realization device based on downloaded or received scripts. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application. For the description of the script, please refer to the relevant description of the script in the above-mentioned part of the explanation of terms. In order to avoid repetition, details are not repeated here.
可选地,本申请实施例中,任务实现装置可以在第二界面显示至少一个功能控件,该至少一个功能控件中包括目标控件。Optionally, in this embodiment of the present application, the task realization device may display at least one functional control on the second interface, and the at least one functional control includes a target control.
可选地,本申请实施例中,第二界面可以为电子设备的桌面,也可以为下述的第一界面,第一界面为电子设备中用于设置功能控件的界面。Optionally, in this embodiment of the present application, the second interface may be the desktop of the electronic device, or may be the first interface described below, where the first interface is an interface for setting function controls in the electronic device.
本申请实施例中,第一界面也可以称为组件页面,两者含义相同,可以互换。In this embodiment of the present application, the first interface may also be called a component page, and the two have the same meaning and can be interchanged.
可选地,本申请实施例中,可以在第三界面上设置指示第一界面的第一标识,用户可以通过对第一标识的输入,例如在第一标识上点击,触发任务实现装置显示第一界面。Optionally, in this embodiment of the present application, a first logo indicating the first interface may be set on the third interface, and the user may input the first logo, for example, click on the first logo, to trigger the task realization device to display the second logo. an interface.
可选地,本申请实施例中,第三界面可以为通知栏界面或状态栏界面(也可以称为应用抽屉)。Optionally, in this embodiment of the present application, the third interface may be a notification bar interface or a status bar interface (also called an application drawer).
可选地,本申请实施例中,第一输入可以为用户对第二界面中的目标控件的输入,或者,第一输入为通过应用获取数据的输入,例如,第一输入可以为从图库中选择图像的输入。Optionally, in this embodiment of the present application, the first input may be the user's input to the target control in the second interface, or the first input may be the input of obtaining data through the application, for example, the first input may be the Select the input of the image.
可选地,本申请实施例中,第一输入可以为触控输入、对实体按键的输入、面部识别输入、指纹输入、隔空手势输入等任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the first input can be any possible input such as touch input, input to physical keys, facial recognition input, fingerprint input, air gesture input, etc., which can be determined according to actual use requirements, The embodiment of this application is not limited.
可以理解,本申请实施例中,用户可以在第一界面、桌面或应用界面中触发任务实现装置执行下述的步骤102。It can be understood that, in this embodiment of the present application, the user may trigger the task realization device to execute the following step 102 on the first interface, the desktop or the application interface.
步骤102、任务实现装置响应于第一输入,按照目标执行次序,执行M个功能。 Step 102, the task realizing device executes M functions according to the target execution order in response to the first input.
其中,第一功能的输入数据为第二功能的输出数据,第一功能和第二功能为M个功能中执行次序不同的功能,且第二功能的执行次序在第一功能的执行次序之前。第一功能的输入数据的数据类型可以兼容第一功能的输出数据的数据类型,即将一个功能的输出数据作为另一个功能的输入数据的前提是:该另一个功能的输入数据的数据类型可以兼容该一个功能的输出数据的数据类型。Wherein, the input data of the first function is the output data of the second function, the first function and the second function are functions with different execution orders among the M functions, and the execution order of the second function is before the execution order of the first function. The data type of the input data of the first function can be compatible with the data type of the output data of the first function, that is, the premise of using the output data of one function as the input data of another function is that the data type of the input data of the other function can be compatible The data type of the output data for this one function.
例如,假设一个功能的输出数据的类型为类型1,另一个功能的输入数据的类型包括类型1、类型2和类型3,那么,该一个功能的输出数据可以作为该另一个功能的输入数据,即该另一个功能的输出数据的数据类型兼容该一个功能的输入数据的数据类型。For example, assuming that the type of output data of one function is type 1, and the types of input data of another function include type 1, type 2 and type 3, then the output data of this one function can be used as the input data of the other function, That is, the data type of the output data of the other function is compatible with the data type of the input data of the one function.
可选地,本申请实施例中,功能的输入数据和输出数据的数据类型可以包括以下至少一项:应用数据类(i)、应用行为类(ii)、用户输入类(iii),或用户可自定义数据类型(iiii)等任意可能的数据类型。Optionally, in this embodiment of the application, the data types of the input data and output data of the function may include at least one of the following: application data type (i), application behavior type (ii), user input type (iii), or user Any possible data type such as data type (iii) can be customized.
下面分别对上述的i、ii、iii和iiii进行详细描述。The above i, ii, iii and iiii will be described in detail below respectively.
i,应用数据类的数据可以包括以下至少一项:文本、图像、视频、音频、应用信息(例如应用名称)。i. The data of the application data category may include at least one of the following: text, image, video, audio, and application information (such as application name).
ii,应用行为类的数据可以包括调用应用的行为、调节应用参数的行为、分享应用数据的行为等任意可能的应用行为。ii. The data of the application behavior category may include any possible application behavior such as the behavior of invoking the application, the behavior of adjusting the application parameters, and the behavior of sharing the application data.
iii,用户输入类的数据包括以下至少一项:用户输入的输入形式、用户输入的输入对象。iii. The data of the user input category includes at least one of the following: an input form input by the user, and an input object input by the user.
可选地,本申请实施例中,用户输入的输入形式可以为接触形式或非接触形式,接触形式包括单击、双击、多次点击、滑动、拖动、重按,或长按等任意可能的接触形式。非接触形式包括生物特性信息识别(例如指纹识别、虹膜识别)或隔空手势等。Optionally, in this embodiment of the application, the input form of the user input can be a contact form or a non-contact form, and the contact form includes any possibility such as single click, double click, multiple clicks, slide, drag, heavy press, or long press. form of contact. Non-contact forms include biometric information recognition (such as fingerprint recognition, iris recognition) or air gestures.
可选地,本申请实施例中,若用户输入的输入形式为接触形式,那么该用户输入可以为对物理按键、虚拟控件、虚拟标识、或界面等的输入,具体可以根据实际使用需求确定。Optionally, in this embodiment of the application, if the input form of the user input is a contact form, then the user input may be an input to a physical button, a virtual control, a virtual sign, or an interface, etc., which may be determined according to actual usage requirements.
iiii,用户可定义的数据类型指,可向用户提供某种形式,使用户可自定义的数据形式,并使用这些自定义的数据形式用于输入和输出。用户可定义的数据类型可以为用来表示某一类数据的模板,如用户喜欢某类音乐,这些音乐可以拆解出若干不同形式的特征(即不同的成员),如文本(歌词、名等)、图像(封面)、音频(音色、旋律等)。用户可定义的数据类型也可以作为一个数据,该数据通过传递一个概念来实现某类操作。iii. User-definable data types refer to certain forms that can be provided to users to enable users to customize data forms, and use these customized data forms for input and output. The user-definable data type can be a template used to represent a certain type of data. For example, the user likes a certain type of music. These music can be disassembled into several different forms of features (that is, different members), such as text (lyrics, names, etc. ), image (cover), audio (timbre, melody, etc.). A user-definable data type can also be used as a data that implements a certain type of operation by conveying a concept.
本申请实施例中,可以将数据类型为用户可定义的数据类型的数据作为功能的输入数据和/或输出数据。In this embodiment of the present application, data whose data type is a user-definable data type may be used as input data and/or output data of a function.
示例性地,以用户可定义的数据类型为A类音乐,那么任务实现装置可以通过适配器组件对A类音乐中的成员进行过滤、合并和拆解。从而,当用户需求A类音乐进行某些处理时,通过将适配器组件与其他基础功能的组件连接,以实现协同任务。For example, if the user-definable data type is Class A music, then the task realization device can filter, merge and disassemble the members of Class A music through the adapter component. Therefore, when the user needs to perform some processing on Class A music, the cooperative task can be realized by connecting the adapter component with other basic function components.
本申请实施例中,任务实现装置执行M个功能时,按照该M个功能的执行次序,执行该M个功能。In the embodiment of the present application, when the task realization device executes M functions, the M functions are executed according to the execution sequence of the M functions.
可选地,本申请实施例中,第一功能可以包括M个功能中的至少一个功能,第二功能也可以包括M个功能中的至少一个功能。Optionally, in this embodiment of the present application, the first function may include at least one function among the M functions, and the second function may also include at least one function among the M functions.
可选地,本申请实施例中,可以将第二功能中的一个功能的输出数据作为第一功能中的一个或多个功能的输入数据;也可以将第二功能中的多个功能的输出数据作为第一功能中的一个功能的输入数据。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the output data of one of the second functions may be used as the input data of one or more functions of the first function; the output data of multiple functions of the second function may also be data as input data for one of the first functions. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
示例性地,如图2所示,假设图2中的箭头指示功能的输出数据的传输方向,那么:如图2中的(a)所示,第二功能20包括功能A,第一功能21包括功能B和功能C,且功能A的输出数据为功能B和功能C的输入数据,即将第二功能中的一个功能的输出数据作为第一功能中的多个功能的输入数据。或者,如图2中的(b)所示,第二功能22包括功能D和功能E,第一功能23包括功能F,且功能D和功能E的输出数据均为功能F的输入数据,即将第二功能中的多个功能的输出数据作为第一功能中的一个功能的输入数据。Exemplarily, as shown in FIG. 2 , assuming that the arrow in FIG. 2 indicates the direction of transmission of the output data of the function, then: as shown in (a) in FIG. 2 , the second function 20 includes function A, and the first function 21 It includes function B and function C, and the output data of function A is the input data of function B and function C, that is, the output data of one function in the second function is used as the input data of multiple functions in the first function. Or, as shown in (b) in Fig. 2, the second function 22 includes function D and function E, the first function 23 includes function F, and the output data of function D and function E are the input data of function F, namely Output data of a plurality of the second functions serves as input data of one of the first functions.
可选地,本申请实施例中,第一功能中的至少一个功能的执行次序可以相同,也可以不同。第二功能中的至少一个功能的执行次序可以相同,也可以不同,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the execution sequence of at least one of the first functions may be the same or different. The execution sequence of at least one of the second functions may be the same or different, and may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
示例性地,假设M个功能包括功能3个功能,这3个功能按照执行次序排列为:功能A、功能B和功能C;如图3所示,功能A的输出数据可以为功能B的输入数据,且功能A的输出数据和功能B的输出数据均为功能C的输入数据。从图3中可以看出,虽然功能A和功能B的执行次序不同,但功能A的输出数据和功能B的输出数据可以同时作为功能C的输入数据。即本申请实施例中,在先执行的功能的输出数据,可以作为在后执行的功能的输入数据。Exemplarily, it is assumed that M functions include 3 functions, and these 3 functions are arranged in order of execution: function A, function B and function C; as shown in Figure 3, the output data of function A can be the input of function B data, and the output data of function A and the output data of function B are both the input data of function C. It can be seen from FIG. 3 that although the execution order of function A and function B is different, the output data of function A and the output data of function B can be used as the input data of function C at the same time. That is, in the embodiment of the present application, the output data of the function executed earlier may be used as the input data of the function executed later.
需要说明的是,本申请实施例中,任务实现装置按照目标执行次序,执行M个功能之后,可以实现需求该M个功能协同工作才能实现的任务(以下称为任务1)。也就是说,按照目标执行次序,执行M个功能的过程,即为控制该M个功能协同工作以完成任务1的过程。It should be noted that, in the embodiment of the present application, after executing M functions according to the target execution order, the task realizing device can realize the task that can only be realized by the cooperation of the M functions (hereinafter referred to as task 1). That is to say, the process of executing the M functions according to the target execution order is the process of controlling the M functions to work together to complete the task 1 .
可选地,本申请实施例中,实际实现中,任务实现装置可以按照目标执行次序,执行M个功能中的至少部分功能;也就是说,任务实现装置无需从M个功能中执行次序第一的功能开始执行。例如,假设M个功能包括4个功能,这4个功能的执行顺序(即目标执行顺序)为:功能1→功能2和功能3(即功能2和功能3的执行次序相同)→功能4;那么,任务实现装置按照目标执行顺序,执行功能1、功能2和功能3、功能4;也可以按照目标执行顺序,执行功能2和功能3、功能4;还可以按照目标执行顺序,执行功能4。Optionally, in the embodiment of the present application, in actual implementation, the task realization device may execute at least some of the M functions in accordance with the target execution sequence; function starts executing. For example, assuming that M functions include 4 functions, the execution order of these 4 functions (i.e. the target execution order) is: function 1 → function 2 and function 3 (i.e. the execution order of function 2 and function 3 is the same) → function 4; Then, the task realization device executes function 1, function 2, function 3, and function 4 according to the target execution sequence; it can also execute function 2, function 3, and function 4 according to the target execution sequence; it can also execute function 4 according to the target execution sequence. .
本申请实施例提供的任务实现方法中,当需求通过多个功能(例如上述M个功能)协同的方式来实现某个任务时,由于可以通过对指示该M个功能的目标控件的输入,即可触发电子设备按照能够实现该任务的执行顺序(例如目标执行次序)执行该M个功能,因此在按照目标执行次序执行该M个功能完成后,即可实现该任务。如此,相 比于传统技术中需求对不同功能进行一系列输入的方案,由于本申请实施例提供的任务实现方法通过一个输入,即可触发通过多个功能协完成任务,因此可以简化通过多个功能协同工作,以实现任务的操作过程。In the task realization method provided by the embodiment of the present application, when it is required to realize a certain task through the cooperation of multiple functions (such as the above-mentioned M functions), since the input to the target control indicating the M functions can be used, that is, The electronic device can be triggered to execute the M functions in an execution sequence capable of realizing the task (for example, a target execution sequence), so the task can be realized after the execution of the M functions in the target execution order is completed. In this way, compared to the scheme in the traditional technology that requires a series of inputs to different functions, since the task realization method provided by the embodiment of the present application can trigger multiple functions to complete the task through a single input, it can simplify the task through multiple functions. Functions work together to realize the operational process of a task.
可选地,本申请实施例中,对于一个包括多个输入数据的功能,需要等待所有输入数据均到达后再执行该功能。Optionally, in this embodiment of the present application, for a function including multiple input data, it is necessary to wait for all the input data to arrive before executing the function.
可选地,本申请实施例中,若功能1输出多个输出数据(如在连续拍摄了多张照片),且该多个输出数据分别与功能2的输出数据一起作为功能3的输入数据,那么,该多个输出数据可以形成一个输入队列,分别与该另一个功能的输出数据作为第三个功能的输入数据。其中,功能1、功能2和功能3为上述M个功能中的不同功能。Optionally, in this embodiment of the application, if function 1 outputs multiple output data (such as taking multiple photos continuously), and the multiple output data are respectively used as the input data of function 3 together with the output data of function 2, Then, the plurality of output data can form an input queue, and the output data of the other function can be used as the input data of the third function. Wherein, function 1, function 2 and function 3 are different functions among the above M functions.
可选地,本申请实施例中,当一个功能有输入数据待处理时,将在指示该功能的功能组件上显示一个提示标识(例如为数字)以告知用户当前路径上等待的输入数量。用户可单击该提示打开输入详情浮动窗口,在该窗口中,用户可查看到输入的摘要信息(例如为缩略图),单击摘要信息可查看输入详情及数据(例如为图像)。用户可以通过输入,触发调整队列中的输入数据的排列顺序或删除这些输入数据中的部分输入数据。对于功能组件的描述具体可以参见上述实施例中对功能组件的相关描述,为了避免重复,此处不再赘述。Optionally, in this embodiment of the present application, when a function has input data to be processed, a prompt mark (such as a number) will be displayed on the functional component indicating the function to inform the user of the number of inputs waiting on the current path. The user can click the prompt to open the input details floating window. In this window, the user can view the input summary information (such as a thumbnail), and click the summary information to view the input details and data (such as an image). The user can trigger to adjust the arrangement order of the input data in the queue or delete some of the input data by inputting. For the description of the functional components, refer to the relevant description of the functional components in the foregoing embodiments, and to avoid repetition, details are not repeated here.
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102a实现。Optionally, in the embodiment of the present application, the foregoing step 102 may specifically be implemented through the following step 102a.
步骤102a、任务实现装置按照目标执行次序和初始输入数据,从M个功能中的初始功能开始,执行M个功能。Step 102a, the task realization device executes M functions starting from the initial function among the M functions according to the target execution order and the initial input data.
其中,上述初始输入数据可以为初始功能的输入数据,该初始功能可以为以下(1)至(4)中任一项:Wherein, the above-mentioned initial input data can be the input data of the initial function, and the initial function can be any one of the following (1) to (4):
(1),预设的功能;(2),根据初始输入数据的数据类型确定的功能;(3),根据用户输入确定的功能;(4),执行次序第一的功能。(1), the preset function; (2), the function determined according to the data type of the initial input data; (3), the function determined according to the user input; (4), the function with the first execution order.
本申请实施例中,初始功能为任务实现装置接收到第一输入之后,最先执行的功能。In the embodiment of the present application, the initial function is the first function executed after the task realization device receives the first input.
可选地,本申请实施例中,初始功能的数量可以一个,也可以为多个。Optionally, in this embodiment of the present application, the number of initial functions may be one or multiple.
本申请实施例中,任务实现装置接收到第一输入之后,可以执行M个功能中的初始功能,和执行次序在初始功能的执行次序之后的功能,且不执行执行次序在初始功能的执行次序之前的功能。In the embodiment of the present application, after the task realization device receives the first input, it can execute the initial function among the M functions, and the function whose execution sequence is after the execution sequence of the initial function, and does not execute the execution sequence after the execution sequence of the initial function previous function.
可选地,本申请实施例中,任务实现装置可以先确定初始功能,再基于确定的初始功能获取初始输入数据,例如上述的(1)、(3)和(4)。或者,可以先获取初始输入数据,然后再基于初始输入参数确定初始功能,例如上述的(2)。Optionally, in this embodiment of the present application, the task realization device may first determine an initial function, and then obtain initial input data based on the determined initial function, such as the above-mentioned (1), (3) and (4). Alternatively, the initial input data can be obtained first, and then the initial function can be determined based on the initial input parameters, such as (2) above.
可选地,本申请实施例中,在上述(1)、(3)和(4)中,第一输入为用户对第二界面中的目标控件的输入;在上述(2)中,第一输入为通过应用获取数据的输入。Optionally, in the embodiment of the present application, in the above (1), (3) and (4), the first input is the user's input to the target control in the second interface; in the above (2), the first Input is the input to get data through the application.
下面分别对上述(1)、(2)和(3)进行详细描述。The above (1), (2) and (3) will be described in detail below respectively.
(1),初始功能为M个功能中预设的功能。(1), the initial function is a preset function among the M functions.
可选地,本申请实施例中,用户执行第一输入之前,可以先通过输入触发任务实现装置设置初始功能。Optionally, in this embodiment of the present application, before the user performs the first input, the initial function of setting the device may be implemented by triggering a task through input.
(2),初始功能为M个功能中根据初始输入数据的数据类型确定的功能。(2), the initial function is a function determined according to the data type of the initial input data among the M functions.
本申请实施例中,任务实现装置可以将目标控件与应用中的获取应用数据的操作进行绑定。例如当用户在应用中触发选择文本或图片等数据时,任务实现装置可以显示浮动菜单,该浮动菜单中包括多个功能控件,且该多个功能控件指示的功能中包括输入数据类型能够兼容该数据的数据类型的功能(以下称为功能X),当用户选中该多个功能控件中的目标控件时,任务实现装置可以将该数据发送至目标控件,并按照目标执行次序,执行目标控件指示的功能。In the embodiment of the present application, the task realization device may bind the target control to the operation of acquiring application data in the application. For example, when the user triggers to select data such as text or pictures in the application, the task realization device can display a floating menu, which includes multiple functional controls, and the functions indicated by the multiple functional controls include input data types compatible with the The function of the data type of the data (hereinafter referred to as function X), when the user selects the target control among the multiple functional controls, the task realization device can send the data to the target control, and execute the target control instruction according to the target execution order function.
可以理解,任务实现装置还可以将目标控件与截屏、录音、视频、游戏等操作绑定,以在接收到这些操作之后,自动执行上述M个功能中的至少部分功能。It can be understood that the task realization device can also bind the target control with operations such as screen capture, recording, video, and games, so as to automatically execute at least some of the above M functions after receiving these operations.
可选地,本申请实施例中,初始功能可以为按照目标执行次序排列的M个功能中,输出数据的数据类型兼容初始输入数据的第一个功能。当然,也可以为按照目标执行次序排列的M个功能中,输出数据的数据类型兼容初始输入数据的第一个功能。具体可以根据绑定需求确定。Optionally, in this embodiment of the present application, the initial function may be the first function in which the data type of the output data is compatible with the initial input data among the M functions arranged in the order of target execution. Of course, among the M functions arranged in the order of target execution, the data type of the output data may be compatible with the first function of the initial input data. The details can be determined according to the binding requirements.
(3),初始功能为M个功能中根据用户输入确定的功能。(3), the initial function is a function determined according to user input among the M functions.
可选地,本申请实施例中,在上述步骤102a之前,本申请实施例提供的任务实现方法还可以包括下述的步骤103和步骤104。Optionally, in the embodiment of the present application, before the above step 102a, the task realization method provided in the embodiment of the present application may further include the following steps 103 and 104.
步骤103、任务实现装置响应于第一输入,显示至少两个第一选项。 Step 103, the task realization apparatus displays at least two first options in response to the first input.
其中,第一选项指示M个功能中相同执行次序的全部功能。Wherein, the first option indicates all functions of the same execution order among the M functions.
步骤104、任务实现装置接收对至少两个第一选项中的目标选项的第四输入。Step 104, the task realization device receives a fourth input of the target option in the at least two first options.
可选地,本申请实施例中,第四输入可以为对目标选项的触控输入,例如第四输入为用户在目标选项上的点击、长按,或重按输入。Optionally, in this embodiment of the present application, the fourth input may be a touch input on the target option, for example, the fourth input is the user's click, long press, or heavy press input on the target option.
步骤105、任务实现装置响应于第四输入,确定初始功能为目标选项指示的功能。In step 105, the task realizing device determines that the initial function is the function indicated by the target option in response to the fourth input.
本申请实施例中,由于任务实现装置可以按照目标执行次序和初始输入数据,从M个功能中的初始功能开始执行M个功能,且初始功能为预设的功能、根据初始输入数据的数据类型确定的功能、根据用户输入确定的功能,或执行次序第一的功能,因此可以在简化通过多个功能协同工作实现任务的操作过程的基础上,提高实现任务的灵活性。In the embodiment of the present application, since the task realization device can execute M functions from the initial function among the M functions according to the target execution order and initial input data, and the initial function is a preset function, according to the data type of the initial input data A certain function, a function determined according to user input, or a function with the first execution order can improve the flexibility of realizing the task on the basis of simplifying the operation process of realizing the task through the cooperative work of multiple functions.
可选地,本申请实施例中,在目标控件显示在第一界面上,且第一界面中还包括至少一个数据标识,每个数据标识指示至少一个数据的情况下;上述第一输入可以为将该至少一个数据标识中的第一数据标识移动至目标控件上的输入;其中,初始输入数据为第一数据标识指示的数据,初始功能为M个功能中根据初始输入数据的数据类型确定的功能,或者为执行次序第一的功能。Optionally, in this embodiment of the application, when the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data; the above-mentioned first input may be Move the first data identifier in the at least one data identifier to the input on the target control; wherein, the initial input data is the data indicated by the first data identifier, and the initial function is determined according to the data type of the initial input data among the M functions function, or the function with the first execution order.
需要说明的是,实际实现中,第一界面上还可以包括N个功能组件,每个功能组件一个功能,用户还可以将数据标识移动到N个功能组件中的一个功能组件上,以触发任务实现装置通过该功能组件指示的功能对该数据标识指示的数据进行处理。其中,该N个功能组件指示的N个功能中可以包括上述M个功能中的功能,也可以不包括上述M个功能中的功能。It should be noted that in actual implementation, the first interface may also include N functional components, each of which has a function, and the user may also move the data identifier to one of the N functional components to trigger the task The implementing device processes the data indicated by the data identifier through the function indicated by the functional component. Wherein, the N functions indicated by the N functional components may include functions in the above M functions, or may not include functions in the above M functions.
例如,假设第一界面包括至少一个界面,那么用户可以将该至少一个界面中的一个或多个数据标识拖动到该至少一个界面中指示发送功能的功能组件上,以触发任务实现装置发送这些数据。For example, assuming that the first interface includes at least one interface, the user can drag one or more data identifiers in the at least one interface to the functional component indicating the sending function in the at least one interface, so as to trigger the task realization device to send these data.
可选地,本申请实施例中,任务实现装置可以将功能的输出数据的数据标识显示第一界面中与指示该功能的功能组件或功能控件相邻的位置,例如,显示在功能组件或功能控件的输出端。若一个功能输出多个数据,则可以将这些数据的数据标识显示在一个文件夹中。Optionally, in this embodiment of the application, the task realization device may display the data identification of the output data of the function at a position adjacent to the functional component or functional control indicating the function in the first interface, for example, displaying the output data of the function The output terminal of the control. If a function outputs multiple data, the data identifiers of these data can be displayed in a folder.
可选地,本申请实施例中,上述至少一个数据标识指示的数据的数据类型可以为应用数据类、应用行为类、用户输入类,以及用户可自定义的数据类型等任意可能的数据类型。Optionally, in this embodiment of the present application, the data type indicated by the at least one data identifier may be any possible data type such as application data type, application behavior type, user input type, and user-definable data type.
可选地,本申请实施例中,在上述(2)中,如图4所示,第一界面40中包括目标控件41,目标控件用于触发执行功能1——功能2和功能3——功能4,即按照目标执行次序,执行M个功能;目标控件41可以包括一个输入区域42,第一输入具体可以为用户将第一数据标识43移动至该输入区域42上的输入,从而任务实现装置可以响应于第一输入,按照目标执行次序和第一数据标识指示的数据,从M个功能中,输入数据类型包括第一数据标识指示的数据的数据类型的功能开始,执行该M个功能。Optionally, in the embodiment of the present application, in the above (2), as shown in FIG. 4 , the first interface 40 includes a target control 41, and the target control is used to trigger the execution of function 1 - function 2 and function 3 - Function 4, that is, execute M functions according to the target execution order; the target control 41 may include an input area 42, and the first input may specifically be an input for the user to move the first data mark 43 to the input area 42, so that the task is realized The device may respond to the first input, according to the target execution order and the data indicated by the first data identifier, from the M functions, the input data type includes the data type of the data indicated by the first data identifier, and execute the M functions. .
可以理解,本申请实施例中,上述至少一个数据标识为电子设备中的数据的快捷入口。It can be understood that, in the embodiment of the present application, the above at least one data identifier is a shortcut entry of data in the electronic device.
可选地,本申请实施例中,可以将第一界面上的多个数据标识归类至一个数据文件夹中,用户可以在文件夹上点击,以触发任务实现装置显示该文件夹的展开界面,并在该展开界面上显示该多个数据标识。Optionally, in this embodiment of the present application, multiple data identifiers on the first interface can be classified into one data folder, and the user can click on the folder to trigger the task realization device to display the expanded interface of the folder , and display the multiple data identifiers on the expanded interface.
可选地,本申请实施例中,上述至少一个数据标识指示的数据可以存储在与第一界面对应的一个存储空间(以下称为目标存储空间),当然,也可以存储在电子设备中除目标存储空间外的任意存储空间,例如存储在应用对应的存储内。具体可以根据实际使用需求确定,本申请实施例作限定。Optionally, in the embodiment of the present application, the data indicated by the above at least one data identifier can be stored in a storage space corresponding to the first interface (hereinafter referred to as the target storage space), and of course, it can also be stored in the electronic device except for the target Any storage space other than the storage space, such as stored in the storage corresponding to the application. Specifically, it can be determined according to actual usage requirements, and is limited in the embodiments of this application.
可选地,本申请实施例中,用户可以通过输入触发将桌面或应用中的数据发送至目标存储空间中,并在第一界面上显示该数据的数据标识。Optionally, in this embodiment of the present application, the user may trigger sending the data in the desktop or the application to the target storage space through an input, and display the data identifier of the data on the first interface.
示例性地,如图5中的(a)所示,当用户从应用(以下称为应用1)的界面50中选择了一个数据时,任务实现装置可以显示“发送至组件界面(即第一界面)”的选项,当用户选择发送至组件页面时,若应用1支持将其中的数据发送至第一界面,则任务实现装置可以将这些数据发送至目标存储空间内;若应用1不支持将其中的数据发送至第一界面,则用户可以复制或剪切已选择的数据,并将其粘贴在目标存储空间中。任务实现装置在目标存储空间中保存选择的数据之后,如图5中的(b)所示,可以在第一界面51上显示这些数据的数据标识52。Exemplarily, as shown in (a) in FIG. 5, when the user selects a piece of data from the interface 50 of the application (hereinafter referred to as application 1), the task realization device may display "send to the component interface (that is, the first interface)", when the user chooses to send to the component page, if application 1 supports sending the data therein to the first interface, then the task realization device can send these data to the target storage space; if application 1 does not support sending The data therein is sent to the first interface, and the user can copy or cut the selected data and paste it in the target storage space. After the task realization device saves the selected data in the target storage space, as shown in (b) in FIG. 5 , it may display the data identifiers 52 of these data on the first interface 51 .
可以理解,当用户通过对应用界面输入,触发任务实现装置通过该应用界面所在的应用获取数据,如下载文件、拍照等时,用户也可以触发任务实现装置将这些数据存储至目标存储空间。It can be understood that when the user inputs to the application interface to trigger the task realization device to obtain data through the application where the application interface is located, such as downloading files, taking pictures, etc., the user can also trigger the task realization device to store these data in the target storage space.
又示例性地,如图5中的(b)所示,第一界面上可以包括一个数据添加控件53,用户可以通过对该数据添加控件53的输入,触发任务实现装置在目标存储空间中添加数据,并在第一界面上显示已添加数据的数据标识。Also illustratively, as shown in (b) in FIG. 5 , a data adding control 53 may be included on the first interface, and the user may input the data adding control 53 to trigger the task realization device to add data in the target storage space. data, and display the data identifier of the added data on the first interface.
可选地,本申请实施例中,任务实现装置可以在第一界面上的空置区域显示最新创建的数据标识,若第一界面上空置区域,则可以新建一个界面,然后再显示最新创 建的数据标识。Optionally, in the embodiment of the present application, the task realization device may display the newly created data identifier in the vacant area on the first interface, if there is an vacant area on the first interface, a new interface may be created, and then the newly created data may be displayed logo.
可选地,本申请实施例中,任务实现装置按照目标执行次序执行M个功能的过程中,可以缓存每个功能的输出数据,例如,将每个功能的输出数据缓存预设时长。Optionally, in this embodiment of the present application, during the execution of the M functions by the task realization device according to the target execution order, the output data of each function may be cached, for example, the output data of each function may be cached for a preset duration.
本申请实施例中,由于可以在第一界面设置数据的数据标识,因此用户可以直接在第一界面上选择满足其需求的数据,而无需再手动进入文件夹中进行选择数据,因此可以进一步简化操作过程。In the embodiment of this application, since the data identification of the data can be set on the first interface, the user can directly select the data that meets his needs on the first interface, without having to manually enter the folder to select the data, so it can be further simplified. operation process.
可选地,本申请实施例中,初始输入功能的输入数据的数据类型不同,任务实现装置获取初始输入数据的方法也可能不同。Optionally, in this embodiment of the present application, the data type of the input data of the initial input function is different, and the method for the task realization device to obtain the initial input data may also be different.
下面分别以初始输入功能的输入数据的数据类型为上述的i(即应用数据类)、ii(即应用行为类)和iii(即用户输入类)为例,对任务实现装置获取初始输入数据的方法进行详细描述。Taking the data types of the input data of the initial input function as the above-mentioned i (i.e. the application data type), ii (i.e. the application behavior type) and iii (i.e. the user input type) as examples respectively, the task implementation device obtains the initial input data The method is described in detail.
可选地,本申请实施例中,在上述i中,即初始输入功能的输入数据的数据类型为应用数据类,任务实现装置接收到针对目标控件的第一输入之后,可以先显示包括应用数据的数据标识的界面,用户可以通过对数据标识的选择输入,触发任务实现装置获取该选择输入对应的应用数据。Optionally, in the embodiment of the present application, in the above i, that is, the data type of the input data of the initial input function is the application data type, after the task realization device receives the first input for the target control, it may first display the In the interface of the data identification, the user may select and input the data identification to trigger the task realization device to obtain the application data corresponding to the selection input.
可选地,本申请实施例中,在上述ii中,即初始输入功能的输入数据的数据类型为应用行为类,任务实现装置接收到针对目标控件的第一输入之后,若一个应用的应用行为的监听权限为允许监听,那么任务实现装置可以监听该应用的应用行为,并将监听到的应用行为作为初始功能的输入数据;若一个应用的应用行为的权限为不允许监听,那么任务实现装置可以先提示用户将该应用的应用行为的监听权限设置为允许监听,然后再获取该应用的应用行为。Optionally, in the embodiment of the present application, in the above ii, that is, the data type of the input data of the initial input function is the application behavior class, after the task implementation device receives the first input for the target control, if the application behavior of an application If the monitoring authority of an application is permission monitoring, then the task implementation device can monitor the application behavior of the application, and use the monitored application behavior as the input data of the initial function; if the application behavior permission of an application is permission monitoring, then the task realization device The user may be prompted first to set the monitoring permission of the application behavior of the application to allow monitoring, and then obtain the application behavior of the application.
可选地,本申请实施例中,在上述iii中,即初始输入功能的输入数据(即初始输入数据)的数据类型为用户输入类,且初始输入数据通过用户在一个界面(以下称为目标界面)上的第一目标输入获取,则任务实现装置接收到第一输入之后,可以先显示目标界面,当接收到用户在目标界面上的第一目标输入时,任务实现装置可以获取到初始输入数据,并按照初始输入数据执行初始功能。Optionally, in the embodiment of the present application, in the above iii, the data type of the input data of the initial input function (that is, the initial input data) is the user input type, and the initial input data is passed by the user in an interface (hereinafter referred to as the target interface) to acquire the first target input, after the task realization device receives the first input, it can display the target interface first, and when receiving the first target input from the user on the target interface, the task realization device can obtain the initial input data, and perform the initial function according to the initial input data.
示例性地,假设初始功能为拍照功能,那么如图6中的(a)所示,用户在目标控件60上点击之后,任务实现装置可以运行相机应用,如图6中的(b)所示任务实现装置可以显示拍摄预览界面61(即目标界面);当任务实现装置可接收到用户在拍摄预览界面上的拍摄控件62上点击输入(即第一目标输入)时,任务实现装置可以控制拍照功能拍照,并输出拍摄的图像。Exemplarily, assuming that the initial function is a camera function, as shown in (a) in Figure 6, after the user clicks on the target control 60, the task realization device can run the camera application, as shown in (b) in Figure 6 The task realizing device can display shooting preview interface 61 (being target interface); The function takes a picture and outputs the captured image.
又示例性地,假设初始功能为手写输入功能(或电子签名功能),那么用户在目标控件上点击之后,任务实现装置可以显示手写输入界面(即目标界面),该手写输入界面包括撤销控件、确认控件和手写区域;当任务实现装置接收到用户在手写区域的手写输入和对确认控件的点击输入(即第一目标输入)时,任务实现装置可以根据手写输入的输入参数,生成手写标识,手写标识可以为图案、字符等。For another example, assuming that the initial function is a handwriting input function (or an electronic signature function), after the user clicks on the target control, the task realization device can display a handwriting input interface (ie, the target interface), which includes an undo control, Confirm the control and the handwriting area; when the task realization device receives the user's handwriting input in the handwriting area and the click input (i.e. the first target input) to the confirmation control, the task realization device can generate a handwriting mark according to the input parameters of the handwriting input, The handwritten mark can be a pattern, a character, or the like.
进一步地,假设初始功能包括手写字功能和通讯应用的接收功能,且手写输入功能的输出数据和该接收功能的输出数据均为批量签字功能的输入数据,那么任务实现装置可以将手写字功能输出的手写标识和接收功能接收的多个文档发送至签字功能, 由签字功能分别将该手写标识签名至该多个PDF中的每个文档。Further, assuming that the initial function includes the handwriting function and the receiving function of the communication application, and the output data of the handwriting input function and the output data of the receiving function are both input data of the batch signature function, then the task realization device can output the handwriting function The multiple documents received by the handwritten identification and receiving function are sent to the signature function, and the signature function signs the handwritten identification to each document in the multiple PDFs respectively.
再示例性地,假设初始功能为录音功能,那么用户在目标控件上点击之后,任务实现装置可以显示录音界面,该录音界面包括开始录音控件、暂停录音控件和结束录音控件,当任务实现装置接收到用户对开始录音控件的点击输入时,任务实现装置可以控制录音功能开始录音,并输出录制的音频数据。As another example, assuming that the initial function is a recording function, after the user clicks on the target control, the task realization device can display a recording interface, which includes a start recording control, a pause recording control, and an end recording control. When the task realization device receives When the user clicks on the recording start control, the task realization device can control the recording function to start recording, and output the recorded audio data.
本申请实施例中,由于可以通过多种方式获取初始输入数据,因此可以进一步提高操作灵活性,提高人机交互性能。In the embodiment of the present application, since the initial input data can be acquired in various ways, the operational flexibility can be further improved, and the human-computer interaction performance can be improved.
可选地,本申请实施例中,在上述步骤101之前,本申请实施例提供的任务实现方法还可以包括下述的步骤106和步骤107。Optionally, in the embodiment of the present application, before the above step 101, the task realization method provided in the embodiment of the present application may further include the following steps 106 and 107.
步骤106、任务实现装置接收用户针对第一界面中的M个功能组件的第二输入。Step 106, the task realization device receives the user's second input on the M functional components in the first interface.
步骤107、任务实现装置响应于第二输入,按照目标执行次序,通过至少一个连接组件连接M个功能组件。Step 107 , the task realizing device responds to the second input and connects the M functional components through at least one connection component according to the target execution sequence.
其中,每个功能组件指示上述M个功能中的一个功能,第二输入可以用于触发将M个功能的执行次序设置为目标执行次序。目标控件由连接后的M个功能组件确定。Wherein, each functional component indicates one of the above M functions, and the second input can be used to trigger setting the execution order of the M functions as the target execution order. The target control is determined by the connected M functional components.
可选地,本申请实施例中,目标控件可以以第一形式显示,或者以第二形式显示,具体的,如图7中的(a)为以第一形式显示的目标控件的示意图,可以看出,以第一形式显示的目标控件为连接后的M个功能组件的缩略图或简化图;或者,如图7中的(b)为以第二形式显示的目标控件的示意图,可以看出,以第二形式显示的目标控件包括M个功能组件和用于连接该M个组件的连接组件,即包括处于连接状态的M个功能组件。Optionally, in this embodiment of the present application, the target control may be displayed in the first form or in the second form. Specifically, (a) in FIG. 7 is a schematic diagram of the target control displayed in the first form, which may be It can be seen that the target control displayed in the first form is a thumbnail or a simplified diagram of the connected M functional components; or, as shown in Figure 7 (b) is a schematic diagram of the target control displayed in the second form, you can see It can be seen that the target control displayed in the second form includes M functional components and connection components used to connect the M components, that is, includes M functional components in a connected state.
可以理解,本申请实施例中,当目标控件为连接后的M个功能组件的缩略图时,用户可以在图7中的(a)所示的,以第一形式显示的目标控件上输入(与上述第一输入不同),以触发任务实现装置显示图7中的(b)所示的,以第二形式显示的目标控件。It can be understood that in the embodiment of the present application, when the target control is the thumbnails of the connected M functional components, the user can input ( Different from the above-mentioned first input), to trigger the task realization device to display the target control shown in (b) in FIG. 7 and displayed in the second form.
可以理解,本申请实施例中,目标执行次序为任意能够满足用户实际使用需求的执行次序。It can be understood that, in the embodiment of the present application, the target execution order is any execution order that can meet the user's actual use requirements.
可选地,本申请实施例中,每个功能组件均包括数据输入端口和数据输出端口,该数据输入端口和该数据输出端口可以处于显示状态,也可以处于隐藏状态。Optionally, in this embodiment of the present application, each functional component includes a data input port and a data output port, and the data input port and the data output port may be in a display state or in a hidden state.
例如,当一个功能组件的数据输入端口和数据输出端口处于显示状态时,功能组件的数据输入端口和数据输出端口可以以虚线框或示警符号(例如图2中的“x”)表示。For example, when the data input port and the data output port of a functional component are in the displayed state, the data input port and the data output port of the functional component may be represented by a dotted line box or a warning symbol (such as "x" in FIG. 2 ).
可选地,本申请实施例中,假设上述至少两个连接组件为两个连接组件,任务实现装置通过一个连接组件连接该两个功能组件,具体可以为通过该连接组件将一个功能组件的数据输出端口与另一个功能组件的数据输入端口连接;以指示将该一个功能组件指示的功能的输出数据作为该另一个功能组件指示的功能的输入数据。Optionally, in this embodiment of the application, it is assumed that the above-mentioned at least two connection components are two connection components, and the task realization device connects the two functional components through a connection component, specifically, the data of a function component may be transferred through the connection component The output port is connected to the data input port of another functional component; to indicate that the output data of the function indicated by the one functional component is used as the input data of the function indicated by the other functional component.
可以理解,实际实现中,每个功能组件的数据输入端口可以与至少一个功能组件的数据输出端口连接;每个功能组件的数据输出端口数据可以与至少一个功能组件的数据输入端口连接。It can be understood that, in actual implementation, the data input port of each functional component can be connected to the data output port of at least one functional component; the data output port of each functional component can be connected to the data input port of at least one functional component.
可以理解,本申请实施例中,上述至少两个功能组件指示的功能中包括至少两个 执行次序不同的功能。It can be understood that in the embodiment of the present application, the functions indicated by the above at least two functional components include at least two functions with different execution orders.
可选地,本申请实施例中,连接组件可以为管道组件(例如图3中的管道组件30)、分流组件(例如图3中的分流组件31)或汇聚组件(例如图4中的汇聚组件44),其中,管道组件可以连接两个功能组件;分流组件和汇聚组件可以连接至少三个功能组件,分流组件用于将一个功能的输出数据作为多个功能的输入数据,汇聚组件用于将多个功能的输出数据作为一个功能组件的输入数据。Optionally, in the embodiment of the present application, the connection assembly can be a pipeline assembly (such as the pipeline assembly 30 in FIG. 3 ), a flow distribution assembly (such as the flow distribution assembly 31 in FIG. 44), wherein, the pipeline component can connect two functional components; the diversion component and the convergence component can connect at least three functional components, the diversion component is used to use the output data of one function as the input data of multiple functions, and the convergence component is used to combine The output data of multiple functions serves as the input data of a functional component.
可选地,本申请实施例中,第二输入可以为任意可以为M个功能设置执行次序的输入。Optionally, in this embodiment of the present application, the second input may be any input that can set an execution order for the M functions.
具体的,第二输入可以为用户对M个功能组件的移动输入(第一种实现方式)、用户对M个功能组件的选项菜单的输入(第二种实现方式),或对至少一个连接组件的输入(第三种实现方式)。Specifically, the second input may be the user's mobile input to the M functional components (the first implementation), the user's input to the option menu of the M functional components (the second implementation), or at least one connection component input (the third implementation).
下面以M=2为例,分别对上述三种实现方式进行详细说明。Taking M=2 as an example below, the above three implementation manners will be described in detail respectively.
第一种实现方式:第二输入为用户对M个功能控件的移动输入。The first implementation manner: the second input is the user's movement input to the M functional controls.
示例性地,如图8中的(a)所示,第一界面上包括功能组件1和功能组件2,功能组件1指示功能g1,功能组件2指示功能g2用户可以长按功能组件1,并将功能组件1向功能组件2拖动;如图8中的(b)所示,当功能组件1与功能组件2部分重合时,若功能g1的输入数据的数据类型兼容功能g2的输出数据的数据类型,则表示可以将功能组件2的输出数据作为功能组件1指示的功能的输入数据,从而如图8中的(c)所示,当功能组件1被放下,即是指离开屏幕时,任务实现装置可以将功能组件1的数据输入端口与功能组件2的数据输出端口连接;若功能g1的输入数据的数据类型不兼容功能g2的输出数据的数据类型,则表示不能将功能组件2的输出数据作为功能组件1指示的功能的输入数据,从而当功能组件1被放下,即用户手指离开屏幕时,任务实现装置不连接功能组件1与功能组件2,并输出无法连接的提示信息。可以理解,本示例中,第二输入为将功能组件1拖动到功能组件2上的输入。Exemplarily, as shown in (a) in FIG. 8 , the first interface includes a functional component 1 and a functional component 2, the functional component 1 indicates the function g1, and the functional component 2 indicates the function g2. The user can long press the functional component 1, and Drag the functional component 1 to the functional component 2; as shown in (b) in Figure 8, when the functional component 1 and the functional component 2 partially overlap, if the data type of the input data of the function g1 is compatible with the output data of the function g2 data type, it means that the output data of functional component 2 can be used as the input data of the function indicated by functional component 1, so as shown in (c) in Figure 8, when functional component 1 is put down, that is, when it leaves the screen, The task realization device can connect the data input port of function component 1 to the data output port of function component 2; if the data type of the input data of function g1 is not compatible with the data type of the output data of function g2, it means that the The output data is used as the input data of the function indicated by the functional component 1, so that when the functional component 1 is put down, that is, when the user’s finger leaves the screen, the task realization device does not connect the functional component 1 and the functional component 2, and outputs a prompt message that the connection cannot be made. It can be understood that, in this example, the second input is an input for dragging the functional component 1 onto the functional component 2 .
可选地,本申请实施例中,若能够将功能组件2的输出数据作为功能组件1指示的功能的输入数据,则可以显示一个连接标识(如图8中的(b)所示的连接标识81),以提示用户功能组件2的数据输出端口可以与功能2的数据输入端口连接。否则,可以输出提示信息,以提示用户功能组件2的数据输出端口无法与功能2的数据输入端口连接。Optionally, in the embodiment of the present application, if the output data of the functional component 2 can be used as the input data of the function indicated by the functional component 1, a connection identification (such as the connection identification shown in (b) in FIG. 8 ) can be displayed. 81), to prompt the user that the data output port of function component 2 can be connected with the data input port of function 2. Otherwise, a prompt message may be output to remind the user that the data output port of the function component 2 cannot be connected with the data input port of the function 2.
可选地,本申请实施例中,在拖动功能组件1的过程中,任务实现装置可以在第一界面上显示一个位置提示标识(如图8中的(b)中所示的位置提示标识82),该位置提示标识82用于提示松开功能组件1时,功能组件1的显示区域。可以理解,该显示区域根据功能组件1的尺寸和功能组件1当前所处的位置确定,具体的,该显示区域为第一界面中距离功能组件1当前所处位置最近、且尺寸大于或等于功能组件的的尺寸的空置区域。Optionally, in the embodiment of the present application, during the process of dragging the functional component 1, the task realization device may display a position prompt mark on the first interface (such as the position prompt mark shown in (b) in FIG. 8 82), the position prompt mark 82 is used to prompt the display area of the functional component 1 when the functional component 1 is released. It can be understood that the display area is determined according to the size of the functional component 1 and the current location of the functional component 1. Specifically, the display area is the closest to the current location of the functional component 1 in the first interface, and its size is greater than or equal to the function Empty space for the size of the component.
可选地,本申请实施例中,若显示有连接标识,则任务实现装置可以先在功能组件2的右侧且与功能组件2相邻的区域显示功能组件1,然后再将功能组件1的数据输入端口与功能组件2的数据输出端口连接。若未显示连接标识,则任务实现装置可以拖动功能组件1之前功能组件1的显示区域显示功能组件1,即保持功能组件1的 显示区域不变。Optionally, in the embodiment of the present application, if the connection logo is displayed, the task realization device may first display the functional component 1 on the right side of the functional component 2 and in the area adjacent to the functional component 2, and then display the functional component 1 The data input port is connected with the data output port of the functional component 2 . If the connection logo is not displayed, the task realization device can drag the display area of the functional component 1 before the functional component 1 to display the functional component 1, that is, keep the display area of the functional component 1 unchanged.
第二种实现方式:第二输入为用户对M个功能组件的选项菜单的输入。The second implementation manner: the second input is the user's input to the option menu of the M functional components.
又示例性地,如图9中的(a)所示,第一界面90上包括功能组件1和功能组件2,功能组件1指示功能g1,用户可以长按功能组件1,如图9中的(b)所示,任务实现装置可以显示功能组件1的选项菜单91,该选项菜单91包括连接面板92,该连接面板92中包括4个连接键(即图9中的(b)所示的4个黑色三角形),然后用户可以在任意一个连接键上点击,以触发将第一界面中位于该连接键指示的方向上的第一个功能组件与功能组件1连接;例如,如图9中的(b)所示,如果用户点击指向功能组件2的连接键,那么如图9中的(c)所示,任务实现装置可以通过连接组件将功能组件1的数据输入端口与位于功能组件1左侧的功能组件2的数据输出端口连接。Also exemplary, as shown in (a) in FIG. 9 , the first interface 90 includes a functional component 1 and a functional component 2, the functional component 1 indicates the function g1, and the user can long press the functional component 1, as shown in FIG. As shown in (b), the task realization device can display the option menu 91 of the functional component 1, and the option menu 91 includes a connection panel 92, which includes 4 connection keys (i.e. shown in (b) in FIG. 9 ). 4 black triangles), and then the user can click on any connection key to trigger the connection of the first functional component located in the direction indicated by the connection key in the first interface with functional component 1; for example, as shown in Figure 9 As shown in (b), if the user clicks the connection key pointing to the functional component 2, then as shown in (c) in Figure 9, the task realization device can connect the data input port of the functional component 1 with the data input port located in the functional component 1 through the connection component The data output port of the functional component 2 on the left is connected.
可选地,本申请实施例中,任务实现装置可以预先设置连接方式,例如,预先设置将连接键所属的功能组件的数据输入端口与连接键指示的方向上的第一个功能组件的数据输出端口连接;这样,用户对一个连接键输入之后,任务实现装置可以按照预先设置的连接方式,连接该连接键所属的功能组件和通过该连接键选中的功能组件。或者,当用户对一个连接键输入之后,任务实现装置可以显示一个选择框,该选择框中包括第三选项和第四选项,第三选项为“与选中功能组件的数据输入端口连接”,第四选项为“与选中功能组件的数据输出端口连接”的选项,从而用户可以通过对第三选项或第四选项输入,触发任务实现装置按照用户选择的连接方式,连接该连接键所属的功能组件和通过该连接键选中的功能组件。又或者,当用户对一个连接键输入之后,任务实现装置可以根据该连接键所属的功能组件和通过该连接键选中的功能组件之间的数据兼容性,自动确定连接方式。Optionally, in this embodiment of the application, the task realization device can preset the connection mode, for example, preset the data input port of the functional component to which the connection key belongs and the data output port of the first functional component in the direction indicated by the connection key port connection; in this way, after the user inputs a connection key, the task realization device can connect the functional component to which the connection key belongs to the functional component selected through the connection key according to the preset connection mode. Or, after the user inputs a connection key, the task realization device can display a selection box, which includes a third option and a fourth option, the third option being "connect with the data input port of the selected functional component", and the third option being "connected to the data input port of the selected functional component". The fourth option is the option of "connecting to the data output port of the selected functional component", so that the user can input the third option or the fourth option to trigger the task realization device to connect the functional component to which the connection key belongs according to the connection mode selected by the user and the functional component selected by this connection key. Alternatively, after the user inputs a connection key, the task realization device may automatically determine the connection mode according to the data compatibility between the functional component to which the connection key belongs and the functional component selected through the connection key.
第三种实现方式,第二输入为用户对至少一个连接组件的输入。In a third implementation manner, the second input is a user's input to at least one connection component.
可选地,本申请实施例中,第一界面中还可以包括连接组件,用户可以拖动一个连接组件的两端,分别将连接组件的两端分别与不同的功能组件连接。Optionally, in the embodiment of the present application, the first interface may further include connection components, and the user may drag both ends of a connection component to connect the two ends of the connection component to different functional components.
例如,用户可以将一个连接组件的一端与一个功能组件的数据输入端口连接,并将该连接组件的另一端与另一个功能组件的数据输出端口连接。For example, a user may connect one end of a connection component to a data input port of a functional component, and connect the other end of the connection component to a data output port of another functional component.
可选地,本申请实施例中,连接组件可以为带箭头的标识,箭头方向表示与该连接组件连接的功能组件之间的数据传输方向。Optionally, in the embodiment of the present application, the connection component may be marked with an arrow, and the direction of the arrow indicates a data transmission direction between functional components connected to the connection component.
本申请实施例中,在上述三种实现方式中,在满足数据兼容性的前提下,一个功能组件的数据输入端口才能与另一个功能组件的数据输出端口连接。In the embodiment of the present application, in the above three implementation manners, the data input port of one functional component can be connected to the data output port of another functional component only on the premise of satisfying data compatibility.
可以理解,本申请实施例中,上述示例中是以任务实现装置连接两个功能组件为例进行示意的,对于任务实现装置连接M个功能组件的描述具体可以参见任务实现装置连接两个功能组件的相关描述。It can be understood that in the embodiments of the present application, the above example is illustrated by connecting two functional components with a task realization device as an example. For the description of connecting M functional components with a task realization device, please refer to Connecting Two Functional Components with a Task Realization Device related descriptions.
可选地,本申请实施例中,在连接M个功能组件之后,若调整该M个功能组件中的至少一个功能组件的显示位置,任务实现装置可以保持该M个功能组件之间的连接不变,即不会断开功能组件和连接组件之间的连接。Optionally, in this embodiment of the present application, after the M functional components are connected, if the display position of at least one of the M functional components is adjusted, the task realization device may keep the connection between the M functional components unchanged. change, i.e. without breaking the connection between functional components and connection components.
本申请实施例中,由于目标执行次序为用户通过第二输入触发任务实现装置为M个功能设置的,因此可以确保任务实现装置按照目标执行次序执行M个功能之后实现的任务能够满足用户实际需求。In the embodiment of the present application, since the target execution order is set by the user through the second input to trigger the task realization device for M functions, it can be ensured that the tasks realized after the task realization device executes M functions according to the target execution order can meet the actual needs of the user .
进一步地,由于用户可以通过输入触发任务实现装置设置功能的执行次序,因此可以提高通过多个功能实现任务的灵活性。Further, since the user can trigger the execution sequence of the task implementation device setting functions by inputting, the flexibility of implementing tasks through multiple functions can be improved.
可选地,本申请实施例中,若上述M个功能中包括第三功能和至少两个第四功能,且该至少两个第四功能的输出数据为第三功能的输入数据,那么在上述步骤107之后,本申请实施例提供的任务实现方法还可以包括下述的步骤108。Optionally, in this embodiment of the present application, if the above M functions include a third function and at least two fourth functions, and the output data of the at least two fourth functions is the input data of the third function, then in the above After step 107, the task realization method provided by the embodiment of the present application may further include the following step 108.
步骤108、任务实现装置在第一连接组件上显示同步标识。Step 108, the task realization apparatus displays a synchronization mark on the first connection component.
其中,第一连接组件为与指示第三功能和至少两个第四功能的功能组件连接的连接组件。同步标识(例如图3中的虚线所示的同步标识32)可以用于:a,指示在执行至少两个第四功能完成后,执行第三功能,即同步执行进度;和/或,b,同步标识可以用于触发从M个功能中的第五功能开始,重新执行M个功能,即回退执行进度,第五功能的执行次序小于第三功能的执行次序。Wherein, the first connection component is a connection component connected to a functional component indicating a third function and at least two fourth functions. The synchronous identification (such as the synchronous identification 32 shown in the dotted line in Figure 3) can be used for: a, indicating that after at least two fourth functions are performed, the third function is executed, that is, the progress of synchronous execution; and/or, b, The synchronization flag can be used to trigger re-execution of M functions starting from the fifth function among the M functions, that is, to roll back the execution progress, and the execution order of the fifth function is smaller than that of the third function.
可以理解,本申请实施例中,第三功能可以为第一功能中的功能,至少两个第四功能可以为第二功能中的功能。It can be understood that, in this embodiment of the present application, the third function may be a function of the first function, and at least two fourth functions may be functions of the second function.
可选地,本申请实施例中,第一连接组件可以为一个连接组件,也可以为多个连接组件。例如,假设至少两个第四功能的数量为2个,那么第一连接组件可以为两个管道组件;或者,第一连接组件可以为1个分流组件。Optionally, in this embodiment of the present application, the first connection component may be one connection component, or may be multiple connection components. For example, assuming that the number of at least two fourth functions is 2, then the first connection component may be two pipeline components; or, the first connection component may be one flow distribution component.
可选地,本申请实施例中,在上述a中,同步组件用于对功能组件进行分隔和同步。例如,如图3所示,任务实现装置在确定功能A的输出数据和功能B的输出数据均到达功能C之后,任务实现装置可以执行功能C;否则,不执行功能C。Optionally, in the embodiment of the present application, in the above a, the synchronization component is used to separate and synchronize the functional components. For example, as shown in FIG. 3 , after the task realization device determines that both the output data of function A and the output data of function B reach function C, the task realization device can execute function C; otherwise, function C will not be executed.
可选地,本申请实施例中,任务实现装置还可对同步组件进行配置,对同步组件的配置包括:执行至少两个第四功能完成后,自动执行第三功能;或,执行至少两个第四功能完成后,且在接收到用户触发继续执行的输入之后,执行第三功能。当将同步标识配置为在执行至少两个第四功能完成后,且在接收到用户触发继续执行的输入之后,执行第三功能,那么在执行至少两个第四功能完成后,任务实现装置可以显示一个浮动按键以供用户操作。Optionally, in the embodiment of the present application, the task realization device can also configure the synchronization component, and the configuration of the synchronization component includes: after executing at least two fourth functions, automatically executing the third function; or, executing at least two fourth functions. After the fourth function is completed, and after receiving an input from the user to trigger continuation of execution, the third function is executed. When the synchronization flag is configured to execute the third function after the execution of at least two fourth functions is completed, and after receiving an input from the user to trigger the continuation of execution, then after the execution of at least two fourth functions is completed, the task realization device can Displays a floating button for user action.
可选地,本申请实施例中,在上述b中,任务实现装置可以缓存M个功能中的每个功能的输入数据,从而当用户对同步组件输入,触发第五功能开始,重新执行M个功能时,任务实现装置可以直接根据缓存的第五数据的输入数据,重新执行第五功能,并按照目标执行次序,执行M个功能中执行次序在第五功能之后的功能。Optionally, in the embodiment of the present application, in the above b, the task realization device may cache the input data of each of the M functions, so that when the user inputs to the synchronization component, the fifth function is triggered to start, and the M functions are re-executed. When functioning, the task implementing device may re-execute the fifth function directly according to the buffered input data of the fifth data, and execute the functions whose execution order is after the fifth function among the M functions according to the target execution order.
本申请实施例中,当一个功能的输入数据为多个功能的输出数据时,由于任务实现装置可以在该一个功能的功能组件和该多个功能的功能组件之间的连接组件上显示同步组件,且该同步组件可以用于同步执行进度和/或回退执行进度,因此可以在简化通过多个功能协同工作实现任务的操作过程的基础上,进一步提高操作准确性和灵活性。In the embodiment of the present application, when the input data of one function is the output data of multiple functions, since the task realization device can display the synchronous component on the connection component between the functional component of the one function and the functional components of the multiple functions , and the synchronization component can be used to synchronize the execution progress and/or roll back the execution progress, so the operation accuracy and flexibility can be further improved on the basis of simplifying the operation process of realizing the task through the cooperative work of multiple functions.
可选地,本申请实施例中,在上述步骤106之后,本申请实施例提供的任务实现方法还可以包括下述的步骤109和步骤110。Optionally, in the embodiment of the present application, after the above step 106, the task realization method provided in the embodiment of the present application may further include the following steps 109 and 110.
步骤109、任务实现装置接收用户的第三输入。Step 109, the task realization device receives a third input from the user.
对第一界面的描述具体可以参见上述实施例中对第一界面的相关描述,为了避免重复,此处不再赘述。For the description of the first interface, please refer to the relevant description of the first interface in the foregoing embodiments, and to avoid repetition, details are not repeated here.
步骤110、任务实现装置响应于第三输入,执行与第三输入对应的目标操作。In step 110, the task realizing device executes a target operation corresponding to the third input in response to the third input.
其中,目标操作可以为以下(一)、(二)、(三)、(四)和(五)中任意一项:Among them, the target operation can be any one of the following (1), (2), (3), (4) and (5):
(一),在第一界面中添加至少一个功能组件。(1), adding at least one functional component in the first interface.
可选地,本申请实施例中,用户可以通过对桌面中的图标输入,触发在第一界面添加至少一个功能组件;或者,2,用户可以通过对第一界面中的组件添加控件输入,触发添加在第一界面添加至少一个功能组件。Optionally, in this embodiment of the application, the user can trigger the addition of at least one functional component on the first interface by inputting an icon on the desktop; Add at least one functional component on the first interface.
示例性地,如图10中的(a)所示,用户可以在桌面100的一个应用图标101的左侧区域点击,如图10中的(b)所示,任务实现装置可以显示N个功能组件102和第一界面103,该N个功能组件102为该应用图标101指示的应用中的至少部分功能的功能组件;用户可以根据其实际使用需求,将该N个功能组件102中的至少一个功能组件拖动至第一界面中,以实现将至少一个功能组件添加至第一界面中。可以看出,第三输入包括对桌面中的图标的输入和对至少一个功能组件的移动输入。可以理解,本示例中,该至少一个功能组件指示的功能为同一应用中的功能,N为正整数。Exemplarily, as shown in (a) in Figure 10, the user can click on the left area of an application icon 101 on the desktop 100, as shown in (b) in Figure 10, the task realization device can display N functions component 102 and a first interface 103, the N functional components 102 are functional components of at least part of the functions in the application indicated by the application icon 101; the user can select at least one of the N functional components 102 according to his actual use needs The functional components are dragged into the first interface to add at least one functional component to the first interface. It can be seen that the third input includes an input to an icon on the desktop and a movement input to at least one functional component. It can be understood that in this example, the function indicated by the at least one functional component is a function in the same application, and N is a positive integer.
可选地,本申请实施例中,用户在桌面的一个应用图标的左侧区域点击之后,任务实现装置可以先显示N个功能组件,当用户在该N个功能组件中的任一功能组件上长按之后,任务实现装置在保持显示该N个功能组件,并显示第一界面。Optionally, in this embodiment of the application, after the user clicks on the left area of an application icon on the desktop, the task realization device may first display N functional components. When the user clicks on any functional component of the N functional components After the long press, the task realization device keeps displaying the N functional components and displays the first interface.
可选地,本示例中,如图10中的(b)所示,当第一界面(例如桌面)包括多个子界面时,任务实现装置可以以缩略图形式分别显示这些子界面,用户可以将至少一个功能组件拖动至这些子界面中的任意一个界面。Optionally, in this example, as shown in (b) in FIG. 10 , when the first interface (for example, the desktop) includes multiple sub-interfaces, the task realization apparatus may display these sub-interfaces respectively in the form of thumbnails, and the user may At least one functional component is dragged to any one of these sub-interfaces.
又示例性地,如图11中的(a)所示,用户可以对第一界面110中的组件添加控件111输入,如图11中的(b)所示,任务实现装置可以显示功能组件列表界面112,该功能组件列表界面中可以包括多个应用中的功能的功能组件。然后用户可以根据实际使用需求,在该功能组件列表界面中选择上述至少一个功能组件。可以理解,本示例中,该至少一个功能组件指示的功能可以为一个或多个应用中的功能。Also exemplary, as shown in (a) in Figure 11, the user can add a control 111 input to the components in the first interface 110, as shown in (b) in Figure 11, the task realization device can display a list of functional components Interface 112 , the functional component list interface may include functional components of functions in multiple applications. Then the user can select at least one of the above-mentioned functional components in the functional component list interface according to actual usage requirements. It can be understood that, in this example, the function indicated by the at least one functional component may be a function in one or more applications.
可选地,本申请实施例中,功能组件列表界面中的功能组件可以按照名称首字母、功能类型(例如视频处理类、音乐处理类)等多种方式排序。Optionally, in the embodiment of the present application, the functional components in the functional component list interface can be sorted in various ways such as initial letters of names, function types (such as video processing, music processing).
(二),从第一界面中删除至少一个对象。(2) Delete at least one object from the first interface.
可选地,本申请实施例中,第三输入为用户对第一界面中的至少一个对象的触控输入。Optionally, in this embodiment of the present application, the third input is a user's touch input on at least one object in the first interface.
可选地,本申请实施例中,对于至少一个对象中的每个对象,一个对象可以为一个功能组件或一个功能控件。Optionally, in this embodiment of the present application, for each object in at least one object, one object may be a functional component or a functional control.
可选地,本申请实施例中,第一界面中包括删除控件,用户可以通过对组件删除输入,触发从第一界面中删除功能组件或功能控件。Optionally, in this embodiment of the present application, the first interface includes a delete control, and the user can trigger deletion of a functional component or functional control from the first interface by inputting component deletion.
(三),调整第一界面中的至少一个对象的显示参数。(3) Adjusting a display parameter of at least one object in the first interface.
可选地,本申请实施例中,第三输入为用户对第一界面中的至少一个对象的触控输入。Optionally, in this embodiment of the present application, the third input is a user's touch input on at least one object in the first interface.
可选地,本申请实施例中,对象的显示参数可以包括对象的显示位置、对象的显示尺寸和对象的排布结构中的至少一项。Optionally, in this embodiment of the present application, the display parameter of the object may include at least one of a display position of the object, a display size of the object, and an arrangement structure of the object.
可选地,本申请实施例中,对于至少一个对象中的每个对象,一个对象可以为一个功能组件或一个功能控件。Optionally, in this embodiment of the present application, for each object in at least one object, one object may be a functional component or a functional control.
可选地,本申请实施例中,若用户需求调整一个对象的显示参数,那么用户可以先在该对象上长按,以触发该对象处于参数调节模式。具体的,任务实现装置可以在该对象周围显示尺寸调节框,用户可以通过拖动尺寸调节框的处输入,触发调节该对象的显示参数。在调节完成后,用户可以在第一界面的空白处单击,以触发任务实现装置退出参数调节模式。Optionally, in this embodiment of the present application, if the user needs to adjust the display parameters of an object, the user can first press and hold the object to trigger the object to be in the parameter adjustment mode. Specifically, the task realization device may display a size adjustment frame around the object, and the user may input by dragging the size adjustment frame to trigger adjustment of the display parameters of the object. After the adjustment is completed, the user can click on a blank space of the first interface to trigger the task realization device to exit the parameter adjustment mode.
可选地,本申请实施例中,若一个对象为功能组件,则该对象的显示参数可以包括该对象的排布结构。其中,对象的排布结构是指该功能控件中的功能组件之间的排布结构。Optionally, in this embodiment of the present application, if an object is a functional component, the display parameters of the object may include the arrangement structure of the object. Wherein, the arrangement structure of the object refers to the arrangement structure among the functional components in the functional control.
例如,假设接收第三输入之前,功能控件中的多个功能组件直线型结构,那么用户可以通过第三输入将该多个功能组件的排布结构调整为三角形结构。For example, assuming that before receiving the third input, the multiple functional components in the functional control have a linear structure, then the user can adjust the arrangement structure of the multiple functional components into a triangular structure through the third input.
(四),调整目标功能组件指示的功能的功能参数。(4) Adjusting the function parameters of the function indicated by the target function component.
可选地,本申请实施例中,第三输入为用户对第一界面中的目标功能组件的触控输入。Optionally, in this embodiment of the present application, the third input is a user's touch input on the target functional component in the first interface.
可选地,本申请实施例中,目标功能组件可以为第一界面中的功能组件,或为第一界面的功能控件中的功能组件。Optionally, in this embodiment of the present application, the target functional component may be a functional component in the first interface, or a functional component in a functional control of the first interface.
可选地,本申请实施例中,功能的功能参数可以根据功能确定,例如,若目标功能组件指示图像处理功能,则该图像处理功能的功能参数可以为:亮度、对比度、灰度、曝光度等;若目标功能组件指示手写输入功能,则该手写输入功能的功能参数可以包括:线条颜色、线条宽度等。Optionally, in the embodiment of the present application, the function parameter of the function may be determined according to the function. For example, if the target function component indicates an image processing function, then the function parameter of the image processing function may be: brightness, contrast, grayscale, exposure etc.; if the target function component indicates a handwriting input function, the function parameters of the handwriting input function may include: line color, line width, etc.
可选地,本申请实施例中,若用户需求调整目标功能组件指示的功能的功能参数,那么用户可以先在目标功能组件上长按,以触发显示该目标功能组件的选项菜单,该选项菜单中包括用于调节目标功能组件的功能参数的参数调节标识,用户可以通过对参数调节标识输入,触发调整目标功能组件指示的功能的功能参数。Optionally, in this embodiment of the application, if the user needs to adjust the functional parameters of the function indicated by the target functional component, the user can first press and hold the target functional component to trigger the display of the option menu of the target functional component. includes a parameter adjustment flag for adjusting the function parameter of the target functional component, and the user can trigger adjustment of the function parameter of the function indicated by the target functional component by inputting the parameter adjustment flag.
示例性地,参数调节标识可以为滑动条或按键,其中,滑动条用于调整数值范围类的参数,按键用于调整开关类型的参数。Exemplarily, the parameter adjustment indicator may be a slide bar or a button, wherein the slide bar is used to adjust the parameter of the numerical range type, and the button is used to adjust the parameter of the switch type.
(五),调整两个功能组件之间的数据传输方向。(5), adjust the direction of data transmission between the two functional components.
可选地,本申请实施例中,第三输入为用户对第一界面中的上述两个功能组件的触控输入。Optionally, in this embodiment of the present application, the third input is a user's touch input on the above two functional components in the first interface.
需要说明的是,本申请实施例中,在(五)中,上述两个功能组件为相互连接的功能组件。It should be noted that, in the embodiment of the present application, in (5), the above two functional components are functional components connected to each other.
可选地,本申请实施例中,若用户需求调整至少两个功能组件之间的数据传输方向,则用户可以先触发任务实现装置显示该至少两个功能组件中的任意一个功能组件的选项菜单,然后再对该选项菜单,然后再通过对该选项菜单中的连接面板输入,以触发任务实现装置调整该至少两个功能组件之间的数据传输方向。Optionally, in the embodiment of the present application, if the user needs to adjust the data transmission direction between at least two functional components, the user can first trigger the task realization device to display the option menu of any one of the at least two functional components , and then to the option menu, and then input through the connection panel in the option menu to trigger the task realization device to adjust the data transmission direction between the at least two functional components.
需要说明的是,上述实施例中是以在步骤106之后执行步骤109和步骤110为例进行示意的,实际实现中,只要任务实现装置显示第一界面,即可执行步骤109和步骤110,例如可以在步骤101或步骤106之前执行步骤109和步骤110。It should be noted that, in the above-mentioned embodiment, step 109 and step 110 are executed after step 106 as an example for illustration. In actual implementation, as long as the task realization device displays the first interface, step 109 and step 110 can be executed, for example Step 109 and step 110 may be performed before step 101 or step 106 .
本申请实施例中,由于用户可以通过第三输入,触发任务实现装置在第一界面中添加至少一个功能组件、从第一界面中删除至少一个对象、调整第一界面中的至少一个对象的显示参数、调整目标功能组件指示的功能的功能参数,或调整两个功能组件之间的数据传输方向,因此可以进一步提高通过多个功能协同工作实现任务的操作灵活性。In the embodiment of the present application, because the user can trigger the task realization device to add at least one functional component in the first interface, delete at least one object from the first interface, and adjust the display of at least one object in the first interface through the third input. parameter, adjust the functional parameters of the function indicated by the target functional component, or adjust the data transmission direction between two functional components, so the operational flexibility of realizing the task through the cooperative work of multiple functions can be further improved.
可选地,本申请实施例中,任务实现装置可以按照功能组件指示的功能的类型,对功能组件进行分类,且在第一界面的不同区域显示不同类型的功能组件。Optionally, in this embodiment of the present application, the task realization device may classify the functional components according to the type of function indicated by the functional components, and display different types of functional components in different areas of the first interface.
可选地,本申请实施例中,可以将第一界面划分为多个区域,每个区域中包括一个窗口,每个窗口用于显示一类功能组件。用户可以通过在窗口上的滑动输入,触发任务实现装置进行功能组件的切换。例如,一个窗口中显示功能组件a,用户可以在该窗口上向左滑动,触发任务实现装置显示功能组件b,功能组件a和功能组件b指示的功能的类型相同。Optionally, in this embodiment of the present application, the first interface may be divided into multiple areas, each area includes a window, and each window is used to display a type of functional component. The user can trigger the task realization device to switch the functional components by sliding input on the window. For example, functional component a is displayed in a window, and the user can slide to the left on the window to trigger the task realization device to display functional component b. The types of functions indicated by functional component a and functional component b are the same.
需要说明的是,本申请实施例提供的任务实现方法,执行主体可以为任务实现装置,或者该任务实现装置中的用于执行任务实现方法的控制模块。本申请实施例中以任务实现装置执行任务实现方法为例,说明本申请实施例提供的任务实现装置。It should be noted that, for the task realization method provided in the embodiment of the present application, the execution subject may be a task realization device, or a control module in the task realization device for executing the task realization method. In the embodiment of the present application, the task realization method provided by the task realization device is described as an example to illustrate the task realization device provided in the embodiment of the present application.
如图12所示,本申请实施例提供一种任务实现装置120,该任务实现装置120可以包括:接收模块121和执行模块122。接收模块121,可以用于接收针对目标控件的第一输入,目标控件可以用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;执行模块122,用于响应于接收模块121接收的第一输入,按照目标执行次序,执行该M个功能;其中,第一功能的输入数据包括第二功能的输出数据,第一功能和第二功能均为该M个功能中的功能,且第二功能的执行次序在第一功能的执行次序之前,输入数据的数据类型兼容输出数据的数据类型。As shown in FIG. 12 , the embodiment of the present application provides a task realization apparatus 120 , and the task realization apparatus 120 may include: a receiving module 121 and an execution module 122 . The receiving module 121 may be configured to receive a first input for the target control, and the target control may be used to trigger the execution of M functions according to the target execution sequence, where the M functions are functions in at least one application of the electronic device, and M is greater than An integer of 1; the execution module 122 is configured to execute the M functions in response to the first input received by the receiving module 121 according to the target execution order; wherein, the input data of the first function includes the output data of the second function, and the first Both the function and the second function are functions among the M functions, and the execution order of the second function is before the execution order of the first function, and the data type of the input data is compatible with the data type of the output data.
可选地,本申请实施例中,执行模块122,具体可以用于按照目标执行次序和初始输入数据,从该M个功能中的初始功能开始,执行该M个功能;Optionally, in the embodiment of the present application, the execution module 122 may specifically be configured to execute the M functions starting from the initial function among the M functions according to the target execution order and initial input data;
其中,初始输入数据为初始功能的输入数据,初始功能为以下任一项:预设的功能、根据初始输入数据的数据类型确定的功能、根据用户输入确定的功能、执行次序第一的功能。Wherein, the initial input data is the input data of the initial function, and the initial function is any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input, or a function with the first execution order.
可选地,本申请实施例中,目标控件显示在第一界面上,第一界面中还包括至少一个数据标识,每个数据标识指示至少一个数据;Optionally, in this embodiment of the present application, the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
第一输入为将至少一个数据标识中的第一数据标识移动至目标控件上的输入;The first input is an input for moving the first data identifier in the at least one data identifier to the target control;
其中,初始输入数据为第一数据标识指示的数据,初始功能为执行次序第一的,或为根据初始输入数据的数据类型确定的。Wherein, the initial input data is the data indicated by the first data identifier, and the initial function is executed first, or is determined according to the data type of the initial input data.
可选地,本申请实施例中,任务实现装置还可以包括连接模块;接收模块121,还可以用于在接收针对目标控件的第一输入之前,接收针对第一界面中的M个功能组件的第二输入,每个功能组件指示该M个功能中的一个功能,第二输入用于触发将该M个功能的执行次序设置为目标执行次序;Optionally, in the embodiment of the present application, the task realization device may further include a connection module; the receiving module 121 may also be configured to receive the M functional components in the first interface before receiving the first input for the target control. The second input, each functional component indicates one of the M functions, and the second input is used to trigger setting the execution order of the M functions as the target execution order;
连接模块,可以用于响应于接收模块121接收的第二输入,按照目标执行次序,通过至少一个连接组件连接该M个功能组件;A connection module, configured to connect the M functional components through at least one connection component according to the target execution sequence in response to the second input received by the receiving module 121;
其中,目标控件由连接后的该M个功能组件确定;每个连接组件与该M个功能组件中的至少两个功能组件连接,连接组件用于指示至少两个功能组件指示的功能之间的数据传输方向。Wherein, the target control is determined by the connected M functional components; each connecting component is connected with at least two functional components in the M functional components, and the connecting component is used to indicate the connection between the functions indicated by the at least two functional components. Data transfer direction.
可选地,本申请实施例中,该M个功能中包括第三功能和至少两个第四功能,且至少两个第四功能的输出数据为第三功能的输入数据;装置还包括显示模块;Optionally, in this embodiment of the present application, the M functions include a third function and at least two fourth functions, and the output data of at least two fourth functions is the input data of the third function; the device also includes a display module ;
显示模块,可以用于在连接模块连接该M个功能组件之后,在第一连接组件上显示同步标识,第一连接组件为与指示第三功能和至少两个第四功能的功能组件连接的连接组件;The display module can be used to display the synchronization mark on the first connection component after the connection module connects the M functional components, and the first connection component is a connection to a functional component indicating a third function and at least two fourth functions components;
其中,同步标识用于:Among them, the synchronization identification is used for:
指示在执行至少两个第四功能完成后,执行第二功能;和/或,Instructing to perform the second function after performing at least two fourth functions is complete; and/or,
触发从该M个功能中的第五功能开始,重新执行该M个功能,第五功能的执行次序在第三功能的执行次序之前。The trigger starts from the fifth function among the M functions to re-execute the M functions, and the execution sequence of the fifth function is before the execution sequence of the third function.
可选地,本申请实施例中,接收模块121,还可以用于接收第三输入;Optionally, in the embodiment of the present application, the receiving module 121 may also be configured to receive a third input;
执行模块122,还可以用于响应于接收模块121接收的第三输入,执行与第三输入对应的目标操作,目标操作为以下任意一项:The executing module 122 may also be configured to execute a target operation corresponding to the third input in response to the third input received by the receiving module 121, and the target operation is any of the following:
在第一界面中添加至少一个功能组件、从第一界面中删除至少一个对象、调整第一界面中的至少一个对象的显示参数、调整目标功能组件指示的功能的功能参数、调整两个功能组件之间的数据传输方向;目标功能组件可以为第一界面中的功能组件,或为第一界面的功能控件中的功能组件。Add at least one functional component in the first interface, delete at least one object from the first interface, adjust the display parameters of at least one object in the first interface, adjust the functional parameters of the function indicated by the target functional component, and adjust two functional components The data transmission direction between them; the target functional component may be a functional component in the first interface, or a functional component in the functional control of the first interface.
本申请实施例提供的任务实现装置中,当需求通过多个功能(例如上述M个功能)协同的方式来实现某个任务时,由于可以通过目标控件的输入,触发电子设备按照能够实现该任务的执行顺序(例如目标执行次序)执行该M个功能,因此在按照目标执行次序执行该M个功能完成后,即可实现该任务。如此,相比于传统技术中需求对不同功能进行一系列输入的方案,本申请实施例提供的任务实现方法可以简化通过多个功能协同工作实现任务的操作过程。In the task realization device provided in the embodiment of the present application, when a certain task is required to be realized through the cooperation of multiple functions (such as the above-mentioned M functions), since the input of the target control can be used to trigger the electronic device to realize the task The M functions are executed in an execution order (for example, the target execution order), so the task can be realized after the M functions are executed according to the target execution order. In this way, compared with the solution in the traditional technology that requires a series of inputs to different functions, the task realization method provided by the embodiment of the present application can simplify the operation process of realizing a task through the cooperative work of multiple functions.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
本申请实施例中的任务实现装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The task realization device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的任务实现装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。The task realization device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的任务实现装置120能够实现图1至图11的方法实施例中任务实现方法实现的各个过程,为避免重复,这里不再赘述。The task realization apparatus 120 provided in the embodiment of the present application can realize each process realized by the task realization method in the method embodiments shown in FIG. 1 to FIG. 11 . To avoid repetition, details are not repeated here.
如图13所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述任务实现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in Figure 13, the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored on the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above-mentioned task realization method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图14为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 14 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,用户输入单元1007,可以用于接收针对目标控件的第一输入,目标控件可以用于触发按照目标执行次序,执行M个功能,该M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;处理器1010,用于响应于用户输入单元1007接收的第一输入,按照目标执行次序,执行该M个功能;其中,第一功能的输入数据包括第二功能的输出数据,第一功能和第二功能均为该M个功能中的功能,且第二功能的执行次序在第一功能的执行次序之前。Wherein, the user input unit 1007 can be used to receive the first input for the target control, and the target control can be used to trigger the execution of M functions according to the target execution sequence, and the M functions are functions in at least one application of the electronic device, M is an integer greater than 1; the processor 1010 is configured to, in response to the first input received by the user input unit 1007, execute the M functions according to the target execution order; wherein, the input data of the first function includes the output of the second function The data, the first function and the second function are all functions among the M functions, and the execution order of the second function is before the execution order of the first function.
可选地,本申请实施例中,处理器1010,具体可以用于按照目标执行次序和初始输入数据,从该M个功能中的初始功能开始,执行该M个功能;其中,初始输入数据为初始功能的输入数据,初始功能为以下任一项:预设的功能、根据初始输入数据的数据类型确定的功能、根据用户输入确定的功能、执行次序最靠前的功能。Optionally, in the embodiment of the present application, the processor 1010 can specifically be configured to execute the M functions starting from the initial function among the M functions according to the target execution order and initial input data; wherein, the initial input data is The input data of the initial function, the initial function is any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input, or a function with the highest execution order.
可选地,本申请实施例中,目标控件显示在第一界面上,第一界面中还包括至少一个数据标识,每个数据标识指示至少一个数据;Optionally, in this embodiment of the present application, the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
第一输入为将至少一个数据标识中的第一数据标识移动至目标控件上的输入;其中,初始输入数据为第一数据标识指示的数据,初始功能为执行次序第一的,或为根据初始输入数据的数据类型确定的。The first input is the input of moving the first data identifier in at least one data identifier to the target control; wherein, the initial input data is the data indicated by the first data identifier, and the initial function is the first in the execution order, or is based on the initial The data type of the input data is determined.
可选地,本申请实施例中,用户输入单元1007,还可以用于在接收针对目标控件的第一输入之前,接收针对第一界面中的M个功能组件的第二输入,每个功能组件指示该M个功能中的一个功能,第二输入用于触发将该M个功能的执行次序设置为目标执行次序;处理器1010,可以用于响应于用户输入单元1007接收的第二输入,按照目标执行次序,通过至少一个连接组件连接该M个功能组件;其中,目标控件由连接后的该M个功能组件确定;每个连接组件与该M个功能组件中的至少两个功能组件连接,连接组件用于指示至少两个功能组件指示的功能之间的数据传输方向。Optionally, in this embodiment of the application, the user input unit 1007 may also be configured to receive a second input for M functional components in the first interface before receiving the first input for the target control, each functional component Indicating one of the M functions, the second input is used to trigger setting the execution order of the M functions as the target execution order; the processor 1010 may be configured to respond to the second input received by the user input unit 1007, according to The target execution sequence is to connect the M functional components through at least one connecting component; wherein, the target control is determined by the connected M functional components; each connecting component is connected to at least two functional components in the M functional components, The connection component is used to indicate the direction of data transmission between the functions indicated by at least two functional components.
可选地,本申请实施例中,该M个功能中包括第三功能和至少两个第四功能,且至少两个第四功能的输出数据为第三功能的输入数据;装置还包括显示单元1006;显 示单元1006,可以用于在处理器1010连接该M个功能组件之后,在第一连接组件上显示同步标识,第一连接组件为与指示第三功能和至少两个第四功能的功能组件连接的连接组件;Optionally, in this embodiment of the present application, the M functions include a third function and at least two fourth functions, and the output data of at least two fourth functions is the input data of the third function; the device further includes a display unit 1006; the display unit 1006 may be configured to display a synchronization mark on the first connection component after the processor 1010 connects the M functional components, and the first connection component is a function indicating a third function and at least two fourth functions Connected components for component connections;
其中,同步标识用于:指示在执行至少两个第四功能完成后,执行第二功能;和/或,触发从该M个功能中的第五功能开始,重新执行该M个功能,第五功能的执行次序小于第三功能的执行次序。Wherein, the synchronization flag is used to: indicate that after at least two fourth functions are executed, execute the second function; and/or, trigger the re-execution of the M functions starting from the fifth function among the M functions, the fifth The execution order of the functions is smaller than the execution order of the third function.
可选地,本申请实施例中,用户输入单元1007,还可以用于接收第三输入;处理器1010,还可以用于响应于用户输入单元1007接收的第三输入,执行与第三输入对应的目标操作,目标操作为以下任意一项:Optionally, in this embodiment of the application, the user input unit 1007 can also be used to receive a third input; the processor 1010 can also be used to respond to the third input received by the user input unit 1007, and perform The target action for is any of the following:
在第一界面中添加至少一个功能组件、从第一界面中删除至少一个对象、调整第一界面中的至少一个对象的显示参数、调整目标功能组件指示的功能的功能参数、调整两个功能组件之间的数据传输方向;目标功能组件可以为第一界面中的功能组件,或为第一界面的功能控件中的功能组件。Add at least one functional component in the first interface, delete at least one object from the first interface, adjust the display parameters of at least one object in the first interface, adjust the functional parameters of the function indicated by the target functional component, and adjust two functional components The data transmission direction between them; the target functional component may be a functional component in the first interface, or a functional component in the functional control of the first interface.
本申请实施例提供的电子设备中,当需求通过多个功能(例如上述M个功能)协同的方式来实现某个任务时,由于可以通过目标控件的输入,触发电子设备按照能够实现该任务的执行顺序(例如目标执行次序)执行该M个功能,因此在按照目标执行次序执行该M个功能完成后,即可实现该任务。如此,相比于传统技术中需求对不同功能进行一系列输入的方案,本申请实施例提供的任务实现方法可以简化通过多个功能协同工作实现任务的操作过程。In the electronic device provided in the embodiment of the present application, when it is required to realize a certain task through the cooperation of multiple functions (such as the above-mentioned M functions), since the input of the target control can be used to trigger the electronic device to implement the task according to the The execution order (for example, the target execution order) executes the M functions, so the task can be realized after the execution of the M functions according to the target execution order is completed. In this way, compared with the solution in the traditional technology that requires a series of inputs to different functions, the task realization method provided by the embodiment of the present application can simplify the operation process of realizing a task through the cooperative work of multiple functions.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述任务实现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned task realization method embodiment can be achieved, and the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述任务实现方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above-mentioned task realization method embodiments, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种任务实现方法,所述方法包括:A task realization method, the method comprising:
    接收针对目标控件的第一输入,所述目标控件用于触发按照目标执行次序,执行M个功能,所述M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;Receiving a first input for a target control, the target control is used to trigger the execution of M functions according to the target execution sequence, the M functions are functions in at least one application of the electronic device, and M is an integer greater than 1;
    响应于所述第一输入,按照所述目标执行次序,执行所述M个功能;In response to the first input, execute the M functions according to the target execution order;
    其中,第一功能的输入数据包括第二功能的输出数据,所述第一功能和所述第二功能均为所述M个功能中的功能,且所述第二功能的执行次序在所述第一功能的执行次序之前。Wherein, the input data of the first function includes the output data of the second function, both the first function and the second function are functions in the M functions, and the execution order of the second function is in the Before the execution order of the first function.
  2. 根据权利要求1所述的方法,其中,所述按照所述目标执行次序,执行所述M个功能,包括:The method according to claim 1, wherein said executing said M functions according to said target execution order comprises:
    按照所述目标执行次序和初始输入数据,从所述M个功能中的初始功能开始,执行所述M个功能;executing the M functions starting from an initial function among the M functions according to the target execution sequence and initial input data;
    其中,所述初始输入数据为所述初始功能的输入数据,所述初始功能包括以下任一项:预设的功能、根据所述初始输入数据的数据类型确定的功能、根据用户输入确定的功能、执行次序第一的功能。Wherein, the initial input data is the input data of the initial function, and the initial function includes any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input , Execute the function of the first order.
  3. 根据权利要求2所述的方法,其中,所述目标控件显示在第一界面上,所述第一界面中还包括至少一个数据标识,每个数据标识指示至少一个数据;The method according to claim 2, wherein the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
    所述第一输入为将所述至少一个数据标识中的第一数据标识移动至所述目标控件上的输入;The first input is an input for moving a first data identifier of the at least one data identifier to the target control;
    其中,所述初始输入数据为所述第一数据标识指示的数据,所述初始功能为执行次序第一的,或为根据初始输入数据的数据类型确定的。Wherein, the initial input data is the data indicated by the first data identifier, and the initial function is executed first, or is determined according to the data type of the initial input data.
  4. 根据权利要求1至3中任一项所述的方法,其中,所述接收针对目标控件的第一输入之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein, before receiving the first input for the target control, the method further comprises:
    接收针对第一界面中的M个功能组件的第二输入,每个功能组件指示所述M个功能中的一个功能,所述第二输入用于触发将所述M个功能的执行次序设置为所述目标执行次序;receiving a second input for the M functional components in the first interface, each functional component indicating one of the M functions, and the second input is used to trigger setting the execution order of the M functions as said target execution order;
    响应于所述第二输入,按照所述目标执行次序,通过至少一个连接组件连接所述M个功能组件;In response to the second input, according to the target execution order, connect the M functional components through at least one connection component;
    其中,所述目标控件由连接后的所述M个功能组件确定;每个连接组件与所述M个功能组件中的至少两个功能组件连接,所述连接组件用于指示所述至少两个功能组件指示的功能之间的数据传输方向。Wherein, the target control is determined by the connected M functional components; each connected component is connected with at least two of the M functional components, and the connected components are used to indicate that the at least two Functional components indicate the direction of data transfer between functions.
  5. 根据权利要求4所述的方法,其中,所述M个功能中包括第三功能和至少两个第四功能,且所述至少两个第四功能的输出数据为所述第三功能的输入数据;The method according to claim 4, wherein the M functions include a third function and at least two fourth functions, and the output data of the at least two fourth functions are input data of the third function ;
    所述按照所述目标执行次序,通过至少一个连接组件连接所述M个功能组件之后,所述方法还包括:According to the target execution order, after connecting the M functional components through at least one connecting component, the method further includes:
    在第一连接组件上显示同步标识,所述第一连接组件为与指示所述第三功能和所述至少两个第四功能的功能组件连接的连接组件;Displaying a synchronization mark on a first connection component, the first connection component being a connection component connected to a functional component indicating the third function and the at least two fourth functions;
    其中,所述同步标识用于:Wherein, the synchronization identification is used for:
    指示在执行所述至少两个第四功能完成后,执行所述第二功能;和/或,Instructing to perform said second function after performing said at least two fourth functions is complete; and/or,
    触发从所述M个功能中的第五功能开始,重新执行所述M个功能,所述第五功能的执行次序在所述第三功能的执行次序之前。It is triggered to re-execute the M functions starting from the fifth function among the M functions, and the execution order of the fifth function is before the execution order of the third function.
  6. 根据权利要求4所述的方法,其中,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    接收第三输入;receiving a third input;
    响应于所述第三输入,执行与所述第三输入对应的目标操作,所述目标操作为以下任意一项:In response to the third input, execute a target operation corresponding to the third input, where the target operation is any one of the following:
    在所述第一界面中添加至少一个功能组件、从所述第一界面中删除至少一个对象、调整所述第一界面中的至少一个对象的显示参数、调整目标功能组件指示的功能的功能参数、调整两个功能组件之间的数据传输方向;所述目标功能组件为:所述第一界面中的功能组件,或为所述第一界面的功能控件中的功能组件。Adding at least one functional component to the first interface, deleting at least one object from the first interface, adjusting display parameters of at least one object in the first interface, and adjusting functional parameters of a function indicated by the target functional component . Adjusting a data transmission direction between two functional components; the target functional component is: a functional component in the first interface, or a functional component in a functional control of the first interface.
  7. 一种任务实现装置,所述装置包括:接收模块和执行模块;A task realization device, the device comprising: a receiving module and an executing module;
    所述接收模块,用于接收针对目标控件的第一输入,所述目标控件用于触发按照目标执行次序,执行M个功能,所述M个功能为电子设备的至少一个应用中的功能,M为大于1的整数;The receiving module is configured to receive a first input for a target control, the target control is used to trigger the execution of M functions according to the target execution sequence, the M functions are functions in at least one application of the electronic device, M is an integer greater than 1;
    所述执行模块,用于响应于所述接收模块接收的所述第一输入,按照所述目标执行次序,执行所述M个功能;The executing module is configured to execute the M functions according to the target execution order in response to the first input received by the receiving module;
    其中,第一功能的输入数据包括第二功能的输出数据,所述第一功能和所述第二功能均为所述M个功能中的功能,且所述第二功能的执行次序在所述第一功能的执行次序之前。Wherein, the input data of the first function includes the output data of the second function, both the first function and the second function are functions in the M functions, and the execution order of the second function is in the Before the execution order of the first function.
  8. 根据权利要求7所述的装置,其中,所述执行模块,具体用于按照所述目标执行次序和初始输入数据,从所述M个功能中的初始功能开始,执行所述M个功能;The device according to claim 7, wherein the execution module is specifically configured to execute the M functions starting from an initial function among the M functions according to the target execution order and initial input data;
    其中,所述初始输入数据为所述初始功能的输入数据,所述初始功能为以下任一项:预设的功能、根据所述初始输入数据的数据类型确定的功能、根据用户输入确定的功能、执行次序第一的功能。Wherein, the initial input data is the input data of the initial function, and the initial function is any of the following: a preset function, a function determined according to the data type of the initial input data, a function determined according to user input , Execute the function of the first order.
  9. 根据权利要求8所述的装置,其中,所述目标控件显示在第一界面上,所述第一界面中还包括至少一个数据标识,每个数据标识指示至少一个数据;The device according to claim 8, wherein the target control is displayed on the first interface, and the first interface further includes at least one data identifier, and each data identifier indicates at least one data;
    所述第一输入为将所述至少一个数据标识中的第一数据标识移动至所述目标控件上的输入;The first input is an input for moving a first data identifier of the at least one data identifier to the target control;
    其中,所述初始输入数据为所述第一数据标识指示的数据,所述初始功能为执行次序第一的,或为根据初始输入数据的数据类型确定的。Wherein, the initial input data is the data indicated by the first data identifier, and the initial function is executed first, or is determined according to the data type of the initial input data.
  10. 根据权利要求7至9中任一项所述的装置,其中,所述装置还包括连接模块;The device according to any one of claims 7 to 9, wherein the device further comprises a connection module;
    所述接收模块,还用于在所述接收针对目标控件的第一输入之前,接收针对第一界面中的M个功能组件的第二输入,每个功能组件指示所述M个功能中的一个功能,所述第二输入用于触发将所述M个功能的执行次序设置为所述目标执行次序;The receiving module is further configured to receive a second input for M functional components in the first interface before receiving the first input for the target control, each functional component indicating one of the M functions function, the second input is used to trigger setting the execution order of the M functions as the target execution order;
    所述连接模块,用于响应于所述接收模块接收的所述第二输入,按照所述目标执行次序,通过至少一个连接组件连接所述M个功能组件;The connection module is configured to connect the M functional components through at least one connection component according to the target execution order in response to the second input received by the receiving module;
    其中,所述目标控件由连接后的所述M个功能组件确定;每个连接组件与所述M个功能组件中的至少两个功能组件连接,所述连接组件用于指示所述至少两个功能组件指示的功能之间的数据传输方向。Wherein, the target control is determined by the connected M functional components; each connected component is connected with at least two of the M functional components, and the connected components are used to indicate that the at least two Functional components indicate the direction of data transfer between functions.
  11. 根据权利要求10所述的装置,其中,所述M个功能中包括第三功能和至少两个第四功能,且所述至少两个第四功能的输出数据为所述第三功能的输入数据;所述装置还包括显示模块;The device according to claim 10, wherein the M functions include a third function and at least two fourth functions, and the output data of the at least two fourth functions is the input data of the third function ; The device also includes a display module;
    所述显示模块,用于在所述连接模块连接所述M个功能组件之后,在第一连接组件上显示同步标识,所述第一连接组件为与指示所述第三功能和所述至少两个第四功能的功能组件连接的连接组件;The display module is configured to display a synchronization mark on the first connection component after the connection module connects the M functional components, and the first connection component is to indicate the third function and the at least two A connecting component connected by a functional component of a fourth function;
    其中,所述同步标识用于:Wherein, the synchronization identification is used for:
    指示在执行所述至少两个第四功能完成后,执行所述第二功能;和/或,Instructing to perform said second function after performing said at least two fourth functions is complete; and/or,
    触发从所述M个功能中的第五功能开始,重新执行所述M个功能,所述第五功能的执行次序在所述第三功能的执行次序之前。It is triggered to re-execute the M functions starting from the fifth function among the M functions, and the execution order of the fifth function is before the execution order of the third function.
  12. 根据权利要求10所述的装置,其中,The apparatus of claim 10, wherein,
    所述接收模块,还用于接收第三输入;The receiving module is further configured to receive a third input;
    所述执行模块,还用于响应于所述接收模块接收的所述第三输入,执行与所述第三输入对应的目标操作,所述目标操作为以下任意一项:The execution module is further configured to execute a target operation corresponding to the third input in response to the third input received by the receiving module, and the target operation is any of the following:
    在所述第一界面中添加至少一个功能组件、从所述第一界面中删除至少一个对象、调整所述第一界面中的至少一个对象的显示参数、调整目标功能组件指示的功能的功能参数、调整两个功能组件之间的数据传输方向;所述目标功能组件为:所述第一界面中的功能组件,或为所述第一界面的功能控件中的功能组件。Adding at least one functional component to the first interface, deleting at least one object from the first interface, adjusting display parameters of at least one object in the first interface, and adjusting functional parameters of a function indicated by the target functional component . Adjusting a data transmission direction between two functional components; the target functional component is: a functional component in the first interface, or a functional component in a functional control of the first interface.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的任务实现方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 6 are realized The steps of any one of the task realization methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的任务实现方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, and implementing the steps of the task realization method according to any one of claims 1 to 6 when the programs or instructions are executed by a processor.
  15. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至6中任一项所述的任务实现方法。A computer software product, the computer software product is executed by at least one processor to realize the task realization method according to any one of claims 1 to 6.
  16. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至6中任一项所述的任务实现方法。An electronic device, comprising the electronic device configured to execute the task realization method according to any one of claims 1 to 6.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6中任一项所述的任务实现方法。A kind of chip, described chip comprises processor and communication interface, and described communication interface is coupled with described processor, and described processor is used for running program or instruction, realizes the task as described in any one in claim 1 to 6 Implementation.
PCT/CN2022/093323 2021-05-21 2022-05-17 Task implementation method and apparatus, and electronic device WO2022242641A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110560134.9 2021-05-21
CN202110560134.9A CN113360060B (en) 2021-05-21 2021-05-21 Task realization method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022242641A1 true WO2022242641A1 (en) 2022-11-24

Family

ID=77526652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093323 WO2022242641A1 (en) 2021-05-21 2022-05-17 Task implementation method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113360060B (en)
WO (1) WO2022242641A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360060B (en) * 2021-05-21 2024-03-05 维沃移动通信有限公司 Task realization method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099523A1 (en) * 2009-10-28 2011-04-28 Van Zee Pieter Product selection and management workflow
CN105321139A (en) * 2014-07-08 2016-02-10 腾讯科技(深圳)有限公司 Picture processing method and device
CN107239293A (en) * 2017-06-29 2017-10-10 努比亚技术有限公司 A kind of picture editing method, terminal and computer-readable recording medium
CN112765265A (en) * 2020-12-30 2021-05-07 杭州贝嘟科技有限公司 Data synchronization method and device, computer equipment and readable storage medium
CN113360060A (en) * 2021-05-21 2021-09-07 维沃移动通信有限公司 Task implementation method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912218A (en) * 2016-05-10 2016-08-31 北京金山安全软件有限公司 Method and device for displaying application icons and electronic equipment
CN110035184A (en) * 2019-04-22 2019-07-19 珠海格力电器股份有限公司 Image processing method and device and folding screen terminal
CN112162807A (en) * 2020-09-24 2021-01-01 维沃移动通信有限公司 Function execution method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099523A1 (en) * 2009-10-28 2011-04-28 Van Zee Pieter Product selection and management workflow
CN105321139A (en) * 2014-07-08 2016-02-10 腾讯科技(深圳)有限公司 Picture processing method and device
CN107239293A (en) * 2017-06-29 2017-10-10 努比亚技术有限公司 A kind of picture editing method, terminal and computer-readable recording medium
CN112765265A (en) * 2020-12-30 2021-05-07 杭州贝嘟科技有限公司 Data synchronization method and device, computer equipment and readable storage medium
CN113360060A (en) * 2021-05-21 2021-09-07 维沃移动通信有限公司 Task implementation method and device and electronic equipment

Also Published As

Publication number Publication date
CN113360060A (en) 2021-09-07
CN113360060B (en) 2024-03-05

Similar Documents

Publication Publication Date Title
US20240078375A1 (en) Device, method, and graphical user interface for sharing a content object in a document
WO2019128732A1 (en) Icon management method and device
WO2022068773A1 (en) Desktop element adjustment method and apparatus, and electronic device
CN106775334B (en) File calling method and device on mobile terminal and mobile terminal
EP2772844A1 (en) Terminal device and method for quickly starting program
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
WO2022001899A1 (en) Application management method and apparatus, and electronic device
US20120216146A1 (en) Method, apparatus and computer program product for integrated application and task manager display
WO2023040896A1 (en) Content sharing method and apparatus, and electronic device
CN112306325B (en) Interaction control method and device
WO2021239016A1 (en) Application icon display method and apparatus, and electronic device
CN112162685B (en) Attribute adjusting method and device and electronic equipment
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
WO2023066109A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2023046068A1 (en) File processing method and apparatus
WO2023056977A1 (en) Application program start method and apparatus, and electronic device
WO2023198064A1 (en) Application program starting method and apparatus, and electronic device and storage medium
WO2023093745A1 (en) Application icon management method and apparatus, and electronic device and storage medium
WO2022213945A1 (en) Application reminding method and apparatus, and electronic device
WO2022242542A1 (en) Application icon management method and electronic device
WO2022111397A1 (en) Control method and apparatus, and electronic device
WO2022242641A1 (en) Task implementation method and apparatus, and electronic device
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
WO2022143660A1 (en) Icon display method and apparatus, and electronic device
CN112764614B (en) Data isolation method and electronic equipment

Legal Events

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

Ref document number: 22803961

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE