CN117829104A - Business flow chart processing method and device, electronic equipment and storage medium - Google Patents

Business flow chart processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117829104A
CN117829104A CN202311799970.8A CN202311799970A CN117829104A CN 117829104 A CN117829104 A CN 117829104A CN 202311799970 A CN202311799970 A CN 202311799970A CN 117829104 A CN117829104 A CN 117829104A
Authority
CN
China
Prior art keywords
service module
module
flow chart
business
service
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.)
Pending
Application number
CN202311799970.8A
Other languages
Chinese (zh)
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.)
Suzhou Mega Technology Co Ltd
Original Assignee
Suzhou Mega 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 Suzhou Mega Technology Co Ltd filed Critical Suzhou Mega Technology Co Ltd
Priority to CN202311799970.8A priority Critical patent/CN117829104A/en
Publication of CN117829104A publication Critical patent/CN117829104A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a business flow chart processing method and device, electronic equipment and a storage medium. The business flow chart processing method comprises the following steps: the selection step: selecting at least two business modules in the drawn business module flow chart as first selected business modules; determining: determining service modules taking the first selected service module as a predecessor service module and a successor service module in the service module flow chart, and taking the first selected service module as a containing service module of the first selected service module; the creation step: creating a new service module according to the first selected service module and the corresponding service module containing service module; updating: updating the drawn business module flow chart according to the new business module. The scheme can enable the user of the flow chart software to freely and quickly modify and reconstruct the built business flow chart, thereby greatly improving the flow chart building efficiency and effectively improving the user experience.

Description

Business flow chart processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a service flow chart processing method, a service flow chart processing apparatus, an electronic device, and a storage medium.
Background
The flow chart software program is an application of the graph structure in the software field, and is a graph topological structure formed by combining a service module, a connecting wire and a terminal. Flow chart software program is one implementation of implementing software data flow control, obtaining output data from input data. A sub-flowchart is a special flowchart that has the characteristics of a flowchart (may include a plurality of service modules), but may also be placed in other flowcharts, and may externally appear as a service module by exposing input and output.
In the prior art, when a user draws a service flow chart, for the drawn flow chart, the related partial service modules need to be reused, so that new service modules need to be built for multiplexing the related partial service modules, in the prior art, only the user can gradually create new service modules for multiplexing according to the mode of creating a main flow chart, but can not quickly create new service modules for multiplexing according to the drawn flow chart.
Disclosure of Invention
The present invention has been made in view of the above-described problems. The invention provides a business flow chart processing method, a business flow chart processing device, electronic equipment and a storage medium.
According to one aspect of the present invention, there is provided a service flow chart processing method, including the steps of: the selection step: selecting at least two business modules in the drawn business module flow chart as first selected business modules; determining: determining service modules taking the first selected service module as a predecessor service module and a successor service module in the service module flow chart, and taking the first selected service module as a containing service module of the first selected service module; the creation step: creating a new service module according to the first selected service module and the corresponding service module containing service module; updating: updating the drawn business module flow chart according to the new business module.
Illustratively, between the selecting step and the determining step, the method further comprises: determining at least two mutually independent connected domains where the first selected service module is located in the drawn service module flow chart; the connected domain is used for indicating an independent business module flow chart; the determining step, the creating step, and the updating step are performed separately for each independent connected domain.
Illustratively, determining at least two mutually independent connected domains where the first selected service module is located in the drawn service module flow chart specifically includes: numbering each service module in the service module flow chart according to the topological sequence of the drawn service module flow chart; and determining at least two mutually independent connected domains where the first selected service module is located according to the number.
Illustratively, the determining step further comprises: numbering each business module in the business module flow chart from small to large according to the topological sequence of the drawn business module flow chart; determining a service module with a specific number from service modules in a service module flow chart as a service module to be determined, wherein the specific number is larger than the minimum number of all selected service modules in the connected domain and smaller than the maximum number of all selected service modules in the connected domain; and determining the service module taking the first selected service module as a predecessor service module and a successor service module as a contained service module corresponding to the first selected service module in the service modules to be determined.
Illustratively, the updating step includes: determining an input terminal and an output terminal of the new service module and the connection relation between the input terminal and the output terminal and other terminals in the service module flow chart according to the topological sequence of the service module flow chart; and replacing the first selected service module and the service module in the service module flow chart by a new service module according to the input terminal, the output terminal and the connection relation.
Illustratively, after the creating step, the method further comprises: the new service module is used as a resource to be stored; responding to the editing operation of the user on the new business module, and correspondingly updating the new business module in the business module flow chart.
Illustratively, after the updating step, the method further comprises: selecting at least two service modules from the new service modules as second selected service modules; determining the service module taking the second selected service module as a predecessor service module and a successor service module in a service module flow chart of the new service module, and taking the second selected service module as a containing service module of the second selected service module; creating a new sub-service module according to the second selected service module and the corresponding service module containing service module; and updating the new service module according to the new sub-service module.
Illustratively, after creating a new sub-business module from the second selected business module and its corresponding containing business module, the method further comprises: the new sub-business module is used as a resource to be stored; and responding to the editing operation of the user on the new sub-service modules, and correspondingly updating the new sub-service modules in the new service modules.
According to another aspect of the present invention, there is provided a service flow chart processing apparatus, including: the selection module is used for selecting at least two service modules in the drawn service module flow chart as a first selected service module; the determining module is used for determining the service module taking the first selected service module as the predecessor service module and the successor service module in the service module flow chart and taking the first selected service module as the service module containing the first selected service module; the creation module is used for creating a new service module according to the first selected service module and the corresponding service module containing service module; and the updating module is used for updating the drawn business module flow chart according to the new business module.
According to another aspect of the present invention there is provided an electronic device comprising a processor and a memory having stored therein computer program instructions which, when executed by the processor, are adapted to carry out the above-described business flow diagram processing method.
According to another aspect of the present invention, there is provided a storage medium storing a computer program/instruction for executing the above-described business flow diagram processing method when running.
According to the business flow chart processing method and device, the electronic equipment and the storage medium, the business module can be arbitrarily selected from the drawn business module flow chart and a new business module can be created based on the selected business module, the drawn business module flow chart can be updated, the new business module can be used as a multiplexing business module to be called in the arbitrary business module flow chart according to requirements, and the scheme can enable a user of flow chart software to freely and rapidly modify and reconstruct the built business flow chart, so that the flow chart construction efficiency can be greatly improved, and the user experience can be effectively improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following more particular description of embodiments of the present invention, as illustrated in the accompanying drawings. The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, and not constitute a limitation to the invention. In the drawings, like reference numerals generally refer to like parts or steps.
FIG. 1 shows a schematic flow chart of a business flow chart processing method according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a business module flow diagram according to one embodiment of the invention;
FIG. 3 shows a schematic diagram of a connected domain according to one embodiment of the invention;
FIG. 4 shows a schematic diagram of a new business module according to one embodiment of the invention;
FIG. 5 shows a schematic block diagram of a business flow diagram processing apparatus according to one embodiment of the invention; and
fig. 6 shows a schematic block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some embodiments of the present invention and not all embodiments of the present invention, and it should be understood that the present invention is not limited by the example embodiments described herein. Based on the embodiments of the invention described in the present application, all other embodiments that a person skilled in the art would have without inventive effort shall fall within the scope of the invention.
To at least partially solve the above technical problem, according to an aspect of the present invention, a service flow diagram processing method is provided. The method can enable the user of the flow chart software to freely and quickly modify and reconstruct the constructed flow chart program, thereby greatly improving the efficiency of constructing the flow chart.
FIG. 1 shows a schematic flow chart of a business flow chart processing method according to one embodiment of the invention. As shown in fig. 1, the method includes a selection step S110, a determination step S120, a creation step S130, and an update step S140.
Selecting step S110: at least two business modules are selected from the drawn business module flow chart to serve as first selected business modules.
The traffic module flow diagrams may be represented as topological structure diagrams. Fig. 2 shows a schematic diagram of a traffic module flow diagram according to one embodiment of the invention. As shown in fig. 2, the left and right sides of the figure are respectively represented as two service module flowcharts. Each business module flow chart comprises a business module, a terminal and a connecting wire. The service module carries the function of calculation and is the most basic input and output unit in the service module flow chart. The business modules can be any algorithm module, and in the field of machine vision, each business module can be an independent operator, such as a template matching operator, a rounding operator and the like. When the business module is an operator, the business module flow diagrams are all operator flow diagrams. Fig. 2, 3 and 4 each present a business module flow diagram as an example of an operator flow diagram, but this is merely an example and other forms of algorithm module substitution of business modules are possible. For example, the algorithm modules may be functionally divided. For example, the object detection algorithm module may be implemented as one business module and the image segmentation algorithm module may be implemented as another business module. The terminals are input and output units in the flow chart of the service module, and can be further divided into input terminals and output terminals, wherein the input terminals receive data used for calculation of the service module, and the output terminals are used for outputting calculation result data of the service module. The connection line is a arrowed line for connecting an input of one service module to an output of another service module, representing the flow direction of the data.
The user of the flow chart software can select any two or more than two service modules in the service module flow chart as the first selected service module according to the actual demand condition.
Determination step S120: and determining the service modules taking the first selected service module as a predecessor service module and a successor service module in the service module flow chart, and taking the first selected service module as a containing service module of the first selected service module.
In the service module flow chart, a service module connected with any service module and located before the service module according to the data flow direction may be called a precursor service module of the service module. In the service module flow chart, a service module connected with any service module and located after the service module according to the data flow direction can be called a subsequent service module of the service module. When the preceding service module and the following service module of a certain service module are both the first selected service module, the service module can be determined to be the service module corresponding to the first selected service module.
Illustratively, referring again to fig. 2, taking operator 3, operator 4, operator 8, and operator 9 as first selected operators, the predecessor and successor of operator 5, operator 6, and operator 7 are each first selected operators, and thus operator 5, operator 6, and operator 7 may be included as first selected operators. And the precursor operator of the operator 2 is the operator 1, and the operator 1 is not the first selected operator, so that the operator 2 is not the containing operator of the first selected operator.
Creation step S130: and creating a new service module according to the first selected service module and the corresponding service module containing service module.
And determining the selected first selected service module and the combination of the service modules corresponding to the first selected service module as a new service module. The new traffic module has input terminals and output terminals connected to the drawn traffic module flow diagrams. The new traffic module may be regarded as a sub-flowchart. A sub-flowchart is a special flowchart that has the characteristics of a flowchart (may include a plurality of service modules), but may also be placed in other flowcharts, and may appear as a service module from outside by exposing input and output. The sub-flow chart can be expanded into a plurality of business modules and the system functions of the whole flow chart are kept unchanged. In addition, multiple business modules may be combined into one or more sub-flowcharts, leaving the flowchart system functions unchanged. The sub-flow chart is composed by a plurality of business modules or the sub-flow chart is decomposed into a plurality of business modules which are reversible processes. The sub-flow charts are beneficial to modularization and engineering of the flow chart program, so that the flow chart is built to be more organized and clear. The sub-flow chart is favorable for packaging and transplanting the flow chart program, and provides a basis for functions such as module encryption and decryption, module replacement, configuration and the like.
Updating step S140: updating the drawn business module flow chart according to the new business module.
The new business module can be replaced into the business module flow chart, and the input/output connecting wire originally connected to the first selected business module in the business module flow chart is disconnected and connected to the input/output end of the new business module, so that the updating of the drawn business module flow chart is completed.
In the above embodiment, a service module may be arbitrarily selected from the drawn service module flow charts, and a new service module may be created based on the selected service module, so that not only the drawn service module flow chart may be updated, but also the new service module may be used as a multiplexing service module to be invoked in any service module flow chart according to the requirement.
In some embodiments, between the selecting step S110 and the determining step S120, the method further comprises: determining at least two mutually independent connected domains where the first selected service module is located in the drawn service module flow chart; the connected domain is used for indicating an independent business module flow chart; the determining step S120, the creating step S130, and the updating step S140 are performed for each independent connected domain, respectively.
Fig. 3 shows a schematic diagram of a connected domain according to an embodiment of the invention. As shown in fig. 3, two independent connected domains are shown in the frame line. The traffic modules in the different connected domains have no connection relationship with each other. It should be noted that the connected domain shown in fig. 3 is only an example and not a limitation of the present invention.
In this embodiment, the determined connected domain is the connected domain where the first selected service module is located. The connected domain may include only the first selected service module, or may include the first selected service module and one or more other service modules. After determining the connected domain, the determining step S120, the creating step S130 and the updating step S140 may be performed for each independent connected domain, respectively, to create a corresponding new business module for updating the drawn business module flow chart based on the first selected business module and the containing business module inside in each connected domain.
In the above embodiment, at least two independent connected domains where the first selected service module is located are determined in the drawn service module flowchart, and the determining step S120, the creating step S130, and the updating step S140 are respectively performed for each independent connected domain. If a certain service module and the current first selected service module do not belong to the same connected domain, the service module cannot be the service module containing the current first selected service module, so that after the connected domain is determined, the service module containing the service module can be determined in the connected domain, the determination range of the service module containing the service module can be reduced, and the subsequent calculation amount is reduced. In addition, the scheme can reduce the interference of the service modules in the irrelevant connected domain, and is beneficial to improving the accuracy of creating new service modules.
In some embodiments, determining, in the drawn service module flowchart, at least two independent connected domains where the first selected service module is located, includes: numbering each service module in the service module flow chart according to the topological sequence of the drawn service module flow chart; and determining at least two mutually independent connected domains where the first selected service module is located according to the number.
The topology sequence may represent a data transmission direction of the service modules in the service module flowchart, and a number of each service module corresponds to a sequence of data transmission. After each service module is numbered according to the topological sequence, a user of the flow chart software can directly judge the direction and the sequence of data transmission in the flow chart of the service module more intuitively according to the service module number.
Referring to fig. 2 again, after numbering each operator according to the topological order, it can be seen that data can be transmitted from operator 1 to operator 8 through operator 4, operator 6 and operator 7 are located between operator 4 and operator 8, and because operator 6 and operator 7 are connected in parallel, there is no sequence in the data transmission direction in the operator flow chart, and therefore, the numbers of operator 6 and operator 7 can be replaced with each other.
Optionally, an identifier may be provided before or after each service module, for indicating the order and direction of data transmission between different service modules. The identifier may be an identifier such as "4-7" shown in fig. 2 (this identifier may also be regarded as an identifier of a connection line) which may indicate that data flows from operator 4 to operator 7. In embodiments of the present invention, the specific implementation of the identifier is not limited in any way. All identifiers which can indicate the data transmission sequence and direction of operators are within the protection scope of the invention.
Illustratively, the connected domain may be determined by traversing subsequent ones of the business modules according to the number. In one embodiment, the traversal may take the first selected traffic module as a start node and an end node. For example, the first selected service module (i.e., the first selected service module with the smallest number) may be selected according to the number size to start traversing, and whether the first selected service module has a subsequent node is determined, if so, the first selected service module and the first selected service module are considered to belong to the same connected domain until traversing to the last first selected service module. The first selected service module is used as a starting node and an ending node for traversing, so that the traversing area range can be reduced, and the operation speed can be improved. Illustratively, referring again to fig. 2, taking operator 3, operator 4, operator 8, operator 9, operator 12, and operator 13 as examples of the first selected operators, traversal may begin from operator 3, and when traversing to operator 10, it is determined that operator 11 does not belong to the same connected domain as the previous operator because operator 10 has no successor operators. At this time, it can be determined that the operator 3, the operator 4, the operator 8, and the operator 9 belong to the same connected domain. Subsequently, the traversal may start from operator 12, and when traversing to operator 13, the traversal ends, determining that operator 12 and operator 13 belong to the second connected domain.
In another embodiment, the traversal may begin with the first operator in the operator flow graph and end with the last operator in the operator flow graph. For example, the first operator (i.e., the operator with the smallest number) in the operator flow chart can be selected according to the number size to start traversing, whether the first operator has a subsequent node is judged, if so, the first operator and the second operator are considered to belong to the same connected domain until the last operator in the operator flow chart is traversed. Illustratively, referring again to fig. 2, a traversal may begin with operator 1, when traversing to operator 10, since operator 10 has no successor operators, because operator 11 does not belong to the same connected domain as the previous operator. It is determined that the operators 1 to 10 belong to the same connected domain. Subsequently, the traversal may be started from operator 11, and when traversing to operator 14, the traversal ends, determining that operator 11 to operator 14 belong to the second connected domain.
From the above examples, the connected domain may include only the first selection operator, or may include the first selection operator and one or more other operators. In one example, the connected domain in which the first selection operator is located may contain only the first selection operator. For example, for the operator flow diagram shown in fig. 3, connected domain 1 may contain operator 3, operator 4, operator 8, and operator 9, and connected domain 2 may contain operator 12 and operator 13. In another example, the connected domain in which the first selected operator is located may include the first selected operator and an operator (may be referred to as a first specific operator) connected at least to the first selected operator. The first specific operator may be, for example, an operator whose number is located between the largest number and the smallest number of the first selected operator contained in the same connected domain. For example, for the operator flowchart shown in fig. 3, the connected domain 1 may include, in addition to the operators 3, 4, 8, and 9, the operators 5, 6, and 7 with numbers in the middle, and the connected domain 2 may include the operators 12 and 13. In yet another example, the connected domain in which the first selected operator is located may include the first selected operator, an operator at least partially connected to the first selected operator (may be referred to as a second specific operator), and a third specific operator connected to the second specific operator. The second specific operator may be, for example, an operator whose number is not located between the largest number and the smallest number of the first selected operator contained in the same connected domain but is connected to the first selected operator. The third specific operator is an operator connected with the second specific operator. For example, for the operator flow diagram shown in fig. 3, connected domain 1 may contain operator 1, operator 2, operator 3, operator 4, operator 5, operator 6, operator 7, operator 8, operator 9, and operator 10, and connected domain 2 may contain operator 11, operator 12, operator 13, and operator 14.
In the above embodiment, each service module in the service module flowchart is numbered, and the connected domain where the first selected service module is located is determined according to the number. Therefore, the data transmission direction in the flow chart of the service module can be more clearly represented by the number, so that the communication domain is more efficiently and accurately determined by the method, and the efficiency of building and processing the flow chart can be effectively improved.
In some embodiments, determining step S120 further comprises: numbering each business module in the business module flow chart from small to large according to the topological sequence of the drawn business module flow chart; determining a service module with a specific number from service modules in a service module flow chart as a service module to be determined, wherein the specific number is larger than the minimum number of all selected service modules in the connected domain and smaller than the maximum number of all selected service modules in the connected domain; and determining the service module taking the first selected service module as a predecessor service module and a successor service module as a contained service module corresponding to the first selected service module in the service modules to be determined.
After numbering each service module in the service module flow chart according to the topological order, selecting the service module with the specific number as the service module to be determined, wherein the number of the service module to be determined can be positioned between the numbers of the two first selected service modules.
Illustratively, referring again to fig. 3, if operator 3, operator 4, operator 8, and operator 9 are taken as examples of the first selected operator, the numbering between operator 3 and operator 9 also has operator 5, operator 6, and operator 7. Since the numbers of operator 5, operator 6 and operator 7 are all located between the numbers of the two first selected operators. Thus, the operator 5, the operator 6 and the operator 7 can be taken as containing operators corresponding to the first selected operator. The operators between operator 3 to operator 9 may be merged as a new operator.
Again by way of example, and with reference again to fig. 3, if operator 3 and operator 6 are taken as the first selected operators, operator 4 and operator 5 are also present between the numbers of operator 3 and operator 6. Since the predecessor and successor of operator 4 are both the first-choice operator, the successor of operator 5 is not the first-choice operator. Thus, operator 6 is a inclusive operator, operator 5 is not an inclusive operator, and operator 3, operator 4, and operator 6 may be combined as a new operator.
In the above embodiment, the service modules with the specific numbers between the first selected service modules are used as the corresponding included service modules of the first selected service modules, so as to form new service modules in combination with the first selected service modules. This helps to make the newly formed new service module and the service module before merging have the same direction and sequence of data transmission, and have equivalence between them, thereby avoiding ambiguity.
In some embodiments, the updating step S140 includes: determining an input terminal and an output terminal of the new service module and the connection relation between the input terminal and the output terminal and other terminals in the service module flow chart according to the topological sequence of the service module flow chart; and replacing the first selected service module and the service module in the service module flow chart by a new service module according to the input terminal, the output terminal and the connection relation.
The new service module is provided with an input terminal and an output terminal corresponding to the connection relation of the service modules in the service module flow chart so as to ensure that the data transmission direction and sequence of the service module flow chart are kept unchanged when the first selected service module and the service modules contained in the first selected service module are replaced by the new service module.
Fig. 4 shows a schematic diagram of a new business module (shown as new operator in fig. 4) according to one embodiment of the invention. As shown in FIG. 4, the input connecting lines of the new operator 1 are 1-4, 2-3 and 2-8, and the output connecting lines are 9-10. The input connection line of the new operator 2 is 11-12, and the output connection is 13-14. When the new operator replaces the first selected operator and the containing operators corresponding to the first selected operator, the input connecting lines and the output connecting lines, which are connected with other operators in the operator flow chart, of the first selected operator are disconnected, after the new operator is updated into the operator flow chart, the input terminals and the output terminals of the new operator are respectively reconnected with the input connecting lines and the output connecting lines of the other operators in the operator flow chart.
In the above embodiment, the service module flow chart is updated by using the generated new service module, so that the service module flow chart can be modularized, the service module flow chart can be edited and built more conveniently, the encapsulation and replacement of the service module flow chart program are facilitated, and the convenience and flexibility of use are effectively improved.
In some embodiments, after the creating step S130, the business flow diagram processing method further includes: the new service module is used as a resource to be stored; responding to the editing operation of the user on the new business module, and correspondingly updating the new business module in the business module flow chart.
The user can edit the created new business module. For example, new business modules are dragged into or existing business modules in the new business modules are deleted to further update the created new business modules. When a user desires to delete an existing service module in a new service module, if any service module of the service module to be deleted and the service module flow chart has a connecting line, the user can be prompted to judge whether to delete the service module, if the user determines to delete the service module to be deleted, the service module to be deleted is deleted in the new service module, the connecting line is deleted in the service module flow chart, and the input and output terminals of the new service module are updated to facilitate the connection of the user; if the service module to be deleted is not connected with all the service modules of the service module flow chart, the new service module can be deleted directly.
The created new business module is stored in the flow chart software, and when a user calls the new business module and edits the new business module, the new business module in the business module flow chart can be edited synchronously and automatically updated and stored.
In the embodiment, the user can edit the new service module, and the editing operation can be synchronized to the service module flow chart, so that the convenience and efficiency of the user in use are effectively improved.
In some embodiments, after the updating step S140, the business flow diagram processing method further includes: selecting at least two service modules from the new service modules as second selected service modules; determining the service module taking the second selected service module as a predecessor service module and a successor service module in a service module flow chart of the new service module, and taking the second selected service module as a containing service module of the second selected service module; creating a new sub-service module according to the second selected service module and the corresponding service module containing service module; and updating the new service module according to the new sub-service module.
The new traffic module may be regarded as a flow chart identical to the drawn traffic module flow chart in the selecting step S110, and the operations consistent with the operations performed for the drawn traffic module flow chart are performed for the new traffic module. That is, at least two service modules may be selected as the second selected service module among the new service modules, and the determining step S120, the creating step S130, and the updating step S140 of the new service modules described above may be repeated to create new sub-service modules of the next stage again.
In the above embodiments, the complex business module flow diagram may be broken down into smaller, more manageable modules. The service module flow chart is clearer and easier to understand, and meanwhile, the subsequent modification and maintenance are convenient.
In some embodiments, after creating a new sub-business module according to the second selected business module and the corresponding business module containing business module, the business flow diagram processing method further comprises: the new sub-business module is used as a resource to be stored; and responding to the editing operation of the user on the new sub-service modules, and correspondingly updating the new sub-service modules in the new service modules.
In the above embodiment, by performing the operations of saving and editing the new sub-service module, the new sub-service module in the service module flow chart can be synchronously updated while the new sub-service module is edited, so that the consistency of the new sub-service module and the service module flow chart can be ensured, the correctness and reliability of the whole service module flow chart are further ensured, and the convenience and efficiency of use of a user are improved.
According to still another aspect of the present invention, a service flow chart processing apparatus is also provided. Fig. 5 shows a schematic block diagram of a business flow diagram processing apparatus according to an embodiment of the invention. As shown in fig. 5, the business flow diagram processing apparatus 500 includes a signal selection module 510, a determination module 520, a creation module 530, and an update module 540.
The selection module 510 is configured to select at least two service modules in the drawn service module flowchart as a first selected service module. The determining module 520 is configured to determine, in the service module flowchart, a service module that uses the first selected service module as a preceding service module and a subsequent service module, and use the first selected service module as a service module that includes the first selected service module. The creation module 530 is configured to create a new service module according to the first selected service module and the corresponding service module containing service module. The updating module 540 is configured to update the drawn business module flow chart according to the new business module.
According to yet another aspect of the present invention, an electronic device 600 is also provided. Fig. 6 shows a schematic block diagram of an electronic device 600 according to an embodiment of the invention. As shown in fig. 6, the electronic device 600 includes a processor 610 and a memory 620. Wherein the memory 620 has stored therein computer program instructions which, when executed by the processor, are adapted to carry out the above-described business flow diagram processing method.
Furthermore, according to still another aspect of the present invention, there is also provided a storage medium having stored thereon program instructions which, when executed by a computer or a processor, cause the computer or the processor to perform the respective steps of the above-mentioned business flow chart processing method of the embodiment of the present invention, and for implementing the respective modules of the above-mentioned business flow chart processing apparatus or the respective modules in the above-mentioned electronic device according to the embodiment of the present invention. The storage medium may include, for example, a storage component of a tablet computer, a hard disk of a personal computer, read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, or any combination of the foregoing storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.
Those skilled in the art will understand the specific implementation and beneficial effects of the above-mentioned business flow chart processing device, electronic device and storage medium by reading the above specific description about the training method for the delay adjuster in the signal transmission device, and for brevity, the description will not be repeated here.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above illustrative embodiments are merely illustrative and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
The foregoing description is merely illustrative of specific embodiments of the present invention and the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the scope of the present invention. The protection scope of the invention is subject to the protection scope of the claims.

