CN113296906A - Task configuration method and device - Google Patents

Task configuration method and device Download PDF

Info

Publication number
CN113296906A
CN113296906A CN202110352234.2A CN202110352234A CN113296906A CN 113296906 A CN113296906 A CN 113296906A CN 202110352234 A CN202110352234 A CN 202110352234A CN 113296906 A CN113296906 A CN 113296906A
Authority
CN
China
Prior art keywords
task
configuration
area
node
trigger operation
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110352234.2A
Other languages
Chinese (zh)
Other versions
CN113296906B (en
Inventor
王雪洁
张京娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Innovation Co
Original Assignee
Alibaba Singapore Holdings Pte Ltd
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 Alibaba Singapore Holdings Pte Ltd filed Critical Alibaba Singapore Holdings Pte Ltd
Priority to CN202110352234.2A priority Critical patent/CN113296906B/en
Publication of CN113296906A publication Critical patent/CN113296906A/en
Application granted granted Critical
Publication of CN113296906B publication Critical patent/CN113296906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

One or more embodiments of the present specification provide a task configuration method and apparatus. The method comprises the following steps: responding to a task generation request sent by a requester, and acquiring a task module; the task module defines a task flow comprising at least one task node and a service required to be called by each task node; displaying a task configuration interface aiming at the task module, wherein the task configuration interface comprises a task configuration area and a task preview area, the display content of the task configuration area comprises configuration information required by configuration of node parameters of one or more task nodes, and the display content of the task preview area comprises configuration results associated with the configuration information; responding to a trigger operation aiming at any one of the task configuration area or the task preview area, and adjusting the display content of the other area according to the trigger operation; and configuring the task module according to the configuration information to generate a target task.

Description

Task configuration method and device
Technical Field
One or more embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a task configuration method and apparatus.
Background
In the related art, as application functions and user requirements are continuously expanded, tasks involved accordingly become more complex and diverse. The execution of each task often involves complex background calling, and especially when the service to be called comes from multiple systems, the task also involves service scheduling across the systems, so that the generation process of the task is complex and slow, and is difficult to meet the actual requirement.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a task configuration method and apparatus.
To achieve the above object, one or more embodiments of the present disclosure provide the following technical solutions:
according to a first aspect of one or more embodiments of the present specification, there is provided a task configuration method including:
responding to a task generation request sent by a requester, and acquiring a task module; the task module defines a task flow comprising at least one task node and a service required to be called by each task node;
displaying a task configuration interface aiming at the task module, wherein the task configuration interface comprises a task configuration area and a task preview area, the display content of the task configuration area comprises configuration information required by configuration of node parameters of one or more task nodes, and the display content of the task preview area comprises configuration results associated with the configuration information;
responding to a trigger operation aiming at any one of the task configuration area or the task preview area, and adjusting the display content of the other area according to the trigger operation;
and configuring the task module according to the configuration information to generate a target task.
Optionally, the configuration information includes a configuration option, and the trigger operation is a selection operation of the configuration option; the adjusting the display content of the other area according to the trigger operation comprises:
determining, according to the selected configuration option, execution logic corresponding to the selected configuration option;
and adjusting a configuration result according to the execution logic, and updating and displaying the adjusted configuration result in the task preview area.
Optionally, the configuration information includes a custom option, and the trigger operation is a selection operation of the custom option; the adjusting the display content of the other area according to the trigger operation comprises:
determining a target object in the configuration result, which is associated with the selected custom option;
acquiring task demand information provided by a task generation requester for the target object, and sending the task demand information to a task developer to request the task developer to generate an execution logic according to the task demand information;
and adjusting the target object according to the execution logic returned by the task developer, and updating and displaying the configuration result containing the adjusted target object in the task preview area.
Optionally, the method further comprises:
and distinctively displaying the adjusted part in the configuration result.
Optionally, the task configuration area includes display sub-areas respectively corresponding to the task nodes;
the task configuration method further comprises the following steps:
and respectively displaying the configuration information corresponding to each task node in the corresponding display subarea.
Optionally, the configuration result includes a functional component for implementing a target task, and the trigger operation is a selected operation of the functional component; adjusting the display content of another area according to the trigger operation, comprising:
and displaying the configuration information related to the selected functional components in the task configuration area, and hiding the configuration information related to the unselected functional components.
According to a second aspect of one or more embodiments of the present specification, there is provided a task configuration apparatus including:
the acquisition unit is used for responding to a task generation request sent by a requester and acquiring a task module; the task module defines a task flow comprising at least one task node and a service required to be called by each task node;
the task configuration interface comprises a task configuration area and a task preview area, the display content of the task configuration area comprises configuration information required by configuration of node parameters of one or more task nodes, and the display content of the task preview area comprises configuration results associated with the configuration information;
the adjusting unit is used for responding to the triggering operation of any one of the task configuration area or the task preview area and adjusting the display content of the other area according to the triggering operation;
and the generating unit is used for configuring the task module according to the configuration information so as to generate a target task.
Optionally, the configuration information includes a configuration option, and the trigger operation is a selection operation of the configuration option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining, according to the selected configuration option, execution logic corresponding to the selected configuration option;
and adjusting a configuration result according to the execution logic, and updating and displaying the adjusted configuration result in the task preview area.
Optionally, the configuration information includes a custom option, and the trigger operation is a selection operation of the custom option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining a target object in the configuration result, which is associated with the selected custom option;
acquiring task demand information provided by a task generation requester for the target object, and sending the task demand information to a task developer to request the task developer to generate an execution logic according to the task demand information;
and adjusting the target object according to the execution logic returned by the task developer, and updating and displaying the configuration result containing the adjusted target object in the task preview area.
According to a third aspect of one or more embodiments of the present specification, there is provided a task configuration interface, where the task configuration interface corresponds to a task module, and the task module defines a task flow including at least one task node and a service to be invoked for processing each task node; the task configuration interface comprises:
the task configuration method comprises a task configuration area and a task preview area, wherein the task configuration area is used for displaying configuration information required for configuring node parameters of one or more task nodes, and the task preview area is used for displaying configuration results associated with the configuration information;
wherein, in response to a trigger operation for any one of the task configuration area or the task preview area, the display content of the other area is adjusted according to the trigger operation.
According to a fourth aspect of one or more embodiments of the present specification, there is provided an electronic apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of the above by executing the executable instructions.
According to a fifth aspect of one or more embodiments of the present description, a computer-readable storage medium is presented, having stored thereon computer instructions, which, when executed by a processor, implement the steps of any of the above-described methods.
Drawings
FIG. 1 is an architectural diagram of a task generation system provided by an exemplary embodiment.
FIG. 2 is a schematic diagram of a virtual architecture of a task generation platform provided by an exemplary embodiment.
FIG. 3 is a flowchart of a task configuration method provided by an exemplary embodiment.
FIG. 4a is a schematic diagram of a task configuration interface provided by an exemplary embodiment.
FIG. 4b is a schematic diagram of another task configuration interface provided by an exemplary embodiment.
FIG. 4c is a schematic diagram of another task configuration interface provided by an exemplary embodiment.
FIG. 4d is a schematic illustration of another task configuration interface provided by an exemplary embodiment.
Fig. 5 is a schematic structural diagram of an apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram of a task configuration device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
FIG. 1 is an architectural diagram of a task configuration system provided by an exemplary embodiment. As shown in fig. 1, the system may include a server 11 and several electronic devices, which may be, for example, a cell phone 13, a cell phone 14, a computer 15, a computer 16, and so on. The network 12, which interacts between the electronic devices and the server 11, may include various types of wired or wireless networks. Of course, mobile phones and computers are only some types of electronic devices that can be used. In fact, it is obvious that the user can also use electronic devices of the type such as: tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited by one or more embodiments of the present invention. The server 11 may be a physical server comprising a separate host, or the server 11 may be a virtual server carried by a cluster of hosts.
In the running process, the server 11 may run a program on the server side of the task configuration system to implement functions such as related processing; in the operation process of the electronic equipment, a program at the client side of the task configuration system can be operated so as to realize the functions of displaying, man-machine interaction and the like of a task configuration interface. Therefore, through cooperation between the server 11 and the electronic device, task configuration is realized, and a target task of a desired function is obtained.
Fig. 2 is a schematic diagram of a virtual architecture of a task generation platform provided in an exemplary embodiment, and as shown in fig. 2, the virtual architecture may include a service layer, a logic layer, and an application layer.
The service layer has a plurality of services, for example, services a to e shown in fig. 2. Services are modules with relatively independent functions and are basic units for task execution. Developers can abstract services irrelevant to task logic and use scenes by carrying out flow analysis on various tasks, and each service can be multiplexed and simultaneously suitable for a plurality of different tasks and applications.
The logic layer is provided with a plurality of task modules, such as the task modules a to D shown in fig. 2, so that the task generation requester can select a proper task module to formulate a task capable of realizing a desired function. Each task module defines a task flow containing at least one task node, and the task flow is used for describing the execution sequence of each task node. The task module also defines services required to be called by processing each task node, namely, the corresponding relation between the task module and the services is defined, the corresponding relation between the task module and the services is reflected by an arrow between the task module and the services in the graph, and the services of the service layer can be combined and built by combining the task flow.
Taking the task module a as an example, the corresponding relationship between the task module a and the service a, the service b and the service d is established in the figure, that is, the task module a defines the services to be called by each task node, including the service a, the service b and the service d.
The task displayed by the application layer is obtained by the task generation requester performing information configuration on the task module of the logic layer. Arrows in fig. 2 indicate the correspondence between tasks and task modules, for example, task n1 is obtained by configuring task module a, task n2 is obtained by configuring task module a, and task n3 is obtained by configuring task module C. It should be noted that the task modules and tasks are not limited to the one-to-one correspondence shown in the drawings, and one task may be obtained by configuring 2 or more task modules.
The application layer also provides a task configuration interface, and the task generation requester can perform information configuration on the task module in the task configuration interface to generate a target task with an expected function. Because the corresponding relation between the task module and the service is defined in advance, in the generation process of the target task, the task generation requester can realize the formulation of the target task without sensing the underlying service, so that the formulation of the target task is greatly facilitated, and the usability, the code generation quality and the generation efficiency can be greatly improved. And the task generation requester of various applications and platforms can be customized to provide the task, and the multiplexing of the service and the task module is realized.
The specific implementation process of task generation is further described below.
Fig. 3 is a flowchart of a task configuration method provided in an exemplary embodiment, which is applied to a terminal. The method may comprise the steps of:
step 302, responding to a task generation request sent by a requester, and acquiring a task module; the task module defines a task flow including at least one task node and a service required to be called by each task node.
The task processing system can provide a user interface for making tasks, and the task modules (candidate task modules) of the logic layer are displayed for the user through the user interface without displaying services required to be called by each node of the task modules. The user can select a task module in the user interface in a triggering mode to serve as a basis of a target task for achieving the target function. In order to facilitate the user to understand the task module and configure the configuration information of the node parameter of the task node for the user, the content such as description information of the candidate task module and the task module can be presented in a form convenient for the user to understand, such as a programming language form, a text form or a graphical form.
The requester can input task description information related to the task of the target function required by the requester in a specified dialog box of the user interface, and the server receives the task description information input by the requester and acquires a candidate task module matched with the task description to serve as a task module.
The requesting party can edit the task module through the user interface, for example, add a task node, delete a task node, adjust a task flow of a task node, and the like.
For the addition of the task nodes, the server can provide candidate task nodes and display the candidate task nodes on a user interface, so that a user can select required nodes from the candidate task nodes and add the required nodes to the task module. Each candidate task node defines a required service, that is, establishes a corresponding relationship with the service.
For example, assume that a task flow defined by the task module a includes a task node a1, a task node a2, and a task node a3, and a user wants to add the task node a4 to the task module a, if the user interface graphically shows the task node a1, the task node a2, and the task node a3, and the user interface shows the task node a4 as a candidate task node, the user may complete the addition of the task node through graphical operations such as dragging, and draw a new task module. Wherein the task node a4 predefines the services it needs to invoke. If the service end does not provide the task node which the user needs to add, the user can edit the code file of the task module to add the task node.
For the change of the task flow, a user can change the incidence relation of the task nodes through graphical operations such as dragging and the like so as to change the task flow. Taking changing the task flow of the task module as an example, changing the incidence relation between the task node a3, the task node a4 and other task nodes by dragging and the like, so as to obtain a new task module after the task flow is changed, and the triggering sequence of the task nodes is changed from the triggering of the task node a1, the task node a2, the task node a3 and the task node a4 in sequence to the triggering of the task node a1 first, then the triggering of the task node a2 and the task node a3, and the triggering of the task node a4 is carried out after the task node a 2.
Similarly, the task node can be deleted by graphical operations such as dragging, and the like, and the specific implementation process is not described herein again. The server can also store the newly generated task module for other users to select and use.
The requesting party described in the above embodiments may be an application program, or simply an application. The task modules described in the above embodiments may be functions that these applications want to implement, or may be referred to as business capabilities. For example, different e-commerce platform applications may need to implement the payment function, and then only one piece of business capability for implementing the payment function may be developed and shared to a plurality of e-commerce platform applications by using the technical solution of the present specification, so as to avoid repeated development of the payment function by the e-commerce platform applications; meanwhile, the workflow required by the payment function can be predefined in the business capability, and the background service required to be called by each node in the workflow is defined, so that each e-commerce platform application only needs to pay attention to the sharing and the use of the business capability corresponding to the payment function, and does not need to pay attention to the calling of the background service or even the complex calling among the background services, thereby greatly simplifying the function expansion of the application program.
Based on the technical scheme of the specification, when a certain requesting party needs to request to share a certain task module, the task module can be configured based on self requirements, and then a plurality of requesting parties can share the task module and simultaneously realize differentiated sharing effects based on self requirements.
And 304, displaying a task configuration interface aiming at the task module.
The display of the task configuration interface may be triggered based on a task generation request sent by a task generation requester. The initial task configuration interface can display the task module of the logic layer to the task generation request party without displaying the service required to be called by each node of the task module, and the task generation request party can select the task module according to the actual requirement and carry out information configuration on the task module.
In one embodiment, the task generation requester may select the task module displayed in the initial task configuration interface as the task module for achieving the target task of the desired function in a triggering manner. In order to facilitate the task generation requester to understand the task module and configure the configuration information of the task node for the task generation requester, the task generation requester can present candidate task modules by adopting a service language which is convenient for the task generation requester to understand; or presenting the description information of the service template; or the service template is presented graphically.
In one embodiment, the task generation requester may input task description information related to a target task of a desired function required by the task generation requester in a designated dialog box of the initial task configuration interface, so that the terminal determines a task module matching the task description as a task module of the target task.
After determining the task module of the target task, the terminal displays a task configuration interface shown in fig. 4a, and the task generation requester can perform information configuration on the selected task module through the task configuration interface to realize generation of the target task.
Referring to fig. 4a, the task configuration interface includes a task configuration area 41 and a task preview area 42.
The display content of the task configuration area 41 contains configuration information necessary for generating the target task. In order to facilitate the task generation requester to perform information configuration on the task module, referring to fig. 4a, the configuration information is shown in the form of configuration options, where each configuration option corresponds to an execution logic. The task generation requester can realize the information configuration of the task module by selecting the configuration options to obtain the target task.
The task module comprises a plurality of task nodes which are not subjected to information configuration, the information configuration is carried out on the task module, namely the information configuration is carried out on each task node, and the configuration information required by each task node can be the same or different. In order to avoid that the task generation requester mistakenly configures the inappropriate configuration information for the task node, in an embodiment, the configuration information corresponding to each task node may be displayed in an integrated manner, referring to fig. 4a, a plurality of display sub-regions 411 are divided in the task configuration region, each display sub-region corresponds to each task node, and each display sub-region displays the configuration option of the corresponding task node. And the configuration of the task nodes can be realized by selecting corresponding configuration selection in each display sub-area.
Taking an example that the task module includes 3 task nodes, the 3 task nodes are respectively a task node a, a task node B and a task node C, correspondingly, the task configuration region includes 3 display sub-regions, and the 3 display sub-regions respectively show a configuration option required for configuring the task node a, a configuration option required for configuring the task node B and a configuration option required for configuring the task node C.
In an embodiment, referring to fig. 4b, the task configuration interface may further include a node display area 43, where the node display area displays task nodes included in the task module or task nodes that need to be configured with information, the task generation requester may select task nodes configured with information in the node display area, and the task configuration area displays only configuration options related to the selected task nodes. Referring to fig. 4B, the identification circle in the node display area 43 before the task node B is displayed separately from the task node a and the task node B, which indicates that the currently selected task node is the task node B, and the task configuration area only displays the configuration options related to the task node B.
In one embodiment, the requesting party may edit the task module in the node display area, for example, add a task node, delete a task node, adjust a task flow of a task node, and the like. For the addition of the task node, a window of the candidate task node may be provided based on the trigger presentation of the addition control 431 through the addition control 431 in the trigger node presentation area 43, so that the task generation requester selects a required node from the candidate task node and adds the required node to the task module. Each candidate task node defines the required service and configuration information, that is, establishes the corresponding relationship with the service and configuration information. The change of the task flow and the deletion of the task node can be realized through graphical operations such as dragging, and the specific implementation process is not described herein again. The terminal can also store the newly generated task module and add the newly generated task module to the logic layer so as to be selected and used by other task generation requesters.
Referring to fig. 4a and 4b, the display content of the task preview area 42 contains the configuration result of the target task, and the configuration information is associated with the configuration result. The configuration result may include a plurality of functional components 421, and the functional components 421 and the task nodes may be in a one-to-many relationship, that is, a plurality of task nodes that complete information configuration implement a function corresponding to one functional component; the functional component 421 and the task node may be in a many-to-one relationship, that is, one task node that completes information configuration implements functions corresponding to a plurality of functional components; the function component 421 and the task node may be in a one-to-one relationship, that is, one task node that completes information configuration implements a function corresponding to one function component.
And step 306, responding to a trigger operation aiming at any one area of the task configuration area or the task preview area, and adjusting the display content of the other area according to the trigger operation.
The trigger operation may be applied to the task configuration area or the task preview area. And if the trigger operation acts on the task configuration area, adjusting the display content of the task preview area according to the trigger operation. And if the trigger operation acts on the task preview area, adjusting the display content of the task configuration area according to the trigger operation.
The following description will be made in detail by taking an example in which the trigger operation is used for the task configuration area.
Referring to fig. 4a and 4b, the configuration options of the task configuration area include two types, one is a configuration option where execution logic is defined, and the other is a custom option where execution logic is not defined.
When the task requester selects the configuration option with the defined execution logic, namely the triggering operation is the selection operation of the configuration option, the terminal determines the execution logic corresponding to the selected configuration option according to the selected configuration option, adjusts the configuration result of the target task according to the execution logic, and updates and displays the adjusted configuration result in the task preview area. Wherein, the execution logic can be, but is not limited to, icon style addition and modification of the function component, name addition and modification of the function component display article, addition and modification of the stock of the function component display article, and the like.
For example, if the execution logic corresponding to the selected configuration option is to add an icon style of the designated functional component, the terminal adds the icon style to the designated functional component, and displays the designated functional component with the icon style added in the task preview area.
When the task requester selects a custom option with undefined execution logic, namely the triggering operation is the selection operation of the custom option, the terminal determines a target object associated with the selected custom option in the configuration result, acquires task demand information provided by the task generation requester for the target object, and sends the task demand information to the task developer so as to request the task developer to generate the execution logic according to the task demand information. And under the condition that the terminal receives the execution logic returned by the task developer, the terminal adjusts the target object according to the execution logic and updates and displays the configuration result containing the adjusted target object in the task preview area.
For example, if the task requester adds an icon style to the functional component M in fig. 4a or fig. 4b, the icon style added to the execution logic corresponding to the configuration option is not satisfied, and the task requester may select a custom option, and if the custom option is selected, the terminal may display a text box or an input window in the task configuration area for the task requester to input the description information (task requirement information) of the icon style (target object) required by the task requester. The terminal acquires the description information provided by the task generation requesting party and sends the task requirement information to the task developer so as to request the task developer to write corresponding execution logic according to the description information. And the terminal receives the execution logic returned by the task developer, adds the icon style to the functional component M according to the execution logic, and displays the configuration result containing the functional component M added with the icon style in the task preview area. Therefore, the interaction between the task requester and the task developer is realized by means of the user-defined option, the individualized requirements of any requester are clearly externalized through the interaction mode, so that the task developer can perform logic development in an individualized way according to the task requirement information provided by the task requester, and the human cost and the time cost communicated between the task requester and the task developer and between the task developer and the platform can be liberated through the interaction mode.
In one embodiment, in order to facilitate the task requester to browse the adjusted part of the configuration result, the adjusted part of the configuration result may be displayed differently.
The manner of the distinctive display may be, for example, highlighting the adjusted portion; or, the adjusted part is displayed normally, and the part which is not adjusted is displayed in gray scale; alternatively, the adjusted portion is highlighted, and the unadjusted portion is displayed in gray scale.
The manner of the distinctive display may be, for example, to enlarge and display the adjusted portion. For example, if the adjusted part is the target task name, the font of the target task name is enlarged from the size shown in fig. 4b to the size shown in fig. 4 c. When the task requester executes the predefined operation, which may be, for example, one trigger operation in the task preview area or one trigger operation in the task configuration area, the distinctively displayed portion is restored.
The differentiated display may be, for example, identified by means of an identification frame, i.e., by using an identification frame to identify the adjusted portion. Referring to fig. 4d, the area in which the dashed rectangle box is located represents the adjusted portion. The shape of the mark frame is not limited to the rectangle shown in fig. 4d, but may also be an ellipse, a square, etc.; the identification box is also not limited to being represented by a dashed line.
The following description will be made in detail by taking an example in which the trigger operation is used for the task configuration area.
Referring to fig. 4a to 4d, the task preview area includes a plurality of functional components for implementing the target task, and the task requester may specifically select a functional component and perform information configuration on a task node related to the selected functional component. If at least one selected functional component is selected, the terminal displays configuration information required by task nodes related to the selected functional component in a task configuration area, and hides the configuration information of the task nodes related to the unselected functional components. Therefore, information configuration of the task nodes related to the selected functional components is achieved in a targeted manner.
In this embodiment of the present description, a task configuration interface for implementing task configuration includes a task configuration area and a task preview area, and establishes an association relationship between configuration information displayed in the task configuration area and a configuration result displayed in the task preview area, and a task generation requester triggers adjustment of display content in another area in response to a triggering operation of any area. Therefore, the task requester can preview the configuration result of the target task while performing information configuration, and can also autonomously judge the range, type and the like of the configuration information required by the target task by indexing the configuration information required by the functional component of the configuration result, which is a new revolution of a preview interaction mode.
And 308, configuring the task module according to the configuration information to generate a target task.
After the target task is generated by configuring the task module, the target task may be deployed at a terminal for generating the target task, or the target task may be deployed at another terminal. And when the target task is called, realizing a corresponding function. Specifically, when an execution request of a target task of an application layer is received, each task node included in a task flow defined by the target task is sequentially executed, and a target service corresponding to a currently executed task node is determined and called so as to respond to the execution request. For the configuration of the task module and the execution of the task, the terminal with the target service can be matched with the client running on each electronic device.
The embodiment of the present specification further provides a task configuration interface, which includes a task configuration area and a task preview area, referring to fig. 4a to 4 d. The task configuration area is used for displaying configuration information required for generating the target task, the task preview area is used for displaying a configuration result of the target task, the configuration information is associated with the configuration result, the configuration information displayed by the task configuration area is adjusted according to the trigger operation in the task preview area, and the configuration result displayed by the task preview area is adjusted according to the trigger operation in the task configuration area. For a specific implementation manner of adjusting the display contents of the task configuration area and the task preview area, reference is made to the description of the above method embodiment section, and details are not described here again.
FIG. 5 is a schematic block diagram of an apparatus provided in an exemplary embodiment. Referring to fig. 5, at the hardware level, the apparatus includes a processor 502, an internal bus 504, a network interface 506, a memory 508 and a non-volatile memory 510, but may also include hardware required for other services. The processor 502 reads a corresponding computer program from the non-volatile memory 510 into the memory 508 and runs it, forming a task configuration device on a logical level. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Referring to fig. 6, in a software implementation, the task configuration device may include:
an obtaining unit 61, configured to obtain a task module in response to a task generation request sent by a requester; the task module defines a task flow comprising at least one task node and a service required to be called by each task node;
a display unit 62, configured to display a task configuration interface for the task module, where the task configuration interface includes a task configuration area and a task preview area, a display content of the task configuration area includes configuration information required for configuring node parameters of one or more task nodes, and a display content of the task preview area includes a configuration result associated with the configuration information;
an adjusting unit 63, configured to, in response to a trigger operation for any one of the task configuration area and the task preview area, adjust display content of the other area according to the trigger operation;
and the generating unit 64 is used for configuring the task module according to the configuration information so as to generate the target task.
Optionally, the configuration information includes a configuration option, and the trigger operation is a selection operation of the configuration option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining, according to the selected configuration option, execution logic corresponding to the selected configuration option;
and adjusting a configuration result according to the execution logic, and updating and displaying the adjusted configuration result in the task preview area.
Optionally, the configuration information includes a custom option, and the trigger operation is a selection operation of the custom option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining a target object in the configuration result, which is associated with the selected custom option;
acquiring task demand information provided by a task generation requester for the target object, and sending the task demand information to a task developer to request the task developer to generate an execution logic according to the task demand information;
and adjusting the target object according to the execution logic returned by the task developer, and updating and displaying the configuration result containing the adjusted target object in the task preview area.
Optionally, the method further comprises:
and the display unit is used for displaying the adjusted part in the configuration result in a distinguishing manner.
Optionally, the task configuration area includes display sub-areas respectively corresponding to the task nodes;
the task configuration device further comprises:
and the display unit is used for respectively displaying the configuration information corresponding to each task node in the corresponding display sub-area.
Optionally, the configuration result includes a functional component for implementing a target task, and the trigger operation is a selected operation of the functional component; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
and displaying the configuration information related to the selected functional components in the task configuration area, and hiding the configuration information related to the unselected functional components.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement an information store by any method or technology, on which is stored a computer program (information) that, when executed by a processor, implements method steps provided by any of the embodiments described above. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (12)

1. A task configuration method, comprising:
responding to a task generation request sent by a requester, and acquiring a task module; the task module defines a task flow comprising at least one task node and a service required to be called by each task node;
displaying a task configuration interface aiming at the task module, wherein the task configuration interface comprises a task configuration area and a task preview area, the display content of the task configuration area comprises configuration information required by configuration of node parameters of one or more task nodes, and the display content of the task preview area comprises configuration results associated with the configuration information;
responding to a trigger operation aiming at any one of the task configuration area or the task preview area, and adjusting the display content of the other area according to the trigger operation;
and configuring the task module according to the configuration information to generate a target task.
2. The task configuration method according to claim 1, wherein the configuration information includes configuration options, and the trigger operation is a selection operation of the configuration options; the adjusting the display content of the other area according to the trigger operation comprises:
determining, according to the selected configuration option, execution logic corresponding to the selected configuration option;
and adjusting a configuration result according to the execution logic, and updating and displaying the adjusted configuration result in the task preview area.
3. The task configuration method according to claim 1, wherein the configuration information includes a custom option, and the trigger operation is a selection operation of the custom option; the adjusting the display content of the other area according to the trigger operation comprises:
determining a target object in the configuration result, which is associated with the selected custom option;
acquiring task demand information provided by a task generation requester for the target object, and sending the task demand information to a task developer to request the task developer to generate an execution logic according to the task demand information;
and adjusting the target object according to the execution logic returned by the task developer, and updating and displaying the configuration result containing the adjusted target object in the task preview area.
4. A task configuration method according to claim 2 or 3, characterized by further comprising:
and distinctively displaying the adjusted part in the configuration result.
5. The task configuration method according to claim 1, wherein the task configuration area includes display sub-areas respectively corresponding to the task nodes;
the task configuration method further comprises the following steps:
and respectively displaying the configuration information corresponding to each task node in the corresponding display subarea.
6. The task configuration method according to claim 1, wherein the configuration result includes a functional component that implements a target task, and the trigger operation is a selected operation of the functional component; adjusting the display content of another area according to the trigger operation, comprising:
and displaying the configuration information related to the selected functional components in the task configuration area, and hiding the configuration information related to the unselected functional components.
7. A task configuration apparatus, comprising:
the acquisition unit is used for responding to a task generation request sent by a requester and acquiring a task module; the task module defines a task flow comprising at least one task node and a service required to be called by each task node;
the task configuration interface comprises a task configuration area and a task preview area, the display content of the task configuration area comprises configuration information required by configuration of node parameters of one or more task nodes, and the display content of the task preview area comprises configuration results associated with the configuration information;
the adjusting unit is used for responding to the triggering operation of any one of the task configuration area or the task preview area and adjusting the display content of the other area according to the triggering operation;
and the generating unit is used for configuring the task module according to the configuration information so as to generate a target task.
8. The task configuration device according to claim 7, wherein the configuration information includes a configuration option, and the trigger operation is a selection operation of the configuration option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining, according to the selected configuration option, execution logic corresponding to the selected configuration option;
and adjusting a configuration result according to the execution logic, and updating and displaying the adjusted configuration result in the task preview area.
9. The task configuration device according to claim 7, wherein the configuration information includes a custom option, and the trigger operation is a selection operation of the custom option; when the display content of another area is adjusted according to the trigger operation, the adjusting unit is configured to:
determining a target object in the configuration result, which is associated with the selected custom option;
acquiring task demand information provided by a task generation requester for the target object, and sending the task demand information to a task developer to request the task developer to generate an execution logic according to the task demand information;
and adjusting the target object according to the execution logic returned by the task developer, and updating and displaying the configuration result containing the adjusted target object in the task preview area.
10. The task configuration interface is characterized by corresponding to a task module, wherein the task module defines a task flow comprising at least one task node and a service required to be called by each task node; the task configuration interface comprises:
the task configuration method comprises a task configuration area and a task preview area, wherein the task configuration area is used for displaying configuration information required for configuring node parameters of one or more task nodes, and the task preview area is used for displaying configuration results associated with the configuration information;
wherein, in response to a trigger operation for any one of the task configuration area or the task preview area, the display content of the other area is adjusted according to the trigger operation.
11. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of claims 1-6 by executing the executable instructions.
12. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1-6.
CN202110352234.2A 2021-03-31 2021-03-31 Task configuration method and device Active CN113296906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110352234.2A CN113296906B (en) 2021-03-31 2021-03-31 Task configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352234.2A CN113296906B (en) 2021-03-31 2021-03-31 Task configuration method and device

Publications (2)

Publication Number Publication Date
CN113296906A true CN113296906A (en) 2021-08-24
CN113296906B CN113296906B (en) 2023-11-28

Family

ID=77319307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352234.2A Active CN113296906B (en) 2021-03-31 2021-03-31 Task configuration method and device

Country Status (1)

Country Link
CN (1) CN113296906B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093488A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Node state determination method and apparatus, electronic device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086092A1 (en) * 2003-10-15 2005-04-21 Oracle International Corporation Methods and systems for diagramming and remotely manipulating business objects
US20060190486A1 (en) * 2005-02-24 2006-08-24 Qi Zhou Configuring a computer application with preconfigured business content
US20140335842A1 (en) * 2013-05-13 2014-11-13 Alcatel-Lucent Canada Inc. Customizable task execution flow
US20190087763A1 (en) * 2017-09-14 2019-03-21 Speedlancer Inc Workflow systems and methods
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
US20200167172A1 (en) * 2018-11-26 2020-05-28 Sap Se Declarative technical configuration composer for integration setup
CN111258773A (en) * 2018-12-01 2020-06-09 阿里巴巴集团控股有限公司 Service call flow information processing method and device and electronic equipment
CN111552470A (en) * 2019-12-31 2020-08-18 远景智能国际私人投资有限公司 Data analysis task creation method and device in Internet of things and storage medium
CN112084315A (en) * 2020-09-07 2020-12-15 腾讯科技(深圳)有限公司 Question-answer interaction method, device, storage medium and equipment
US10891569B1 (en) * 2014-01-13 2021-01-12 Amazon Technologies, Inc. Dynamic task discovery for workflow tasks

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086092A1 (en) * 2003-10-15 2005-04-21 Oracle International Corporation Methods and systems for diagramming and remotely manipulating business objects
US20060190486A1 (en) * 2005-02-24 2006-08-24 Qi Zhou Configuring a computer application with preconfigured business content
US20140335842A1 (en) * 2013-05-13 2014-11-13 Alcatel-Lucent Canada Inc. Customizable task execution flow
US10891569B1 (en) * 2014-01-13 2021-01-12 Amazon Technologies, Inc. Dynamic task discovery for workflow tasks
US20190087763A1 (en) * 2017-09-14 2019-03-21 Speedlancer Inc Workflow systems and methods
US20200167172A1 (en) * 2018-11-26 2020-05-28 Sap Se Declarative technical configuration composer for integration setup
CN111258773A (en) * 2018-12-01 2020-06-09 阿里巴巴集团控股有限公司 Service call flow information processing method and device and electronic equipment
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
CN111552470A (en) * 2019-12-31 2020-08-18 远景智能国际私人投资有限公司 Data analysis task creation method and device in Internet of things and storage medium
CN112084315A (en) * 2020-09-07 2020-12-15 腾讯科技(深圳)有限公司 Question-answer interaction method, device, storage medium and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093488A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Node state determination method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN113296906B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
US10817263B2 (en) Workflow development system with ease-of-use features
JP6957632B2 (en) Notification channel for computing device notifications
CN106874174B (en) Method and device for realizing interface test and function test
CN106797547B (en) Operating system support for location cards
CN113298343B (en) Task generation method, task execution method and device
CN106533926B (en) Webpage information spreading method and device
JP6794347B2 (en) Application interface navigation
CN112230909A (en) Data binding method, device and equipment of small program and storage medium
CN113535267A (en) Applet page configuration method and device, electronic equipment and storage medium
CN112083978B (en) Event sharing method and device
CN108092872B (en) Communication method and device
US20230013569A1 (en) Combined local and server context menus
US9377864B2 (en) Transforming visualized data through visual analytics based on interactivity
US10474520B2 (en) Methods for decomposing events from managed infrastructures
CN115145545A (en) Method and device for generating small program code, computer equipment and storage medium
CN113296906B (en) Task configuration method and device
CN110659406B (en) Searching method and device
CN109240678B (en) Code generation method and device
US11036354B2 (en) Integrating desktop and mobile devices
CN110187874B (en) Rule configuration method and device executed in computer equipment
US11093041B2 (en) Computer system gesture-based graphical user interface control
CN114201086B (en) Information display method and device
CN113435847A (en) Information display method and device, electronic equipment and storage medium
CN105094789A (en) Data exchanging method and device
CN113986422A (en) Rapid control method and device for application function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240310

Address after: # 03-06, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Patentee after: Alibaba Innovation Co.

Country or region after: Singapore

Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road

Patentee before: Alibaba Singapore Holdings Ltd.

Country or region before: Singapore

TR01 Transfer of patent right