CN112286514A - Method and device for configuring task flow and electronic equipment - Google Patents

Method and device for configuring task flow and electronic equipment Download PDF

Info

Publication number
CN112286514A
CN112286514A CN202011169098.5A CN202011169098A CN112286514A CN 112286514 A CN112286514 A CN 112286514A CN 202011169098 A CN202011169098 A CN 202011169098A CN 112286514 A CN112286514 A CN 112286514A
Authority
CN
China
Prior art keywords
task
flow
data
task flow
task data
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
CN202011169098.5A
Other languages
Chinese (zh)
Other versions
CN112286514B (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.)
Shanghai Qiyue Information Technology Co Ltd
Original Assignee
Shanghai Qiyue Information Technology Co 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 Shanghai Qiyue Information Technology Co Ltd filed Critical Shanghai Qiyue Information Technology Co Ltd
Priority to CN202011169098.5A priority Critical patent/CN112286514B/en
Publication of CN112286514A publication Critical patent/CN112286514A/en
Application granted granted Critical
Publication of CN112286514B publication Critical patent/CN112286514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • 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/0486Drag-and-drop
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the specification provides a method for configuring a task flow, which provides a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component, generates a first task flow according to the task flow component combined by a user's dragging operation, is simple to operate, then matches the first task data in a task flow library by determining the first task data used for a splicing flow in the first task flow, a user can determine second task data matched with the first task data and a second task flow containing the second task data only in an automatic matching manner without continuously configuring the task flow following the first task data, and then splices the second task flow with the first task flow to generate a combined task flow, so that the reuse rate of the existing second task flow is improved, repeated operation is reduced, and configuration efficiency is improved.

Description

