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

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

Info

Publication number
CN111666740A
CN111666740A CN202010575790.1A CN202010575790A CN111666740A CN 111666740 A CN111666740 A CN 111666740A CN 202010575790 A CN202010575790 A CN 202010575790A CN 111666740 A CN111666740 A CN 111666740A
Authority
CN
China
Prior art keywords
document
flow chart
node
flow
requirement
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
CN202010575790.1A
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.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010575790.1A priority Critical patent/CN111666740A/en
Publication of CN111666740A publication Critical patent/CN111666740A/en
Pending legal-status Critical Current

Links

Images

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • 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

Abstract

The application relates to the technical field of computers, and provides a flow chart generation method and device, computer equipment and a storage medium. The method comprises the following steps: responding to the editing operation of the required document, acquiring document editing data corresponding to the editing operation, identifying node identifiers contained in the document editing data, dividing the document editing data into flow fields based on the node identifiers, establishing an association relationship between the flow fields and the node identifiers, acquiring flow frames corresponding to the node identifiers, filling the flow fields in the flow frames according to the association relationship between the flow fields and the node identifiers, generating a flow chart corresponding to the edited required document, and synchronously displaying the required document and the flow chart. By the method, the corresponding flow chart can be generated based on the editing of the requirement document, the requirement document and the corresponding flow chart are synchronously displayed, the actual business logic of the requirement is visually embodied, the requirement can be quickly and accurately established conveniently, and the project development efficiency is improved.

Description