Claims (11)

1. A business flow diagram processing method, characterized by comprising the steps of:
the selection step: selecting at least two business modules in the drawn business module flow chart as first selected business modules;
determining: determining the service module taking the first selected service module as a predecessor service module and a successor service module in the service module flow chart, and taking the first selected service module as a containing service module of the first selected service module;
the creation step: creating a new service module according to the first selected service module and the corresponding service module containing service module;
updating: and updating the drawn business module flow chart according to the new business module.
2. The method of claim 1, wherein between the selecting step and the determining step, the method further comprises:
determining at least two mutually independent connected domains where the first selected service module is located in the drawn service module flow chart; the connected domain is used for indicating an independent business module flow chart;
the determining step, the creating step, and the updating step are performed separately for each of the independent connected domains.
3. The method of claim 2, wherein determining, in the drawn service module flowchart, at least two mutually independent connected domains where the first selected service module is located, specifically includes:
numbering each service module in the service module flow chart according to the topological sequence of the drawn service module flow chart;
and determining at least two mutually independent connected domains where the first selected service module is located according to the number.
4. The method of claim 2, wherein the determining step further comprises:
numbering each business module in the business module flow chart from small to large according to the topological sequence of the drawn business module flow chart;
determining a service module with a specific number from service modules in the service module flow chart as a service module to be determined, wherein the specific number is larger than the minimum number of all selected service modules in the connected domain and smaller than the maximum number of all selected service modules in the connected domain;
and determining the first selected service module as the service module of the predecessor service module and the successor service module from the service modules to be determined, and taking the first selected service module as the service module corresponding to the first selected service module.
5. The method of claim 1, wherein the updating step comprises:
determining an external input terminal and an external output terminal of the new service module and connection relations between the input terminal and the output terminal and other terminals in the service module flow chart according to the topological sequence of the service module flow chart;
and replacing the first selected service module and the service module containing in the service module flow chart by the new service module according to the input terminal, the output terminal and the connection relation.
6. The method of claim 1, wherein after the creating step, the method further comprises:
the new service module is used as a resource to be stored;
responding to the editing operation of the user on the new business module, and correspondingly updating the new business module in the business module flow chart.
7. The method of claim 1, wherein after the updating step, the method further comprises:
selecting at least two service modules from the new service modules as second selected service modules;
determining service modules taking the second selected service module as a predecessor service module and a successor service module from the service module flow chart of the new service module, and taking the second selected service module as a containing service module of the second selected service module;
creating a new sub-service module according to the second selected service module and the corresponding service module;
and updating the new service module according to the new sub-service module.
8. The method of claim 7, wherein after said creating a new sub-business module from said second selected business module and said containing business module corresponding thereto, said method further comprises:
the new sub-business module is used as a resource to be stored;
responding to the editing operation of the user on the new sub-service modules, and correspondingly updating the new sub-service modules in the new service modules.
9. A business flow diagram processing apparatus, comprising:
the selection module is used for selecting at least two service modules in the drawn service module flow chart as a first selected service module;
the determining module is used for determining the service module taking the first selected service module as a predecessor service module and a successor service module in the service module flow chart and taking the first selected service module as a containing service module of the first selected service module;
the creation module is used for creating a new service module according to the first selected service module and the corresponding service module containing service module;
and the updating module is used for updating the drawn business module flow chart according to the new business module.
10. An electronic device comprising a processor and a memory, wherein the memory has stored therein computer program instructions which, when executed by the processor, are adapted to carry out the business flow diagram processing method of any of claims 1-8.
11. A storage medium storing a computer program/instruction which, when executed, is adapted to carry out the business flow diagram processing method of any of claims 1-8.
CN202311799970.8A 2023-12-25 2023-12-25 Business flow chart processing method and device, electronic equipment and storage medium Pending CN117829104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311799970.8A CN117829104A (en) 2023-12-25 2023-12-25 Business flow chart processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311799970.8A CN117829104A (en) 2023-12-25 2023-12-25 Business flow chart processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117829104A true CN117829104A (en) 2024-04-05

Family

ID=90510619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311799970.8A Pending CN117829104A (en) 2023-12-25 2023-12-25 Business flow chart processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117829104A (en)

Similar Documents

Publication Publication Date Title
CN109858019B (en) Dialogue state tracking method and device, storage medium and semantic recognition system
CN109754072B (en) Processing method of network offline model, artificial intelligence processing device and related products
EP3101841B1 (en) Method, system and computer readable medium for network management automation
CN114003451B (en) Interface testing method, device, system and medium
CN112288249A (en) Business process execution method and device, computer equipment and medium
CN113342500B (en) Task execution method, device, equipment and storage medium
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN118250288A (en) AIoT middle station data processing method, device and system based on scene assembly
CN111078573A (en) Test message generation method and device
CN113157790B (en) Nuclear fusion curve editing method, system, terminal and medium
CN111832273A (en) Method and device for determining destination message, storage medium and electronic device
CN110908646B (en) Building block type callback function block construction method and device, storage medium and processor
CN110991983B (en) Task processing method, device, medium and equipment
CN117829104A (en) Business flow chart processing method and device, electronic equipment and storage medium
CN111324368B (en) Data sharing method and server
CN111030863B (en) Node topology information determination method, device, equipment and storage medium
CN114449063A (en) Message processing method, device and equipment
CN115599881A (en) Workflow creation method, system, electronic device, and computer-readable storage medium
CN112055058A (en) Data storage method and device and computer readable storage medium
CN111124378A (en) Code generation method and device
CN114050966B (en) Method, device and equipment for generating service template and storage medium
CN111401020A (en) Interface loading method and system and computing equipment
CN115544626B (en) Sub-model extraction method, device, computer equipment and medium
CN106484497B (en) Cloud platform based expansion processing method and device and cloud platform
CN116719525A (en) Configuration information generation method and device, electronic equipment and computer storage medium

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