CN108008937A - Flowcharting method and system - Google Patents

Flowcharting method and system Download PDF

Info

Publication number
CN108008937A
CN108008937A CN201711340868.6A CN201711340868A CN108008937A CN 108008937 A CN108008937 A CN 108008937A CN 201711340868 A CN201711340868 A CN 201711340868A CN 108008937 A CN108008937 A CN 108008937A
Authority
CN
China
Prior art keywords
script
flow chart
information
client
server
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
CN201711340868.6A
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.)
Ctrip Computer Technology Shanghai Co Ltd
Original Assignee
Ctrip Computer Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ctrip Computer Technology Shanghai Co Ltd filed Critical Ctrip Computer Technology Shanghai Co Ltd
Priority to CN201711340868.6A priority Critical patent/CN108008937A/en
Publication of CN108008937A publication Critical patent/CN108008937A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The invention discloses a kind of flowcharting method and system.The drawing system includes:Database, client and server;The database is used for Stored Procedure figure script;The client is used for the script information for showing the flow chart script, and the drawing for order received is sent to the server;The drawing for order includes the script information of target flow chart script;The server is used to call drawing instrument when receiving the drawing for order and draws flow chart according to the target flow chart script.The present invention automatically generates flow chart by flow chart script, and without carrying out the typesetting of flow chart, drawing efficiency greatly improves.

Description

