CN112286514B - 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
CN112286514B
CN112286514B CN202011169098.5A CN202011169098A CN112286514B CN 112286514 B CN112286514 B CN 112286514B CN 202011169098 A CN202011169098 A CN 202011169098A CN 112286514 B CN112286514 B CN 112286514B
Authority
CN
China
Prior art keywords
task
flow
task flow
data
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.)
Active
Application number
CN202011169098.5A
Other languages
Chinese (zh)
Other versions
CN112286514A (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

Abstract

The embodiment of the specification provides a method for configuring task flows, and 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 task flow components combined by drag operation of a user, the operation is simple, then the first task data are matched in a task flow library by determining first task data used for splicing flows in the first task flow, the user does not need to continuously configure the task flow which is the next to the first task data, only the second task data matched with the first task data and the second task flow containing the second task data can be determined in an automatic matching mode, then the second task flow and the first task flow are spliced to generate the combined task flow, the multiplexing rate of the existing second task flow is improved, the repeated operation is reduced, and the configuration efficiency is improved.

Description

Method and device for configuring task flow and electronic equipment
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method, an apparatus, and an electronic device for configuring task flows.
Background
When a computer executes a task (such as a dialogue between an intelligent robot and a person), an execution flow of the task is formulated, and at present, a flow configuration method of the task executed by the computer is usually programmed according to a flow diagram, and the method often causes repeated configuration of part of task links with lower 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, a device and electronic equipment for configuring a task flow, which are used for reducing repeated operation and improving the configuration efficiency of the task flow.
The embodiment of the specification provides a method for configuring task flows, which comprises the following steps:
providing a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component;
generating a first task flow according to task flow components combined by drag operation of a user, and determining first task data used 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, 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 semantics;
and acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data successfully matched and the second task flow including the second task data further includes:
and calculating the 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 visual page based on the second task data;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and if the user performs the selection operation on the task component generated based on the second task data, splicing the 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 flow;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and determining end task data of the second task flow in second task data matched with the first task data, and splicing the end task data with the initial task data to generate a combined task flow.
Optionally, the determining the first task data for the splicing process in the first task process includes:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
Optionally, the determining a jump component in the task flow components of the first task flow includes:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
Optionally, the second task flow is a global task flow, and the first task flow is a local task flow.
The embodiment of the specification also provides a device for configuring task flows, which comprises:
the page module is used for providing a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component;
generating a first task flow according to task flow components combined by drag operation of a user, and determining first task data used for a splicing flow in the first task flow;
the process splicing module is used for matching the first task data in a task process library and determining second task data matched with the first task data and a second task process 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, 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 semantics;
and acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data successfully matched and the second task flow including the second task data further includes:
and calculating the 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 visual page based on the second task data;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and if the user performs the selection operation on the task component generated based on the second task data, splicing the 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 flow;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and determining end task data of the second task flow in second task data matched with the first task data, and splicing the end task data with the initial task data to generate a combined task flow.
Optionally, the determining the first task data for the splicing process in the first task process includes:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
Optionally, the determining a jump component in the task flow components of the first task flow includes:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
Optionally, the second task flow is a global task flow, and the first task flow is a local task flow.
The embodiment of the specification also provides an electronic device, wherein the electronic device comprises:
a processor; the method comprises the steps of,
a memory storing computer executable instructions that, when executed, cause the processor to perform any of the methods described above.
The present description also provides a computer-readable storage medium storing one or more programs that, when executed by a processor, implement any of the methods described above.
According to the various technical schemes provided by the embodiment of the specification, the visual page with the task flow components is provided, the task flow components comprise the edge components and the node components, the first task flow is generated according to the task flow components combined by the drag operation of a user, the operation is simple, then the first task data used for the splicing flow in the first task flow are matched in the task flow library, the user does not need to continuously configure the task flow next to 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 multiplexing rate of the existing second task flow is improved, the repeated operation is reduced, and the 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 embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic diagram of a method for configuring task flows 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 according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer readable medium according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can 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 in the drawings denote the same or similar elements, components or portions, and thus a repetitive description thereof will be omitted.
The features, structures, characteristics or other details described in a particular embodiment do not exclude that may be combined in one or more other embodiments in a suitable manner, without departing from the technical idea of the invention.
In the description of specific embodiments, features, structures, characteristics, or other details described in the present invention are provided to enable one skilled in the art to fully understand the embodiments. However, it is not excluded that one skilled in the art may practice the present invention without one or more of the specific features, structures, characteristics, or other details.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they 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 order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
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 task flows according to an embodiment of the present disclosure, where the method may include:
s101: a visualization page is provided having a task flow component that includes an edge component and a node component.
In this embodiment of the present disclosure, 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 the embodiment of the present disclosure, in order to reduce the threshold for configuring the task flow and improve the operability, we may provide a visual page, and provide a task flow component in the visual page, so that a user may combine task flow components in the page by performing a drag operation on the task flow component, thereby implementing the configuration of the task flow.
The process is composed of nodes and judgment conditions for reaching the nodes, so the task flow component can 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 the judgment conditions, the edge data is the corresponding result of the judgment conditions, for example, the edge data is an age group, and the node data is television program information suitable for the age group and is not described in detail herein.
The task flow component can be edited, and the task flow component can generate corresponding task data by editing the task flow component, and the task flow component can also be provided for a user to set attributes, for example, the user can set the task flow component as a skip component.
When a user drags the task flow component, the position of the task flow component can be calculated, if the user combines the task flow component through dragging, task data generated by the dragging action of the user is obtained, and the task data are associated, so that a task flow is generated.
The task flow components are combined, and the task flow components can be connected.
In actual use, the new flow needs to be reconfigured every time, however, each configuration may have some links repeatedly appearing, if the existing flow can be utilized when the task flow is newly configured, the multiplexing rate can be improved, repeated operations can be reduced, and the configuration efficiency can be improved.
In utilizing existing flows, the problem of engagement between flows needs to be considered. Because it is difficult to know which processes exist when people are aware of, and which processes are suitable for matching with task processes generated by current operation, we can identify first task data for splicing processes in the first task processes, based on the first task data, automatically pick the existing processes matched with the first task data, and then complete splicing.
S102: and generating a first task flow according to the task flow components combined by the drag operation of the user, and determining first task data used for the splicing flow in the first task flow.
In an embodiment of the present disclosure, the determining the first task data for the splicing process in the first task process may include:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
The attribute of the jump component can be preset or temporarily set.
Optionally, the determining a jump component in the task flow components of the first task flow may include:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
In an application scenario, a user edits task flow components, then drags the task flow components, and combines different task flow components, at this time, the background obtains the behavior, then extracts task data behind the background, and generates a task flow based on the obtained task data. Then, the user sets the attribute of a certain component therein as a jump component. Upon recognition of this behavior, the background extracts the task data in the jump component.
After the first task data for the splicing process is obtained, the existing process matched with the first task data can be automatically selected based on the first task data, and then the 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.
Wherein, the matching the first task data in the task flow library, 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 semantics;
and acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data.
Considering that task data generated by user editing is often subjective and random, the task data may be similar to but different from task data in the existing flow, so that in order to reduce the input difficulty of a user, the similarity of semantics can be calculated, and the matching is considered to be successful as long as the similarity of semantics is high.
Therefore, the determining the second task data successfully matched and the second task flow including the second task data may further include:
and calculating the 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 the visual page with the task flow components, the task flow components can comprise the edge components and the node components, the first task flow is generated according to the task flow components combined by the drag operation of the user, the operation is simple, then the first task data is matched in the task flow library by determining the first task data used for the splicing flow in the first task flow, the user does not need to continuously configure the task flow next to 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, and then the second task flow and the first task flow are spliced to generate the combined task flow, so that the multiplexing rate of the existing second task flow is improved, the repeated operation is reduced, and the configuration efficiency is improved.
In order to improve the configuration accuracy, the process truly reflects the intention of the user, and the matched task data can be provided for the user for confirmation, and the process is spliced after the user confirms.
Thus, in embodiments of the present description, the method may further comprise:
generating a task component for user selection in the visual 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 performs the selection operation on the task component generated based on the second task data, splicing the 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 herein may be a component on which a second task flow is displayed.
Considering that in an application scene, a plurality of flow links are considered, and the method is more complex, if the flow links are displayed in one page, not only is the display obstacle left, but also the logic in the flow links is difficult to be ascertained by a user when browsing, therefore, if the large flow can be split into small flows for configuration, and then the configuration is carried out after the configuration, the configuration difficulty can be reduced, meanwhile, when some local task flows are modified or even replaced, the operation can be directly carried out on the page of the local task flows, and the convenience is improved.
For ease of understanding, we may refer to a large flow as a global task flow and a partial task flow as a local task flow.
Thus, optionally, the second task flow is a global task flow and the first task flow is a local task flow.
Therefore, by splicing, the effect of configuring the local task flow outside the global task flow and finally combining the local task flow with the global task flow can be achieved.
In this embodiment of the present disclosure, the first task data is initial task data of the first task flow;
the splicing the second task flow and the first task flow to generate a combined task flow may include:
and determining end task data of the second task flow in second task data matched with the first task data, and splicing the end task data with the initial task data to generate a combined task flow.
In this way, the first task flow generated by the configuration can be spliced directly into the existing task flow.
Considering the complexity of the task flow, a plurality of branches of the task flow are often returned to the same node and the subsequent flows, at this time, if all the branches are displayed in the page for configuration, the configuration is difficult and easy to make mistakes, and if only one component is provided with a plurality of components matched with the components in the page, the operation is more visual and the operability is stronger.
Thus, in the embodiment of the present disclosure, the end task data of the second task flow is plural;
the splicing the end task data with the initial task data may include:
and splicing the plurality of tail end task data with the initial task data to generate a task flow multiplexing the first task flow.
In an actual application scene, a user considers that a plurality of nodes of a global task flow are converged by certain task data, then edits a component by taking the task data as initial task data, sets the initial task data as a skip component, then configures and generates a first task flow, a background is automatically matched with the global task flow according to the initial task data, a plurality of tail end task data matched with the initial task data are arranged in the global task flow, and then the background judges that the plurality of tail end task data can share the first task flow, and then the processes are spliced in the background.
In the embodiment of the present specification, the task flow is a dialogue flow of an intelligent voice robot
Wherein the method may further comprise:
and providing a local task flow for the user to carry out dialogue, and triggering and calling a global task flow to carry out dialogue on the answer of the user when the answer of the user meets the preset condition.
In this embodiment of the present disclosure, the first task flow and the second task flow may be local task flows of a global task flow, and by splicing different local task flows, interaction logic of the robot may jump to other local task flows to perform a session with a user.
In the embodiment of the present disclosure, after the combined task flows are generated by splicing, the global task flows generated by splicing may be further subjected to dead-loop verification, to determine whether to generate a dead loop, and prevent the generation of the dead loop.
Fig. 2 is a schematic structural diagram of an apparatus for configuring task flows according to an embodiment of the present disclosure, where the apparatus may include:
a page module 201 providing a visualization page having task flow components including edge components and node components;
generating a first task flow according to task flow components combined by drag operation of a user, and determining first task data used for a splicing flow in the first task flow;
the process splicing module 202 is used for matching the first task data in a task process library and determining second task data matched with the first task data and a second task process 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, 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 semantics;
and acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data.
Optionally, the determining the second task data successfully matched and the second task flow including the second task data further includes:
and calculating the 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 visual page based on the second task data;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and if the user performs the selection operation on the task component generated based on the second task data, splicing the 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 flow;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and determining end task data of the second task flow in second task data matched with the first task data, and splicing the end task data with the initial task data to generate a combined task flow.
Optionally, the end task data of the second task flow is multiple;
the splicing the end task data with the initial task data comprises:
and splicing the plurality of tail end task data with the initial task data to generate a task flow multiplexing the first task flow.
Optionally, the determining the first task data for the splicing process in the first task process includes:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
Optionally, the determining a jump component in the task flow components of the first task flow includes:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
Optionally, the second task flow is a global task flow, and the first task flow is a local task flow.
The device provides a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component, a first task flow is generated according to the task flow component combined by drag operation of a user, the operation is simple, then the first task data is matched in a task flow library by determining the first task data used for splicing the flow in the first task flow, the user does not need to continuously configure the task flow next to the first task data, only the second task data matched with the first task data and the second task flow containing the second task data are determined in an automatic matching mode, and then the second task flow and the first task flow are spliced to generate a combined task flow, so that the multiplexing rate of the existing second task flow is improved, the repeated operation is reduced, and the configuration efficiency is improved.
Based on the same inventive concept, the embodiments of the present specification also provide an electronic device.
The following describes an embodiment of an electronic device according to the present invention, which may be regarded as a specific physical implementation of the above-described embodiment of the method and apparatus according to the present invention. Details described in relation to the embodiments of the electronic device of the present invention should be considered as additions to the embodiments of the method or apparatus described above; for details not disclosed in the embodiments of the electronic device of the present invention, reference may be made to the above-described method or apparatus embodiments.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. An electronic device 300 according to this embodiment of the present invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 3, the electronic device 300 is embodied in the form of a general purpose computing device. 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 different 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 that is executable by the processing unit 310 such that the processing unit 310 performs the steps according to various exemplary embodiments of the invention described in the above processing method section of the present specification. For example, the processing unit 310 may perform the steps shown in fig. 1.
The memory unit 320 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 3201 and/or cache memory 3202, and may further include Read Only Memory (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 or some combination of which may include 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.), one or more devices that enable a user to interact with the electronic device 300, and/or any device (e.g., router, modem, etc.) that enables the electronic device 300 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 350. Also, electronic device 300 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 via the bus 330. It should be appreciated that although not shown in fig. 3, other hardware and/or software modules may be used in connection with electronic device 300, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the exemplary embodiments described herein may be implemented in software, or may be implemented in software in combination with necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the above-mentioned method according to the present invention. The computer program, when executed by a data processing device, enables the computer readable medium to carry out the above-described method of the present invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer readable medium according to an embodiment of the present disclosure.
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. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium 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 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via 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 accordance with embodiments of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (14)

1. A method of configuring a task flow, comprising:
providing a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component;
generating a first task flow according to task flow components combined by drag operation of a user, and determining first task data used for a splicing flow in the first task flow, wherein the first task data is initial task data of the first task flow;
matching the first task data in a task flow library, determining second task data matched with the first task data and a second task flow containing the second task data, and specifically constructing a matching rule according to semantics; acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data; the end task data of the second task flow are multiple;
and splicing the second task flow and the first task flow to generate a combined task flow, specifically, determining terminal task data of the second task flow in second task data matched with the first task data, and splicing a plurality of terminal task data with the initial task data to generate a task flow multiplexing the first task flow.
2. The method of claim 1, wherein determining the second task data and the second task flow including the second task data that match successfully further comprises:
and calculating the semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
3. The method as recited in claim 2, further comprising:
generating a task component for user selection in the visual page based on the second task data;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and if the user performs the selection operation on the task component generated based on the second task data, splicing the second task flow corresponding to the task component with the first task flow to generate a combined task flow.
4. The method of claim 1, wherein determining the first task data for the splice process in the first task process comprises:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
5. The method of claim 4, wherein determining a jump component in a task flow component of the first task flow comprises:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
6. The method of claim 1, wherein the second task flow is a global task flow and the first task flow is a local task flow.
7. An apparatus for configuring a task flow, comprising:
the page module is used for providing a visual page with a task flow component, wherein the task flow component comprises an edge component and a node component;
generating a first task flow according to task flow components combined by drag operation of a user, and determining first task data used for a splicing flow in the first task flow, wherein the first task data is initial task data of the first task flow;
the process splicing module is used for matching the first task data in a task process library, determining second task data matched with the first task data and a second task process containing the second task data, and specifically constructing a matching rule according to semantics; acquiring task flows in a task flow library, matching the acquired task data in the task flows with the first task data based on the matching rule, and determining second task data successfully matched and a second task flow containing the second task data; the end task data of the second task flow are multiple;
and splicing the second task flow and the first task flow to generate a combined task flow, specifically, determining terminal task data of the second task flow in second task data matched with the first task data, and splicing a plurality of terminal task data with the initial task data to generate a task flow multiplexing the first task flow.
8. The apparatus of claim 7, wherein the determining the second task data and the second task flow including the second task data that match successfully further comprises:
and calculating the semantic similarity between the task data, and determining the task data with the semantic similarity exceeding a threshold value as second task data.
9. The apparatus of claim 8, wherein the page module is further configured to:
generating a task component for user selection in the visual page based on the second task data;
the step of splicing the second task flow and the first task flow to generate a combined task flow includes:
and if the user performs the selection operation on the task component generated based on the second task data, splicing the second task flow corresponding to the task component with the first task flow to generate a combined task flow.
10. The apparatus of claim 7, wherein the determining the first task data for the splice process in the first task process comprises:
determining a jump component in the task flow components of the first task flow, and determining task data corresponding to the jump component.
11. The apparatus of claim 10, wherein the determining a jump component in a task flow component of the first task flow comprises:
and determining a jump component in the task flow components of the first task flow according to the attribute configuration operation of the user on the task flow components.
12. The apparatus of claim 7, wherein the second task flow is a global task flow and the first task flow is a local task flow.
13. An electronic device, wherein the electronic device comprises:
a processor; the method comprises the steps of,
a memory storing computer executable instructions that, when executed, cause the processor to perform the method of any of claims 1-6.
14. 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-6.
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 CN112286514A (en) 2021-01-29
CN112286514B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779214B (en) * 2021-08-17 2022-10-18 深圳市人马互动科技有限公司 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

Also Published As

Publication number Publication date
CN112286514A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN111949170B (en) Method and device for configuring task flow and electronic equipment
CN102737104B (en) Task driven user intents
CN108920135B (en) User-defined service generation method and device, computer equipment and storage medium
CN110659091A (en) Session proxy dialog flow user interface
CN104765621B (en) A kind of method and system of the deployment program in clustered node
US20230035910A1 (en) Method, system and device for parallel processing of data, and storage medium
WO2013115999A1 (en) Intelligent dialogue amongst competitive user applications
CN114518908B (en) Service orchestration method, medium, device and computing equipment
CN110995945B (en) Data processing method, device, equipment and system for generating outbound flow
CN111210816B (en) Intelligent voice configuration management method and device and electronic equipment
CN111158666A (en) Entity normalization processing method, device, equipment and storage medium
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
CN112286514B (en) Method and device for configuring task flow and electronic equipment
CN115481227A (en) Man-machine interaction dialogue method, device and equipment
CN115292058A (en) Service scene level service topology generation method and device and electronic equipment
CN109857910B (en) XML file generation method and device, computer equipment and storage medium
CN110704766A (en) Interface rendering optimization method and device based on real-time snapshot and electronic equipment
CN114449063B (en) Message processing method, device and equipment
EP3519964B1 (en) Electronic apparatus for recording debugging information and control method thereof
CN113722007B (en) Configuration method, device and system of VPN branch equipment
CN114911541A (en) Configuration information processing method and device, electronic equipment and storage medium
CN111949862B (en) Method and device for managing business task flow and electronic equipment
CN113179183B (en) Service switch state control device and method
US11797277B2 (en) Neural network model conversion method server, and storage medium
US20130103636A1 (en) Rule correlation to rules input attributes according to disparate distribution analysis

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