CN114997813A - Flow chart generation method, device, equipment and storage medium - Google Patents

Flow chart generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114997813A
CN114997813A CN202210465786.9A CN202210465786A CN114997813A CN 114997813 A CN114997813 A CN 114997813A CN 202210465786 A CN202210465786 A CN 202210465786A CN 114997813 A CN114997813 A CN 114997813A
Authority
CN
China
Prior art keywords
information
node
generating
flowchart
edge
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
CN202210465786.9A
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.)
Beijing Xuanxing Technology Co ltd
Original Assignee
Beijing Xuanxing 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 Beijing Xuanxing Technology Co ltd filed Critical Beijing Xuanxing Technology Co ltd
Priority to CN202210465786.9A priority Critical patent/CN114997813A/en
Publication of CN114997813A publication Critical patent/CN114997813A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating a flow chart, and belongs to the technical field of data processing. The invention obtains time sequence data; generating node information corresponding to the time sequence data according to the time sequence data; obtaining side information based on the node information; obtaining weight information of the edge based on the edge information; the flow chart is generated according to the weight information of the edge and the node information, the main data and the secondary data in the time sequence data can be distinguished according to the edge information and the weight information of the edge, the main flow can be generated rapidly, and when the time sequence data is complex, the positions of the node and the edge can be adjusted dynamically, and the corresponding flow chart can be generated rapidly and accurately.

Description

Flow chart generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a flowchart.
Background
A flow diagram is a graphical representation of information flow, point of view flow, or component flow through a system. The process design in the field of order processing generally refers to a management process necessary for completing an order, and the process design realizes the standardization of order regulation and increases the transparency of the existing related order process by combing the existing order process and carrying out order process network informatization, thereby improving the working efficiency.
The existing flow chart has relatively simple display function and single function, cannot adapt to the process of generating the flow chart by complex data, and has low efficiency and poor effect of generating the flow chart.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for generating a flow chart, and aims to solve the technical problems of low efficiency and poor effect of generating the flow chart in the prior art.
In order to achieve the above object, the present invention provides a flowchart generating method, including the steps of:
acquiring time sequence data;
generating node information corresponding to the time sequence data according to the time sequence data;
obtaining side information based on the node information;
obtaining weight information of the edge based on the edge information;
and generating a flow chart according to the weight information of the edges and the node information.
Optionally, the obtaining of the weight information of the edge based on the side information includes:
obtaining side attribute data based on the side information;
acquiring the time information of the occurrence of the event, the frequency information of the occurrence of the event and the event processing mode information in the edge attribute data;
and calculating the weight information of the edge based on the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information.
Optionally, the generating a flowchart according to the weight information of the edge and the node information includes:
acquiring the type of event occurrence based on the node information;
determining a starting node, an ending node and other nodes according to node information carrying time information and the type of the event;
obtaining a node hierarchy based on the start node, the end node, and the other nodes;
constructing a node hierarchical relationship through the node hierarchy to obtain the hierarchical relationship of the nodes;
and generating a flow chart according to the weight information and the hierarchical relationship of the nodes.
Optionally, the generating a flowchart through the weight information and the hierarchical relationship of the nodes includes:
obtaining the position of the node according to the weight information and the hierarchical relationship of the node;
obtaining the connection position of the edge and the generation path of the connection line according to the connection relation of the node and the edge and the weight information;
generating flow nodes based on the hierarchical relationship of the nodes, the positions of the nodes, the connection positions and the generation paths of the connection lines;
generating virtual nodes according to the relationship between the starting nodes and the relationship between the ending nodes;
and generating a flow chart based on the flow nodes and the virtual nodes.
Optionally, the generating node information corresponding to the time series data according to the time series data includes:
analyzing the time sequence data to obtain event information in the time sequence data;
acquiring time information corresponding to the event information;
and generating node information carrying the time information based on the event information and the time information.
Optionally, the obtaining side information based on the node information includes:
acquiring the occurrence sequence of events according to the node information;
determining the spatial relationship between the node and the edge according to the sequence of the events;
obtaining an edge connected with the node according to the spatial relationship between the node and the edge;
and obtaining side information according to the side connected with the node.
Optionally, after generating the flowchart according to the weight information of the edge and the node information, the method further includes:
when an updating instruction is received, acquiring updated node information and updated side information according to the time sequence data;
adding the updated node information and updated side information to the flowchart based on the weight information and the node information.
In addition, to achieve the above object, the present invention further provides a flowchart generating apparatus, including:
the acquisition module is used for acquiring time sequence data;
the generation module is used for generating node information corresponding to the time sequence data according to the time sequence data;
the acquisition module is further used for acquiring side information based on the node information;
the acquisition module is further used for acquiring the weight information of the side based on the side information;
the generating module is further configured to generate a flowchart according to the weight information of the edge and the node information.
In addition, to achieve the above object, the present invention further provides a flowchart generating apparatus, including: a memory, a processor and a flowchart generation program stored on the memory and executable on the processor, the flowchart generation program being configured to implement the steps of the flowchart generation method as described above.
Furthermore, to achieve the above object, the present invention further proposes a storage medium having a flowchart generation program stored thereon, which when executed by a processor implements the steps of the flowchart generation method as described above.
The invention obtains time sequence data; generating node information corresponding to the time sequence data according to the time sequence data; obtaining side information based on the node information; obtaining weight information of the edge based on the edge information; the flow chart is generated according to the weight information of the edge and the node information, the main data and the secondary data in the time sequence data can be distinguished according to the edge information and the weight information of the edge, the main flow can be generated rapidly, and when the time sequence data is complex, the positions of the node and the edge can be adjusted dynamically, and the corresponding flow chart can be generated rapidly and accurately.
Drawings
Fig. 1 is a schematic structural diagram of a flow chart generation device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating a first embodiment of a method for generating a flow chart according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a flowchart generating method according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a flowchart generating method according to the present invention;
FIG. 5 is a flow chart illustrating a fourth embodiment of a method for generating a flow chart according to the present invention;
fig. 6 is a block diagram of a first embodiment of the flowchart generating apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a flow chart generation device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the flowchart generating apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the architecture shown in FIG. 1 does not constitute a limitation of the flow diagram generating apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a flowchart generation program.
In the flowchart generating apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the flowchart generating apparatus according to the present invention may be provided in the flowchart generating apparatus, and the flowchart generating apparatus calls the flowchart generating program stored in the memory 1005 by the processor 1001 and executes the flowchart generating method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for generating a flowchart, and referring to fig. 2, fig. 2 is a flowchart of a first embodiment of the method for generating a flowchart of the present invention.
In this embodiment, the flowchart generation method includes the following steps:
step S10: time series data are acquired.
In this embodiment, an execution subject of this embodiment is a flowchart generation platform, and may also be other devices that can achieve the same or similar functions.
It should be noted that the time series data is a series of data based on time, and trend, regularity and abnormality of the data can be known by analyzing the time series data, and the time series data of the embodiment is data related to an order, including order placing data, order delivery data, order receiving data and the like of the order, and when a user conducts a transaction, related data during the transaction of the user can be obtained, and the related data is generated according to a time sequence and stored in the time series database. The time-series database is a database for storing time-series data, and generally needs to support basic functions of quick writing, persistence, multidimensional aggregation query and the like of the time-series data.
Step S20: and generating node information corresponding to the time sequence data according to the time sequence data.
In specific implementation, the time series data includes order data of user transaction, including transaction event, transaction time, and the like, and corresponding event information can be obtained by acquiring the time series data, and the event information is classified to generate corresponding node information.
It should be understood that the node information refers to different event information in the time series data, time information of occurrence of a corresponding event, and the like, and the node information corresponding to the time series data may be generated by the time series data.
Further, generating node information corresponding to the time series data by the time series data includes: analyzing the time sequence data to obtain event information in the time sequence data; acquiring time information corresponding to the event information; and generating node information carrying the time information based on the event information and the time information.
In this embodiment, the time series data includes information of event occurrence, the event information includes user ordering, order delivery, user receiving, and the like, and corresponding time information can be acquired according to the event information, for example, the event information is user ordering, and specific time of user ordering can be acquired. Or the event information is order delivery, the specific time of the order delivery and the like can be acquired, and the node information with the time information can be acquired through the corresponding event and the time of the event occurrence. The node information includes a start node, an intermediate node, an end node, a child node, and the like.
Step S30: and obtaining side information based on the node information.
In a specific implementation, after the node information is obtained, the side information related to the node information can be obtained according to the event information and the time information in the node information. The side information includes side attribute data, such as time information of event occurrence, time occurrence frequency information, and event processing method.
Step S40: and obtaining the weight information of the edge based on the side information.
It should be noted that, after the side information is obtained, calculation may be performed according to the side attribute data in the side information to obtain the weight information of the side, where the weight information of the side represents the primary and secondary flow paths of the flow, and the greater the weight of the side is, the more important the flow passing through the side is.
Step S50: and generating a flow chart according to the weight information of the edges and the node information.
It should be understood that the flowchart may be generated by determining the hierarchy of the node according to the node information and performing the flowchart construction according to the hierarchy of the node and the weight information of the edge.
Further, after the flowchart is generated, the generated flowchart may be updated, and the step of updating the flowchart includes: when an updating instruction is received, acquiring updated node information and updated side information according to the time sequence data; adding the updated node information and updated side information to the flowchart based on the weight information and the node information.
In this embodiment, after new node information and side information are obtained according to the time sequence data, an update instruction is generated, the time sequence data is analyzed to obtain updated node information and updated side information, the updated node information and the updated side information are added to the flow chart through the weight information and the node information to obtain the updated flow chart, the number of sides is not limited, and the layout of the nodes and the sides can be reasonably adjusted by using space and weight, so that the generated flow chart is more intuitive.
The embodiment obtains time sequence data; generating node information corresponding to the time sequence data according to the time sequence data; obtaining side information based on the node information; obtaining weight information of the edge based on the edge information; and generating a flow chart according to the weight information of the edge and the node information, distinguishing primary data and secondary data in time sequence data according to the weight information of the edge and the weight information of the edge, quickly generating a primary flow, and dynamically adjusting the positions of the node and the edge when the time sequence data is complex to quickly and accurately generate a corresponding flow chart.
Referring to fig. 3, fig. 3 is a flowchart illustrating a flowchart generating method according to a second embodiment of the present invention.
Based on the first embodiment, the step S40 of the flowchart generation method in this embodiment specifically includes:
step S401: side attribute data is obtained based on the side information.
Step S402: and acquiring the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information in the edge attribute data.
It should be noted that, the side information includes side attribute data, and the side attribute data includes: the event processing method comprises the following steps of event occurrence time information, event occurrence frequency information and event processing mode information. The time information of the event occurrence may include: the specific time of the order placing by the user, the specific time of the order delivery by the user, and the specific time of the receiving by the user, for example, the time of the order placing by the user is 2022 year 4 month 10 day 16:00:00, the time of the order delivery is 2022 year 4 month 10 day 16:30:00, the time of the receiving by the user is 2022 year 4 month 15 day 12:00:00, the event occurrence frequency information refers to the specific frequency of the event occurrence within a certain period of time, for example, within half a month, the frequency of the order placing by the user, the frequency of the order delivery by the user, the frequency of the receiving by the user, and the like, the event processing mode information refers to the mode of the order delivery, and the specific delivery mode may be selected according to the actual needs of the user, which is not limited in this embodiment.
Step S403: and calculating the weight information of the edge based on the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information.
In specific implementation, the field attribute of the time sequence data can be calculated according to the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information, and the weight information and the personalized display rule of the side are added to the side according to the field attribute, so that the side weight information is obtained.
The embodiment obtains side attribute data based on the side information; acquiring the time information of the occurrence of the event, the frequency information of the occurrence of the event and the event processing mode information in the edge attribute data; and calculating the weight information of the sides based on the time information of the occurrence of the event, the frequency information of the occurrence of the event and the event processing mode information, accurately and quickly calculating the weight information of the sides according to the side attribute data, and conveniently setting the authority of the sides according to the weight information of the sides, thereby distinguishing the primary and secondary relations of the sides in the process and conveniently and quickly generating a flow chart corresponding to the time sequence data.
Referring to fig. 4, fig. 4 is a flowchart illustrating a flowchart generating method according to a third embodiment of the present invention.
Based on the first and second embodiments, step S50 of the flowchart generating method of this embodiment specifically includes:
step S501: and acquiring the type of the event occurrence based on the node information.
It should be understood that the type of event occurrence refers to the type of order, which is a user placing an order, shipping an order, receiving a customer, etc.
Step S502: and determining a starting node, an ending node and other nodes according to the node information carrying the time information and the type of the event.
In specific implementation, the node information carries time information, the time information when different events occur can be obtained according to the types of the events, and a start node, an end node and other nodes in the node information are determined by analyzing the time information when the different events occur, wherein the other nodes comprise a middle node and a child node. The start node is a process initiation node, represents the start of a process and is an entrance of the whole process, and the end node is a process end node, represents the end of the process and is an exit of the whole process. The intermediate node comprises event information from the flow to the end of the flow and the time of the event, and the sub-node refers to a node corresponding to a sub-flow derived from the main flow established by the flow node according to the weight of the edge.
Step S503: a node hierarchy is derived based on the start node, the end node, and the other nodes.
It should be noted that, because there is a relationship between the time when the event occurs and the type of the event occurring among the start node, the end node, and other nodes, the hierarchy among the nodes can be obtained according to the relationship, for example, the start node is the first level, and the intermediate nodes among other nodes can be sorted according to the time sequence of the start node to obtain the corresponding node hierarchy.
Step S504: and constructing a node hierarchical relationship through the node hierarchy to obtain the hierarchical relationship of the nodes.
It should be understood that, after the node hierarchy is obtained, the node hierarchical relationship may be constructed for different hierarchies to obtain the hierarchical relationship between the nodes, i.e., the distribution information between the nodes.
Step S505: and generating a flow chart according to the weight information and the hierarchical relationship of the nodes.
In a specific implementation, after the hierarchical relationship of the nodes is obtained, the flowchart may be generated according to the positions of the nodes in the hierarchical relationship of the nodes and the weight information of the edges connected to the nodes.
Further, the step of generating the flow chart through the hierarchical relationship between the weight information and the nodes specifically includes: obtaining the position of the node according to the weight information and the hierarchical relationship of the node; obtaining the connection position of the edge and the generation path of the connection line according to the connection relation of the node and the edge and the weight information; generating a flow node based on the hierarchical relationship of the nodes, the positions of the nodes, the connection positions and the generation path of the connection line; generating virtual nodes according to the relationship between the starting nodes and the relationship between the ending nodes; generating a flow graph based on the flow nodes and the virtual nodes.
The distribution information of each node can be obtained according to the weight information of the edge and the hierarchical relationship of the nodes, the position of each node can be obtained, the spatial relationship between the nodes and the edge can be calculated according to the edge information carrying the time information, the connection relationship between the nodes and the edge can be obtained, the connection position of each edge and the generation path of the connection line can be obtained according to the connection relationship between the nodes and the edge and the weight information of the edge, each process node can be generated according to the position of the node, the connection position of the edge and the generation path of the connection line, different starting nodes and ending nodes can be obtained, an independent virtual node can be generated according to the time relationship between the starting nodes and the type relationship of event occurrence, an independent virtual node can be generated according to the time relationship between the ending nodes and the type relationship of time occurrence, each starting node and each ending node can be connected through the virtual node, and the construction of the flow chart can be carried out through the process nodes and the virtual node, and the position of each node, the connection position of the edge and the generation path of the connecting line can be adjusted dynamically for many times according to the hierarchical relationship of the nodes, the connection relationship of the nodes and the edge and the weight information of the edge, so that the flow chart is displayed more intuitively.
After the flow chart is generated, a function can be called in a background to perform animation display on the generated path of the flow chart, so that the flow chart can be dynamically displayed in a browser, the complete path of each flow path can be intuitively known, and a user can conveniently and directly know the generation process of the flow chart.
The present embodiment obtains the type of event occurrence based on the node information; determining a starting node, an ending node and other nodes according to the node information with the time information and the type of the event; obtaining a node hierarchy based on the start node, the end node, and the other nodes; constructing a node hierarchical relationship through the node hierarchy to obtain the hierarchical relationship of the nodes; the flow chart is generated through the weight information and the hierarchical relationship of the nodes, the hierarchical relationship among the nodes can be obtained according to the node information, the flow chart can be quickly and accurately established through the hierarchical relationship of the nodes and the weight information of the edges, the complete flow chart can be presented, and the primary and secondary relationships in the flow chart can be visually displayed.
Referring to fig. 5, fig. 5 is a flowchart illustrating a flowchart generating method according to a fourth embodiment of the present invention.
Based on the first embodiment, the step S30 of the flowchart generation method in this embodiment specifically includes:
step S301: and acquiring the occurrence sequence of the events through the node information.
It should be understood that the node information carries event occurrence time information, and the occurrence sequence of each event in the time series data can be obtained through the event occurrence time information.
Step S302: and determining the spatial relationship between the node and the edge according to the sequence of the events.
Step S303: and obtaining the edge connected with the node according to the spatial relationship between the node and the edge.
In specific implementation, the spatial relationship between the nodes and the edges can be determined according to the sequence of the occurrence of the events, and the edges connected with the nodes are obtained according to the spatial relationship between the nodes and the edges, so that each edge related to the nodes is obtained.
Step S304: and obtaining side information according to the side connected with the node.
It should be noted that the number of edges is not limited, and the edge information can be obtained through the edges connected to the nodes according to the spatial relationship between the nodes and the edges, and the nodes and the edges are calculated according to time, so that the problem of node missing or edge missing is avoided.
In this embodiment, the occurrence sequence of events is obtained through the node information; determining the spatial relationship between the node and the edge according to the sequence of the events; obtaining an edge connected with the node according to the spatial relationship between the node and the edge; and obtaining side information according to the side connected with the node, automatically calculating the side information connected with the node according to the appointed time and the node attribute, and quickly obtaining the side information related to the node.
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of the flowchart generating apparatus of the present invention.
As shown in fig. 6, a flowchart generating apparatus provided in an embodiment of the present invention includes:
and the acquisition module 10 is used for acquiring the time sequence data.
And a generating module 20, configured to generate node information corresponding to the time series data according to the time series data.
The obtaining module 10 is further configured to obtain side information based on the node information.
The obtaining module 10 is further configured to obtain weight information of the edge based on the edge information.
The generating module 20 is further configured to generate a flowchart according to the weight information of the edge and the node information.
The embodiment obtains time sequence data; generating node information corresponding to the time sequence data according to the time sequence data; obtaining side information based on the node information; obtaining weight information of the edge based on the edge information; the flow chart is generated according to the weight information of the edge and the node information, the main data and the secondary data in the time sequence data can be distinguished according to the edge information and the weight information of the edge, the main flow can be generated rapidly, and when the time sequence data is complex, the positions of the node and the edge can be adjusted dynamically, and the corresponding flow chart can be generated rapidly and accurately.
In an embodiment, the obtaining module 10 is further configured to obtain side attribute data based on the side information; acquiring the time information of the occurrence of the event, the frequency information of the occurrence of the event and the event processing mode information in the edge attribute data; and calculating the weight information of the edge based on the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information.
In an embodiment, the generating module 20 is further configured to obtain a category of an event occurrence based on the node information; determining a starting node, an ending node and other nodes according to node information carrying time information and the type of the event; obtaining a node hierarchy based on the start node, the end node, and the other nodes; constructing a node hierarchical relationship through the node hierarchy to obtain the hierarchical relationship of the nodes; and generating a flow chart according to the weight information and the hierarchical relationship of the nodes.
In an embodiment, the generating module 20 is further configured to obtain a position of a node according to the weight information and the hierarchical relationship of the node; obtaining the connection position of the edge and the generation path of the connection line according to the connection relation of the node and the edge and the weight information; generating a flow node based on the hierarchical relationship of the nodes, the positions of the nodes, the connection positions and the generation path of the connection line; generating virtual nodes according to the relationship between the starting nodes and the relationship between the ending nodes; generating a flow graph based on the flow nodes and the virtual nodes.
In an embodiment, the generating module 20 is further configured to analyze the time series data to obtain event information in the time series data; acquiring time information corresponding to the event information; and generating node information carrying the time information based on the event information and the time information.
In an embodiment, the generating module 20 is further configured to obtain, through the node information, a sequence of occurrence of an event; determining the spatial relationship between the node and the edge according to the sequence of the events; obtaining an edge connected with the node according to the spatial relationship between the node and the edge; and obtaining side information according to the side connected with the node.
In an embodiment, the generating module 20 is further configured to, when receiving an update instruction, obtain updated node information and updated side information according to the time series data; adding the updated node information and updated side information to the flowchart based on the weight information and the node information.
In addition, to achieve the above object, the present invention further provides a flowchart generating apparatus, including: a memory, a processor, and a flowchart generation program stored on the memory and executable on the processor, the flowchart generation program configured to implement the steps of the flowchart generation method as described above.
Since the flowchart generating device adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and are not described in detail herein.
Furthermore, an embodiment of the present invention further provides a storage medium, where the storage medium stores a flowchart generation program, and the flowchart generation program, when executed by a processor, implements the steps of the flowchart generation method described above.
Since the storage medium adopts all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and details are not repeated herein.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to a flowchart generation method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or system in which the element is included.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for generating a flowchart, the method comprising:
acquiring time sequence data;
generating node information corresponding to the time sequence data according to the time sequence data;
obtaining side information based on the node information;
obtaining weight information of the edge based on the edge information;
and generating a flow chart according to the weight information of the edges and the node information.
2. The method for generating a flowchart according to claim 1, wherein the obtaining weight information of the edge based on the side information includes:
obtaining side attribute data based on the side information;
acquiring the time information of the occurrence of the event, the frequency information of the occurrence of the event and the event processing mode information in the edge attribute data;
and calculating the weight information of the edge based on the time information of the event occurrence, the frequency information of the event occurrence and the event processing mode information.
3. The method for generating a flowchart according to claim 1, wherein the generating a flowchart based on the weight information of the edge and the node information includes:
acquiring the type of event occurrence based on the node information;
determining a starting node, an ending node and other nodes according to node information carrying time information and the type of the event;
obtaining a node hierarchy based on the start node, the end node, and the other nodes;
constructing a node hierarchical relationship through the node hierarchy to obtain the hierarchical relationship of the nodes;
and generating a flow chart according to the weight information and the hierarchical relationship of the nodes.
4. The flowchart generation method of claim 3, wherein the generating a flowchart by the hierarchical relationship of the weight information and the node comprises:
obtaining the position of the node according to the weight information and the hierarchical relationship of the node;
obtaining the connection position of the edge and the generation path of the connection line according to the connection relation of the node and the edge and the weight information;
generating a flow node based on the hierarchical relationship of the nodes, the positions of the nodes, the connection positions and the generation path of the connection line;
generating virtual nodes according to the relationship between the starting nodes and the relationship between the ending nodes;
generating a flow graph based on the flow nodes and the virtual nodes.
5. The method for generating a flowchart according to claim 1, wherein the generating node information corresponding to the time-series data according to the time-series data includes:
analyzing the time sequence data to obtain event information in the time sequence data;
acquiring time information corresponding to the event information;
and generating node information carrying the time information based on the event information and the time information.
6. The method of generating a flowchart as claimed in claim 5, wherein said deriving side information based on said node information comprises:
acquiring the sequence of the events through the node information;
determining the spatial relationship between the node and the edge according to the sequence of the events;
obtaining an edge connected with the node according to the spatial relationship between the node and the edge;
and obtaining side information according to the side connected with the node.
7. The flow chart generation method of any one of claims 1-6, wherein after generating the flow chart from the weight information of the edges and the node information, further comprising:
when an updating instruction is received, acquiring updated node information and updated side information according to the time sequence data;
adding the updated node information and updated side information to the flowchart based on the weight information and the node information.
8. A flowchart generation apparatus, characterized by comprising:
the acquisition module is used for acquiring time sequence data;
the generation module is used for generating node information corresponding to the time sequence data according to the time sequence data;
the acquisition module is further used for acquiring side information based on the node information;
the acquisition module is further used for acquiring the weight information of the side based on the side information;
the generating module is further configured to generate a flowchart according to the weight information of the edge and the node information.
9. A flowchart generation apparatus, characterized by comprising: a memory, a processor, and a flowchart generation program stored on the memory and executable on the processor, the flowchart generation program configured to implement the flowchart generation method of any one of claims 1 to 7.
10. A storage medium having a flowchart generation program stored thereon, the flowchart generation program implementing the flowchart generation method according to any one of claims 1 to 7 when executed by a processor.
CN202210465786.9A 2022-04-29 2022-04-29 Flow chart generation method, device, equipment and storage medium Pending CN114997813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210465786.9A CN114997813A (en) 2022-04-29 2022-04-29 Flow chart generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210465786.9A CN114997813A (en) 2022-04-29 2022-04-29 Flow chart generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114997813A true CN114997813A (en) 2022-09-02

Family

ID=83025694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210465786.9A Pending CN114997813A (en) 2022-04-29 2022-04-29 Flow chart generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114997813A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350620A (en) * 2023-10-30 2024-01-05 广州方舟信息科技有限公司 Logistics state confirmation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4953106A (en) * 1989-05-23 1990-08-28 At&T Bell Laboratories Technique for drawing directed graphs
CN106649231A (en) * 2016-10-27 2017-05-10 深圳市元征科技股份有限公司 Method and device for generating flow chart
CN112688813A (en) * 2020-12-24 2021-04-20 中国人民解放军战略支援部队信息工程大学 Routing node importance ordering method and system based on routing characteristics
CN113393553A (en) * 2021-06-18 2021-09-14 中国工商银行股份有限公司 Method and device for generating flow chart and electronic equipment
CN114067022A (en) * 2021-11-18 2022-02-18 中国银行股份有限公司 Flow chart generation method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4953106A (en) * 1989-05-23 1990-08-28 At&T Bell Laboratories Technique for drawing directed graphs
CN106649231A (en) * 2016-10-27 2017-05-10 深圳市元征科技股份有限公司 Method and device for generating flow chart
CN112688813A (en) * 2020-12-24 2021-04-20 中国人民解放军战略支援部队信息工程大学 Routing node importance ordering method and system based on routing characteristics
CN113393553A (en) * 2021-06-18 2021-09-14 中国工商银行股份有限公司 Method and device for generating flow chart and electronic equipment
CN114067022A (en) * 2021-11-18 2022-02-18 中国银行股份有限公司 Flow chart generation method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350620A (en) * 2023-10-30 2024-01-05 广州方舟信息科技有限公司 Logistics state confirmation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108228169B (en) Chart making method, device, equipment and medium based on eCharts tool
US8706707B2 (en) Systems and methods for modeling costed entities and performing a value chain analysis
CN111125560B (en) Data visualization processing method, device and computer system
CN108874926A (en) Mass data inquiry method, device, computer equipment and storage medium
CN111506444A (en) Form approval method and device, storage medium and electronic equipment
US8639555B1 (en) Workflow discovery through user action monitoring
CN107665228A (en) A kind of related information querying method, terminal and equipment
CN111414405A (en) Data acquisition method and device and electronic equipment
CN107562459B (en) Management system, interface generating/displaying/operating method, medium, and terminal
JP2012208664A (en) Integrated management system for software design/operation
CN112241265A (en) Visual page processing method and equipment
US20230048310A1 (en) System and method for identifying members of a dynamic target segment
CN112560422A (en) Chart processing method, device, equipment and medium
US8606762B2 (en) Data quality administration framework
CN114997813A (en) Flow chart generation method, device, equipment and storage medium
US10289388B2 (en) Process visualization toolkit
US20190340311A1 (en) Layered analytical modeling of telecom tower structure and scenario analysis
CN111553749A (en) Activity push strategy configuration method and device
CN110352405B (en) Computer-readable medium, computing system, method, and electronic device
CN111191999A (en) Product research and development management method and device, computer equipment and storage medium
CN114185987A (en) Data development visualization method, device, equipment and storage medium
US8255881B2 (en) System and method for calculating software certification risks
CN114721945A (en) Graph database-based distribution method and device, electronic equipment and storage medium
CN109857501B (en) APP page display method and device, storage medium and server
CN113987644A (en) Engineering quantity list generation method, device, equipment and 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