Flowcharting method and system
Technical field
It is more particularly to a kind of online based on Graphviz (a kind of drawing instrument) the present invention relates to field of computer technology Flowcharting method and system.
Background technology
At present, there are many online flowchart drawing websites, be all based on the mode that figure is pulled and drawn, which needs Typesetting to flow chart is adjusted, time-consuming and laborious, especially for being good at for writing the developer of code, uses dragging The mode efficiency of drawing is very low.
The content of the invention
The technical problem to be solved in the present invention is the mode for pulling drawing is used in the prior art in order to overcome, for being good at Write the defects of efficiency for the developer of code is very low, there is provided a kind of flowcharting method and system.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of flowcharting system, the drawing system include:Database, client and server;
The database is used for Stored Procedure figure script;
The client is used to showing the script information of the flow chart script, and by the drawing for order received send to The server;The drawing for order includes the script information of target flow chart script;
The server is used to call drawing instrument when receiving the drawing for order and according to the target flow chart Script draws flow chart.
It is preferred that the edit instruction that the client is additionally operable to receive is sent to the server;
The server is used to change the target flow chart script according to the edit instruction.
It is preferred that the script information includes at least one of following parameter:
Script name, subscription categories and script description.
It is preferred that the client is shown after being classified according to the subscription categories to the script information;
And/or the script information is shown with tree structure.
It is preferred that the drawing system further includes priority assignation module and login module;
The priority assignation module is used to set corresponding user right for each user information;
The login module is used to obtain user information when user logs in;
The client is additionally operable to distribute corresponding user right according to user information.
The present invention also provides a kind of flowcharting method, the method for drafting is realized using above-mentioned drawing system;
The method for drafting comprises the following steps:
S1, flow chart script is stored in the database;
S2, the client show the script information of the flow chart script, and by the drawing for order received send to The server;The drawing for order includes the script information of target flow chart script;
S3, the server drawing instrument is called when receiving the drawing for order and according to the target flow chart foot This drafting flow chart.
It is preferred that step S2Further include:
The client sends the edit instruction received to the server;
Step S3Further include:
The server changes the target flow chart script according to the edit instruction.
It is preferred that the script information includes at least one of following parameter:
Script name, subscription categories and script description.
It is preferred that step S2In, the client shows that the script information of the flow chart script specifically includes:
The client is shown after being classified according to the subscription categories to the script information;
And/or the script information is shown with tree structure.
It is preferred that step S2Further include before:
For each user information, corresponding user right is set;
User information is obtained when user logs in;
The client distributes corresponding user right according to user information.
The positive effect of the present invention is:The present invention automatically generates flow chart by flow chart script, without carrying out The typesetting of flow chart, drawing efficiency greatly improve.
Brief description of the drawings
Fig. 1 is the structure diagram of the flowcharting system of the embodiment of the present invention 1.
Fig. 2 is the flow chart of the flowcharting method of the embodiment of the present invention 2.
Embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality Apply among a scope.
Embodiment 1
As shown in Figure 1, the flowcharting system of the present embodiment includes:Database 1, client 2 and server 3.
Database 1 is used for Stored Procedure figure script.User starts that before drawing flow chart new flow chart foot must be created This, then writes the flow chart script of program, is saved it in after writing in database.User can in newly-built flow chart The observability (authority) of setting procedure figure script, the editor of flow chart can just be carried out and check by only meeting the user of observability. For example owner is set, then all users can edit and check the flow chart script.Set with group as it can be seen that then there was only same group Other user can edit and check the flow chart script.Wherein, the script information of the flow chart script of preservation includes script name Title, subscription categories, script description, observability etc..
Client 2 is used for the script information of flow for displaying figure script.Wherein, client can be believed script according to subscription categories Breath classified after show, script information can also tree structure show.User can be quickly found out according to the classification of flow chart The flow chart script that oneself is needed, directly can also search corresponding flow chart script by query function.User finds target During the script name of flow chart script, the upper script name of selection tree, client can be sent selection instruction to server, service Device then from data base call target flow chart script and is shown in client, is viewed or edited for user.
In the present embodiment, drawing system further includes priority assignation module and login module.It is every that priority assignation module, which is used for, A user information sets corresponding user right;Login module is used to obtain user information when user logs in;Client is also used According to the corresponding user right of user information distribution.So as to which different users can view or edit not according to its user right Same flow chart script.
When user needs to be drawn, it is only necessary to which, in the script information of client selection target flow chart script, generation is painted Figure instruction.Wherein, drawing for order includes the script information of target flow chart script.Client then sends out the drawing for order received Send to server.
Server 3 calls drawing instrument when receiving drawing for order and draws flow chart according to target flow chart script, And the flow chart of drafting is back to client and is shown.In the present embodiment, user can voluntarily select client only to show tree Shape structure shows list, flow chart script or flow chart client, or both or three of display at the same time.When client is shown at the same time When showing that the tree structure of flow chart script shows list, flow chart script and flow chart, three can be shown in display interface Different zones.User can also by client to flow chart into edlin, such as zoom in or out.
In the present embodiment, server can also preserve flow chart in the database, so that next time can directly invoke flow chart It has been shown that, without regenerating flow chart.Since Graphviz is that a DOT language that can draw increased income is retouched in the present embodiment The instrument of figure is stated, therefore selects Graphviz as drawing instrument.Pass through the flow chart for calling Graphviz to automatically generate, nothing The interval between the size of flow elements, flow elements in flow chart need to be adjusted, without carrying out typesetting, drawing efficiency to flow chart Greatly improve.
In the present embodiment, user at any time can also modify flow chart script, and edit instruction, visitor are generated by client The edit instruction received is sent to server, server and changes target flow chart script according to edit instruction by family end.
So as to which the present embodiment realizes to be drawn, manages and share flow chart online, user is easily passed through very much stream Journey figure is realized the shared of professional knowledge and is safeguarded.
Embodiment 2
The flowcharting method of the present embodiment is realized using the drawing system of embodiment 1, as shown in Fig. 2, drafting side Method comprises the following steps:
Flow chart script, be stored in database by step 101.
The script information of step 102, client flow for displaying figure script, and the drawing for order received is sent to service Device.
Wherein, drawing for order includes the script information of target flow chart script.
Wherein, script information includes at least one of following parameter:
Script name, subscription categories and script description.
Step 103, server call drawing instrument when receiving drawing for order and are drawn according to target flow chart script Flow chart.
Flow chart is back to client and shown by step 104, server.
In the present embodiment, user at any time can modify flow chart script, specifically, step 102 further includes:
Client sends the edit instruction received to server;
Step 103 further includes:
Server changes target flow chart script according to edit instruction.
In the present embodiment, in step 102, the script information of client flow for displaying figure script specifically includes:
Client is shown after being classified according to subscription categories to script information;
And/or script information is shown with tree structure.
In the present embodiment, further included before step 102:
For each user information, corresponding user right is set;
User information is obtained when user logs in;
Client distributes corresponding user right according to user information.
So as to which different users can view or edit different flow chart scripts according to its user right.
The present embodiment realizes to be drawn, manages and share flow chart online, user is easily passed through very much flow chart Realize the shared of professional knowledge and safeguard.
Although the embodiment of the present invention is the foregoing described, it will be appreciated by those of skill in the art that this is only For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from On the premise of the principle of the present invention and essence, various changes or modifications can be made to these embodiments, but these changes and Modification each falls within protection scope of the present invention.

Claims (10)

