CN111210493B - Method for realizing writing software flow chart - Google Patents

Method for realizing writing software flow chart Download PDF

Info

Publication number
CN111210493B
CN111210493B CN201811392188.3A CN201811392188A CN111210493B CN 111210493 B CN111210493 B CN 111210493B CN 201811392188 A CN201811392188 A CN 201811392188A CN 111210493 B CN111210493 B CN 111210493B
Authority
CN
China
Prior art keywords
flow chart
symbol
instruction
touch
touch instruction
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.)
Active
Application number
CN201811392188.3A
Other languages
Chinese (zh)
Other versions
CN111210493A (en
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.)
Hitevision Co Ltd
Original Assignee
Hitevision 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 Hitevision Co Ltd filed Critical Hitevision Co Ltd
Priority to CN201811392188.3A priority Critical patent/CN111210493B/en
Publication of CN111210493A publication Critical patent/CN111210493A/en
Application granted granted Critical
Publication of CN111210493B publication Critical patent/CN111210493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a writing software flow chart implementation method, a writing software flow chart implementation device, electronic equipment and a storage medium. The implementation method of the writing software flow chart comprises the following steps: creating a set of flow chart symbol objects; selecting a flow chart symbol object from the set of flow chart symbol objects; drawing corresponding flow chart symbols according to the flow chart symbol objects to form a flow chart; annotation content is added to the flow chart. The implementation device of the writing software flow chart comprises: the system comprises a creation module, a selection module, a drawing module and an annotation module. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the implementation method of the writing software flow chart when executing the program. The computer readable storage medium storing a computer program which, when executed by a processor, implements the written software flow diagram implementation method.

Description