Flow chart generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a flowchart, a computer device, and a storage medium.
Background
The product documentation is the product requirement description material which is popular nowadays, and the product documentation is needed for each project iteration of a large company. In a certain sense, the product requirements are the outline of the whole project, how to utilize product documents and perform iteration of the idea of compound requirements to convert high-quality project implementation, reduce the communication cost between development engineers and products, and quickly integrate new personnel of subsequent projects, and are pain points for understanding the requirements of all versions of the project for a long time.
The traditional product requirement document is mainly based on the text description, so that the redevelopment work caused by understanding errors brought by the text description cannot be avoided, and meanwhile, the redundant product requirement document description can cause follow-up personnel to spend a large amount of time and labor cost when understanding the requirement, so that the project development efficiency is influenced.
Disclosure of Invention
In view of the above, it is desirable to provide a flowchart generation method, apparatus, computer device, and storage medium capable of improving project development efficiency.
A method for generating a flow chart, the method comprising:
responding to the editing operation of the required document, and acquiring document editing data corresponding to the editing operation;
identifying a node identifier contained in the document editing data;
based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification;
acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document;
and synchronously displaying the requirement document and the flow chart.
In one embodiment, in response to an editing operation on a requirement document, before acquiring document editing data corresponding to the editing operation, the method further includes:
acquiring an imported demand document;
identifying an initial node identifier in an imported demand document, and generating an initial flow chart;
acquiring a process frame corresponding to the node identifier, filling the process field in the process frame according to the association relationship between the process field and the node identifier, and generating a process diagram corresponding to the edited requirement document, wherein the process diagram comprises the following steps:
determining the corresponding node position of the node identifier in the initial flow chart;
determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier;
and updating the flow field of the flow frame to be updated in the initial flow chart to obtain the flow chart corresponding to the edited requirement document.
In one embodiment, identifying the node identifiers contained in the document-editing data comprises:
and identifying the preset node identification and the user-defined node identification for the document editing data, and determining the node identification contained in the document editing data.
In one embodiment, after the response to the editing operation on the requirement document, the method further includes:
acquiring editing content corresponding to editing operation and a database storing demand description sentences;
fuzzy matching is carried out on the edited content and the requirement description sentences in the database;
and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
In one embodiment, the flowchart generation method further includes:
acquiring a system flow chart of an initial version, and determining a connecting node of the flow chart in the system flow chart of the initial version;
and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
In one embodiment, the flowchart generation method further includes:
determining a demand point corresponding to the demand document and the flow chart, and archiving the demand document and the flow chart by taking the demand point as an identifier;
when a historical record query request is received, extracting a demand point identifier carried in the historical record query request;
and matching the requirement document and the flow chart corresponding to the requirement point identifier from the archived data.
In one embodiment, the flowchart generation method further includes:
responding to the triggering operation of the interactive function control, and acquiring a pre-associated terminal identifier;
and establishing interactive connection with the terminal corresponding to the terminal identifier, and sending the flow chart to the terminal.
A flowchart generation apparatus, the apparatus comprising:
the document editing data acquisition module is used for responding to the editing operation of the required document and acquiring document editing data corresponding to the editing operation;
the node identification recognition module is used for recognizing the node identification contained in the document editing data;
the flow chart generation field division module is used for dividing the flow field of the document editing data based on the node identification and establishing the association relationship between the flow field and the node identification;
the flow chart generation module is used for acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document;
and the synchronous display module is used for synchronously displaying the requirement document and the flow chart.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to the editing operation of the required document, and acquiring document editing data corresponding to the editing operation;
identifying a node identifier contained in the document editing data;
based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification;
acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document;
and synchronously displaying the requirement document and the flow chart.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
responding to the editing operation of the required document, and acquiring document editing data corresponding to the editing operation;
identifying a node identifier contained in the document editing data;
based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification;
acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document;
and synchronously displaying the requirement document and the flow chart.
According to the method, the device, the computer equipment and the storage medium for generating the flow chart, the document editing data corresponding to the editing operation is obtained by responding to the editing operation on the requirement document, the node identification in the requirement document editing data is identified, the flow field division is carried out on the document editing data, the incidence relation between the flow field and the node identification is established, then the flow frame corresponding to the node identification is obtained, the flow field filling is carried out on the flow frame according to the incidence relation, the flow chart corresponding to the edited requirement document can be generated, the flow chart corresponding to the requirement document is synchronously displayed, the actual service logic of the requirement is visually embodied, the rapid and accurate establishment of the requirement is facilitated, and the project development efficiency is improved.
Drawings
FIG. 1 is a diagram of an application scenario of a method for generating a flowchart in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for generating a flow chart according to one embodiment;
FIG. 3 is a schematic flow chart diagram of a method for generating a flow chart diagram in another embodiment;
FIG. 4 is a schematic flow chart diagram illustrating a method for generating a flow chart according to yet another embodiment;
FIG. 5 is a block diagram showing the structure of a flowchart generating apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, an application scenario diagram of a flowchart generating method is provided, which is applied to a terminal 102 for illustration in this embodiment, where the terminal responds to an editing operation of a user on a demand document, acquires document editing data corresponding to the editing operation, identifies a node identifier included in the document editing data, then, based on the node identifier, performs flow field division on the document editing data, establishes an association relationship between a flow field and the node identifier, acquires a flow frame corresponding to the node identifier, and performs flow field filling on the flow frame according to the association relationship between the flow field and the node identifier, so as to generate a flowchart corresponding to the edited demand document; and finally, synchronously displaying the requirement document and the flow chart. It is understood that the method can also be applied to a server, and can also be applied to a system comprising a terminal and a server, and is realized through the interaction of the terminal and the server. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a flowchart generating method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step 202, in response to the editing operation on the required document, acquiring document editing data corresponding to the editing operation.
The requirement document refers to a document which is written by a user (generally, a developer such as a product engineer) who writes product requirements according to the product development requirements in the process of developing the project. In an embodiment, the authoring interface for the requirements document may be provided in the form of a plug-in tool. The method comprises the steps that a user starts a plug-in tool of a terminal, a compiling window of a required document is displayed on a display interface of the terminal, the user edits the required document through the compiling window of the required document, and the terminal responds to the editing operation to obtain document editing data corresponding to the editing operation.
In an embodiment, the packaged plug-in tool integrates multiple functions, such as editing function of requirement document, generating and displaying function of flow chart, editing tool bar function of node insertion and the like. By starting the plug-in tool, writing of a requirement document and other accessory functions can be carried out. The document editing data can be input data of the terminal in the writing process by detecting the requirement document.
The detection of the input data may be accomplished in response to a data update operation. Specifically, the data update operation may correspond to each edit by the product engineer, where the edit includes data addition, data modification, or data deletion. The data updating operation may also be an operation actively triggered by the product engineer based on an update button provided by the writing interface after the product engineer completes a part of the writing process, and each click of the update button corresponds to one data updating operation.
The document editing data refers to data content corresponding to a data updating operation, specifically refers to changed content corresponding to recorded data in the last time, for example, addition, deletion, modification and the like of data.
At step 204, node identifications included in the document-editing data are identified.
The node identifier is an identifier used for representing a data flow direction of the flow chart, and specifically includes a judgment node, a distribution node, a flow node, and the like. Specifically, in the process of writing the requirement document, the product engineer may refer to the provided writing specification manual to specify specific specifications and writing methods, for example, specification writing methods for specifying a judgment node, a branching node, a flow node, and the like of the requirement text. The canonical writing of the node specifically includes the correct use of the node keyword or the direct use of a preset node identifier.
In one embodiment, a node identifier which can be used for representing business logic and can be quoted can be provided on a requirement document editing interface, the node identifier can be displayed in the form of a draggable icon, when a requirement document is edited, the corresponding node identifier can be directly dragged to the corresponding document editing position to be represented based on project requirements, and the selected node identifier can be inserted into the document editing position through selecting the document editing position.
For example, when the judgment is needed, one judged node identifier is dragged to the corresponding position of the required document, so that the subsequent accurate identification of the node identifier is facilitated.
For another example, a product engineer may customize keywords used to characterize each node based on his own requirements document editing habits, and build a keyword list used to identify the nodes. In addition, the keyword list may also be generated based on system definitions, and the product engineer may update the keywords in the keyword list. And directly writing predefined node keywords in the process of editing the required document. In the process of identifying and processing the node identification, the node identification in the updated data is accurately identified through keyword matching based on each keyword in the keyword list.
It should be noted that, when a document is written, input data may be detected in real time, and a node keyword or a node identifier may be displayed in a manner different from other characters, for example, in a manner of different colors, different shading, different fonts, and the like, so as to remind a user, where the input data is a node identifier for representing a node.
And step 206, based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification.
The flow field is a result of dividing the document editing data by taking the node identifier in the document editing data as a node, the flow field is used for representing a single data processing requirement in the whole flow, and the data field is a description statement which is input by a user through an editing interface of a requirement document and is used for the data processing requirement. The flow field is divided based on the node identification, one flow field can be determined by the two node identifications, and the association relationship between the node identification and the flow field can be established based on the node identification and the position of the flow field in the document editing data.
And 208, acquiring a process frame corresponding to the node identifier, filling a process field in the process frame according to the association relationship between the process field and the node identifier, and generating a process diagram corresponding to the edited required document.
The node identification comprises a judgment node, a distribution node, a sequence node, a circulation node, an initial node and the like. Each type of node is pre-configured with a corresponding flow chart representation mode, for example, the judgment node corresponds to a judgment flow box carrying two branches, and the sequential node corresponds to a sequentially executed flow box, etc.
And determining a flow frame corresponding to each flow field according to the sequence relation of each node identifier in the document editing data and the flow chart representation mode corresponding to each node identifier and the incidence relation of the flow fields and the node identifiers, and filling the flow fields into the corresponding flow frames to obtain the flow chart corresponding to the edited required document.
In the embodiment, the method comprises a flow chart generated by directly writing the requirement document and a flow chart updated by modifying the original initial requirement document. For the case of modifying the update, the original flow field filled in the original flow frame may be updated by combining the initial flow chart corresponding to the initial requirement document, so as to obtain the flow chart corresponding to the edited requirement document.
In an embodiment, the flow chart corresponding to the edited requirement document may be generated in real time based on the editing operation of the user on each node, so that the user can conveniently obtain the corresponding flow chart in real time, or the flow chart corresponding to the edited requirement document may be generated by responding to the user and actively triggering a preset flow chart production control after the user finishes editing one or more nodes, so as to meet the personalized requirements of the user.
Step 210, synchronously displaying the requirement document and the flow chart.
The node identification is automatically identified in the editing process of the requirement document, and the flow chart corresponding to the current requirement document is displayed on the page in real time, so that a product engineer can conveniently modify and expand the requirement document in time according to the flow chart generated in real time.
Specifically, the terminal generates interface configuration parameters corresponding to the flow chart, and synchronously displays the corresponding flow chart on a writing interface of the requirement document based on the interface configuration parameters, for example, the requirement document is displayed on one side of the interface, the corresponding flow chart is displayed on the other side of the interface, or the flow chart corresponding to the requirement document is displayed on an upper layer in a layer where the requirement document is located in a pop-up window manner.
According to the flow chart generation method, the document editing data corresponding to the editing operation is obtained by responding to the editing operation of the requirement document, the node identification in the requirement document editing data is identified, the flow field division is carried out on the document editing data, the incidence relation between the flow field and the node identification is established, then the flow frame corresponding to the node identification is obtained, the flow field filling is carried out on the flow frame according to the incidence relation, the flow chart corresponding to the edited requirement document can be generated, the flow chart corresponding to the requirement document is synchronously displayed, the actual business logic of the requirement is visually embodied, the requirement is rapidly and accurately established conveniently, and therefore the project development efficiency is improved.
In one embodiment, as shown in FIG. 3, steps 302 to 304 are further included before acquiring document editing data corresponding to an editing operation in response to the editing operation on the requirement document.
Step 302, an imported requirement document is obtained.
Step 304, identifying the initial node identification in the imported requirement document, and generating an initial flow chart.
Acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow diagram corresponding to the edited requirement document, wherein the steps from 306 to 310 are included.
Step 306, determining the corresponding node position of the node identifier in the initial flowchart.
And 308, determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier.
And 310, updating the flow field of the flow frame to be updated in the initial flow chart to obtain a flow chart corresponding to the edited requirement document.
For a part of the requirement document that has been completed, when the requirement document is modified or continuously edited, the requirement document to be edited may be imported through the file import interface after the plug-in tool is started, for example, a file corresponding to the requirement document is opened through the file opening function, or the requirement document is dragged and imported. The terminal responds to the import operation of the demand document, after the imported demand document is obtained, node identification recognition processing is carried out on the demand document to obtain an initial node identification, and then a flow chart corresponding to the imported demand document is generated based on a flow chart representation mode corresponding to the initial node identification, namely the initial flow chart.
The node identification in the document editing data is an updating node relative to the initial flow chart, the node position corresponding to the node identification in the initial flow chart is determined based on the carrying position of the document editing data in the requirement document, the flow frame to be updated corresponding to the flow field in the initial flow chart is determined according to the node position and the incidence relation between the flow field and the node identification, and the flow field of the flow frame to be updated in the initial flow chart is updated, so that the flow chart corresponding to the edited requirement document is obtained.
In one embodiment, as shown in FIG. 4, identifying node identifications contained in document editing data includes step 402.
Step 402, recognizing preset node identifiers and user-defined node identifiers for the document editing data, and determining the node identifiers contained in the document editing data.
Specifically, in the process of editing the requirement document, the node editing modes include two modes, the first mode is to add a node by inserting a node identifier, and the node identifier belongs to a preset node identifier. And the other is to add nodes by writing in node keywords, wherein the node keywords belong to the user-defined node identification. Different node identification recognition methods are correspondingly provided for different node editing modes.
In one embodiment, for the identification of a preset node identifier, for example, a node identifier, it may be determined whether it is a node identifier by identifying a user operation type. For example, by using a preset node identifier adding operation mode, when the user operation is the same as the preset operation mode, the user operation type is the node identifier adding operation, and the added data is marked as the added node identifier. In an embodiment, the preset operation manner may be a node identifier dragging operation.
In another embodiment, for the identification of custom node identifications such as node keywords, document editing data can be matched with a preset keyword list, and if data matched successfully exists, the data is marked as written node keywords.
The identified node key words or node identifiers and other node identifications can be realized in different modes of different colors, different shading, different fonts and other visual data display modes, and a user can conveniently confirm the required document in the editing process.
In one embodiment, the requirement document writing interface is provided with a node adding mode selection control, and the node adding mode options comprise node identifier dragging and node keyword input. And identifying the node identification or the node key word in the updated data based on the selected node adding mode to obtain the node identification.
In one embodiment, after the response to the editing operation on the requirement document, the method further comprises: acquiring editing content corresponding to editing operation and a database storing demand description sentences; fuzzy matching is carried out on the edited content and the requirement description sentences in the database; and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
The description data of each logic step of the current version is stored in a database corresponding to the terminal, and for the situation of iterative update of an original requirement document, when each step of logic requirement is edited, the database storing requirement description sentences is obtained, fuzzy matching is carried out on the edited content and the requirement description sentences in the database, and the matched result is pushed to an editing interface of the requirement document in a list form. The data obtained by fuzzy matching comprises a matching result corresponding to the node and data processing logics of an upper layer and a lower layer of the node. The list obtained by fuzzy matching is pushed, association prompting capability is provided, and when a user writes a requirement document, the logic of the requirement point or the associated requirement point in the historical version is prompted, so that the current requirement of the user is prevented from being in conflict with the historical version, and further the situations of requirement understanding error and requirement reworking caused by a development engineer are avoided.
In one embodiment, the flowchart generation method further includes: acquiring a system flow chart of an initial version, and determining a connecting node of the flow chart in the system flow chart of the initial version; and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
The requirement document is a part of the requirement of the whole system, and the system corresponds to the system flow chart. When the requirement document is written, a connection node with the system flow chart can be preset and is used as a connection object of an initial node of the flow chart corresponding to the requirement document, so that the connection between the flow chart corresponding to the requirement document and the system flow chart is realized, and the system flow chart with an updated version is obtained by adding the flow chart corresponding to the requirement document to the system flow chart. And the related flow charts are automatically assembled through the associated logic among the nodes to form a large flow chart of the whole system, so that all functions of the whole project corresponding to the system can be clearly displayed.
In one embodiment, the flowchart generation method further includes: determining a demand point corresponding to the demand document and the flow chart, and archiving the demand document and the flow chart by taking the demand point as an identifier; when a historical record query request is received, a demand point identifier carried in the historical record query request is extracted, and a demand document and a flow chart corresponding to the demand point identifier are obtained from the archived data in a matching mode.
Specifically, the archived data includes a requirement document and a corresponding flow chart, which are finalized by a product engineer each time, and also includes interaction records for information interaction between each post person based on the requirement document and the flow chart. The finalized requirement document and the corresponding flow chart do not comprise a plurality of modified versions formed in the interaction process of each post so as to realize data processing and optimization of a display result in the subsequent searching process, but the plurality of modified versions formed in the interaction process of each post can be recorded in the interaction record so as to facilitate data backtracking and information searching through the interaction record.
In the embodiment, the historical change records of all demand points are completely recorded by integrating and recording demands of all periods, and a finished historical archive record is generated. The method avoids forgetting the change time point and reason of the demand, and provides the current change record for the subsequent user who wants to know the related functions, so that the user can understand the consequences of the cause generated by the demand as soon as possible, thereby improving the development efficiency.
In one embodiment, the flowchart generation method further includes: responding to the triggering operation of the interactive function control, and acquiring a pre-associated terminal identifier; and establishing interactive connection with the terminal corresponding to the terminal identification, and sending the flow chart to the terminal.
An interactive function control is further provided on the compiling interface of the requirement document, specifically interactive function buttons are provided, compiling of the requirement document is completed by a user (such as a development engineer), the generated flow chart and the corresponding system flow chart are sent to a pre-associated terminal by triggering the interactive function buttons, specifically, a project engineer (or other post personnel of the project) is provided, and information interaction is carried out through an interactive window. And providing a suggestion function for modifying the flow chart for each post personnel of the project through an interactive function. When new requirements of product design or existing requirements of product change are met, real-time synchronous information is provided for project personnel of all posts, if the project personnel have related requirements optimization or different implementation mode suggestions of requirements, the project personnel can be provided for writers of required documents at the first time, and compared with the existing mode of interacting through mails, each interaction process can be recorded in detail and historical files are stored, so that communication and requirement formulation among all posts are further enhanced.
In one embodiment, the method for generating the flow chart further includes acquiring historical interaction records of each demand point and update data of the historical demand document/flow chart based on the archived data, and obtaining hotspot demands in the system according to the interaction records and the update data. The historical interaction records comprise interaction times, the updating data of the historical demand document/flow chart comprises the updating times and the number of updating nodes, the modification nodes required in each period and the statistical data of each node are recorded, and the hotspot requirements in the system are calculated and displayed by configuring a proportion factor. By analyzing the demand hotspots, data can be provided for the entire project flow to copy.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a flowchart generating apparatus including: a document editing data obtaining module 502, a node identification identifying module 504, a flow field dividing module 506, a flow chart generating module 508 and a synchronous display module 510, wherein:
the document editing data obtaining module 502 is configured to respond to an editing operation on a required document, and obtain document editing data corresponding to the editing operation.
A node identifier identifying module 504, configured to identify a node identifier included in the document editing data.
A flow field dividing module 506, configured to divide a flow field of the document editing data based on the node identifier, and establish an association relationship between the flow field and the node identifier;
and the flow chart generating module 508 is configured to obtain a flow frame corresponding to the node identifier, perform flow field filling on the flow frame according to the association relationship between the flow field and the node identifier, and generate a flow chart corresponding to the edited requirement document.
And a synchronous display module 510 for synchronously displaying the requirement document and the flowchart.
In one embodiment, the flowchart generating apparatus further includes a requirement document importing module, configured to obtain an imported requirement document; identifying an initial node identifier in an imported demand document, and generating an initial flow chart;
the flow chart generation module is also used for determining the corresponding node position of the node identifier in the initial flow chart;
determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier;
and updating the flow field of the flow frame to be updated in the initial flow chart to obtain the flow chart corresponding to the edited requirement document.
In an embodiment, the node identifier identifying module is further configured to identify the document editing data by using a preset node identifier and a user-defined node identifier, and determine a node identifier included in the document editing data.
In one embodiment, the flow chart generating device further comprises a fuzzy matching module, wherein the fuzzy matching module is used for acquiring editing contents corresponding to the editing operation and a database in which the requirement description statements are stored; fuzzy matching is carried out on the edited content and the requirement description sentences in the database; and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
In one embodiment, the flowchart generating apparatus further includes a system flowchart generating module, where the system flowchart generating module is configured to obtain the system flowchart of the initial version, and determine a connection node of the flowchart in the system flowchart of the initial version; and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
In one embodiment, the flow chart generating apparatus further includes a data archiving module, where the data archiving module is configured to determine a demand point corresponding to the demand document and the flow chart, and archive the demand document and the flow chart by using the demand point as an identifier; when a historical record query request is received, a demand point identifier carried in the historical record query request is extracted, and a demand document and a flow chart corresponding to the demand point identifier are obtained from the archived data in a matching mode.
In one embodiment, the flowchart generating apparatus further includes an interactive connection module, where the interactive connection module is configured to respond to an interactive function control triggering operation and acquire a pre-associated terminal identifier; and establishing interactive connection with the terminal corresponding to the terminal identification, and sending the flow chart to the terminal.
According to the flow chart generation device, the document editing data corresponding to the editing operation is obtained by responding to the editing operation on the requirement document, the node identification in the requirement document editing data is identified, the flow field division is carried out on the document editing data, the incidence relation between the flow field and the node identification is established, then the flow frame corresponding to the node identification is obtained, the flow field filling is carried out on the flow frame according to the incidence relation, the flow chart corresponding to the edited requirement document can be generated, the flow chart corresponding to the requirement document is synchronously displayed, the actual business logic of the requirement is visually embodied, the quick and accurate establishment of the requirement is facilitated, and the project development efficiency is improved.
For specific limitations of the flowchart generation apparatus, reference may be made to the above limitations of the flowchart generation method, which are not described herein again. The various modules in the flowchart generating apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a flowchart generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
responding to the editing operation of the required document, and acquiring document editing data corresponding to the editing operation; identifying a node identifier contained in the document editing data; based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification; acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document; and synchronously displaying the requirement document and the flow chart.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an imported demand document; identifying an initial node identifier in an imported demand document, and generating an initial flow chart; determining the corresponding node position of the node identifier in the initial flow chart; determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier; and updating the flow field of the flow frame to be updated in the initial flow chart.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and identifying the preset node identification and the user-defined node identification for the document editing data, and determining the node identification contained in the document editing data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring editing content corresponding to editing operation and a database storing demand description sentences; fuzzy matching is carried out on the edited content and the requirement description sentences in the database; and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a system flow chart of an initial version, and determining a connecting node of the flow chart in the system flow chart of the initial version; and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a demand point corresponding to the demand document and the flow chart, and archiving the demand document and the flow chart by taking the demand point as an identifier; when a historical record query request is received, extracting a demand point identifier carried in the historical record query request; and matching the requirement document and the flow chart corresponding to the requirement point identifier from the archived data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
responding to the triggering operation of the interactive function control, and acquiring a pre-associated terminal identifier; and establishing interactive connection with the terminal corresponding to the terminal identification, and sending the flow chart to the terminal.
According to the computer equipment for realizing the flow chart generation method, the document editing data corresponding to the editing operation is obtained by responding to the editing operation on the requirement document, the node identification in the requirement document editing data is identified, the flow field division is carried out on the document editing data, the incidence relation between the flow field and the node identification is established, then the flow frame corresponding to the node identification is obtained, the flow field filling is carried out on the flow frame according to the incidence relation, the flow chart corresponding to the edited requirement document can be generated, the flow chart corresponding to the requirement document is synchronously displayed, the actual service logic of the requirement is visually embodied, the requirement can be rapidly and accurately established conveniently, and therefore the project development efficiency is improved.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to the editing operation of the required document, and acquiring document editing data corresponding to the editing operation; identifying a node identifier contained in the document editing data; based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification; acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document; and synchronously displaying the requirement document and the flow chart.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an imported demand document; identifying an initial node identifier in an imported demand document, and generating an initial flow chart; determining the corresponding node position of the node identifier in the initial flow chart; determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier; and updating the flow field of the flow frame to be updated in the initial flow chart to obtain the flow chart corresponding to the edited requirement document.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and identifying the preset node identification and the user-defined node identification for the document editing data, and determining the node identification contained in the document editing data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring editing content corresponding to editing operation and a database storing demand description sentences; fuzzy matching is carried out on the edited content and the requirement description sentences in the database; and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a system flow chart of an initial version, and determining a connecting node of the flow chart in the system flow chart of the initial version; and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a demand point corresponding to the demand document and the flow chart, and archiving the demand document and the flow chart by taking the demand point as an identifier; when a historical record query request is received, extracting a demand point identifier carried in the historical record query request; and matching the requirement document and the flow chart corresponding to the requirement point identifier from the archived data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
responding to the triggering operation of the interactive function control, and acquiring a pre-associated terminal identifier; and establishing interactive connection with the terminal corresponding to the terminal identification, and sending the flow chart to the terminal.
According to the computer-readable storage medium for realizing the flow chart generation method, the document editing data corresponding to the editing operation is obtained by responding to the editing operation on the requirement document, the node identification in the requirement document editing data is identified, the flow field division is carried out on the document editing data, the association relation between the flow field and the node identification is established, then the flow frame corresponding to the node identification is obtained, the flow field filling is carried out on the flow frame according to the association relation, the flow chart corresponding to the edited requirement document can be generated, the flow chart corresponding to the requirement document is synchronously displayed, the actual business logic of the requirement is visually embodied, the rapid and accurate establishment of the requirement is facilitated, and the project development efficiency is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile memory may include Read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for generating a flow chart, the method comprising:
responding to the editing operation of a required document, and acquiring document editing data corresponding to the editing operation;
identifying a node identifier contained in the document editing data;
based on the node identification, dividing the flow field of the document editing data, and establishing the association relationship between the flow field and the node identification;
acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the association relationship between the flow field and the node identifier, and generating a flow chart corresponding to the edited required document;
and synchronously displaying the requirement document and the flow chart.
2. The method according to claim 1, wherein the acquiring document editing data corresponding to the editing operation in response to the editing operation on the requirement document further comprises:
acquiring an imported demand document;
identifying an initial node identifier in an imported demand document, and generating an initial flow chart;
the acquiring the process frame corresponding to the node identifier, filling the process field in the process frame according to the association relationship between the process field and the node identifier, and generating the process diagram corresponding to the edited requirement document includes:
determining a corresponding node position of the node identification in the initial flow chart;
determining a flow frame to be updated corresponding to the flow field in the initial flow chart according to the node position and the incidence relation between the flow field and the node identifier;
and updating the flow field of the flow frame to be updated in the initial flow chart to obtain a flow chart corresponding to the edited requirement document.
3. The method of claim 1, wherein identifying node identifiers contained in the document-editing data comprises:
and identifying preset node identification and user-defined node identification for the document editing data, and determining the node identification contained in the document editing data.
4. The method of claim 1, wherein the responding to the editing operation on the requirements document further comprises:
acquiring editing content corresponding to the editing operation and a database storing a requirement description statement;
fuzzy matching is carried out on the editing content and the requirement description sentences in the database;
and pushing the result obtained by matching to an editing interface of the requirement document in a list form.
5. The method of claim 1, further comprising:
acquiring a system flow chart of an initial version, and determining a connecting node of the flow chart in the system flow chart of the initial version;
and updating the flow chart to the system flow chart of the initial version according to the connecting node to obtain the system flow chart of the updated version.
6. The method of claim 1, further comprising:
determining a demand point corresponding to the demand document and the flow chart;
taking the demand points as identifiers, and archiving the demand documents and the flow charts;
when a historical record query request is received, extracting a demand point identifier carried in the historical record query request;
and matching the requirement document and the flow chart corresponding to the requirement point identifier from the archived data.
7. The method of claim 1, further comprising:
responding to the triggering operation of the interactive function control, and acquiring a pre-associated terminal identifier;
and establishing interactive connection with the terminal corresponding to the terminal identification, and sending the flow chart to the terminal.
8. An apparatus for generating a flow chart, the apparatus comprising:
the document editing data acquisition module is used for responding to the editing operation of a required document and acquiring document editing data corresponding to the editing operation;
the node identification recognition module is used for recognizing the node identification contained in the document editing data;
the flow field dividing module is used for dividing the flow field of the document editing data based on the node identification and establishing the association relationship between the flow field and the node identification;
the flow chart generation module is used for acquiring a flow frame corresponding to the node identifier, filling a flow field in the flow frame according to the incidence relation between the flow field and the node identifier, and generating a flow chart corresponding to the edited requirement document;
and the synchronous display module is used for synchronously displaying the requirement document and the flow chart.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010575790.1A 2020-06-22 2020-06-22 Flow chart generation method and device, computer equipment and storage medium Pending CN111666740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010575790.1A CN111666740A (en) 2020-06-22 2020-06-22 Flow chart generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010575790.1A CN111666740A (en) 2020-06-22 2020-06-22 Flow chart generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111666740A true CN111666740A (en) 2020-09-15