Method and device for configuring task flow and electronic equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for configuring a task flow, and an electronic device.
Background
When a computer executes a task (such as an intelligent robot and human conversation), an execution flow of the task needs to be formulated first, and at present, most of the flow configuration methods for the task executed by the computer are programmed according to a flow diagram, which often causes repeated configuration of part of task links and has low efficiency.
There is a need for a more efficient method of configuring task flows.
Disclosure of Invention
The embodiment of the specification provides a method and a device for configuring a task flow and electronic equipment, which are used for reducing repeated operations and improving the configuration efficiency of the task flow.
An embodiment of the present specification provides a method for configuring a task flow, including:
providing a visual page with task flow components, wherein the task flow components comprise edge components and node components;
generating a first task flow according to a task flow component combined by dragging operation of a user, and determining first task data for a splicing flow in the first task flow;
matching the first task data in a task flow library, and determining second task data matched with the first task data and a second task flow containing the second task data;
and splicing the second task flow and the first task flow to generate a combined task flow.
Optionally, the matching the first task data in the task flow library, and determining second task data matched with the first task data and a second task flow including the second task data, includes:
constructing a matching rule according to the semantics;
and acquiring a task flow in a task flow library, matching the acquired task data in the task flow with the first task data based on the matching rule, and determining second task data which is successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data that is successfully matched and the second task process that includes the second task data further includes:
and calculating semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
Optionally, the method further comprises:
generating a task component for user selection in the visualization page based on the second task data;
the task process for generating a combination by splicing the second task process and the first task process includes:
and if the user selects the task component generated based on the second task data, splicing a second task flow corresponding to the task component with the first task flow to generate a combined task flow.
Optionally, the first task data is initial task data of the first task process;
the task process for generating a combination by splicing the second task process and the first task process includes:
and determining the tail end task data of the second task flow in the second task data matched with the first task data, and splicing the tail end task data and the initial task data to generate a combined task flow.
Optionally, the determining first task data used for a splicing process in the first task process includes:
and determining a skip component in the task flow components of the first task flow, and determining task data corresponding to the skip component.
Optionally, the determining a skip component in the task flow components of the first task flow includes:
and determining a skip component in the task flow component of the first task flow according to the attribute configuration operation of the user on the task flow component.
Optionally, the second task process is a global task process, and the first task process is a local task process.
An embodiment of the present specification further provides a device for configuring a task flow, including:
the page module is used for providing a visual page with task flow components, and the task flow components comprise edge components and node components;
generating a first task flow according to a task flow component combined by dragging operation of a user, and determining first task data for a splicing flow in the first task flow;
the flow splicing module is used for matching the first task data in a task flow library, and determining second task data matched with the first task data and a second task flow containing the second task data;
and splicing the second task flow and the first task flow to generate a combined task flow.
Optionally, the matching the first task data in the task flow library, and determining second task data matched with the first task data and a second task flow including the second task data, includes:
constructing a matching rule according to the semantics;
and acquiring a task flow in a task flow library, matching the acquired task data in the task flow with the first task data based on the matching rule, and determining second task data which is successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data that is successfully matched and the second task process that includes the second task data further includes:
and calculating semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
Optionally, the page module is further configured to:
generating a task component for user selection in the visualization page based on the second task data;
the task process for generating a combination by splicing the second task process and the first task process includes:
and if the user selects the task component generated based on the second task data, splicing a second task flow corresponding to the task component with the first task flow to generate a combined task flow.
Optionally, the first task data is initial task data of the first task process;
the task process for generating a combination by splicing the second task process and the first task process includes:
and determining the tail end task data of the second task flow in the second task data matched with the first task data, and splicing the tail end task data and the initial task data to generate a combined task flow.
Optionally, the determining first task data used for a splicing process in the first task process includes:
and determining a skip component in the task flow components of the first task flow, and determining task data corresponding to the skip component.
Optionally, the determining a skip component in the task flow components of the first task flow includes:
and determining a skip component in the task flow component of the first task flow according to the attribute configuration operation of the user on the task flow component.
Optionally, the second task process is a global task process, and the first task process is a local task process.
An embodiment of the present specification further provides an electronic device, where the electronic device includes:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform any of the methods described above.
The present specification also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement any of the above methods.
Various technical solutions provided in the embodiments of the present specification provide a visual page with a task flow component, where the task flow component includes an edge component and a node component, a first task flow is generated according to a task flow component combined by a drag operation of a user, the operation is simple, then a first task data used for a splicing flow in the first task flow is determined, the first task data is matched in a task flow library, the user does not need to continue to configure a task flow following the first task data, a second task data matched with the first task data and a second task flow including the second task data can be determined only in an automatic matching manner, then the second task flow is spliced with the first task flow to generate a combined task flow, and the reuse rate of an existing second task flow is improved, repeated operation is reduced, and configuration efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram illustrating a method for configuring a task flow according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of an apparatus for configuring task flows according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Fig. 1 is a schematic diagram of a method for configuring a task flow according to an embodiment of the present disclosure, where the method may include:
s101: a visualization page is provided having task flow components including edge components and node components.
In this embodiment of the present specification, the task flow may be an interactive task flow, and the interactive task flow may obtain a corresponding result according to external feedback or jump to a next flow node.
In an embodiment of the present specification, in order to reduce a threshold of configuring a task flow and improve operability, a visual page may be provided, and a task flow component is provided in the visual page, so that a user may combine the task flow components by dragging the task flow components in the page, thereby implementing configuration of the task flow.
The process is composed of nodes and judgment conditions reaching the nodes, and therefore, the task process component may include an edge component and a node component, the edge component corresponds to edge data, the node component has node data, the edge data is a judgment condition, the edge data is a result corresponding to the judgment condition, for example, the edge data is an age group, and the node data is television program information adapted to the age group, which is not described in detail herein.
The task flow component can be edited, corresponding task data can be generated by editing the task flow component, the task flow component can also be used for setting attributes by a user, for example, the user can set the task flow component as a skip component.
When a user drags the task flow components, the positions of the task flow components can be calculated, if the user combines the task flow components through dragging, task data generated by dragging behaviors of the user are obtained, the task data are correlated, and accordingly a task flow is generated.
Wherein, combining the task flow components may be connecting the task flow components.
In actual use, new processes are needed to be reconfigured every time, however, some links may occur repeatedly every time of configuration, and if existing processes can be utilized when task processes are reconfigured, the reuse rate of the existing processes is improved, repeated operation can be reduced, and configuration efficiency is improved.
When using the existing flows, the problem of the connection between the flows needs to be considered. Because it is difficult for people to know which processes exist and which processes are suitable for matching with the task process generated by the current operation, the first task data used for the splicing process in the first task process can be identified, and based on the first task data, the existing processes matched with the first task data can be automatically selected, and then the splicing is completed.
S102: generating a first task flow according to the task flow component combined by the dragging operation of the user, and determining first task data used for a splicing flow in the first task flow.
In an embodiment of this specification, the determining first task data used for a splicing process in the first task process may include:
and determining a skip component in the task flow components of the first task flow, and determining task data corresponding to the skip component.
The attribute of the skip component may be preset or temporarily set.
Optionally, the determining a skip component in the task flow components of the first task flow may include:
and determining a skip component in the task flow component of the first task flow according to the attribute configuration operation of the user on the task flow component.
In an application scenario, a user edits and then drags a task flow component, different task flow components are combined, at the moment, a background acquires the behavior, then extracts the back task data, and generates a task flow based on the acquired task data. Then, the user sets the attribute of a certain component therein as a jumping component. After the background recognizes the behavior, the task data in the jumping component is extracted.
After the first task data used for the splicing process is acquired, the existing process matched with the first task data can be automatically selected according to the first task data, and then splicing is completed.
S103: and matching the first task data in a task flow library, and determining second task data matched with the first task data and a second task flow containing the second task data.
The matching the first task data in the task flow library, and determining second task data matched with the first task data and a second task flow including the second task data may include:
constructing a matching rule according to the semantics;
and acquiring a task flow in a task flow library, matching the acquired task data in the task flow with the first task data based on the matching rule, and determining second task data which is successfully matched and a second task flow containing the second task data.
Considering that task data generated by user editing often has subjectivity and is relatively random, the task data may be similar to but different from task data in the existing flow, in order to reduce the input difficulty of the user, the semantic similarity can be calculated, and as long as the semantic similarity is high, the matching is considered to be successful.
Therefore, the determining the second task data successfully matched and the second task flow including the second task data may further include:
and calculating semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
S104: and splicing the second task flow and the first task flow to generate a combined task flow.
By providing a visual page with task flow components, the task flow components can comprise edge components and node components, a first task flow is generated according to the task flow components combined by the dragging operation of a user, the operation is simple, then the first task data used for the splicing flow in the first task flow is determined, the first task data is matched in a task flow library, the user does not need to continue to configure the task flow following the first task data, the second task data matched with the first task data and the second task flow containing the second task data can be determined only in an automatic matching mode, then the second task flow and the first task flow are spliced to generate the combined task flow, the reuse rate of the existing second task flow is improved, and the repeated operation is reduced, the configuration efficiency is improved.
In order to improve configuration accuracy and reflect user intentions of the flow truly, matched task data can be provided for a user for confirmation, and the flow is spliced after the user confirms the task data.
Therefore, in the embodiment of the present specification, the method may further include:
generating a task component for user selection in the visualization page based on the second task data;
the splicing the second task flow and the first task flow to generate a combined task flow may include:
and if the user selects the task component generated based on the second task data, splicing a second task flow corresponding to the task component with the first task flow to generate a combined task flow.
Of course, the task component generated based on the second task data may be a component in which a second task flow is displayed.
In consideration of an application scenario, some processes are more in links and are more complex, if the processes are displayed in one page, not only is there a display obstacle, but also it is difficult for a user to find out the logic in the displayed processes when browsing, therefore, if we can split a large process into small processes for configuration, and then split the small processes after configuration, the configuration difficulty can be reduced, and meanwhile, when some local task processes are subsequently modified or even replaced, operations can be directly performed on the pages of the local task processes, thereby improving convenience.
For ease of understanding, we may refer to the large flow as a global task flow and the partial task flow as a local task flow.
Therefore, optionally, the second task flow is a global task flow, and the first task flow is a local task flow.
Therefore, through splicing, the effects of configuring local task flows outside the global task flows and finally merging the local task flows and the global task flows can be achieved.
In an embodiment of the present specification, the first task data is initial task data of the first task process;
the splicing the second task flow and the first task flow to generate a combined task flow may include:
and determining the tail end task data of the second task flow in the second task data matched with the first task data, and splicing the tail end task data and the initial task data to generate a combined task flow.
In this way, the first task flow generated by the configuration can be directly spliced into the existing task flow.
Considering the complexity of the task flow, many branches of the task flow are often returned to the same node and flows behind the same node, and at this time, if the task flow is displayed in the page for configuration, the configuration is difficult and error is easy to occur, and if only one component is provided with a plurality of components matched with the component in the page, the configuration is more intuitive and has stronger operability.
Therefore, in the embodiment of the present specification, the end task data of the second task flow is plural;
the splicing the end task data and the initial task data may include:
and splicing the plurality of the terminal task data with the initial task data to generate a task flow multiplexing the first task flow.
In an actual application scenario, a user considers that a plurality of nodes of a global task flow are all converged by certain task data, so that the task data is used as initial task data to edit a component, the initial task data is set as a skip component, a first task flow is configured and generated, a background automatically matches the global task flow according to the initial task data, the global task flow comprises a plurality of terminal task data matched with the initial task data, the background judges that the plurality of terminal task data can share the first task flow, and then the flows are spliced on the background.
In the embodiment of the specification, the task flow is a conversation flow of the intelligent voice robot
Wherein, the method can also comprise:
and providing a local task flow for the user to carry out conversation, and triggering and calling a global task flow to carry out conversation on the user response when the user response meets a preset condition.
In this embodiment of the present specification, the first task flow and the second task flow may also be both local task flows of a global task flow, and by splicing different local task flows, the interaction logic of the robot may jump to other local task flows to perform a conversation with the user.
In the embodiment of the present specification, after the combined task flow is generated by splicing, the dead loop verification may be performed on the global task flow generated by splicing, so as to determine whether a dead loop occurs, and prevent the dead loop from occurring.
Fig. 2 is a schematic structural diagram of an apparatus for configuring a task flow according to an embodiment of the present disclosure, where the apparatus may include:
the page module 201 provides a visual page with task flow components, wherein the task flow components comprise edge components and node components;
generating a first task flow according to a task flow component combined by dragging operation of a user, and determining first task data for a splicing flow in the first task flow;
the process splicing module 202 is configured to match the first task data in a task process library, and determine second task data matched with the first task data and a second task process including the second task data;
and splicing the second task flow and the first task flow to generate a combined task flow.
Optionally, the matching the first task data in the task flow library, and determining second task data matched with the first task data and a second task flow including the second task data, includes:
constructing a matching rule according to the semantics;
and acquiring a task flow in a task flow library, matching the acquired task data in the task flow with the first task data based on the matching rule, and determining second task data which is successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data that is successfully matched and the second task process that includes the second task data further includes:
and calculating semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
Optionally, the page module is further configured to:
generating a task component for user selection in the visualization page based on the second task data;
the task process for generating a combination by splicing the second task process and the first task process includes:
and if the user selects the task component generated based on the second task data, splicing a second task flow corresponding to the task component with the first task flow to generate a combined task flow.
Optionally, the first task data is initial task data of the first task process;
the task process for generating a combination by splicing the second task process and the first task process includes:
and determining the tail end task data of the second task flow in the second task data matched with the first task data, and splicing the tail end task data and the initial task data to generate a combined task flow.
Optionally, the number of the end task data of the second task flow is multiple;
the splicing the end task data and the initial task data comprises:
and splicing the plurality of the terminal task data with the initial task data to generate a task flow multiplexing the first task flow.
Optionally, the determining first task data used for a splicing process in the first task process includes:
and determining a skip component in the task flow components of the first task flow, and determining task data corresponding to the skip component.
Optionally, the determining a skip component in the task flow components of the first task flow includes:
and determining a skip component in the task flow component of the first task flow according to the attribute configuration operation of the user on the task flow component.
Optionally, the second task process is a global task process, and the first task process is a local task process.
The device provides a visual page with task flow components, wherein the task flow components comprise edge components and node components, a first task flow is generated according to the task flow components combined by the dragging operation of a user, the operation is simple, then the first task data used for a splicing flow in the first task flow is determined, the first task data is matched in a task flow library, the user does not need to continuously configure the task flow following the first task data, the second task data matched with the first task data and the second task flow containing the second task data can be determined only in an automatic matching mode, then the second task flow and the first task flow are spliced to generate the combined task flow, the reuse rate of the existing second task flow is improved, and the repeated operation is reduced, the configuration efficiency is improved.
Based on the same inventive concept, the embodiment of the specification further provides the electronic equipment.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting the various system components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
A computer program implementing the method shown in fig. 1 may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for configuring a task flow, comprising:
providing a visual page with task flow components, wherein the task flow components comprise edge components and node components;
generating a first task flow according to a task flow component combined by dragging operation of a user, and determining first task data for a splicing flow in the first task flow;
matching the first task data in a task flow library, and determining second task data matched with the first task data and a second task flow containing the second task data;
and splicing the second task flow and the first task flow to generate a combined task flow.
2. The method of claim 1, wherein the matching the first task data in a task process library, determining second task data that matches the first task data and a second task process that includes the second task data, comprises:
constructing a matching rule according to the semantics;
and acquiring a task flow in a task flow library, matching the acquired task data in the task flow with the first task data based on the matching rule, and determining second task data which is successfully matched and a second task flow containing the second task data.
3. The method according to any one of claims 1-2, wherein the determining a second task data that matches successfully and a second task flow that includes the second task data further comprises:
and calculating semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
4. The method according to any one of claims 1-3, further comprising:
generating a task component for user selection in the visualization page based on the second task data;
the task process for generating a combination by splicing the second task process and the first task process includes:
and if the user selects the task component generated based on the second task data, splicing a second task flow corresponding to the task component with the first task flow to generate a combined task flow.
5. The method according to any of claims 1-4, wherein the first task data is initial task data of the first task flow;
the task process for generating a combination by splicing the second task process and the first task process includes:
and determining the tail end task data of the second task flow in the second task data matched with the first task data, and splicing the tail end task data and the initial task data to generate a combined task flow.
6. The method according to any of claims 1-5, wherein said determining first task data for a splicing flow in said first task flow comprises:
and determining a skip component in the task flow components of the first task flow, and determining task data corresponding to the skip component.
7. The method of any of claims 1-6, wherein the determining a jump component in the task flow components of the first task flow comprises:
and determining a skip component in the task flow component of the first task flow according to the attribute configuration operation of the user on the task flow component.
8. An apparatus for configuring a task flow, comprising:
the page module is used for providing a visual page with task flow components, and the task flow components comprise edge components and node components;
generating a first task flow according to a task flow component combined by dragging operation of a user, and determining first task data for a splicing flow in the first task flow;
the flow splicing module is used for matching the first task data in a task flow library, and determining second task data matched with the first task data and a second task flow containing the second task data;
and splicing the second task flow and the first task flow to generate a combined task flow.
9. An electronic device, wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-7.
CN202011169098.5A 2020-10-28 2020-10-28 Method and device for configuring task flow and electronic equipment Active CN112286514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011169098.5A CN112286514B (en) 2020-10-28 2020-10-28 Method and device for configuring task flow and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011169098.5A CN112286514B (en) 2020-10-28 2020-10-28 Method and device for configuring task flow and electronic equipment