Method for realizing writing software flow chart
Technical Field
The invention relates to the technical field of touch control, in particular to a method for realizing a writing software flow chart.
Background
Writing software is a necessary software in current commercial large display products, and users often encounter scenes where it is necessary to draw a flow chart with the writing software in the commercial large display products. However, most of the existing writing software only can provide basic functions of writing, erasing, cancelling, cleaning screen and the like, and cannot meet the drawing requirements of user flowcharts. Some writing software has the function of drawing figures, but can not provide a complete flow chart symbol template, so that users are still greatly limited when drawing the flow chart by using the writing software, and the user experience is poor.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, a device, an electronic device and a storage medium for implementing a writing software flowchart.
Based on the above object, the present invention provides a method for implementing a writing software flowchart, including:
Creating a set of flow chart symbol objects;
receiving a point selection touch instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch instruction;
receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction in combination with the selected flow chart symbol object to form a flow chart;
And receiving an annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction.
Optionally, the set of flow chart symbol objects includes a standard flow chart symbol object, a connection symbol object, and a table symbol object;
The standard flow chart symbol objects are in one-to-one correspondence with the standard flow chart symbols;
the connection symbol object includes a straight line connection symbol object and a broken line connection symbol object.
Optionally, the step of receiving a touch instruction and selecting a flowchart symbol object from the flowchart symbol object set according to the touch instruction further includes:
and when the flow chart symbol object is selected according to the point touch instruction, displaying a flow chart symbol preview graph corresponding to the flow chart symbol object.
Optionally, the receiving the drawing touch instruction and drawing a corresponding flowchart symbol according to the drawing touch instruction in combination with the selected flowchart symbol object, so as to form a flowchart, including:
when the flow chart symbol object is a standard flow chart symbol object, drawing a standard flow chart symbol by a standard flow chart symbol drawing method according to the drawing touch instruction;
when the flow chart symbol object is a connection symbol object, drawing a connection symbol by a connection symbol drawing method according to the drawing touch instruction;
And when the flow chart symbol object is a table symbol object, drawing a table symbol by a table symbol drawing method according to the drawing touch instruction.
Optionally, the standard flowchart symbol drawing method includes:
Determining a starting point and a current moving point of the standard flow chart symbol according to the drawing touch instruction;
defining a drawing area of the standard flow chart symbol according to the starting point and the current moving point of the standard flow chart symbol;
determining standard flow chart symbol key points in a drawing area of the standard flow chart symbol according to the standard flow chart symbol object;
And connecting key points of the standard flow chart symbol to obtain the standard flow chart symbol.
Optionally, the method for drawing the connection symbol includes:
determining a starting point and a current moving point of the connection symbol according to the drawing touch instruction;
determining a connection symbol key point according to the connection symbol object and combining the starting point of the connection symbol with the current moving point;
And connecting the key points of the connection symbol to obtain the connection symbol.
Optionally, the table symbol drawing method includes:
Determining a starting point and a current moving point of the table symbol according to the drawing touch instruction;
defining a drawing area of the table symbol according to the starting point and the current moving point of the table symbol;
receiving a row-column setting touch instruction, and determining key points of the form symbol in a drawing area of the form symbol according to the row-column setting touch instruction;
And connecting the key points of the table symbol to obtain the table symbol.
Optionally, the implementation method of the writing software flow chart further includes:
Receiving an adjustment touch control instruction, wherein the adjustment touch control instruction is divided into a light press adjustment touch control instruction and a heavy press adjustment touch control instruction according to the pressure value;
And according to the adjustment touch instruction, adjusting the symbols of the flow chart: when the adjustment touch instruction is a tapping adjustment touch instruction, moving the flow chart symbol according to the tapping adjustment touch instruction; and when the adjustment touch instruction is a re-pressing adjustment touch instruction, adjusting the size of the flow chart symbol according to the re-pressing adjustment touch instruction.
Optionally, the implementation method of the writing software flow chart further includes:
Receiving a frame selection touch instruction, and intercepting a frame selection part from the flow chart according to the frame selection touch instruction, wherein the frame selection part is a part or whole of the flow chart;
receiving a frame selection adjustment touch instruction, wherein the frame selection adjustment touch instruction is divided into a light frame selection adjustment touch instruction and a heavy frame selection adjustment touch instruction according to the pressure value;
And according to the frame selection adjustment touch instruction, adjusting the frame selection part: when the frame selection adjustment touch control instruction is a light press frame selection adjustment touch control instruction, moving the frame selection part according to the light press frame selection adjustment touch control instruction; and when the frame selection adjustment touch control instruction is a frame selection adjustment touch control instruction, adjusting the size of the frame selection part according to the frame selection adjustment touch control instruction.
Based on the above object, the present invention further provides a device for implementing a writing software flowchart, including:
The creating module is used for creating a flow chart symbol object set;
the selection module is used for receiving the point selection touch control instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch control instruction;
The drawing module is used for receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction and the selected flow chart symbol object to form a flow chart;
and the annotation module is used for receiving the annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor executes the program to realize the implementation method of the writing software flow chart.
Based on the above object, the present invention also provides a computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the written software flowchart implementing method.
From the above, it can be seen that the method, the device, the electronic device and the storage medium for implementing the writing software flow chart provide a complete flow chart symbol template for the user, so that the user can simply and conveniently complete drawing of the flow chart and the table through touch operation, and the requirements of drawing the user flow chart are met.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a method for implementing a flowchart of writing software according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a method for drawing corresponding flowchart symbol steps according to a drawing touch command in combination with a selected flowchart symbol object in a method for implementing a software flowchart according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a standard flowchart symbol drawing method in a method for implementing a flowchart of writing software according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a method for drawing connection symbols in a method for implementing a flowchart of writing software according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a method for drawing table symbols in a method for implementing a writing software flowchart according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a device for implementing a flowchart of writing software according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of an electronic device implemented by a writing software flowchart according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
In one aspect, the present invention provides a method for implementing a writing software flow chart.
As shown in fig. 1, some alternative embodiments of the present invention provide a method for implementing a writing software flowchart, including:
S1: creating a set of flow chart symbol objects;
s2: receiving a point selection touch instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch instruction;
S3: receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction in combination with the selected flow chart symbol object to form a flow chart;
s4: and receiving an annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction.
In some alternative embodiments of the present invention, the set of flow chart symbol objects includes a standard flow chart symbol object, a connection symbol object, and a form symbol object.
The standard symbol objects are in one-to-one correspondence with standard flow chart symbols, which include flow symbols, decision symbols, document symbols, data symbols, start or end symbols, sub-flow symbols, predefined flow symbols, personnel symbols, database symbols, stored data symbols, internal memory symbols, sequential data symbols, direct data symbols, manual input symbols, card symbols, and the like.
The connection symbol objects comprise straight line connection symbol objects and broken line connection symbol objects, and the straight line symbols and the broken line symbols correspond to each other respectively.
The table symbol object corresponds to a table symbol.
The method for realizing the writing software flow chart provides a complete flow chart symbol template comprising connection symbols and form symbols, and can simply and conveniently realize the drawing of the flow chart by combining with a touch instruction, and the elements in the drawn flow chart are complete and standard, so that the requirement of a user for drawing the flow chart is met.
In some optional embodiments of the present invention, in the method for implementing a software flowchart, the step of receiving a touch command and selecting a flowchart symbol object from the flowchart symbol object set according to the touch command further includes:
and when the flow chart symbol object is selected according to the point touch instruction, displaying a flow chart symbol preview graph corresponding to the flow chart symbol object.
In the implementation method of the writing software flow chart, when the flow chart symbol object is selected, the graph of the corresponding flow chart symbol is intuitively displayed, so that convenience is provided for a user, and the problem of selection errors is avoided to a great extent.
As shown in fig. 2, in the implementation method of the writing software flowchart provided in some alternative embodiments of the present invention, the receiving a drawing touch instruction and drawing a corresponding flowchart symbol according to the drawing touch instruction in combination with the selected flowchart symbol object, so as to form a flowchart, where:
S31: when the flow chart symbol object is a standard flow chart symbol object, drawing a standard flow chart symbol by a standard flow chart symbol drawing method according to the drawing touch instruction;
s32: when the flow chart symbol object is a connection symbol object, drawing a connection symbol by a connection symbol drawing method according to the drawing touch instruction;
S33: and when the flow chart symbol object is a table symbol object, drawing a table symbol by a table symbol drawing method according to the drawing touch instruction.
As shown in fig. 3, in some alternative embodiments of the present invention, the implementation method of the writing software flowchart provided by the present invention, the standard flowchart symbol drawing method includes:
s311: determining a starting point and a current moving point of the standard flow chart symbol according to the drawing touch instruction;
S312: defining a drawing area of the standard flow chart symbol according to the starting point and the current moving point of the standard flow chart symbol;
S313: determining standard flow chart symbol key points in a drawing area of the standard flow chart symbol according to the standard flow chart symbol object;
s314: and connecting key points of the standard flow chart symbol to obtain the standard flow chart symbol.
The step S311 is to determine, according to the drawing touch instruction, that the starting point and the current moving point of the standard flowchart symbol are:
the dropping point of the drawing touch instruction is the starting point of the standard flow chart symbol, the abscissa of the starting point is recorded to be startX, startY, the touch point of the drawing touch instruction keeps moving after dropping, the touch point at the current moment is the current moving point of the standard flow chart symbol, and the abscissa of the current moving point is recorded to be endX and endY. And the coordinates of the current moving point also change continuously in the moving process of the touch point for drawing the touch instruction.
The step S312 defines a drawing area of the standard flowchart symbol according to the starting point and the current moving point of the standard flowchart symbol as follows:
and defining a rectangular area for drawing the standard flow chart symbol according to the abscissa startX, startY of the starting point and the abscissas endX and endY of the current moving point, wherein the starting point and the current moving point are diagonal vertexes of the rectangular area, and coordinates of other two vertexes of the rectangular area can be determined according to the coordinates of the starting point and the current moving point, and the rectangular area is the drawing area of the standard flow chart symbol.
The 313 determines, according to the standard flowchart symbol object, standard flowchart symbol key points in a drawing area of the standard flowchart symbol as follows:
And determining key points of standard flow chart symbols in the rectangular area taking the starting point and the current moving point as diagonal vertexes. Taking a document symbol as an example, the document symbol graph is a wavy rectangle, the wavy rectangle comprises three straight sides and a wavy line positioned below, the wavy rectangle is drawn in the rectangular area, the three straight sides coincide with the boundary of the rectangular area, and key points on the wavy line are determined through Bezier curve functions.
The four vertexes of the rectangular area are respectively marked as point [0], point [1], point [2] and point [3] according to the sequence of the lower left, the upper right and the lower right, and the width and the height of the rectangular area are respectively marked as width and height. The key points of the wave rectangle comprise four vertex key points and wave line key points, the left top vertex key point and the right top vertex key point of the wave rectangle are respectively overlapped with the left top vertex and the right top vertex of the rectangular area, and the coordinates of the left bottom vertex key point and the right bottom vertex key point of the wave rectangle are respectively as follows:
(point[0].x,point[0].y+height/k),(point[3].x,point[3].y+height/k),
Wherein, point [0]. X, point [0]. Y represent the abscissa of the left lower vertex of the rectangular area respectively, point [3]. X, point [3]. Y represent the abscissa of the right lower vertex of the rectangular area respectively, k is the wave line height coefficient, the wave line height coefficient is calculated by the following expression:
wherein h represents the height difference between the wave crest and the wave trough in the wave line.
The wave line height coefficient is adjustable, and the wave line shape of the wave rectangle can be changed by adjusting the wave line height coefficient.
The left lower vertex key point and the right lower vertex key point of the wavy rectangle are both two end points of the wavy line, and the left lower vertex key point and the right lower vertex key point are taken as end points, so that a plurality of key points of the wavy line are determined by combining a Bezier curve function.
The step S314 is connected with the key points of the standard flow chart symbol, and the standard flow chart symbol is obtained as follows:
And sequentially connecting the four vertexes of the wavy rectangle with a plurality of key points of the wavy line to obtain the document symbol.
As shown in fig. 4, in a method for implementing a writing software flowchart provided in some alternative embodiments of the present invention, the method for drawing connection symbols includes:
S321: determining a starting point and a current moving point of the connection symbol according to the drawing touch instruction;
S322: determining a connection symbol key point according to the connection symbol object and combining the starting point of the connection symbol with the current moving point;
s323: and connecting the key points of the connection symbol to obtain the connection symbol.
The S321 determines, according to the drawing touch instruction, that the starting point and the current moving point of the connection symbol are:
the dropping point of the drawing touch instruction is the starting point of the connection symbol, the abscissa of the starting point is startX, startY, the touch point of the drawing touch instruction keeps moving after dropping, the touch point at the current moment is the current moving point of the connection symbol, and the abscissa of the current moving point is endX and endY. And the coordinates of the current moving point also change continuously in the moving process of the touch point for drawing the touch instruction.
The step S322 of determining a connection symbol key point according to the connection symbol object by combining the start point of the connection symbol and the current moving point includes:
When the connecting symbol object is a straight connecting symbol object, the starting point of the connecting symbol is a starting point key point of the straight connecting symbol, the coordinates of the starting point key point are startX and startY, when the straight connecting symbol is transverse, the coordinates of the ending point key point of the straight connecting symbol are endX and startY, and when the straight connecting symbol is vertical, the coordinates of the ending point key point of the straight connecting symbol are startX and endY;
When the connection symbol object is a broken line connection symbol object, the starting point of the connection symbol is the starting point key point of the broken line connection symbol, the coordinates thereof are (startX, startY), the current moving point of the connection symbol is the ending point key point of the broken line connection symbol, the coordinates thereof are (endX, endY), and the coordinates of the inflection point key point of the broken line connection symbol are (startX, endY)
And the S323 is connected with the key points of the connection symbol, and the obtained connection symbol is as follows:
when the connecting symbol object is a straight connecting symbol object, connecting a starting point key point and an end point key point of the straight connecting symbol, and adding an arrow pointing from the starting point key to the end point key point at the end point key point to obtain the straight connecting symbol.
When the connecting symbol object is a broken line connecting symbol object, sequentially connecting a starting point key point, an inflection point key point and an end point key point of the broken line connecting symbol, and adding an arrow pointing to the end point key point from the inflection point key point to the end point key point to obtain the broken line connecting symbol.
As shown in fig. 5, in a method for implementing a writing software flowchart provided in some alternative embodiments of the present invention, the method for drawing table symbols includes:
S331: determining a starting point and a current moving point of the table symbol according to the drawing touch instruction;
s332: defining a drawing area of the table symbol according to the starting point and the current moving point of the table symbol;
s333: receiving a row-column setting touch instruction, and determining key points of the form symbol in a drawing area of the form symbol according to the row-column setting touch instruction;
S334: and connecting the key points of the table symbol to obtain the table symbol.
And S331, determining, according to the drawing touch instruction, that a starting point and a current moving point of the table symbol are:
The dropping point of the drawing touch instruction is a starting point of the table symbol, the abscissa of the starting point is startX, startY, the touch point of the drawing touch instruction keeps moving after dropping, the touch point at the current moment is a current moving point of the table symbol, and the abscissa of the current moving point is endX and endY. And the coordinates of the current moving point also change continuously in the moving process of the touch point for drawing the touch instruction.
The step S332 is to define a drawing area of the table symbol according to the starting point and the current moving point of the table symbol as follows:
And defining a rectangular area for drawing the table symbol according to the abscissa startX, startY of the starting point and the abscissas endX and endY of the current moving point, wherein the starting point and the current moving point are diagonal vertexes of the rectangular area, and coordinates of other two vertexes of the rectangular area can be determined according to the coordinates of the starting point and the current moving point, and the rectangular area is the drawing area of the table symbol.
The step S333 receives a row-column touch command, and determines a table symbol key point in the drawing area of the table symbol according to the row-column setting touch command, including:
Receiving a row-column setting touch control instruction, setting row-column values of the table symbols according to the row-column setting touch control instruction, marking the number of rows as m, and marking the number of columns as n;
And determining key points on four sides of the rectangular area according to the row and column values m and n. N+1 column key points are respectively determined on two parallel transverse sides of the rectangular area, and m+1 row key points are respectively determined on two parallel vertical sides of the rectangular area. The spacing between the keypoints may be adjustable, by default, the keypoints on each side of the rectangular region are evenly distributed.
The step 334 is to connect the key points of the table symbol, and the table symbol is obtained as follows:
And connecting the corresponding column key points on the two parallel transverse sides in the rectangular area respectively, and connecting the corresponding row key points on the two parallel vertical sides in the rectangular area to obtain the table symbol.
The implementation method of the writing software flow chart provides a complete flow chart symbol template and correspondingly provides drawing methods of different types of flow chart symbols, wherein the drawing methods comprise targeted operations corresponding to specific flow chart symbol characteristics, and the standard and attractive appearance of the drawn flow chart symbols are ensured.
Some optional embodiments of the present invention provide a method for implementing a writing software flowchart, further including:
Receiving an adjustment touch control instruction, wherein the adjustment touch control instruction is divided into a light press adjustment touch control instruction and a heavy press adjustment touch control instruction according to the pressure value;
and according to the adjustment touch instruction, adjusting the symbols of the flow chart:
when the adjustment touch instruction is a tapping adjustment touch instruction, moving the flow chart symbol according to the tapping adjustment touch instruction;
And when the adjustment touch instruction is a re-pressing adjustment touch instruction, adjusting the size of the flow chart symbol according to the re-pressing adjustment touch instruction.
Some optional embodiments of the present invention provide a method for implementing a writing software flowchart, further including:
Receiving a frame selection touch instruction, and intercepting a frame selection part from the flow chart according to the frame selection touch instruction, wherein the frame selection part is a part or whole of the flow chart;
receiving a frame selection adjustment touch instruction, wherein the frame selection adjustment touch instruction is divided into a light frame selection adjustment touch instruction and a heavy frame selection adjustment touch instruction according to the pressure value;
And according to the frame selection adjustment touch instruction, adjusting the frame selection part:
When the frame selection adjustment touch control instruction is a light press frame selection adjustment touch control instruction, moving the frame selection part according to the light press frame selection adjustment touch control instruction;
And when the frame selection adjustment touch control instruction is a frame selection adjustment touch control instruction, adjusting the size of the frame selection part according to the frame selection adjustment touch control instruction.
The method for realizing the writing software flow chart fully considers the problem that a user frequently needs to modify the flow chart when drawing the flow chart, and also comprises a method for adjusting the flow chart symbols and part or whole of the flow chart in the flow chart, so that the drawing process of the flow chart is more flexible and convenient.
On the other hand, the invention also provides a device for realizing the writing software flow chart.
As shown in fig. 6, some alternative embodiments of the present invention provide a writing software flowchart implementing apparatus, including:
a creating module 1, configured to create a set of flowchart symbol objects;
the selection module 2 is used for receiving the point selection touch control instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch control instruction;
The drawing module 3 is used for receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction and the selected flow chart symbol object to form a flow chart;
And the annotation module 4 is used for receiving the annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction.
The device of the foregoing embodiment is configured to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
On the other hand, the invention also provides electronic equipment for realizing the writing software flow chart.
As shown in FIG. 7, some alternative embodiments of the invention provide for a writing software flowchart implementing electronic device for executing the writing software flowchart implementing method. The electronic device comprises one or more processors 501 and a memory 502, one processor 501 being exemplified in fig. 7.
The electronic device for executing the implementation method of the writing software flow chart may further include: an input device 503 and an output device 504.
The processor 501, memory 502, input devices 503 and output devices 504 may be connected by a bus or otherwise, for example in fig. 7.
The memory 502 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and modules, such as program instructions/modules corresponding to the data recommendation method in the embodiment of the present application (e.g., the creation module 1, the selection module 2, the drawing module 3, and the annotation module 4 shown in fig. 6). The processor 501 executes various functional applications of the server and data processing by running non-volatile software programs, instructions and modules stored in the memory 502, i.e. implements the written software flow diagram implementation method of the method embodiments described above.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the written software flow diagram implementation device, etc. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 502 may optionally include memory remotely located with respect to processor 501, which may be connected to the membership user action monitoring device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 503 may receive input numeric or character information and generate touch instruction inputs related to writing user settings and function control of the software flow chart implementation device. The output 504 may include a display device such as a display screen.
The one or more modules are stored in the memory 502 that, when executed by the one or more processors 501, perform the written software flow diagram implementation methods of any of the method embodiments described above. The technical effects of the embodiment of the electronic device for executing the implementation method of the writing software flow chart are the same as or similar to those of any of the foregoing method embodiments.
In another aspect, the present invention also provides a computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the written software flowchart implementing method.
Some alternative embodiments of the invention provide a computer storage medium having stored thereon computer-executable instructions for performing the method of the written software flow diagram implementation of any of the method embodiments described above. The technical effects of the embodiments of the computer storage medium are the same as or similar to any of the method embodiments described above. Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like. The technical effects of the computer program embodiments are the same as or similar to any of the method embodiments described above.
In addition, typically, the devices, apparatuses and the like disclosed in the present disclosure may be various electronic terminal apparatuses, such as mobile phones, personal Digital Assistants (PDAs), tablet computers (PADs), smart televisions, and the like, and may also be large-sized terminal apparatuses, such as servers, etc., so the protection scope of the present disclosure should not be limited to a specific type of devices, apparatuses and the like. The client disclosed by the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods of the present disclosure are performed when the computer program is executed by a CPU.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Further, it should be appreciated that the computer-readable storage medium (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example and not limitation, RAM may be available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct RambusRAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions described herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The disclosed exemplary embodiments are noted, however, that various changes and modifications can be made without departing from the scope of the present disclosure as defined by the following claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosure may be described or claimed in an individual form, a plurality is also contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a," "an," "the," are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. A method for implementing a writing software flow chart, comprising:
Creating a set of flow chart symbol objects;
receiving a point selection touch instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch instruction;
Receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction in combination with the selected flow chart symbol object to form a flow chart; the method includes the steps of receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction in combination with the selected flow chart symbol object to form a flow chart, and comprises the following steps:
when the flow chart symbol object is a table symbol object, drawing a table symbol by a table symbol drawing method according to the drawing touch instruction; the table symbol drawing method comprises the following steps:
Determining a starting point and a current moving point of the table symbol according to the drawing touch instruction;
defining a drawing area of the table symbol according to the starting point and the current moving point of the table symbol;
receiving a row-column setting touch instruction, determining the number of rows and the number of columns according to the row-column setting touch instruction, respectively determining a plurality of corresponding row key points according to the number of rows on two opposite sides in a drawing area of the table symbol, respectively determining a plurality of corresponding column key points according to the number of columns on the other two opposite sides in the drawing area of the table symbol, and determining the table symbol key points;
connecting a plurality of corresponding row key points respectively, and connecting a plurality of corresponding column key points respectively so as to obtain the table symbol by connecting the table symbol key points;
Receiving an annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction; the method further comprises the steps of:
Receiving an adjustment touch control instruction, wherein the adjustment touch control instruction is divided into a light press adjustment touch control instruction and a heavy press adjustment touch control instruction according to the pressure value;
And according to the adjustment touch instruction, adjusting the symbols of the flow chart: responding to the pressure value corresponding to the touch instruction is smaller than or equal to a preset pressure value threshold, determining that the touch instruction is a touch instruction for adjustment by tapping, and moving the flow chart symbol according to the touch instruction for adjustment by tapping; and determining that the touch control adjusting instruction is a touch control adjusting instruction for heavy pressing if the pressure value corresponding to the touch control instruction is larger than a preset pressure value threshold, and adjusting the size of the flow chart symbol according to the touch control adjusting instruction for heavy pressing.
2. The method of claim 1, wherein the set of flow chart symbol objects includes a standard flow chart symbol object, a join symbol object, and a form symbol object;
The standard flow chart symbol objects are in one-to-one correspondence with the standard flow chart symbols;
the connection symbol object includes a straight line connection symbol object and a broken line connection symbol object.
3. The method of claim 1, wherein the step of receiving a point touch command and selecting a flow chart symbol object from the set of flow chart symbol objects according to the point touch command further comprises:
and when the flow chart symbol object is selected according to the point touch instruction, displaying a flow chart symbol preview graph corresponding to the flow chart symbol object.
4. The method of claim 1, wherein the receiving the drawing touch command and drawing the corresponding flowchart symbol in combination with the selected flowchart symbol object according to the drawing touch command, forms a flowchart, and comprises:
when the flow chart symbol object is a standard flow chart symbol object, drawing a standard flow chart symbol by a standard flow chart symbol drawing method according to the drawing touch instruction;
and when the flow chart symbol object is a connection symbol object, drawing a connection symbol by a connection symbol drawing method according to the drawing touch instruction.
5. The method of claim 4, wherein the standard flow chart symbol drawing method comprises:
Determining a starting point and a current moving point of the standard flow chart symbol according to the drawing touch instruction;
defining a drawing area of the standard flow chart symbol according to the starting point and the current moving point of the standard flow chart symbol;
determining standard flow chart symbol key points in a drawing area of the standard flow chart symbol according to the standard flow chart symbol object;
And connecting key points of the standard flow chart symbol to obtain the standard flow chart symbol.
6. The method of claim 4, wherein the connection symbol drawing method comprises:
determining a starting point and a current moving point of the connection symbol according to the drawing touch instruction;
determining a connection symbol key point according to the connection symbol object and combining the starting point of the connection symbol with the current moving point;
And connecting the key points of the connection symbol to obtain the connection symbol.
7. The method as recited in claim 1, further comprising:
Receiving a frame selection touch instruction, and intercepting a frame selection part from the flow chart according to the frame selection touch instruction, wherein the frame selection part is a part or whole of the flow chart;
receiving a frame selection adjustment touch instruction, wherein the frame selection adjustment touch instruction is divided into a light frame selection adjustment touch instruction and a heavy frame selection adjustment touch instruction according to the pressure value;
And according to the frame selection adjustment touch instruction, adjusting the frame selection part: when the frame selection adjustment touch control instruction is a light press frame selection adjustment touch control instruction, moving the frame selection part according to the light press frame selection adjustment touch control instruction; and when the frame selection adjustment touch control instruction is a frame selection adjustment touch control instruction, adjusting the size of the frame selection part according to the frame selection adjustment touch control instruction.
8. A writing software flow chart implementation apparatus, comprising:
The creating module is used for creating a flow chart symbol object set;
the selection module is used for receiving the point selection touch control instruction and selecting a flow chart symbol object from the flow chart symbol object set according to the point selection touch control instruction;
the drawing module is used for receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction and the selected flow chart symbol object to form a flow chart; the method includes the steps of receiving a drawing touch instruction and drawing a corresponding flow chart symbol according to the drawing touch instruction in combination with the selected flow chart symbol object to form a flow chart, and comprises the following steps:
when the flow chart symbol object is a table symbol object, drawing a table symbol by a table symbol drawing method according to the drawing touch instruction; the table symbol drawing method comprises the following steps:
Determining a starting point and a current moving point of the table symbol according to the drawing touch instruction;
defining a drawing area of the table symbol according to the starting point and the current moving point of the table symbol;
receiving a row-column setting touch instruction, determining the number of rows and the number of columns according to the row-column setting touch instruction, respectively determining a plurality of corresponding row key points according to the number of rows on two opposite sides in a drawing area of the table symbol, respectively determining a plurality of corresponding column key points according to the number of columns on the other two opposite sides in the drawing area of the table symbol, and determining the table symbol key points;
connecting a plurality of corresponding row key points respectively, and connecting a plurality of corresponding column key points respectively so as to obtain the table symbol by connecting the table symbol key points;
The annotation module is used for receiving the annotation touch instruction and adding annotation content to the flow chart according to the annotation touch instruction; the method further comprises the steps of:
Receiving an adjustment touch control instruction, wherein the adjustment touch control instruction is divided into a light press adjustment touch control instruction and a heavy press adjustment touch control instruction according to the pressure value;
And according to the adjustment touch instruction, adjusting the symbols of the flow chart: responding to the pressure value corresponding to the touch instruction is smaller than or equal to a preset pressure value threshold, determining that the touch instruction is a touch instruction for adjustment by tapping, and moving the flow chart symbol according to the touch instruction for adjustment by tapping; and determining that the touch control adjusting instruction is a touch control adjusting instruction for heavy pressing if the pressure value corresponding to the touch control instruction is larger than a preset pressure value threshold, and adjusting the size of the flow chart symbol according to the touch control adjusting instruction for heavy pressing.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when the program is executed by the processor.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the method of any one of claims 1-7.
CN201811392188.3A 2018-11-21 2018-11-21 Method for realizing writing software flow chart Active CN111210493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811392188.3A CN111210493B (en) 2018-11-21 2018-11-21 Method for realizing writing software flow chart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811392188.3A CN111210493B (en) 2018-11-21 2018-11-21 Method for realizing writing software flow chart

Publications (2)

Publication Number Publication Date
CN111210493A CN111210493A (en) 2020-05-29
CN111210493B true CN111210493B (en) 2024-05-03

Family

ID=70789186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811392188.3A Active CN111210493B (en) 2018-11-21 2018-11-21 Method for realizing writing software flow chart

Country Status (1)

Country Link
CN (1) CN111210493B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515220A (en) * 2021-07-23 2021-10-19 上海商汤科技开发有限公司 Task processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1135617A (en) * 1994-10-11 1996-11-13 阿列夫逻辑有限公司 Supporting system for algorithmic language education
CN1932757A (en) * 2006-06-28 2007-03-21 钟明华 Core 1 DRAW software teaching technological plan
CN101587438A (en) * 2009-06-18 2009-11-25 南京联创科技股份有限公司 Graphic process template method for drafting under the ARP framework
CN103207730A (en) * 2013-04-03 2013-07-17 珠海飞企软件有限公司 Generation method and generator for localizable dragging type flow chart
CN107679276A (en) * 2017-08-31 2018-02-09 电力规划总院有限公司 Generation method, device and the electronic equipment of electric power system tide wiring diagram

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10891326B2 (en) * 2017-01-05 2021-01-12 International Business Machines Corporation Representation of a data analysis using a flow graph

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1135617A (en) * 1994-10-11 1996-11-13 阿列夫逻辑有限公司 Supporting system for algorithmic language education
CN1932757A (en) * 2006-06-28 2007-03-21 钟明华 Core 1 DRAW software teaching technological plan
CN101587438A (en) * 2009-06-18 2009-11-25 南京联创科技股份有限公司 Graphic process template method for drafting under the ARP framework
CN103207730A (en) * 2013-04-03 2013-07-17 珠海飞企软件有限公司 Generation method and generator for localizable dragging type flow chart
CN107679276A (en) * 2017-08-31 2018-02-09 电力规划总院有限公司 Generation method, device and the electronic equipment of electric power system tide wiring diagram

Also Published As

Publication number Publication date
CN111210493A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
TWI609317B (en) Smart whiteboard interactions
CN107463302B (en) A kind of icon layout method of adjustment and its device
CN110069204B (en) Graph processing method, device and equipment based on writing track and storage medium
CN110045909B (en) Ellipse processing method, device and equipment based on writing track and storage medium
US20160162162A1 (en) Text Processing Method and Touchscreen Device
US8832591B2 (en) Grid display device and grid display method in mobile terminal
US8977950B2 (en) Techniques for selection and manipulation of table boarders
CN109643218A (en) The animation of user interface element
CN101908044A (en) Dynamically adjustable template and using method thereof
US10782860B2 (en) Systems and methods for dynamic scaling in graphical user interfaces
US20160266734A1 (en) Conference support apparatus, conference support system, and computer-readable recording medium storing conference support program
KR20150083651A (en) Electronic apparatus and data displaying method thereof
CN104765528A (en) Display method and device of virtual keyboard
CN108932141A (en) Copy drawing implementation method and device, electronic equipment, storage medium
CN105808145A (en) Method and terminal for achieving image processing
CN111210493B (en) Method for realizing writing software flow chart
CN111580903A (en) Real-time voting method, device, terminal equipment and storage medium
WO2016184171A1 (en) Object selection method and apparatus
CN113538623A (en) Method and device for determining target image, electronic equipment and storage medium
WO2016188199A1 (en) Method and device for clipping pictures
JP6924544B2 (en) Cartoon data display system, method and program
CN108491139B (en) Object fixing method and device, terminal equipment and storage medium
CN105260027A (en) Man-machine interactive system and method
TWI806258B (en) Electronic device and operation method thereof
CN113592983A (en) Image processing method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant