CN113392439A - Flow chart generation device, method thereof, control device, medium, and program product - Google Patents
Flow chart generation device, method thereof, control device, medium, and program product Download PDFInfo
- Publication number
- CN113392439A CN113392439A CN202110675221.9A CN202110675221A CN113392439A CN 113392439 A CN113392439 A CN 113392439A CN 202110675221 A CN202110675221 A CN 202110675221A CN 113392439 A CN113392439 A CN 113392439A
- Authority
- CN
- China
- Prior art keywords
- text
- data
- flow
- flow chart
- speech analysis
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 230000011218 segmentation Effects 0.000 claims abstract description 39
- 238000010586 diagram Methods 0.000 claims abstract description 35
- 238000004458 analytical method Methods 0.000 claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 18
- 238000009877 rendering Methods 0.000 claims 2
- 238000005516 engineering process Methods 0.000 abstract description 22
- 238000011161 development Methods 0.000 abstract description 7
- 230000018109 developmental process Effects 0.000 abstract description 7
- 238000003058 natural language processing Methods 0.000 abstract description 3
- 230000015654 memory Effects 0.000 description 16
- 238000004891 communication Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/253—Grammatical analysis; Style critique
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/289—Phrasal analysis, e.g. finite state techniques or chunking
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Architecture (AREA)
- Human Computer Interaction (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Machine Translation (AREA)
Abstract
The invention provides a method for converting a text into a flow chart, which can be used in the field of financial systems and comprises the following steps: acquiring a target system flow text to be drawn; acquiring text word segmentation data, part of speech analysis data and Chinese grammar rule data; and generating a flow diagram of the target system text. By means of computer technology such as natural language processing technology, mathematical modeling and the like, the system flow which is complex and difficult to understand is converted into a simple, intuitive and understandable system flow chart for displaying. The method improves the reading readability of the system and the falling of the system, converts system terms into a simple and clear system flow chart with clear flow, helps enterprises to improve system management and use efficiency, promotes the falling of the system and the healthy development of the enterprises, and improves the system confidence of the enterprises. The invention also provides a flow chart generation device, a control device, a storage medium and a program product thereof.
Description
Technical Field
The present invention relates to the field of flow chart design technologies, and in particular, to a flow chart generation apparatus and a method thereof, a control apparatus, a medium, and a program product.
Background
With the rapid development of the internet and the improvement of the informatization level of each field of society, the data volume is well blown at unprecedented speed. In the field of big data, a workflow tool system that handles extraction and processing of mass data has very important industrial applications. In the big data workflow tool system, users can build different workflow diagrams according to complex business logic to describe the flow of different operations. In this case, the flow chart created manually by the user is often complex and confusing due to the actual business logic, and cannot meet the actual requirements of the tool in the big data industrial application.
With the information technology progress and the long-term compliance development of enterprises, a whole set of strict management system is generally established by the existing enterprises to help standardize safe production, avoid violation risks and promote the health compliance development of the enterprises. For complex system flows, enterprise staff can learn more blindly and difficultly, and the enterprise staff and managers are inconvenient to know the learning system more intuitively and conveniently.
Disclosure of Invention
The invention mainly aims to provide a flow chart generation device and a method thereof, a control device, a medium and a program product, aiming at improving the technical problem that enterprise staff are obscure and unintelligible in learning about complex system flow in the prior art.
In order to achieve the above object, the present invention provides a method for converting a text into a flowchart, which can be applied in the field of finance, and the method for converting a text into a flowchart comprises the following steps:
acquiring a target system flow text to be drawn;
acquiring text word segmentation data, part of speech analysis data and Chinese grammar rule data;
and generating a flow diagram of the target system text.
Optionally, before the step of obtaining text segmentation data, part of speech analysis data, and chinese grammar rule data, the method further includes:
and performing word segmentation processing on the target system text.
Optionally, before the step of obtaining text segmentation data, part of speech analysis data, and chinese grammar rule data, the method further includes:
and performing part-of-speech analysis on the word segmentation data according to the word segmentation result.
Optionally, the step of obtaining text segmentation data, part of speech analysis data, and chinese grammar rule data includes:
and sequentially generating execution step information data according to the data.
Optionally, the step of obtaining text segmentation data, part of speech analysis data, and chinese grammar rule data includes:
and generating condition judgment step information data in sequence according to the data.
Optionally, the step of obtaining text segmentation data, part of speech analysis data, and chinese grammar rule data includes:
input/output step information data is sequentially generated from the data.
Optionally, the step of obtaining the target system flow text to be drawn includes:
recording system flow text into a tool text box;
and entering system flow texts in the tool text box into a background database.
In addition, in order to achieve the above object, the present invention further provides a control device of a text-to-flow chart method, including a storage, a processor, and a control program of the control device of the text-to-flow chart method stored on the storage and operable on the processor, where the control program of the control device of the text-to-flow chart method is configured to implement the steps of the text-to-flow chart method as described above.
In addition, to achieve the above object, the present invention further provides a flowchart generating apparatus, including:
the system text entry module is used for entering a target system flow text to be drawn;
the step information generation module is used for generating a flow diagram of a target system text; and the number of the first and second groups,
and the control device of the text-to-flow chart method is electrically connected with the system text entry module and the step information generation module, and is the control device of the text-to-flow chart method.
Optionally, the flowchart generating apparatus further includes a system text word segmentation module, and the system text word segmentation module is electrically connected to the control apparatus of the text-to-flowchart method.
Optionally, the flowchart generating apparatus further includes a text part-of-speech analyzing module, and the text part-of-speech analyzing module is electrically connected to the control apparatus of the text-to-flowchart method.
Optionally, the flowchart generating apparatus further includes a flowchart drawing module, and the flowchart drawing module is electrically connected to the control apparatus of the text-to-flowchart method.
In addition, to achieve the above object, the present invention further provides a storage medium, on which a control program of a control apparatus of a text-to-flowchart method is stored, and the control program of the control apparatus of the text-to-flowchart method implements the steps of the text-to-flowchart method as described above when executed by a processor.
Furthermore, to achieve the above object, the present invention also proposes a computer program product comprising a computer program which, when being executed by a processor, implements the steps of the method of text-to-flow chart as described above.
The technical scheme provided by the invention can be applied to the field of financial systems, and the text-to-flow chart method comprises the following steps: acquiring a target system flow text to be drawn; acquiring text word segmentation data, part of speech analysis data and Chinese grammar rule data; and generating a flow diagram of the target system text. The system text-to-flow diagram function based on the natural language technology is realized by means of the natural language processing technology, the computer technology and the mathematical modeling technology, the word segmentation of the system text is realized by means of the Python word segmentation technology, the part of speech analysis of the system text is realized by means of the Python part of speech analysis technology, a flow diagram mathematical algorithm is designed and generated according to the part of speech analysis and logic judgment results, a mathematical model is established, and flow diagram data are calculated and generated. And calculating 'condition judgment information', 'execution information' and 'input and output information', so as to generate step information, and realizing drawing and displaying of the flow chart by means of a Python flow chart drawing technology. According to the method, through the correctness and stability of the established and continuously optimized model algorithm, system terms are converted into a simple and clear system flow chart with a clear flow, so that staff and managers can know the system more conveniently, and the usability of the system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of a system architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the structure of the flowchart generator of FIG. 1;
FIG. 3 is a schematic structural diagram of a control device of the text-to-flow method of FIG. 1;
FIG. 4 is a flowchart illustrating an embodiment of a text-to-flowchart method according to the present invention;
FIG. 5 is a schematic diagram of a start/stop symbol in the text-to-flow diagram method provided by the present invention;
FIG. 6 is a diagram illustrating processing blocks in a text-to-flow diagram method according to the present invention;
FIG. 7 is a schematic diagram of data input and output in the text-to-flow diagram method provided by the present invention;
FIG. 8 is a diagram illustrating a condition decision box in the text-to-flow diagram method according to the present invention;
fig. 9 is a schematic diagram of a flow line in the text-to-flow chart method provided by the present invention.
The reference numbers illustrate:
reference numerals | Name (R) | Reference numerals | Name (R) |
100 | |
1806 | |
101 | Flow |
1807 | |
102 | |
1808 | |
103 | |
1809 | |
1800 | Control device for text-to- |
1810 | |
1801 | Processor with a memory having a plurality of |
1811 | |
1802 | Read- |
104 | System |
1803 | |
105 | System text |
1804 | |
106 | Text part-of-speech analysis module |
1805 | I/ |
107 | Step |
108 | Flow chart drawing module |
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
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings. The technical solutions in the present invention are clearly and completely described, and it is obvious that the described embodiments are some, not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
It should be noted that, if directional indication is involved in the embodiment of the present invention, the directional indication is only used for explaining the relative positional relationship, the motion situation, and the like between the components in a certain posture, and if the certain posture is changed, the directional indication is changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout includes three juxtapositions, exemplified by "A and/or B" including either A or B or both A and B. Also, the technical solutions in the embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, in the description of the present invention, "a plurality", and "a plurality" mean two or more unless otherwise specified.
With the rapid development of the internet and the improvement of the informatization level of each field of society, the data volume is well blown at unprecedented speed. In the field of big data, a workflow tool system that handles extraction and processing of mass data has very important industrial applications. In the big data workflow tool system, users can build different workflow diagrams according to complex business logic to describe the flow of different operations. In this case, the flow chart created manually by the user is often complex and confusing due to the actual business logic, and cannot meet the actual requirements of the tool in the big data industrial application. With the information technology progress and the long-term compliance development of enterprises, a whole set of strict management system is generally established by the existing enterprises to help standardize safe production, avoid violation risks and promote the health compliance development of the enterprises. For complex system flows, enterprise staff can learn more blindly and difficultly, and the enterprise staff and managers are inconvenient to know the learning system more intuitively and conveniently.
In view of this, the present invention provides a flowchart generating apparatus, a method thereof, a control apparatus, a medium, and a program product, which are intended to solve the technical problem in the prior art that the learning of employees of an enterprise is obscure and difficult for complex system flows.
As shown in fig. 1, the system architecture 100 according to this embodiment may include a flowchart generating apparatus 101, a network 102 and a server 103. The network 102 is used to provide a communication link between the flowchart generation apparatus 101 and the server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be noted that the flowchart generation apparatus control method provided by the embodiment of the present disclosure may be executed by the server 103. Alternatively, the flowchart generation apparatus control method provided in the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 103 and is capable of communicating with the flowchart generation apparatus 101 and/or the server 103. Alternatively, the flowchart generation apparatus control method provided in the embodiment of the present disclosure may be partially executed by the server 103, and partially executed by the control apparatus 1800 of the text-to-flowchart method.
It should be understood that the number of the flowchart generating apparatus 101, the network 102, and the server 103 in fig. 1 is merely illustrative. There may be any number of flowchart generation apparatuses 101, networks 102, and servers 103, as desired for implementation.
Fig. 2 illustrates a flowchart generation apparatus 101 according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a flowchart generating apparatus 100 to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be used in other devices, systems, environments or scenarios.
As shown in fig. 2, the flowchart generating apparatus 101 according to the disclosed embodiment includes: the text-to-flow chart method comprises a control device 1800, a system text entry module 104, a system text word segmentation module 105, a text part of speech analysis module 106, a step information generation module 107 and a flow chart drawing module 108. The system text entry module 104 firstly obtains a target system flow text to be drawn, then enters the system flow text into a tool text box, and enters the system text into a background database. The system text word segmentation module 105 performs word segmentation processing on the target system text by means of a Python word segmentation technology, and imports the word segmentation result into a database. The text part-of-speech analysis module 106 performs part-of-speech analysis on the part-of-speech data by using a Python part-of-speech analysis technology, and imports the part-of-speech analysis data into a database.
It is understood that a flowchart 1 generally includes: the step information generation module 107 mainly completes the data generation function of each step module of the system flowchart, such as "start", "execution processing block", "data input/output block", "condition determination block", "flow line", and "end". The module firstly collects, analyzes and processes word segmentation data, part of speech analysis data, Chinese grammar rules and other data, then sequentially generates 'execution' processing box step information data according to the data, sequentially generates 'condition judgment' step information data according to the data, sequentially generates 'input/output' step information data according to the data, and finally generates flow chart step information data of a target system text. And stores the data of the information of the steps of the flow chart into a database.
The following different symbols are mainly included in the flow chart, and the meanings of the different symbols are described first:
referring now to fig. 5, start/end symbols are represented by rounded rectangle symbols. Indicating the beginning or end phase of the flow.
② referring to FIG. 6, the processing block, which represents a certain processing flow, is represented by a rectangular symbol. The general description is: verb + noun, for example: submit an application, approve an application, close an application, and the like.
Referring to fig. 7, data input/output (input/output) indicates input and output of data, and a data flow direction is indicated by a parallelogram symbol, and is mainly expressed as input and output of a data processing block. For example: output reports, input parameter information, etc.
And fourthly, referring to fig. 8, a condition judgment box (if/else) is used for representing the condition judgment content, different processing paths are set according to different conditions, and the processing paths are represented by diamond symbols. For example: if. Whether. .
Referring to fig. 9, a flow line is used to indicate a flow direction or execution path.
The flow chart drawing module 108 first sorts the information data of the flow chart steps, then draws and displays the flow chart according to the data of the flow chart steps by means of the Python flow chart drawing technology, and provides a picture saving function.
It should be noted that, a part of the flowchart generating apparatus 101 in the embodiment of the present disclosure corresponds to a part of the method for converting text into a flowchart in the embodiment of the present disclosure, and details of implementation and technical effects thereof are also the same, and are not described herein again. Fig. 2 schematically shows a block diagram of a system adapted to implement the above described method according to an embodiment of the present disclosure. The flowchart generating apparatus 101 shown in fig. 2 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present disclosure.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a control device 1800 of a text-to-flow method of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 3, the control device 1800 of the text-to-flow method may include: a processor 1801, which may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1802 or a program loaded from a storage portion 1808 into a Random Access Memory (RAM) 1803. The processor 1801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 1801 may also include onboard memory for caching purposes. The processor 1801 may include a single processing unit or multiple processing units for performing the different actions of the method flows in accordance with embodiments of the present disclosure.
In the RAM1803, various programs and data necessary for the operation of the control device 1800 of the text-to-flow method are stored. A processor 1801 and a memory unit 3, the memory unit 3 including a ROM 1802 and a RAM1803 being connected to each other by a bus 1804. The processor 1801 performs various operations of the method flows according to embodiments of the present disclosure by executing programs in the ROM 1802 and/or the RAM 1803. Note that the programs may also be stored in one or more memories other than ROM 1802 and RAM 1803. The processor 1801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
The control device 1800 of the text-to-flow method shown in fig. 3 further comprises: the network interface is mainly used for connecting the background server 103 and performing data communication with the background server 103; the user interface is mainly used for connecting user equipment; the control device 1800 of the text-to-flowchart method calls the control program of the text-to-flowchart method stored in the memory through the processor 1801, and executes the control steps of the text-to-flowchart method provided by the embodiment of the present invention.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 does not constitute a limitation of the control device 1800 of the text-to-flow method, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
Based on the above hardware structure, an embodiment of the method for converting text into flow chart is provided.
Referring to fig. 4, fig. 4 is a flowchart illustrating an embodiment of a text-to-flow method according to the present invention, in which the text-to-flow method includes the following steps:
s10: and acquiring a target system flow text to be drawn.
S20: text word segmentation data, part of speech analysis data and Chinese grammar rule data are obtained.
S30: and generating a flow diagram of the target system text.
Further, before step S20, the method further includes:
step S13: and performing word segmentation processing on the target system text.
Further, before step S20, the method further includes:
step S14: and performing part-of-speech analysis on the word segmentation data according to the word segmentation result.
Further, step S20 includes:
step S21: and sequentially generating execution step information data according to the data.
Further, step S20 includes:
step S22: and generating condition judgment step information data in sequence according to the data.
Further, step S20 includes:
step S23: input/output step information data is sequentially generated from the data.
Further, step S10 includes:
step S11: and (4) entering system flow texts into a tool text box.
Step S12: and entering system flow texts in the tool text box into a background database.
In summary, in the technical solution provided by the present invention, the method for converting text into flow chart includes the following steps: acquiring a target system flow text to be drawn; acquiring text word segmentation data, part of speech analysis data and Chinese grammar rule data; and generating a flow diagram of the target system text. The system text-to-flow diagram function based on the natural language technology is realized by means of the natural language processing technology, the computer technology and the mathematical modeling technology, the word segmentation of the system text is realized by means of the Python word segmentation technology, the part of speech analysis of the system text is realized by means of the Python part of speech analysis technology, a flow diagram mathematical algorithm is designed and generated according to the part of speech analysis and logic judgment results, a mathematical model is established, and flow diagram data are calculated and generated. And calculating 'condition judgment information', 'execution information' and 'input and output information', so as to generate step information, and realizing drawing and displaying of the flow chart by means of a Python flow chart drawing technology. According to the method, through the correctness and stability of the established and continuously optimized model algorithm, system terms are converted into a simple and clear system flow chart with a clear flow, so that staff and managers can know the system more conveniently, and the usability of the system is improved.
The present disclosure also provides a computer-readable storage medium, which may be embodied in the apparatus/system described in the above embodiments; or may exist separately and not be incorporated into the device/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM and/or RAM and/or one or more memories other than ROM and RAM described above.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a processor, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure. The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 1801. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via the communication section 1809, and/or installed from a removable media 1811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1809, and/or installed from the removable media 1811. The computer program, when executed by the processor 1801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
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 solutions 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., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention. The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (14)
1. A method for converting text into flow chart is characterized by comprising the following steps:
acquiring a target system flow text to be drawn;
acquiring text word segmentation data, part of speech analysis data and Chinese grammar rule data;
and generating a flow diagram of the target system text.
2. The method for converting text into a flow chart according to claim 1, wherein before the step of obtaining text segmentation data, part of speech analysis data and Chinese grammar rule data, the method further comprises:
and performing word segmentation processing on the target system text.
3. The method for converting text into a flow chart as claimed in claim 2, wherein before the step of obtaining text segmentation data, part of speech analysis data and chinese grammar rule data, further comprising:
and performing part-of-speech analysis on the word segmentation data according to the word segmentation result.
4. The method for converting text to flow chart of claim 1 wherein the step of obtaining text segmentation data, part of speech analysis data and chinese grammar rule data comprises:
and sequentially generating execution step information data according to the data.
5. The method for converting text to flow chart of claim 1 wherein the step of obtaining text segmentation data, part of speech analysis data and chinese grammar rule data comprises:
and generating condition judgment step information data in sequence according to the data.
6. The method for converting text to flow chart of claim 1 wherein the step of obtaining text segmentation data, part of speech analysis data and chinese grammar rule data comprises:
input/output step information data is sequentially generated from the data.
7. The method for converting text into flow chart according to claim 1, wherein the step of obtaining the target system flow text to be drawn comprises:
recording system flow text into a tool text box;
and entering system flow texts in the tool text box into a background database.
8. A control device of a text-to-flow method, comprising a storage, a processor, and a control program of the text-to-flow method stored in the storage and operable on the processor, wherein the control program of the text-to-flow method is configured to implement the steps of the text-to-flow method according to any one of claims 1 to 7.
9. A flowchart generation apparatus, comprising:
the system text entry module is used for entering a target system flow text to be drawn;
the step information generation module is used for generating a flow diagram of a target system text; and the number of the first and second groups,
the control device of the text-to-flow chart method is electrically connected with the system text entry module and the step information generation module, and the control device of the text-to-flow chart method is the control device of the text-to-flow chart method according to claim 8.
10. The flow chart generating apparatus of claim 9, further comprising an institutional text word segmentation module electrically connected to the control apparatus of the text-to-flow chart method.
11. The flow chart generating apparatus of claim 9, further comprising a text part-of-speech analysis module, said text part-of-speech analysis module being electrically connected to a control apparatus of said text-to-flow chart method.
12. The flowchart generation apparatus of claim 9, further comprising a flowchart rendering module, the flowchart rendering module being electrically connected to the control apparatus of the text-to-flowchart method.
13. A storage medium, characterized in that the storage medium has stored thereon a control program of a control apparatus of a text-to-flow method, which when executed by a processor implements the steps of the text-to-flow method according to any one of claims 1-7.
14. A computer program product comprising a computer program which, when executed by a processor, implements the steps of a text-to-flow diagram method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110675221.9A CN113392439A (en) | 2021-06-17 | 2021-06-17 | Flow chart generation device, method thereof, control device, medium, and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110675221.9A CN113392439A (en) | 2021-06-17 | 2021-06-17 | Flow chart generation device, method thereof, control device, medium, and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113392439A true CN113392439A (en) | 2021-09-14 |
Family
ID=77621714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110675221.9A Pending CN113392439A (en) | 2021-06-17 | 2021-06-17 | Flow chart generation device, method thereof, control device, medium, and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113392439A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114298670A (en) * | 2021-12-22 | 2022-04-08 | 国网吉林省电力有限公司信息通信公司 | Power grid inspection management and control compliance risk prevention method and system |
CN114676694A (en) * | 2022-03-25 | 2022-06-28 | 中国工商银行股份有限公司 | Method, device, equipment, medium and program product for generating business model |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808217A (en) * | 2014-12-30 | 2016-07-27 | 航天信息软件技术有限公司 | Flow chart drawing method and system based on XML |
US9519463B1 (en) * | 2012-11-15 | 2016-12-13 | Advanced Testing Technologies Inc. | Application for automatically generating graphical flowcharts based on configurable means |
US9875235B1 (en) * | 2016-10-05 | 2018-01-23 | Microsoft Technology Licensing, Llc | Process flow diagramming based on natural language processing |
CN110058849A (en) * | 2019-03-13 | 2019-07-26 | 平安普惠企业管理有限公司 | Generation method, device, computer equipment and the storage medium of flow chart |
CN110764760A (en) * | 2019-10-29 | 2020-02-07 | 中国工商银行股份有限公司 | Method, apparatus, computer system, and medium for drawing process flow diagrams |
-
2021
- 2021-06-17 CN CN202110675221.9A patent/CN113392439A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9519463B1 (en) * | 2012-11-15 | 2016-12-13 | Advanced Testing Technologies Inc. | Application for automatically generating graphical flowcharts based on configurable means |
CN105808217A (en) * | 2014-12-30 | 2016-07-27 | 航天信息软件技术有限公司 | Flow chart drawing method and system based on XML |
US9875235B1 (en) * | 2016-10-05 | 2018-01-23 | Microsoft Technology Licensing, Llc | Process flow diagramming based on natural language processing |
CN110058849A (en) * | 2019-03-13 | 2019-07-26 | 平安普惠企业管理有限公司 | Generation method, device, computer equipment and the storage medium of flow chart |
CN110764760A (en) * | 2019-10-29 | 2020-02-07 | 中国工商银行股份有限公司 | Method, apparatus, computer system, and medium for drawing process flow diagrams |
Non-Patent Citations (3)
Title |
---|
孔继利;贾国柱;: "基于流程挖掘的流程建模方法研究", 中国管理信息化, no. 21, 1 October 2008 (2008-10-01) * |
宇文姝丽;: "基于词性分析的数据流程图快速绘制方法", 电子商务, no. 01, 31 January 2016 (2016-01-31), pages 64 - 65 * |
裴炳森 等: "基于python中文分词的卷宗信息逻辑研究", 网络安全技术与应用, vol. 1, no. 3, 15 March 2021 (2021-03-15) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114298670A (en) * | 2021-12-22 | 2022-04-08 | 国网吉林省电力有限公司信息通信公司 | Power grid inspection management and control compliance risk prevention method and system |
CN114676694A (en) * | 2022-03-25 | 2022-06-28 | 中国工商银行股份有限公司 | Method, device, equipment, medium and program product for generating business model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110750654A (en) | Knowledge graph acquisition method, device, equipment and medium | |
CN113392439A (en) | Flow chart generation device, method thereof, control device, medium, and program product | |
CN113031946B (en) | Method and device for rendering page component | |
CN111159220A (en) | Method and apparatus for outputting structured query statement | |
CN109408834B (en) | Auxiliary machine translation method, device, equipment and storage medium | |
CN111177671A (en) | Data management platform and method and electronic equipment | |
US11989962B2 (en) | Method, apparatus, device, storage medium and program product of performing text matching | |
CN112631588A (en) | File generation method and device, electronic equipment and computer readable medium | |
CN107153694B (en) | Method, device, equipment and storage medium for automatically modifying question errors | |
CN111222636A (en) | Deep learning model conversion method and device, server and storage medium | |
CN113672699A (en) | Knowledge graph-based NL2SQL generation method | |
CN112784588A (en) | Method, device, equipment and storage medium for marking text | |
CN110362688B (en) | Test question labeling method, device and equipment and computer readable storage medium | |
CN117312546A (en) | Content distribution method and device, electronic equipment and storage medium | |
US20230141932A1 (en) | Method and apparatus for question answering based on table, and electronic device | |
CN112416746A (en) | Test case generation method, device, equipment and medium | |
CN113392014B (en) | Test case generation method, device, electronic equipment and medium | |
US9141342B2 (en) | Programmatic conversion of support documentation into executable programs | |
CN111666068B (en) | Platform development framework, construction method, equipment and medium | |
CN110795424B (en) | Characteristic engineering variable data request processing method and device and electronic equipment | |
CN113642295A (en) | Page layout method, page layout device and computer program product | |
CN113239670A (en) | Method and device for uploading service template, computer equipment and storage medium | |
CN113760317A (en) | Page display method, device, equipment and storage medium | |
CN111198738A (en) | Mobile terminal page display method and device and electronic equipment | |
CN113032469A (en) | Text structured model training and medical text structured method and device |
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 |