Family

ID=72389379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010575790.1A Pending CN111666740A (en) 2020-06-22 2020-06-22 Flow chart generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111666740A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464623A (en) * 2020-11-24 2021-03-09 金蝶软件(中国)有限公司 RPA flow file generation method and device, computer equipment and storage medium
CN112579621A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Data display method and device, electronic equipment and computer storage medium
CN112967038A (en) * 2021-03-17 2021-06-15 深圳市泰祺科技有限公司 Production flow editable control method and system
CN113256095A (en) * 2021-05-17 2021-08-13 广州嘉为科技有限公司 Draggable configured agile flow service construction method, system, device and medium
CN116028156A (en) * 2023-03-27 2023-04-28 大方智造(天津)科技有限公司 Correlation display method for inspection size and process diagram size
CN116167365A (en) * 2023-04-18 2023-05-26 安徽思高智能科技有限公司 Flow chart generation method based on form template
CN116433799A (en) * 2023-06-14 2023-07-14 安徽思高智能科技有限公司 Flow chart generation method and device based on semantic similarity and sub-graph matching

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464623A (en) * 2020-11-24 2021-03-09 金蝶软件(中国)有限公司 RPA flow file generation method and device, computer equipment and storage medium
CN112579621A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Data display method and device, electronic equipment and computer storage medium
CN112579621B (en) * 2020-12-25 2024-03-19 平安银行股份有限公司 Data display method and device, electronic equipment and computer storage medium
CN112967038A (en) * 2021-03-17 2021-06-15 深圳市泰祺科技有限公司 Production flow editable control method and system
CN113256095A (en) * 2021-05-17 2021-08-13 广州嘉为科技有限公司 Draggable configured agile flow service construction method, system, device and medium
CN113256095B (en) * 2021-05-17 2024-04-26 广州嘉为科技有限公司 Draggable configuration agile flow service construction method, system, equipment and medium
CN116028156A (en) * 2023-03-27 2023-04-28 大方智造(天津)科技有限公司 Correlation display method for inspection size and process diagram size
CN116167365A (en) * 2023-04-18 2023-05-26 安徽思高智能科技有限公司 Flow chart generation method based on form template
CN116167365B (en) * 2023-04-18 2023-06-30 安徽思高智能科技有限公司 Flow chart generation method based on form template
CN116433799A (en) * 2023-06-14 2023-07-14 安徽思高智能科技有限公司 Flow chart generation method and device based on semantic similarity and sub-graph matching
CN116433799B (en) * 2023-06-14 2023-08-25 安徽思高智能科技有限公司 Flow chart generation method and device based on semantic similarity and sub-graph matching