1. a kind of flowcharting system, it is characterised in that the drawing system includes:Database, client and server;
The database is used for Stored Procedure figure script;
The client is used for the script information for showing the flow chart script, and the drawing for order received is sent to described Server;The drawing for order includes the script information of target flow chart script;
The server is used to call drawing instrument when receiving the drawing for order and according to the target flow chart script Draw flow chart.
2. drawing system as claimed in claim 1, it is characterised in that the client is additionally operable to the edit instruction that will be received Send to the server;
The server is used to change the target flow chart script according to the edit instruction.
3. drawing system as claimed in claim 1, it is characterised in that the script information includes at least one in following parameter Kind:
Script name, subscription categories and script description.
4. drawing system as claimed in claim 3, it is characterised in that the client is according to the subscription categories to the foot This information is shown after being classified;
And/or the script information is shown with tree structure.
5. drawing system as claimed in claim 1, it is characterised in that the drawing system further includes priority assignation module and steps on Record module;
The priority assignation module is used to set corresponding user right for each user information;
The login module is used to obtain user information when user logs in;
The client is additionally operable to distribute corresponding user right according to user information.
A kind of 6. flowcharting method, it is characterised in that the method for drafting utilizes the drawing system described in claim 1 Realize;
The method for drafting comprises the following steps:
S1, flow chart script is stored in the database;
S2, the client shows the script information of the flow chart script, and the drawing for order received sent to the clothes Business device;The drawing for order includes the script information of target flow chart script;
S3, the server calls drawing instrument when receiving the drawing for order and painted according to the target flow chart script Flow chart processed.
7. method for drafting as claimed in claim 6, it is characterised in that step S2Further include:
The client sends the edit instruction received to the server;
Step S3Further include:
The server changes the target flow chart script according to the edit instruction.
8. method for drafting as claimed in claim 6, it is characterised in that the script information includes at least one in following parameter Kind:
Script name, subscription categories and script description.
9. method for drafting as claimed in claim 8, it is characterised in that step S2In, the client shows the flow chart foot This script information specifically includes:
The client is shown after being classified according to the subscription categories to the script information;
And/or the script information is shown with tree structure.
10. method for drafting as claimed in claim 6, it is characterised in that step S2Further include before:
For each user information, corresponding user right is set;
User information is obtained when user logs in;
The client distributes corresponding user right according to user information.
CN201711340868.6A 2017-12-14 2017-12-14 Flowcharting method and system Pending CN108008937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711340868.6A CN108008937A (en) 2017-12-14 2017-12-14 Flowcharting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711340868.6A CN108008937A (en) 2017-12-14 2017-12-14 Flowcharting method and system

Publications (1)

Publication Number Publication Date
CN108008937A true CN108008937A (en) 2018-05-08

Family

ID=62059088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711340868.6A Pending CN108008937A (en) 2017-12-14 2017-12-14 Flowcharting method and system

Country Status (1)

Country Link
CN (1) CN108008937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950744A (en) * 2021-01-28 2021-06-11 平安普惠企业管理有限公司 Method, device and equipment for drawing flow chart by visual drag and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101206649A (en) * 2006-12-20 2008-06-25 鸿富锦精密工业(深圳)有限公司 Multitask analysis system and method
CN103365945A (en) * 2012-03-29 2013-10-23 乐金信世股份有限公司 Method of managing script, server performing the same and storage media storing the same
US20150081685A1 (en) * 2011-11-04 2015-03-19 BigML, Inc. Interactive visualization system and method
CN105739975A (en) * 2016-01-26 2016-07-06 福建亿同世纪软件科技股份有限公司 WEB browser based fishbone diagram online editing method
CN105786526A (en) * 2016-03-24 2016-07-20 江苏大学 Web-based efficient flow chart drawing system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101206649A (en) * 2006-12-20 2008-06-25 鸿富锦精密工业(深圳)有限公司 Multitask analysis system and method
US20150081685A1 (en) * 2011-11-04 2015-03-19 BigML, Inc. Interactive visualization system and method
CN103365945A (en) * 2012-03-29 2013-10-23 乐金信世股份有限公司 Method of managing script, server performing the same and storage media storing the same
CN105739975A (en) * 2016-01-26 2016-07-06 福建亿同世纪软件科技股份有限公司 WEB browser based fishbone diagram online editing method
CN105786526A (en) * 2016-03-24 2016-07-20 江苏大学 Web-based efficient flow chart drawing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950744A (en) * 2021-01-28 2021-06-11 平安普惠企业管理有限公司 Method, device and equipment for drawing flow chart by visual drag and storage medium
CN112950744B (en) * 2021-01-28 2024-02-27 深圳市兴海物联科技有限公司 Visual drag drawing flow chart method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107451109B (en) Report generation method and system
DE60219678T2 (en) TARGETED MEDIA CAPTION VIA A COMMUNICATION DEVICE
CN109769141B (en) Video generation method and device, electronic equipment and storage medium
US20100318492A1 (en) Data analysis system and method
US20110167336A1 (en) Gesture-based web site design
CN105872810A (en) Media content sharing method and device
US20110167360A1 (en) Incoming web traffic conversion
US20120101869A1 (en) Media management system
CN111400596B (en) Information sharing method and device
CN105205757A (en) Android-based elective system
JP2005285106A (en) Process management apparatus, user terminal device, process management program, user terminal program, recording medium, process management method, and search method
CN109582904B (en) Published content modification method, device, server, terminal and storage medium
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
US20180063065A1 (en) Social media engagement engine
CN108008937A (en) Flowcharting method and system
CN110909072B (en) Data table establishment method, device and equipment
CN113763008A (en) Application promotion tracking method, device, server, equipment and medium
US20070157071A1 (en) Methods, systems, and computer program products for providing multi-media messages
CN111027093A (en) Access right control method and device, electronic equipment and storage medium
US20190385192A1 (en) Digital media generation
CN112601129B (en) Video interaction system, method and receiving terminal
CN106251119A (en) A kind of event witness method and system
CN110674119A (en) Data processing method, system and computer readable storage medium
CN114639052B (en) Method, device and equipment for generating shooting scene grouping information
CN104267960A (en) User interface window generation method and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180508

RJ01 Rejection of invention patent application after publication