Publications (2)

Publication Number Publication Date
CN112286514A true CN112286514A (en) 2021-01-29
CN112286514B CN112286514B (en) 2023-06-16

Family

ID=74373458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011169098.5A Active CN112286514B (en) 2020-10-28 2020-10-28 Method and device for configuring task flow and electronic equipment

Country Status (1)

Country Link
CN (1) CN112286514B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779214A (en) * 2021-08-17 2021-12-10 深圳市人马互动科技有限公司 Automatic generation method and device of jump condition, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445506A (en) * 2016-09-06 2017-02-22 北京恒华伟业科技股份有限公司 Business flow chart generation method, device and system
CN107767008A (en) * 2017-03-03 2018-03-06 平安医疗健康管理股份有限公司 Flow collocation method and device
CN108334346A (en) * 2017-08-18 2018-07-27 深圳怡化电脑股份有限公司 A kind of development approach and device of Service control flow
CN109165351A (en) * 2018-08-27 2019-01-08 成都信息工程大学 A kind of semantic-based services component search recommended method
CN110187875A (en) * 2019-05-28 2019-08-30 深圳市智慧郎数码科技有限公司 A kind of component visual melts forwarding method
CN110321129A (en) * 2019-05-20 2019-10-11 深圳壹账通智能科技有限公司 Business based on developing instrument executes method, apparatus and computer equipment
CN110457011A (en) * 2019-08-15 2019-11-15 苏州思必驰信息科技有限公司 Software application method for customizing and exploitation server-side
CN111369081A (en) * 2018-12-06 2020-07-03 北京嘀嘀无限科技发展有限公司 Flow configuration method and device, electronic equipment and storage medium
CN111949170A (en) * 2020-07-17 2020-11-17 上海淇馥信息技术有限公司 Method and device for configuring task flow and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445506A (en) * 2016-09-06 2017-02-22 北京恒华伟业科技股份有限公司 Business flow chart generation method, device and system
CN107767008A (en) * 2017-03-03 2018-03-06 平安医疗健康管理股份有限公司 Flow collocation method and device
CN108334346A (en) * 2017-08-18 2018-07-27 深圳怡化电脑股份有限公司 A kind of development approach and device of Service control flow
CN109165351A (en) * 2018-08-27 2019-01-08 成都信息工程大学 A kind of semantic-based services component search recommended method
CN111369081A (en) * 2018-12-06 2020-07-03 北京嘀嘀无限科技发展有限公司 Flow configuration method and device, electronic equipment and storage medium
CN110321129A (en) * 2019-05-20 2019-10-11 深圳壹账通智能科技有限公司 Business based on developing instrument executes method, apparatus and computer equipment
CN110187875A (en) * 2019-05-28 2019-08-30 深圳市智慧郎数码科技有限公司 A kind of component visual melts forwarding method
CN110457011A (en) * 2019-08-15 2019-11-15 苏州思必驰信息科技有限公司 Software application method for customizing and exploitation server-side
CN111949170A (en) * 2020-07-17 2020-11-17 上海淇馥信息技术有限公司 Method and device for configuring task flow and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779214A (en) * 2021-08-17 2021-12-10 深圳市人马互动科技有限公司 Automatic generation method and device of jump condition, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112286514B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN111949170B (en) Method and device for configuring task flow and electronic equipment
US10540350B2 (en) Source code search engine
CN102750311B (en) The dialogue of expansion understands architecture
CN109684057B (en) Task processing method and device and storage medium
CN108920135B (en) User-defined service generation method and device, computer equipment and storage medium
CN106027785A (en) Voice processing method and terminal
JP2005018114A (en) Program maintenance support device, program maintenance support method, and program
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
CN116360735A (en) Form generation method, device, equipment and medium
CN112286514B (en) Method and device for configuring task flow and electronic equipment
CN114449063B (en) Message processing method, device and equipment
CN112988139B (en) Method and device for developing event processing file
CN110362317A (en) A kind of code conversion method, device and storage medium
CN113885841A (en) Script generation method and device, electronic equipment and readable medium
CN113141407A (en) Page resource loading method and device and electronic equipment
CN113179183A (en) Service switch state control device and method
CN112650839A (en) Retrieval information optimization method and device
US8266093B2 (en) Data processing apparatus and method for constructing interactive contents and recording media
CN113590216B (en) Timing task centralized management method and device and electronic equipment
CN113760248A (en) Method and device for generating application program
CN118175400A (en) Video editing method and device and electronic equipment
JP7142734B2 (en) Data processing method, apparatus, equipment, and program based on recurrent neural network
WO2024078000A1 (en) Code management method and related device
CN115951869A (en) Page development method and device
CN115794279A (en) Method for configuring and constructing interface based on visual configuration

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