Similar Documents

Publication Publication Date Title
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
CN108363587B (en) Application program operation monitoring method and device, computer equipment and storage medium
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN108345456A (en) Page code generation method, device, computer equipment and storage medium
CN109408764B (en) Page area dividing method, device, computing equipment and medium
WO2021217911A1 (en) Method and apparatus for constructing service website project, and computer device and storage medium
CN112464623A (en) RPA flow file generation method and device, computer equipment and storage medium
CN111427561A (en) Service code generation method and device, computer equipment and storage medium
CN111522552B (en) Sub-application generation method and device, computer equipment and storage medium
US9092572B2 (en) Development life cycle management tool for set-top box widgets
CN111596911B (en) Method, device, computer equipment and storage medium for generating control
US20030217038A1 (en) Data file history management method and apparatus thereof
CN114201615B (en) Scientific research data change review method and server based on data snapshot
CN114239524A (en) Questionnaire generation method, questionnaire generation device, computer equipment and storage medium
CN117078181A (en) Automatic method and system for power transaction business data processing flow
CN109871214B (en) Program code generation method, program code generation device, computer device, and storage medium
CN113705177A (en) Manuscript input method and device based on integrated manuscript writing environment and computer equipment
CN107220045B (en) Station building method, device, equipment and storage medium based on artificial intelligence
CN112631587A (en) Interface prototype design method, interface prototype operation method and storage medium
CN115248891A (en) Page display method and device, electronic equipment and storage medium
CN112162743A (en) Driver generation method, device, computer equipment and storage medium
CN113704593B (en) Operation data processing method and related device
US20230082639A1 (en) Plugin management system for an interactive system or platform
CN116610880B (en) Method and device for realizing data visualization, electronic equipment and storage medium
CN116204267B (en) Method and device for generating intellectual property flow form

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