KR20080104057A - Source program creation support system - Google Patents

Source program creation support system Download PDF

Info

Publication number
KR20080104057A
KR20080104057A KR1020087024625A KR20087024625A KR20080104057A KR 20080104057 A KR20080104057 A KR 20080104057A KR 1020087024625 A KR1020087024625 A KR 1020087024625A KR 20087024625 A KR20087024625 A KR 20087024625A KR 20080104057 A KR20080104057 A KR 20080104057A
Authority
KR
South Korea
Prior art keywords
box
flow chart
source program
user
screen
Prior art date
Application number
KR1020087024625A
Other languages
Korean (ko)
Inventor
아키라 모토시마
Original Assignee
에이. 시. 에스 가부시키가이샤
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
Priority claimed from JP2006063999A external-priority patent/JP3850867B1/en
Application filed by 에이. 시. 에스 가부시키가이샤 filed Critical 에이. 시. 에스 가부시키가이샤
Publication of KR20080104057A publication Critical patent/KR20080104057A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a source program creation support system for easily creating a source program including event processing.

The flow chart creation module 10, which supports creating a flow diagram corresponding to a source program to be created on a PC screen, displays a list of basic plates such as input / output lines and boxes included in the flow diagram, and the user Whenever a plate is selected and its placement position is specified on the monitor screen, the selected plate is displayed at that placement position. When an event box for creating an event processing program is selected, an event flow including a virtual event waiting box and a return terminal also automatically displays the initial box group. The flow chart analysis converting module 40 converts the generated flow chart into source code by converting the generated flow chart into source code. However, when a virtual event waiting box is included, the flow chart analysis converting module 40 reads and embeds the event definition module into the source program.

Description

Source program creation support system {SOURCE PROGRAM CREATION SUPPORT SYSTEM}

The present invention relates to a source program creation support system, which is a CASE (Computer Assisted Software Engineering) tool, and more particularly, does not require advanced knowledge of a program when creating a source program of a computer. Under support, a system is provided that makes it easy to write a source program in a computer language.

Recently, system development in a general-purpose system is usually performed in the order of a system analysis process, a system design (functional design, data design) process, a program design process, a programming process, and a testing (verification) process. In addition, the systemization work flow also creates a systemization function summary and an input / output definition document, and divides into a system, a subsystem, a process, a program, and a module based on the document, and defines specifications in detail from the overview.

When creating a document of such a specification, the subsystem related diagram, subsystem outline, process related diagram, business function flow diagram, process outline, process flow diagram, program outline, program structure diagram, module (program module) outline, coding In each step, the document is created one by one while maintaining the logic relationship based on the document of the upstream step.

At this time, the document forms are unique to each one, and in order to create a variety of documents in various forms in this manner, an enormous number of steps and time are required.

In addition, the program is made by an experienced programmer with a high level of programming knowledge, which is impossible for personnel who do not have programming knowledge.

In order to solve the problem of such a prior art example, the apparatus and method which let automatic programming be made under computer support, as described in the following patent documents 1 and 2, are proposed.

The production management program automatic generation device of Patent Literature 1 allows a C language source program to be created. However, since this device creates a production management program for a product, a source program is created with a combination of parts.

Moreover, although the automatic programming method of patent document 2 also makes it possible to create a C language source program, this method is for building an expert system, and therefore, its use is also specialized.

In addition, when a specification change occurs or a bug fix is required, it is a different type of document. Therefore, from these documents, it is very complicated to pursue the logic associated with a plurality of processes. It needs number and time. Therefore, in many cases, only the source program is changed without changing the document. In such a case, the logic of the specification and the logic of the source program are not maintained.

In a program including an event process (a program having input processing from a screen, a keyboard, and the like in C language), the program of the screen input processing becomes an input standby state from an input screen display state. In addition, the program waits for processing until an event signal (for example, an Enter signal from the keyboard) that is a specific signal for input completion is received. In a program including such event processing, when a plurality of events occur randomly, it has conventionally been difficult to clearly and properly describe an event waiting state in the middle of a flow.

In addition, Patent Document 3 below describes a flow chart input device that enables a plurality of event waits to be displayed on a flowchart. However, in this flowchart input apparatus, it is not possible to appropriately express an event waiting state when a plurality of events and processes corresponding thereto are randomly performed.

For example, when creating a name address program for inputting a name, a furigana, a zip code, an address, and a furigana on the screen, an input operator is displayed. It is necessary to create a program in consideration of not inputting in the display order of the input screen. That is, the operator usually moves the cursor to the input field of the displayed arbitrary item and inputs or corrects data. In this case, the event is generated randomly by the position of the cursor. It is necessary to correspond to the processing performed at random.

In addition, when a user creates a flow chart that is a premise for creating such a program, it is necessary to be able to clearly and plainly display an event waiting state. However, in the flowchart input device of Patent Document 3, the document 5 and 8 of the present invention, when one event process is finished, the process proceeds to another step, where an event waiting state when a plurality of events and processing corresponding thereto randomly occurs is shown on the flowchart. It is not intended to be appropriate. For example, when the flow chart input apparatus of this conventional example is going to be changed to show the said name address input program, as shown in FIG. 15, it becomes a very complicated flowchart. And as input items increase, complexity increases, and it becomes difficult for a user to create an accurate flowchart.

The source program is usually composed of a combination of data definition, screen definition, and main program.

In order to define the data, conventionally, in order to define the data, the file layout sheet is described by aligning the digit positions of the items, and when an item is added, deleted, or changed in the digits of the item, the digit positions are fixed again, and the description is repeated. Doing. In addition, detailed item definition by subdividing an item must perform the same operation. In many cases, changes occur frequently during development, and since such work is performed every change, it takes time and effort. In addition, it is necessary to code the file layout information described for each program.

In addition, in order to perform screen definition, rough sketching of the screen outline definition is performed by hand manually, and the screen layout is created based on this. When creating the screen layout, the positions of lines, items, and the like need to be mapped to the X-Y coordinates on the screen, but these coordinate values must also be defined in source code along with the line and item attributes. In addition, it is necessary to code the screen layout information described for each program. Therefore, in order to perform screen definition by the conventional method, work efficiency is low because of the complicated order and difficulty of water retention.

[Patent Document 1]

Japanese Patent Laid-Open No. 6-214769

[Patent Document 2]

Japanese Patent Application Laid-Open No. 9-91146

[Patent Document 3]

Japanese Patent Application Laid-Open No. 11-296357

As described above, although an automatic programming apparatus and method have already been proposed, any one of them is specialized for a particular use, and in particular, an event waiting state in a case where a plurality of events and processing corresponding thereto randomly occur is shown on a flowchart. It is not intended to be appropriate.

In addition, as described above, creating the data definition and the image definition of the source program by the conventional method is very troublesome, and the work efficiency is poor.

The present invention has been made to solve such a problem.

It is a first object of the present invention to provide a source program creation support system having a flow chart creating means for properly displaying an event waiting state in a case where a plurality of events and processes corresponding thereto randomly occur. It is.

A second object of the present invention is to provide a source program creation support which includes a flow chart creating means for achieving the above-described first object, and allows an arbitrary source program to be easily created by a person without advanced knowledge. To provide a system.

A third object of the present invention is to enable a source program creation support system that achieves the above-described second object to create a data definition included in a source program with high work efficiency.

A fourth object of the present invention is to enable a screen definition included in a source program to be created with high work efficiency in a source program creation support system that achieves the above-described second object.

A fifth object of the present invention is to enable verification of a created source program in a source program creation support system that achieves the above-described second object, and to provide the result in a form that is easy for the user to understand.

In order to achieve the above object, the present invention relates to a source program creation support system for creating a source program by dialogue with a user using a computer-readable program, which corresponds to a source program to be created. A flow chart creating means for supporting the creation of a flow chart on a monitor screen, and a flow chart analysis converting means for interpreting the flow chart created by the flow chart creating means and converting the flow chart into source code to convert the flowchart into source code; In the source program creation support system,

Flow chart creation means,

A basic plate including a start terminal, an end terminal, an inflow line, an outflow line, and a plurality of boxes included in a flowchart, and a plurality of event processes each driven by a plurality of randomly generated events. Plate list display means for displaying a list including a start plate so as to be selectable by a user;

A plate arrangement means for displaying a shape of a plate selected at the arrangement position whenever the user selects a plate from the displayed plate list and designates the arrangement position on the monitor screen.

When the event processing program start plate included in the plate list is selected, an event flow including a virtual event waiting box indicating a waiting state for event occurrence and a return terminal connected to an outlet line is connected to the virtual event waiting box. Plate arranging means including means for displaying the image on the flow chart creation area;

And a specification setting means for displaying a text box for inputting a specification corresponding to the processing content to a user on a box arranged on a monitor screen, and storing the input specification in association with the box.

Flow diagram analysis conversion means,

Means for determining that the event processing program is to be determined as an event processing program and reading the event processing definition installed as part of the OS on the computer in use, when the flow to be converted to the source program is also included;

Means for analyzing the linkage of boxes in the flowchart to obtain linkage information for each box;

Means for generating a module of the source program of each box by converting the specifications set in each box in the flowchart into source code, and incorporating linkage information of boxes corresponding to the converted source code;

Provided is a source program creation support system, characterized in that it comprises a means for generating a source program by integrating a source program module in which read event processing definitions and box linkage information are incorporated.

In the above-described source program creation support system according to the present invention, the event flow diagram initial box group includes, in addition to the virtual event wait box and the return terminal, two judgment boxes arranged in series downstream of the start terminal and the event wait box. And two processing boxes respectively connected to the judgment box by outlet lines from the judgment box, and the outlet lines preferably include at least processing boxes connected to the return terminals.

Further, the flow chart creation means further includes plate deletion means for deleting the plate when the user instructs the deletion of the plate disposed in the flow chart creation area, and a plate other than the initial box group for the event flow is also newly created. When disposed in an area, it is preferable to include means for automatically displaying a processing box and its outflow line downstream of the plate in a display form different from that of the disposed plate. In this case, preferably, the plate list displayed by the plate list display means of the flow chart creation means includes an event processing program end plate, and the plate arrangement means is virtual in the flow chart displayed in the flow chart creation area. When the event processing program termination plate included in the plate list is selected while the event waiting box is included and the processing box and other outgoing lines of the other display types are included, the processing box and the outflow of the other display types are selected. The line is automatically deleted, and at the bottom of the bottom judgment box, a judgment box in which one outlet line is connected to the return terminal is added, and the other outlet line of the judgment box is returned, and the own outlet line is returned. It is comprised so that the process box connected to the terminal may be added.

Further, in the above-described source program creation support system according to the present invention, the system further includes a model library that stores in advance a plurality of functions, which are source program modules corresponding to each of a plurality of processing contents, in association with the function name. The specification setting means of the flow chart creation means is configured to present the contents of the plurality of functions in the model library and the function names to the user so that the user can selectively input the function name stored in the model library as a specification. Means, and the flow chart analysis converting means reads a function corresponding to the function name from the library when the flow chart to be converted has a box in which the function name stored in the model library is set as a specification. It is preferable that it is comprised so that.

The flow chart creating means includes means for executing a hierarchical descending function for creating a flow chart of an upper layer and a detailed flow chart of the lower layer. The specification setting means of the flow chart creating means includes: In order to be able to selectively input the flow diagram ID for specifying the flow diagram of the lower layer as a specification of the specification, means for presenting the contents of the flow diagram of the lower layer and the flow diagram ID to the user is provided. Is preferably configured to read a program module corresponding to the flow chart ID from the storage means when there is a box in which the flow chart ID is set as a specification in the flow chart to be converted.

Further, in the source program creation support system according to the present invention described above, the flow chart creation means also displays a title input box for inputting a processing title in a box arranged on a monitor screen, and associates the input title with the box. It is preferable to include a title setting means for storing. In this case, the specification setting means and the title setting means of the flow chart creation means each time the box setting means displays the box on the monitor screen. It may be comprised so that it may be possible. Moreover, when only the specification setting means of a flow chart preparation means is provided, you may comprise the said specification setting means so that specification setting is possible every time a box is displayed on a monitor screen by a plate arrangement means.

Further, in the source program creation support system according to the present invention described above, the flow chart creating means further provides the user with a guidance including a plurality of questions set in advance for the flow chart creation, and the user is asked about the questions of the guidance. As a guidance means for interactively creating a flow chart based on the response inputted by the question, the question includes a question of the number of tasks, and automatically determines the number of decision boxes and processing boxes based on the user's response to the question. It is desirable to have guidance means for displaying on a monitor screen. In this case, suitably, the flow chart preparation means also acquires a time-lapse history between the guidance provided by the guidance means and the user's response to the guidance, and also displays the time-lapse history on the monitor screen. A maker means is provided.

Further, in the source program creation support system according to the present invention described above, the flow chart creating means shows a plurality of boxes by detailing the processing contents of at least one box of the first flow chart and the first flow chart created in advance. As a derivative relationship display means for displaying the relationship with the second flow chart on the monitor screen, when the original box specified in detail is selected while the first flow chart is displayed on the monitor screen, the box is used instead of the box. Preferably, derivative relationship display means for displaying a plurality of boxes in the corresponding second flow diagram is provided.

In addition, the above-described source program creation support system according to the present invention further includes a tree structure based on the dialogue with the user on the monitor screen for the data definition of the source program of the data used in the flowchart created by the flowchart creation means. The screen definition of the source definition of the screen used in the flow chart created by the flow chart creation means and the data definition creation means defined in accordance with the created data layout and on the monitor screen. It is preferable to have screen definition creation means for creating a screen based on a dialog and defining it based on the position and size of the elements of the created screen. In this case, it is preferable that the flow chart analysis converting means further comprises means for combining the source definition created based on the flow chart with the data definition and screen definition created by the data definition creating means and the screen definition creating means.

Further, the above-described source program creation support system according to the present invention further includes verification means for verifying the created source program, wherein the verification means displays a flow diagram corresponding to the source program to be verified on the monitor screen. On the displayed flow diagram, the user pauses the run of the source program, acquires a processing result, sets a pause set point for displaying the pass history and the processing result, and sets a path set point for acquiring only the processing result. Means, a means for running a source program to be verified, for displaying a route of passage according to the progress of the process on the flow diagram corresponding to the source program, and when the process reaches a pause set point; Means for pausing and displaying a history of passage of the pause set point and the pass set point; When the set point is reached, it is preferable to include means for displaying the value of the preset variable on the flowchart as a list of variables.

The present invention is configured as described above, and the event waiting state when a plurality of events and processing corresponding thereto randomly occurs can be appropriately represented on a flowchart, and a flow chart including such an event waiting state is also shown. Since it is only necessary to convert to a source program, generation of a source program including an event waiting state becomes easy. At this time, the identity between the logic of the specification in the flowchart and the logic of the source program is maintained.

In the case where a guidance means is provided, the user is prompted with the guidance, and a flow chart is automatically generated based on the guidance, so that the flow chart corresponding to the source program to be created is more easily created by the user. Done. Further, by providing the derivative relationship display means, the user can easily grasp the relationship between the original flow diagram and the development flow diagram in which the flowchart is developed, that is, the progress of the derivative and the progress of the logic of the program.

Moreover, by providing the data definition creation means and the screen definition creation means, a user can create a data definition while visually confirming the data definition of a tree structure, and can create a screen definition only by creating a screen on a monitor screen. have. Therefore, the data definition and the screen definition are easily created and repaired.

Moreover, by providing the verification means, it is possible to actually run the created source program and perform verification, and the result can be reflected in the modification of the source program.

1 is a block diagram showing a schematic configuration of a source program creation support system according to the present invention;

FIG. 2A is a block diagram showing a schematic configuration of a flow chart creation module in the system shown in FIG. 1; FIG.

2B is a block diagram showing a schematic configuration of a flow diagram analysis conversion module in the system shown in FIG. 1;

FIG. 2C is a block diagram showing a schematic configuration of a verification module in the system shown in FIG. 1; FIG.

3 is a flow chart showing an operation of the flow chart creation module shown in FIG. 2B;

4A is a schematic diagram showing a list of plates displayed by a function of a flow chart creation module;

4B is a schematic diagram of a screen shot displayed by the function of the flowchart drawing module;

4C is a schematic diagram of a screen shot displayed by a function of a flowchart creation module based on a dialogue with a user;

4D is a schematic diagram of a screen shot displayed by a function of a flowchart drawing module based on a dialogue with a user;

Fig. 4E is a schematic diagram of a screen shot displayed by the function of the flowchart creation module based on the dialogue with the user.

4F is a schematic diagram of a screen shot displayed by a function of a flowchart creation module based on a dialogue with a user;

4G is a schematic diagram of a screen shot displayed by a function of a flow chart creation module based on a dialogue with a user;

4H is a schematic diagram of a screen shot showing an image flow chart after completion displayed by a function of a flow chart creation module based on a dialogue with a user;

FIG. 5 is a schematic diagram of a screen shot showing a title flow diagram created by the title being input by the user in the image flow diagram shown in 4h; FIG.

6 is a schematic diagram of a screen shot showing an outline flow diagram created by inputting a specification to a user in the image flow diagram shown in FIG. 4H;

7A is a schematic diagram showing a screen shot showing an input screen for inputting a title and specification into a judgment box;

FIG. 7B is a screen shot showing a state in which a title and specification are input by a user on the input screen shown in FIG. 7A;

7C is an explanatory diagram showing master data of a judgment box in an input state as shown in FIG. 7B;

7D is an explanatory diagram showing an example of master data of a processing box in a state in which a specification is input;

7E is a flowchart for explaining an image flow diagram creation process executed by the event waiting notation function of the flowchart creation module, a screen shot,

7F is a screen shot showing an event flow diagram initial box group displayed by the event waiting notation function;

FIG. 7G is a screen shot showing a state in which another box is added to the display state of FIG. 7F by the event waiting notation function; FIG.

FIG. 7H is a screen shot showing an image flow diagram completed by adding an event flow diagram end box group to the display state of FIG. 7G by an event waiting notation function; FIG.

FIG. 7I is a screen shot showing a state in which a title flow diagram is created by inputting a title into the image flow diagram shown in FIG. 7G;

FIG. 7J is a screen shot showing a state in which a specification is entered in the image flow diagram shown in FIG. 7G to create an overview flow diagram,

8 is an explanatory diagram for explaining a hierarchical descending function at the time of creating a detailed flowchart in the flowchart creation module;

9A is a screen shot automatically displayed when a flowchart is created by the guidance function of the flowchart creation module;

FIG. 9B is an explanatory diagram illustrating guidance content and user response by the guidance function in the flowchart creation module; FIG.

Fig. 9C is a screen shot displayed at the time of creating a flow chart by the guidance function in the flow chart creation module based on the dialogue with the user,

9D is a screen shot displayed at the time of creating a flow chart by the guidance function in the flow chart creation module based on the dialogue with the user,

Fig. 9E is a screen shot displayed at the time of creating a flow chart by the guidance function in the flow chart creation module based on the dialogue with the user,

9F is a screen shot displayed at the time of creating a flow chart by the guidance function in the flow chart creation module based on the dialogue with the user,

Fig. 10A is an explanatory diagram illustrating guidance data in which the contents of guidance obtained at the time of creation of the flow diagram by the pacemaker function and the guidance function in the flow chart creation module and the user response are stored with the passage of time;

10B is a schematic diagram showing a guidance time table created from the guidance data shown in FIG. 10A;

11A is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11B is a schematic diagram of a screen shot displayed by the function of the data definition creation module based on the dialogue with the user;

11C is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11D is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11E is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11F is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11G is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11H is a schematic diagram of a screen shot displayed by a function of a data definition creation module based on a dialogue with a user;

11I is a schematic diagram of a screen shot of a file layout after completion, which is displayed by a function of a data definition creation module based on a dialogue with a user;

11J is an explanatory diagram showing an example of record data in the file layout shown in FIG. 11I;

12A is a screen shot showing an example of a screen to be created by a function of a screen definition creating module;

12B is a schematic diagram showing a list of screen definition plates displayed by the function of the screen definition creating module;

12C is a screen shot showing an attribute input screen of a frame field displayed by the function of the screen definition creation module;

12D is a screen shot showing an attribute input screen of a button field displayed by a function of the screen definition creation module, together with a frame previously created by the function,

12E is a screen shot showing a button created and displayed by the function of the screen definition creation module;

12F is a screen shot showing an attribute input screen of a character field displayed by the function of the screen definition creation module;

12G is a screen shot showing the line field attribute input screen displayed by the function of the screen definition creation module;

12H is a screen shot showing a numeric field attribute input screen displayed by the function of the screen definition creating module;

13A is an explanatory diagram for explaining the conversion to the C ++ language executed by the function of the flow diagram analysis conversion module;

13B is an explanatory diagram for explaining the conversion to the BASIC language executed by the function of the flow diagram analysis conversion module;

FIG. 13C is a flowchart showing processing when converting a flow diagram including event processing into a source program, which is executed by a function of the flow diagram analysis conversion module; FIG.

FIG. 13D illustrates a source program converted from a flow diagram including event processing; FIG.

FIG. 13E is a diagram of a source program subsequent to the source program illustrated in FIG. 13E;

14A is a screen shot showing a state in which a pose and a path set point are set on a flowchart by a function of a verification module;

14B is a screen shot showing a list of pass histories acquired and displayed by the function of the verification module;

14C is a screen shot showing a list of variable values acquired and displayed by the function of the verification module;

FIG. 15 is a diagram showing a representation of a flowchart of a program including event processing, which is assumed from a flowchart created by a conventional example.

EMBODIMENT OF THE INVENTION Hereinafter, preferred embodiment of the source program creation support system of this invention is described with reference to drawings.

The system of the present invention is constituted by a computer program installed in a PC. When the program is largely divided into functions, as shown in Fig. 1, the flow chart creation module 10, the data definition creation module 20, The screen definition creation module 30, the flow diagram analysis conversion module 40, and the verification module 50 can be divided into. The outline functions of these program modules are as follows.

Flowcharting Module (10)

It is for creating a flowchart of a program to be created, and has a function of completing an outline / detailed flowchart based on selection and arrangement of boxes by a user on a PC screen, and input of a title and specification. . At this time, the hierarchical descending function is used to define the logical relations while performing the association from the outline to the details and the upper flow chart and the lower flow chart, and all are related from the top flow chart to the bottom flow chart. At the same time, specification definition can be performed. The generated outline / detailed flow chart is stored as attribute data including input / output relationships for each box included in the flow chart.

As a result, the work for creating the flow chart is efficient, and even when the specification change needs to be made, the changed part can be confirmed on the flow chart, so the work for specification change is also efficient.

Create Data Definition Module (20)

On a PC screen, a user creates a file layout in a tree shape. The file level and record level are defined in accordance with the guidelines. The record item can define new items and attributes by selecting the top, bottom, left, and right sides of the data definition processing box. If the top / bottom side is selected, define a new item in the parallel position above and below the item. If the left side is selected, a new item is defined at the upper layer position of the item, and if the right side is selected, a new item is defined at the lower layer position of the item. The deletion of an item is performed by the user selecting a target position. When a change in the number of digits (bytes) or the like of an item occurs, the number of digits is automatically adjusted by changing the item attribute. The created data definition is stored as attribute data for each item.

Since all the processing necessary for data definition can be performed on the PC screen, and data definition can be created while visually confirming the data definition of the tree structure, the creation and maintenance of the data definition are efficient.

Screen definition creation module (30)

A screen layout is created on a PC screen using a function that applies a graphic process utilized for graphic creation. At this time, the user first selects the screen elements included in the screen layout from the list of screen elements, inputs the definition contents of the screen elements, and designates a position and a size on the screen so that each screen element included in the screen layout is selected. Write. Specification changes and bug fixes are performed by moving, adding or deleting screen elements such as lines and plates to required positions. The created screen definition is stored as attribute data (including position and size data) for each screen element.

Since all the processing necessary for screen definition can be performed on the PC screen, and screen definition can be created while visually confirming, the screen definition can be easily created and repaired.

Flowchart Analysis Conversion Module (40)

The data definition and screen definition created by the data definition module 20 and the screen definition module 30 are based on the flow chart (including the lowest flow chart from the top flow chart) created by the flow chart creation module 10. Reference is made to the source program. At this time, the box linkage of the main flow diagram is first analyzed, and if there is no contradiction in the linkage, the content of the trunk box from the start terminal to the end terminal is converted into source code. The screen and lower layer expansion functions that appear during the conversion are temporarily saved. After converting the edges to the source code, the screens and functions stored therein are analyzed in order of appearance and converted into source code. In addition, the function having the lower layer expands the hierarchy, analyzes and converts the function, and changes the flow diagram up to the lowest layer into the source program. In the case of specification changes (including additional specifications) and bug fixes, the source program is also automatically changed by changing and modifying the flowchart and operating this module. Source code can be written in various computer languages such as C ++ and BASIC.

Verification module (50)

The created source program is run to verify the program. On the PC screen, a flow chart corresponding to the source program to be run is displayed, and when the source program is run, the route of the processing is displayed on the flow chart. Moreover, a user can set a pause point and a pass point to arbitrary points on the passage route of the said flowchart. When the program processing reaches the position where the pause point is set, the processing is paused, various variable values in the flow diagram at that time are obtained and displayed, and the passing history of the pause point and the pass point is displayed. When the program processing reaches the position where the path point is set, various variable values in the flow diagram at that time are acquired, but the processing continues. If an error occurs during a program run, the box and the processing line are displayed in the error list. As a result, the operation of the created source program can be verified, and if there is a mistake, it becomes easy to detect and correct it.

As shown in FIG. 2, the function of the flowchart creation module 10 includes an image flow creation module 11, a title flow diagram creation module 12, an outline flow diagram definition module 13, and an outline flow diagram new creation module. (14), the outline flow chart preparation guidance module (hereinafter simply referred to as the "guidance module") 15, the pacemaker module 16, and the detailed flow chart definition module 17 are included.

The outline functions of these modules 11 to 17 are as follows.

Image Flow Charting Module (11)

Based on the dialogue with the user, an image flow diagram of the main program is created. An image flow chart is a flow chart which defines only a box and its connection relationship. This module includes an event wait notation module 111 that creates an image flow diagram for event wait notation.

Title Flow Charting Module (12)

In each box of the created image flow diagram, a title flow diagram is created by inputting the title of the processing in the box to the user. In addition, a title means the summary of a process.

Overview Flow Diagram Definition Module (13)

In each box of the created title flow diagram, a process flow chart is input to the user to create an outline flow chart of the program.

Overview Flow Diagram New Creation Module (14)

Whenever the user sets a box to be included in the flow chart by dialogue with the user, the outline flow chart is completed by inputting a specification (or specification and title) into the box.

Guidance Module (15)

The order of thinking for creating the flow diagram is also provided to the user as a guidance message. The guidance message is done in the form of a query response to define the specifications of each box, thus completing the overview flow diagram. In the option, if the preset time elapses during the question and answer, the user is prompted to input another question.

Pacemaker Modules (16)

In the guidance mode, a limit of the response time is set for the query response during the flow chart creation, and when the time limit elapses, the author is notified of the job by another query response such as "I do not know". In addition, by analyzing the elapsed time of the process, the skill and clumsiness of the creator is determined to suggest work improvement.

Detailed Flow Diagram Definition Module (17)

The hierarchical descending function is provided, and a flow chart (detailed flow chart) of each floor from the first lower floor level to the lowest floor level in the created flow chart is created based on the dialogue with the user.

When the flowchart creation mode is selected and the flowchart creation module 10 is activated, it operates as shown in the flowchart of FIG. In other words, first in step S1, it is determined whether the image flow chart creation mode is selected, and if the result is YES (positive), the image flow chart creation module 11 is activated, and in step S2, An image flow chart is created by dialogue. After that, the title flow chart creating module 12 is activated, and in step S3, the title flow chart is created based on the dialogue with the user. When the title flow diagram is completed, the outline flow diagram definition module 13 is activated, and in step S4, the outline flow diagram definition is created based on the dialogue with the user. The definition of the outline flow diagram is to create an outline flow diagram which is a main flow diagram by inputting processing specifications into the respective boxes of the title flow diagram.

On the other hand, if it is determined in step S1 that the image flow diagram creation mode is not selected, and it is determined in step S5 that the outline flow and the new creation mode are selected, the flow advances to step S6, and the outline flow also shows the new creation module 14. Is activated, and an outline flow chart is created by dialogue with a user. The creation of the outline flow diagram in step S6 is to complete the outline flow diagram by inputting a specification (or specification and title) into the box every time a box to be included in the flow diagram is set. That is, the outline flow chart is created directly without completing the image flow chart and the title flow chart.

In addition, in step S1, it is determined that the image flow diagram creation mode is not selected. In step S5, it is determined that the outline flow also does not select the new creation mode. In step S7, it is determined that the guidance mode is selected, and in step S8. If it is determined that the pacemaker mode is selected, the process proceeds to step S9 and the pacemaker module 16 is activated, and the guidance module 15 is activated at step S10. Thereby, the outline flow by a pacemaker and guidance function is also created | generated based on dialogue with a user. On the other hand, if it is determined in step S8 that the pacemaker mode is not selected, the flow proceeds to step S10, where the guidance module 15 is activated, and based on the dialogue with the user, the flow chart creation guidance is performed, and the outline flow chart is also performed. Write.

When any one of steps S4, S6, and S10 ends, and the detailed flow diagram definition mode is selected, the flow advances to step S11, and the detailed flow diagram definition module 16 is activated, and the detailed flow is based on the dialogue with the user. Define and write the diagram. The detailed flow chart is the flow chart from the first lower layer to the lowest floor of the created outline flow chart as described above, and the detailed flow chart of each layer is any of steps S2 to S4, step S6, step S8, and step S10. It is created similarly to the preparation of the outline flow chart in one.

In this way, when the detailed flowchart to the lowest layer is completed and it is determined by step S12, the process by the flowchart creation module 10 is complete | finished. In addition, when creating a detailed flow chart by such a hierarchy descending function, the specification input into the box of the flow chart of an upper layer becomes a flow chart ID which shows the detailed flow chart of the lower layer corresponding to the said box.

As shown in FIG. 2B, the function of the flow chart converting module 40 is the flow chart linkage analysis module 41 which analyzes the relationship between the processing box, the inflow line, and the outflow line of the flow chart, and the contents in the boxes in the flow chart. Box content analysis module 42 for analyzing the data, source program conversion module 43 for converting specifications in each box into source code, and data definition / screen definition source program assembly module for assembling data definition and screen definition into the source program ( 44), and can be broadly classified into a deployment function analysis module 45 for analyzing the deployment function and a deployment function source program assembly module 46 for assembling the deployment function.

The function of the verification module 50 is, as shown in Fig. 2C, a display module 51 for displaying the passage route of the processing, and an acquisition / display module 52 for acquiring and displaying the processing result by the pass-posing function. ), The display module 53 which displays a process error and the preprocessing result display module 54 which display the result of the whole process can be distinguished.

The system of the present invention also includes a database (DB) for storing data relating to the functions of the above modules. As shown in Fig. 1, the DB includes a flowchart plate master DB1, a flowchart file DB2, a guidance master DB3, a guidance data DB4, a data definition file DB5, a screen definition plate master DB6, a screen definition file DB7, a language master DB8, A coded technology master DB9, a source program file DB10 and a pass history / variable value file DB11 are provided.

These databases store the following data.

Flowchart plate DB1

Reference plates, such as a start terminal, an end terminal, a processing box, a judgment box, a screen display box, a printing box, a discharge line, and an outflow line, which are used at the time of creating the flowchart by the function of the flowchart creation module 10 Image of the start box of the event processing program (hereinafter referred to as the "event box") and the end box of the event processing program (hereinafter referred to as the "event end box") (hereinafter, collectively referred to as "box"). have. Moreover, the event flow which consists of the combination arrangement of the multiple box specified by the event box, the event flow which consists of the combination arrangement of the several box specified by the initial box group, and the event end box is also previously memorize | stored.

Flowchart file DB2

The data for each box in the flowchart created by the function of the flowchart creation module 10 is stored. In addition, although the flow also shows two files DB2 in FIG. 1, in order to make the flow of a process clear, it is the same.

Guidance Master DB3

Flows executed by the guidance module 15 also store data of guidelines (guidance) which should be asked to the user at the time of creation, and also flows executed by the pacemaker module 16 and the guidance module 15 At the time of writing, the user's response time to the question and the user's hint are stored in correspondence. Moreover, the data of the initial flow form at the time of making a flowchart according to guidance is memorize | stored.

Guidance data DB4

When creating the flow executed by the guidance module 15, the user's response to the question is stored, and the flow executed by the pacemaker module 16 and the guidance module 15 is also generated. The question and answer between are stored in correspondence with time.

Data definition file DB5

The data definition set on the PC screen by the function of the data definition creation module 20 is stored as data for each item.

Plate Master for Screen Definitions DB6

The element of the plate required for screen creation, such as a box and a button, used when creating the screen definition by the screen definition creation module 30 is stored.

Screen definition file DB7

The screen definition set on the PC screen by the function of the screen definition creation module 30 is stored as data for each component (frame, button, line, table, etc.) of the screen.

Language master DB8

A check table of the specification language of the user input and the source code which are referred to when converting the flow diagram created by the function of the flow diagram analysis conversion module 40 into the source program is stored. The source code is stored corresponding to the type of programming language.

Code Technical Master DB9

The matching table between the arrangement position of the specification of the user input and the arrangement of the source code, which are referred to when the flowchart is created by the function of the flow diagram analysis conversion module 40, is converted into a source program. Also, functions that are modules of source programs corresponding to typical boxes with high usage are stored in the model library. The model library includes, for example, a plurality of functions of the model for screen processing, print processing, and patch processing.

Source program files DB10

The flow diagram also stores the source program created by the function of the analysis conversion module 40.

Notification history / variable value file DB11

When the created source program is run and verified by the verification module 50, the pass history of one or a plurality of points set on the flowchart and the values of variables in the flowchart are stored.

Next, the configuration of the system of the present invention will be described in more detail by referring to the image displayed on the PC screen by the functions of the respective modules 10 to 50 of the system of the present invention.

When the user starts the source program creation application of the present invention on the PC screen and selects the flow chart creation mode, the flow chart creation module 10 starts. When the user selects the image flow chart creation mode from the flow chart creation menu, the image flow chart creation module 11 is activated.

When the image flow chart creation module 11 is activated, the flow chart creation area is displayed on the PC screen, and a plate displaying an image box included in the program flow chart is read from the flow chart plate master DB1, and FIG. 4A. As a list of plates as shown in the figure, the display is automatically displayed at appropriate positions such as the lower end or the right end of the PC screen. At the same time, as shown in Fig. 4B, the start screen and the outflow line are automatically displayed in the flow chart creation area of the PC screen, and at the lower end of the outflow line, the process box is broken (or blinking). Is displayed automatically. In addition, the bottom discharge line is automatically displayed in broken lines at the bottom of the processing box.

After that, when the user selects the screen display box, the judgment box, and the file processing box in order from the displayed plate list, as shown in Fig. 4C, the screen input processing box A, the flow chart creation display area of the PC screen, The judgment box B and the file processing box C are displayed, and whenever the respective boxes are displayed, the lower discharge lines a, b1, and c are displayed at the lower end thereof. In addition, whenever a box is newly displayed, it is automatically updated and displayed so that the dashed process box and the dashed outflow line may be located at the lower end thereof. In the example of FIG. 4C, since the file processing box C becomes the last selected box, a broken line processing box and a broken line outgoing line are automatically displayed at the lower end of the bottom outflow line c.

When the user selects the right front end of the judgment box B in the state shown in FIG. 4C, as shown in FIG. 4D, the right outflow line b2 is automatically displayed at the right end of the judgment box B. As shown in FIG. Then, the broken processing box and the bottom outflow line in the state of FIG. 4C are automatically deleted, and the broken processing box and the right outflow line are automatically displayed on the right side of the determination box B. FIG. When the user selects the right end of the right outflow line b2 in the state shown in Fig. 4D, as shown in Fig. 4E, the outflow outflow line connected to the right outflow line b2 is displayed (connected outflow outflow line b2). ], The dashed processing box and the bottom discharge line are displayed at the bottom thereof.

Subsequently, when the user selects the treatment box from the plate list, as shown in Fig. 4F, the treatment box D and its lower discharge line d are newly arranged, and at the lower end of the lower discharge line, the treatment box Is automatically displayed as a dashed line (or flashing state). In addition, the bottom discharge line is automatically displayed in broken lines at the bottom of the processing box. In order to flow the lower outlet line d into the one outlet line c, the lower outlet line d at the lower end of the treatment box D and the lower outlet line c at the lower end of the pile processing box C are selected. As shown in FIG. 4G, the lower outlet line of the newly disposed treatment box D is coupled to the lower outlet line c, and the connected outlet line d is displayed. Thereafter, when the user selects the judgment box E, sets the outflow line, and selects the print processing box F and the end terminals in order, an image flow diagram as shown in Fig. 4H is created. At this time, when the user selects a "numbering" button (not shown) on the PC screen in order to assign a process sequence number, a box number as shown in Fig. 4H is automatically attached to each box. Each time a box is selected and arranged, a temporary box number may be assigned, and a regular box number may be assigned when a "numbering" button is selected.

After creating an image flow chart, if a user wants to delete a box from the flow chart, the box is deleted by selecting "Delete" from a menu displayed by the user selecting the box. If one box is to be added, the addition is performed by the user selecting a box from the plate list and moving the cursor to a position to be inserted. After such a change is executed, the box number is reattached by selecting the "numbering button" again.

The type of each box and the connection relationship between the boxes included in the created image flow chart correspond to the box number, the flow diagram name, and the flow diagram ID, and the flow diagram is stored in the file DB2.

Next, when the user selects the title flow chart creation mode, the title flow chart creation module 12 is activated, and the user can input a title into each box in the image flow chart. That is, each time the user selects a box, a title input screen (Japanese name input screen) is displayed, and the user inputs a title on the screen. Then, the user inputs the titles of all the boxes, and also inputs the branching conditions of the judgment box, thereby creating a title flow diagram.

FIG. 5 shows a state in which a title is input to each box of the image flow diagram shown in FIG. 4H and a title flow diagram is created. The flow diagram of this example is "NIPPO-HIZUKE". The input title of each box is associated with the box number, for example, "screen input processing" is associated with box number 2, "date determination processing" is associated with box number 3, and so on. The flow is also stored in the file DB2.

When creation of the title flow diagram is completed and the user selects the outline flow diagram definition mode, the outline flow diagram definition module 13 is activated. In this case, similar to the creation of the title flow chart, an image flow chart (or title flow chart) is displayed on the PC screen, and if the user selects a box among the displayed flow charts, the specification input screen is displayed. On the screen, a user inputs a specification and inputs specifications of all boxes, so that an outline flowchart corresponding to the main program is created. All data related to each box of the outline flow chart is stored in the flow chart file DB2 as a flow master for each box. The specification input and the flow diagram master will be apparent from the description of FIGS. 7A to 7D described later.

FIG. 6 shows a state in which an outline flowchart is created by inputting specifications of each box of the image flow diagram shown in FIG. 4H.

In the above, the case where a title and a specification are input on each screen was demonstrated. Instead of the above configuration, the functions of the title flow chart creation module 12 and the schematic flow diagram definition module 13 may be integrated, and these may be input on the same input screen. This will be described below, taking the case where the judgment box is selected by the user as an example.

When the user selects the judgment box (box number 3) in the image flow diagram shown in FIG. 4H, an input screen as shown in FIG. 7A is displayed. A plurality of input fields are displayed on the screen, and field numbers Fxxx are associated with these input fields. The input line (inflow line), output line (outflow line), the current box number, and the next box number inputted at the time of creation of the image flow are displayed together with one title input field and four specification input fields which are not input. In addition, the input field is also displayed in the settable position of the inflow / outflow ship and the settable position of the branch condition, which were not set at the time of creation.

In the example of FIG. 7A, box number 3 is displayed at a position corresponding to field number F001, and an output line is displayed at a position corresponding to field numbers F036 and F037, and a field number F035 in the vicinity of these output lines. And an input field of the branching condition (=, ≠,>, <, ≥, ≤) at the position corresponding to F038). In addition, a box type code "O6" indicating that it is a judgment box is also displayed, and a field number FO02 is associated with the box type code. When the user selects a box from the plate list, the box type code is determined, and a code corresponding to the type is given.

As shown in FIG. 7B, the user inputs "date check" into the title input field F021 on the screen shown in FIG. 7A, and enters "Dl (data name)" (F011) and "050303" into four specification input fields. If (F013), "date" (F012) and "today" (F014) are input, a master of box number 3 as shown in Fig. 7C is created.

In addition, when a user selects the process box of box number 5, for example from the flowchart shown in FIG. 4H, and the specification is expansion function "SUBPG01" (box type code: 10), as shown in FIG. 7D. The master of box number 5 is created.

In this manner, the titles and specifications of all the boxes in the image flow diagram are input, and as a result, a master for each box is created. The created box master is associated with the flow diagram ID of the flow diagram and stored in the flow diagram file DB2.

In the above description, after creating an image flow diagram as shown in FIG. 4H, it is assumed that a title and a specification are input for each box. However, an overview flow diagram is generated by starting the new creation module 14 to create or create an image flow diagram. The title and specification can be entered for each box without completing. This module 14 displays an input screen each time a user selects a box from a list of plates on the PC screen and displays the flow chart in the creation area, and displays the input / output lines, titles, specifications, and branches of the box on the screen. The user can enter a condition (in the case of a judgment box). For example, in the case of the judgment box, at the time when the judgment box is displayed in the flow chart creation area, an input field as shown in Fig. 7A is displayed on the judgment box, and the input / output line, branch condition (=, ?,>, <,?,?), The title and specification are input by the user. The branch condition may be input by specifying the vicinity of the end of the judgment box without displaying the input field and selecting from the pull-down menu displayed thereby. Similarly, the input / output line may be selected from the pull-down menu displayed by designating the end of the judgment box without displaying the input box.

Thereby, the box master as shown to FIG. 7C (for determination box) and FIG. 7D (for processing box) is created.

In addition, one or more of the image flow chart creation module 11, the title flow chart creation module 12, and the outline flow chart definition module are appropriately converted and started without the outline flow or the new creation module 14 being started. The title and / or specification can also be input whenever a box of is placed in the flow chart creation area.

Here, the flow of FIG. 7E for the function of creating the flow chart containing the waiting state of the several randomly generated event performed by the event waiting notation module 111 of the flowchart of the system of this invention. It demonstrates in detail with reference to FIG. In addition, this function enables the user to easily and accurately express a plurality of event waiting states on the flowchart, but basically, the function described with reference to Figs. 4A to 7D is used.

First, when the user intends to create a flow chart including a plurality of event waiting states, the flow chart creation mode is selected. As a result, as described above, when the flow chart creating module 10 is activated, and the user selects the image flow chart creating mode from the flow chart creating menu, the image flow chart creating module 11 is activated to display the flow chart. The creation area is displayed on the PC screen, and in step S70 of FIG. 7E, the list of plates shown in FIG. 4A is automatically displayed at the proper position of the PC screen from the flowchart plate master DB1. In addition, as described above, an initial screen as shown in Fig. 4B, that is, an initial screen displaying a start terminal and a discharge line of a solid line, and a processing box and a discharge line of a dotted line is automatically displayed in the flow chart creation area. Is displayed.

In this state, when the user selects an event box from the displayed plate list, the image flow chart preparation module 11 determines that, and starts the event wait notation module 111 in step S71. When the module 111 is activated, the initial screen shown in FIG. 4A is automatically deleted from the flow chart creation area in step S72, and the event flow chart initial box group is read and displayed automatically from the flow chart plate master DB1. The event flow diagram initial box group, for example, has a configuration as shown in FIG. 7F, and in this example, a start terminal with box numbers 1 to 12, a processing box, a display box, a processing box, and a virtual event waiting box. And a processing box, three decision boxes, two processing boxes, and a return terminal, and an outgoing line from each box, and a broken line arrow from the return terminal to the virtual event waiting box. The event flow diagram initial box group does not need to include all of the above-described boxes, and at least includes a virtual event waiting box and a return terminal, and an arrow from the return terminal to the virtual event waiting box (in the example of the figure, dotted line). Arrow). In this case, as described with reference to Figs. 4C to 4G, other boxes such as the start terminal may be appropriately selected by the user from the plate list, and the event flow may be arranged in the creation area.

Then, the event waiting notation module 111 waits for the next operation of the user.

If the user has a box (including an outflow line and an inflow line) to be added to the flow chart displayed on this screen, the user selects an appropriate box from the plate list and designates the arrangement position with a cursor. The event wait marking module 111 determines that in step S73, and performs additional processing of the box in step S74. On the contrary, if there is a box to be deleted, the user can select the box and select the delete menu. This is done in steps S75 and S76. In the box addition process, when the user designates a position downstream of the judgment box (box number 9) as a placement position of a new box, the event waiting notation module 111 generates a judgment box (box number 9) and a return terminal ( The outlet line is automatically corrected so that no direct route is formed between the box number 12). For example, in Fig. 7F, the outflow line extending in the horizontal direction downstream from the judgment box (box number 9) is automatically changed to the outflow line from the judgment box.

In FIG. 7G, in the flow diagram on the screen shown in FIG. 7F, the user adds three judgment boxes (box numbers 13, 15, 17) downstream of the judgment box (box number 9), and corresponds to three respectively. The process boxes (box numbers 14, 16, 18) were added, and again, the outflow line was added from each of these boxes. Also in this case, the process box of a broken line and a bottom outflow line are automatically added below the last added outflow line (from the judgment box of box number 17).

In such a state, when the user selects the event end box from the plate list, the event wait notation module 111 determines that in step S77, and in step S78 automatically deletes the dashed processing box and the outflow line. At this position, a plurality of box combinations stored in correspondence with the event end box from the flow chart plate master DB1, that is, the event flow also end box group are read and arranged. When the user selects the "numbering button" on the screen, the final normal box number is automatically attached, and a flow diagram as shown in Fig. 7H is formed. In this example, in the event flow diagram end box group, one judgment box (box number 13), one processing box (box number 19) arranged in the horizontal direction, horizontal outflow lines therefrom, and added The outflow line from the judgment box (box number 13) to the return terminal (box number 12) is included.

In this way, an image flow chart corresponding to a program including event processing is created, and when the event wait notation module 111 detects the end of image flow chart creation in step S79, the flow chart created in step S80 is generated. Is stored in the flow chart file DB2 in association with the flow chart ID, thereby ending the image flow chart creation mode. The determination in step S79 may be determined by whether or not the "numbered button" is selected, or may be determined by whether or not the "end button" is selected. In addition, as shown in FIG. 7F, in the event flow diagram, the initial box group has a downstream line of the judgment box displayed at the last end of the event box. Therefore, only the event flow also displays the initial box group in step 72, and the image flow diagram creation can be finished.

When the user selects the "Title Flow Diagram Creation Mode" in order to input the title and branching conditions into the respective boxes of the image flow diagram thus created, the title flow diagram creation module is activated as described above, and the image flow diagram is activated. In each box and outflow line in the figure, the user can input a title and branching conditions. When the program intended to be created by the user is a name address registration program, for example, as shown in Fig. 7I, a title and a branch condition are input. In the example shown in Fig. 7I, boxes 2 to 22 each represent &quot; initialization before rendering &quot;, &quot; screen &quot;, &quot; initialization after rendering &quot;, &quot; virtual event waiting &quot;, &quot; event signal editing processing &quot; "Is it?", "Is it a confirmation button?" "Is it a name?", "Is it a Furigana?", "Is it a postal code?", "Is it an address?", "Is it an address?", "Exit ?, "Cursor movement processing", "Confirmation processing", "Name processing", "Furigana (name) processing", "Postal code processing", "Address processing", "Furigana (address) processing", "End processing" "Are respectively input, and branch conditions" YES "and" NO "are respectively entered into the judgment boxes (box numbers 7 to 14). The virtual event waiting box (box number 5) is a box for indicating a special function, and therefore, a title (and specification) may be input in advance.

In addition, even if the user is inputting a title and branch condition, if there is an unnecessary box, it can be deleted by selecting the box and selecting the "Delete" menu as described above. If there is a box to which an event processing box is to be added, as described above, the user can add a box by selecting the box from the plate list and moving the cursor to the position to be inserted.

As described above, whenever the user selects one or an appropriate number of boxes from the plate list and displays the flow in the creation area, the user can input the title, input / output line, and branch condition (in the case of the judgment box) of the box. You may make it work.

The created title flow and the flow are also stored in the file DB2.

When the input of the title and the branch condition is completed, the user next selects the "Overflow flow diagram definition mode" in order to enter the specification, and the outline flow diagram definition module 13 is activated. As described above, the user Enter the specification in each box. Fig. 7J shows an outline flow diagram created in this way.

In addition, as described above, in the coded description master DB9, a library of program modules that are already created in correspondence with a box with a high frequency of use is stored, and a program module ID that specifies these program modules, that is, a function name is used as a specification. You can enter In Fig. 7J, the specifications "GPG_01 ()", "GPG_02 ()", and "GPG_02 ()" inputted into the boxes of boxes Nos. 2 to 4 are function names corresponding to these boxes.

In addition, as will be described later with reference to FIG. 8, a box following a complicated process in the outline flow diagram is generally developed as a flow diagram of a lower layer by the hierarchical descending function of the detail flow diagram definition module 17. In the box developed as such a lower flow diagram, the "specification" is a flow diagram ID for specifying a lower flow diagram (and a source program corresponding thereto) corresponding to the box. In Fig. 7J, the specifications &quot; PG_11 (), &quot; kakutei () &quot; Is the ID of the lower layer flow diagram. The specification in Box 6 is "PG_05 ()", and this "PG_05 ()" also shows ID of the lower flow diagram.

The outline flow diagram definition module 13 is a program module stored in the model library, that is, the contents and function names of functions, and the contents and flows of the lower flow diagrams which are created in advance and converted into source programs and stored in the source program file DB10. The ID is provided so that the user can search for it on the screen. With reference to this, the user can input the function name and the ID of the lower layer flow diagram as specifications into the box of the flow diagram. In addition, when the corresponding lower layer flow chart is not created, the lower layer flow chart ID may be set in advance as a specification, and then the lower layer flow chart may be created by the hierarchical lowering function.

The specifications entered in the judgment boxes 7 to 14 are "SINGO: 0", "botton: 8004", "now: 100101", "now: 100102", "now: 100103", "now: 100104", &Quot; now: 100105 &quot; and &quot; END_FLG: 0 &quot; represent objects to be prepared in the judgment process.

The outline flow diagram thus created and the flow are also stored in the file DB2.

As is apparent from the above, the flowchart of the program including the event processing created under the support of the system of the present invention can display the event waiting state in a state that is easy for the user, even when the event processing occurs randomly. Therefore, the user can easily create a flow chart that matches the intended processing contents.

In addition, conventionally, the language described in the processing box is a description in accordance with the format peculiar to the manufacturer's language in order to create a source program. In the system of the present invention, free writing can be performed without being restricted to the language-specific format of the maker. Such a notation method is called "new notation" in this specification, and can make a specification in the language which a user reader understands easily by this. That is, the written user language is converted into a maker language format at the time of source code conversion via the language master. Therefore, by using this function, the general computer language (C, C ++, Java, etc.) after conversion can be freely selected at the time of conversion to source code.

The conversion from the specification to the source code is described in detail later.

Next, when the detail flow definition mode is selected, the detail flow definition module 17 is activated, and the detailed flow diagram below the schematic flow diagram which is the main flow diagram created under the dialogue with the user is created. The operation of the detailed flow definition module 17 will be described with reference to FIG. 8.

As shown in Fig. 8, when function B is set in the processing box of the main flow diagram A, which is a schematic flow diagram, and the function B has a complicated structure, the user designates the function B on the flowchart and descends the hierarchy. When the menu is selected, the flow chart creation screen for processing function B is automatically displayed. The sub-flow chart B is created by talking to the user on the screen and performing the same processing as that of the above-described schematic flow chart. If the created subflow diagram B contains the function C, when the user designates the function C and selects the hierarchical descending menu, the flow chart creation screen of the function C is displayed and the subflow diagram C is created. . If C also includes the function D in the subflow, the subflow for processing the function D also creates D.

By repeating the above steps in this way, a subflow diagram of any hierarchy can be created, and thus, even if the processing in the main flow diagram is complicated, such a function of the detailed flow diagram definition module 17 (layer descending function) ), The flow chart of the lowest layer can be easily created.

When the user attempts to create a schematic flow diagram and selects the guidance mode, the guidance module 15 is activated. In doing so, the guidance module 15 reads the data of the initial flow form from the guidance master DB3, and as shown in Fig. 9A, the start screen, the initial processing box, and the combiner G1 in the flow diagram creation area of the PC screen. ) And terminal are automatically generated.

FIG. 9B shows an example of data stored in the guidance master DB3. In addition to the initial flow form, the guidance master DB3 stores contents to be asked to the user as guidance data in correspondence with the level form of the flow diagram. .

After displaying the initial flow form, the guideline module 15 asks the number of tasks (number of tasks) based on the guidelines stored in the guidance master DB3 in advance (for example, how many is it"). Correspondingly, when, for example, a response with the number of tasks = 3 is input, as shown in Fig. 9C, four judgment boxes, three processing boxes, and a joiner and an end terminal are automatically arranged. Let's do it.

Subsequently, for a question of title names of the first to third tasks, for example, "daily report processing", "end of month processing", and "end of year processing" are entered, in the judgment box and processing box shown in Fig. 9C, The corresponding title is automatically displayed. Subsequently, when the user responds to the question about the task to be added and says that there is an additional task, and the title of the fourth task is &quot; aggregation processing &quot; If there are no further tasks, the number of functions of the first "daily report processing" is queried (for example, "how many functions of daily report processing") are asked, and in response to that, 3 functions are inputted. As shown in Fig. 9E, the daily report processing box in Fig. 9D is deleted, and three judgment boxes and three processing boxes are automatically displayed. Then, if the user acquires that the three processing contents are "registration process", "correction process", and "delete process", the flow chart as shown in Fig. 9F is displayed as a result.

In this way, a schematic flow chart can be created by repeatedly displaying the guidance and the user response based on the guidance stored in the guidance master DB5. The contents of the schematic flow chart are stored in the flow chart file DB2 as described above, and the query response contents are stored in the guidance data DB4 as guidance data.

At this time, it is common to advance to a plurality of processes, as one process includes a plurality of processes (originally), and one of the plurality of processes includes a plurality of processes (first development). In this specification, such a case is referred to as "derivative relationship", the original box is called the derived box, and the plurality of advanced boxes of the box are called the derived box. For example, when a title flow diagram as shown in FIG. 9D is created, the "daily report" box (box number 9), the judgment box (box numbers 14 to 16) and processing box of FIG. 9F are created. In boxes 17 to 19, there is a derivative relationship, the former being the source of origin and the latter being the source of derivatives. In addition, the flow chart in which the derived source box (original box) is included is called the original flow chart, and the flow chart in which the derived place (expansion box) is included is called development flow chart.

In the system of the present invention, such derivative relations and flows are also stored in the file DB2. For example, the box master of the derived box (box numbers 14 to 19) stores the ID of the derived source box (that is, the box number) as data of a derived relationship. In the state in which the flow diagram of FIG. 9D is displayed, when a box (Box No. 9) that is a derivative source is selected, a plurality of boxes (Box Nos. 14 to 19) of derivative lands are displayed by replacing the box with the above box. When a plurality of boxes of derivatives (Box Nos. 14 to 19) are selected in the state of displaying a flow diagram of the derivatives, the boxes of the derived sources (Box No. 9) are displayed by substituting these boxes.

This representation of derivatives makes it easier to grasp the progress of derivation and the progress of the logic of the program.

When the user selects the pacemaker function, the pacemaker module 16 is activated. The pacemaker module 16 performs processing in cooperation with the guideline module 15. When the pacemaker module 16 is activated, the guideline module 15 is also activated.

The time until the user responds to the question by the guidance module 15 is measured each time, and the measured time is stored in the guidance data DB4 together with the question content and the response content as guidance data. If the user has not entered a response to each question for more than a first predetermined time (e.g., 30 seconds or 1 minute), a message is provided to the user for prompting the response, and a second predetermined time (e.g., , 2 minutes), if not entered, retrieves a case similar to that question from Guidance Master DB3, giving the user a hint of the response. If there is no response for more than the third predetermined time (for example, 5 minutes), it is confirmed whether to stop or continue the process, and in the case of the interruption, the flow chart created so far is stored in the flow chart file DB2, The process ends. If the user selects continue, the above process is repeated.

The contents of the outline flow diagram completed by the functions of the guidance module 15 and the pacemaker module 16 are stored in the flow diagram file DB2.

FIG. 10A illustrates data stored in the guidance data DB4 when executed in the pacemaker mode. In addition, when the guidance mode other than the pacemaker mode is executed, data on time is not stored in the guidance data DB4, and only the relationship between the question and the response thereto is stored.

10B shows the guidance data shown in FIG. 10A as a guidance time table. The pacemaker module 16 has a function of displaying such a guidance time table on a PC screen, whereby the user can grasp the problem of work efficiency. For example, in the example of FIG. 10B, in the right downward straight line, the larger the gradient, the longer it takes for the user's response. Therefore, the question corresponding to the straight line with a large gradient can be estimated that the response is delayed due to a problem such as whether the user has a problem or a problem with the specification, and can be a future problem.

Next, the data definition creation module 20 will be described in detail. When the data definition creation module 20 is started and a file layout is selected from the menu screen, the input screen of the file information box as shown in Fig. 11A is displayed. File attributes (file name, Japanese name, record length, key length, format) are input by the user on the input screen. Fig. 11A shows a screen after a file attribute is input, and in this example, file name = KOKYAKU-F, Japanese name = customer file, record length = 123, key length = 7, format = 1: ISAM.

In this state, when the user selects the "confirm" button (not shown), as shown in Fig. 11B, the file information box "KOKYAKU-F" is automatically generated and displayed at the lower position of the "file layout", and The record length is 123 and the customer file is displayed.

Next, the input screen of the item information box as shown in FIG. 11C is displayed. When an item attribute (item name, Japanese name, type, number of digits) is input on this input screen, and the user selects a confirmation button, a screen as shown in Fig. 11D is displayed. In this example, the item name = R1000, Japanese name = name record, type = character, digit = 123, and a record information box of "Rl000" is automatically generated and displayed at the bottom of "KOKYAKU-F", and the record length is 123. To be and to be a full name record.

When creating a detail item (i.e., a lower layer item) of record information of record name "R1000", the user instructs the right end of the box of "R1000". As a result, as shown in Fig. 11E, an item information box is generated at the lower layer position of the box and displayed in broken lines. Indicates a position (right end of the box) selected by the user. Then, the input screen of the item information box as shown in FIG. 11C is displayed again. When the user enters an item attribute on the screen, for example, item name = K1100, Japanese name = key portion, and digits = 7, as a result, the item information box "Kl100" is automatically created and displayed as shown in Fig. 11F. , And also a key portion and seven digits are displayed. In the same way, the lower item box and its attributes are set in turn.

When a new item information box is to be created on the same floor, the user designates the upper side or the lower side of the box of the layer. As a result, as shown in Fig. 11G, a new item information box is generated above or below (but on the same floor) of the item information box and displayed as broken lines. In the example of FIG. 11G, either the lower side of the item "Kl110" is selected, or the upper side of the item "Kl130" is selected.

When a new item information box is to be created on the upper layer of the already set item information box, the user designates the left side of the item information box. As a result, as shown in Fig. 11H, a new item information box is generated and displayed in one layer (main layer) of the item information box.

Also for these tentatively generated item information boxes, the attribute information is displayed on the file layout screen by the user inputting and determining attributes on the input screen of the item information box shown in FIG. 11C.

In this way, the file layout of the data definition information as shown in Fig. 11I is created in a tree structure and completed. The created file layout is stored in the data definition information file DB5.

If record layout "R1000" in the file layout in the completed or incomplete state is selected, the contents of this item are output in the form shown in Fig. 11J. When it is necessary to modify the file layout of the completed or incomplete state, for example, when a new item needs to be added, a blank as shown in Fig. 11J is used. If no blanks exist or if the digits are insufficient, an alarm is displayed.

Next, the structure of the screen definition module 30 is explained in full detail, taking the case where the screen shown in FIG. 12A is defined as an example. When the screen definition mode is selected and the screen definition module 30 is activated, the screen layout area is displayed, and the list of screen definition plates is read from the screen definition plate master DB6 and displayed at an appropriate position on the PC screen. 12B shows a part of the read screen definition plate list.

When the user wants to create a frame (display frame) FR, when the frame plate is selected in the screen definition plate list, the frame field attribute input screen shown in Fig. 12C is automatically displayed. On this screen, the user inputs the thickness of the line, the line type, and the color of the line (or changes the initial value displayed in advance), and on the screen layout area, the user moves the cursor by operating the mouse to input the input thickness and line type. And graphics drawing of colored lines are executed to display a frame (frame FR in FIG. 12D). The X-Y coordinates of the generated frame are automatically acquired. The various attributes shown in FIG. 12C are associated with the frame ID and stored in the screen definition file DB7.

Subsequently, the user selects a button plate from the screen definition plate list, inputs an attribute from the button field attribute input screen shown in Fig. 12D, and moves and operates the cursor, so that various buttons are created on the screen as shown in Fig. 12E. . The title on the button ("Return", "Search", "Head", "Earth") is displayed by the user inputting the title in the display character field of the button field input screen shown in FIG. 12D. In addition, the X-Y coordinates of the start position and end position of each button are automatically obtained by reading the position coordinates of the created button. The various attributes shown in FIG. 12D are associated with each button ID and stored in the screen definition file DB7.

Similarly, screen elements of character fields, lines, and fixed characters are created, and the screen shown in Fig. 12A is created. And those definitions are stored in the screen definition file DB7. 12F to 12H show attribute input screens of character fields, lines, and numerical fields, and these attribute information are stored in the screen definition file DB7 in association with the respective IDs.

After the detailed flowchart is created and the data definition and the screen definition are created, when the user selects the conversion mode and starts the flowchart analysis conversion module 40, the source program is automatically created from the detailed flowchart. At this time, the flow diagram linkage analysis module 21 (FIG. 2B) of the flow diagram analysis conversion module 40 reads the box connected to the start terminal of the detailed flow diagram and its outlet line, and links it along the main line (i.e., , Which is the downstream box of each box), and the process box content analysis module 22 analyzes the specification content of each box. This process is repeated to analyze the connection to the end terminal and the specification. For the judgment box, the trunk lines and branch lines are analyzed together, but the input / output conditions on the top, bottom, left, and right sides of the judgment box are checked, and the branching direction is checked.

When the flowchart is completed without contradiction, the source program conversion module 23 converts the processing contents in each box, that is, the specification into source code. When the processing contents include screens, expansion functions, and the like that require external information, the processing contents of the box are temporarily stored. Then, the contents of the other box on the trunk line are converted into the source code, and then the contents of the box on the branch line are converted into the source code. Thereafter, in cooperation with the data definition / screen definition source program assembly module 24, the contents of the temporarily stored box are analyzed while acquiring external information in the order of appearance of the images, functions, and the like, and assembled into the source program. The conversion is performed so as to. Regarding the expansion function, the expansion function analysis module 25 analyzes using the hierarchical descending function as described with reference to FIG. 8, and the development function source program assembling module 26 assembles the result into the source program. do.

By the way, the language described in the processing box is usually a description in accordance with the format peculiar to the manufacturer's language in order to create a source program. In the system of the present invention, free writing can be performed without being restricted to the language-specific format of the maker. Such a notation method is called "new notation" in this specification, and, accordingly, a specification can be created in a language easily understood by a user's original. That is, the written user language is converted into a maker language format at the time of source code conversion via the language master. For this reason, using this function, it is possible to freely select the general-purpose languages (C, C ++, BASIC, Java, etc.) after the conversion to the source code.

Refer to Language Master DB8 and Coded Technology Master DB9 to convert the new notation type specification that becomes the user language to the C ++ language, but the correspondence between the new notation type specification stored in the language master DB8 and the source code of the C ++ language. To illustrate.

Processing contents "Combines the character string of area A and the character string of area B and stores it in area A"

New notation method: A + = B;

C ++: stract (A, &B);

Becomes

The processing content "adds the value of the J area to the value of the C area, and stores the result in the C area. And add 1 to the value in the J area.

New notation method: C = C + J

              J = J + 1

C ++ language: C = C + J J ++;

Processed contents "Add 1 to the numerical value of the area. Then, add the value of the J area to the value of the C area, and store the result in the C area.

New notation method: J = J + 1

              C = C + J

C ++ language: C = C + J ++ J;

Comparison operators (equal sign, inequality sign, greater than or equal to)

New notation method: = ≠ ≤ ≥

C ++ language: ==! = <=> =

Contents of processing "Stop processing for the specified time (stop time: milliseconds)"

New notation method: Cyudan (but the stop time is set to 1.5 seconds as standard)

C ++ language: Sleep (1500), but the stop time is between 1.5 seconds

Processing contents "The specified sound continues to sound for the specified time (frequency: Hz, duration: millisecond)"

New notation method: Oto (but set at 1/4 second as 900 Hz as standard)

C ++ language: Beep (900, 250) (specified if it rings for 1/4 second at 900 Hz)

Processing contents "Display character of" input error ""

New notation method: Hyoji (800200)

C ++ language: ADCHAR (meaning "input error" in field 800200)

Processing contents "displayed in the specified color"

New notation: Aka Midori Ao

C ++ language: RGB (255,0,0) RGB (0,255,0) RGB (0,0,255)

New notation method: Kuro Siro

C ++ language: RGB (0,0,0) RGB (255,255,255)

The correspondence between the new notation method and the C ++ language exemplified above is stored in the language master DB8. In addition, such a correspondence relationship is created and stored according to the type of computer language required. In addition, in the case of the new notation system, since it becomes the language notation which a user is accustomed to, you may use hiragana or katakana etc. instead of the alphabet.

For example, when the processing content is "set the color of the character to red to display an error message, sound an alarm, and wait for 1.5 seconds", in the new notation method and the C ++ language, the following is expressed.

New notation type error message processing

Text (Aka);

Hyoji (800200, "Input error.");

Oto;

Machi;

Error message notation in C ++ language

SetTextColor (RGB (255, 0, 0));

ADCHAR (800200, "Input error.");

Beep (900, 175);

Sleep (1500)

Therefore, according to the system of the present invention, when the specification content is input in the flow chart, it is possible to input normally in a plain language of the user's original, and the displayed user language is converted into C language or the like through the language master table. Even if the user does not know the computer language, input is easy.

 The conversion operation to the source code will be described taking the judgment box (box number 3) set as shown in Fig. 7B as an example.

The process box content analysis module 22 (FIG. 2B) of the flow diagram analysis conversion module 40 reads master data of the box number 3 shown in FIG. 7B (that is, data shown in FIG. 7C) from the flowchart file DB2. Then, the read data is analyzed. Subsequently, the source program conversion module 23 calls the code description master in the case of the judgment box from the coded description master DB9. In the case of the C ++ language, it becomes the description master of the arrangement as shown in the right side of Fig. 13A. In the correspondence shown in Fig. 13A, data of the field number in the box master is assigned to each term of the read technical master.

That is, since the processing box type is "06" indicating the judgment box, the technical master corresponding to "06" is read from the coded technical master DB9. Then, the process box number "3" is copied to the position of the process number, and the data names "D1" and "050303" of the left term and the right term are respectively copied to the corresponding positions. In addition, the language master DB8 is searched for, and "= =" of the C ++ language corresponding to the branch condition "=" is read and copied to the judgment term. In addition, the box numbers of the branch at the time of determination and the branch at the time of determination are obtained from the master data of the flow diagram file DB2 and copied to the corresponding positions.

As a result of assigning data as shown in Fig. 13A, the following source program (C ++ language) is generated.

G03: if (D1 == 050303) [goto G54;]

   else [goto G19;]

On the other hand, in the case of the BASIC language, as shown in Fig. 13B, data is allocated.

G03, if D1 = 050303 GOTO G54.

   GOTO G19.

The source program of is obtained.

Here, the flow diagram including the event waiting process shown in FIG. 7J will be described in detail with reference to the flow diagram of FIG. 13C as an example in which the flow diagram including the event waiting process is converted to the C ++ language. At this time, it is assumed that an OS including an event processing definition program module, such as MicroSoft, is installed in the user's PC.

When the flow chart analysis conversion module 40 is activated, the flow chart linkage analysis module 41 of the module 40 analyzes the linkage of each box in step S81 of FIG. 13C. In step S82, the process box content analysis module 42 detects that a box indicating an event waiting state, that is, a virtual event waiting box (box number 5), is included on the flow chart to be converted, and step S83. Reads the event processing definition program module included in the OS of the PC. In step S84, it is determined whether the function name in the model library stored in the coded description master DB9 is included as the specification of each box.

The model library group includes functions corresponding to the function names of the initial processing box before drawing (box number 2), the initial screen processing box (box number 3), and the initial processing box after drawing (box number 4) for screen processing. The box content analysis module 42 determines that a box specifying these function names exists on the flow to be converted, and in step S85, the source program conversion module 43 determines these functions. It reads from the model library, corresponds to box numbers 2 to 4, and incorporates linkage information of each box.

Subsequently, in step S86, the process box content analysis module 42 determines whether the ID (function name) of the lower flow diagram is included as a specification of each box, and in step S87, the source program conversion module ( 43) reads from the source program file DB10 a function corresponding to the lower flow diagram ID, which is the specification of the process box (Box Nos. 14 to 19), that is, the source program module DB10, and associates the box linkage information. I incorporate it.

Then, the process box content analysis module 42 determines whether or not the judgment box is included in step S88. In step S89, the source program conversion module 43 has been described with reference to Figs. 13A and 13B. As described above, while referring to the language master DB8, the specifications of each of the judgment boxes (Box Nos. 7 to 17) are converted into source codes to correspond to the box numbers, and the linkage information of the respective boxes is incorporated.

Subsequently, in step S90, the process box content analysis module 43 determines whether there are other boxes, and if so, in step S91, the source program conversion module 43 refers to the language master DB8. Convert it into source code, match the box number, and embed the associated information. Also in the case of converting the processing box of the lowermost flowchart into source code, the specification on the flowchart is converted into a computer language with reference to language master DB8.

As a result, the flow chart is converted into a source program. 13D and 13E (FIG. 13E is a continuation of FIG. 13D) show an example of the source program created in this way. Naturally, it is not necessary to judge and process in the order shown in Fig. 13C. For example, steps S88 and S89 may be performed at the front of step S82, and other appropriate modifications are possible.

In this way, the flow chart analysis conversion module 40 detects that a box (virtual event wait box) indicating an event waiting state is included on the flow chart to be converted, so that the flow chart of the program including the event waiting process is included. It is determined that the flow chart is executed, the event processing definition program included in the OS installed on the user's PC is read, and the functions stored in the model library stored in the coded technology master DB9 and the created lower flow diagram are also displayed. Since the function (i.e., the source program module corresponding to the lower flow diagram) is read, the conversion to the source program becomes easy. As described above, the flow chart created by the user, as shown in Figs. 7I and 7J, is simple and easy to understand for the user to wait for an event to be randomly generated and perform the processing. It is shown logically, and by making such a concise and logical flow diagram, it becomes possible to convert into an appropriate source program.

In this way, the master data of all the boxes in the flowchart are read from the flowchart file DB2, the data is replaced with an array of the programming language designated by the user, and then converted into the source program of the language. As described above, the source program converted from the flowchart is stored in the created source program file DB13 together with the source code of the data definition and the screen definition used for the program.

The source program converted by the flow analysis analysis conversion module 11 is also compiled with reference to a library or the like provided by the language maker. However, since the processing operation is a general purpose, description thereof is omitted.

Next, the verification module 50 which verifies the created source program is described. When the verification mode is selected and the verification module 50 is started, master data of the outline (or detailed) flow diagram corresponding to the source program is read from the flowchart diagram file DB2, and the flowchart is reproduced and displayed based on the data. do.

On the outflow line of the flowchart, the user sets the point at which the pause function (=) and the path function (●) are executed as shown in Fig. 14A. The pause function is a function of acquiring the execution result (including the values of various variables) of the process until reaching the set point, and pausing the process when the set point is reached. The path function is a function of acquiring the execution result (including the values of various variables) of the process until reaching the set point, and continuing the process without pausing.

And when the source program created corresponding to the said flow chart is run, a process will be performed, displaying the progress route on a flowchart by the function of the process passage route display module 31 (FIG. 2C). When the process shifts to the lower flow chart during the run of the source program, the lower flow chart is displayed by the hierarchical lowering function, and the passage route is also displayed on the flow chart.

During the execution of the process, the function of the process result acquisition / display module 32 acquires, as a pass history, the order of passing the set point of the pause function and the set point of the pass function, and the process passes in advance. The value of the set variable is acquired every time the processing of the box containing the variable is completed and stored in the passage history / variable value file DB11.

For example, as shown in FIG. 14A, when the pose set point S013 is set and the path set points P009 and P010 are set, when the process proceeds to the pose set point S013, the program is processed. Is paused. Then, the process result acquisition / display module 32 refers to the pass history / variable value file DB11 and passes the pause set point S013 and the pass set points P009 and P010 until the pause. The history is searched and displayed as a list of pass histories, and the values of various preset variables in the flowchart are displayed as a list of variable values.

14B and 14C show such a pass history list and a variable value list. In the example of the passage history list shown in Fig. 14B, after passing through the pass setting points P0O9 and P010 three times, respectively, branching is made from the judgment box of box number 7 to reach the pause setting point S013. In the example of the variable value list shown in Fig. 14C, when the program is paused at the pause set point S013, the box numbers 4, 6 to 10, 13 and 14 in the box shown in Fig. 14A are shown. It shows what kind of value the variable (variable name A-C) is. In the pass history list shown in Fig. 14B, when the user selects, for example, the pause point P010 of generation 4 (which indicates that the process has passed twice), the process passes the second time. The variable values of the variable names A to G at the point of time are displayed as a list.

If an error occurs during the run of the created source program, the function of the process error display module 33 displays the box number and the process line as an error table on the PCC screen.

In this way, since the source or the like of the bug occurrence can be displayed by verifying the source program, the modification is easy.

Resumption of the paused processing is executed by selecting a resume button (not shown).

Since this invention is comprised as mentioned above, even a user who does not have advanced knowledge can easily create arbitrary source programs, and since the created flow chart is converted into a source program, the specification in a flow chart The sameness of the logic of and the logic of the source program is maintained. In particular, the event waiting state when a plurality of events and processing corresponding thereto randomly occur can be appropriately represented on the flowchart.

In addition, since the user's input is prompted by the guidance and a flow chart is automatically generated based on the user's input, the flow corresponding to the source program to be created is made easier. In addition, since the derivative can be provided to the user, which is a relationship between the original flow chart and the progress flow chart in which the flowchart is advanced, the user can easily grasp the progress of the derivative and the progress of the logic of the program.

In addition, the user can create the data definition while visually confirming the data definition of the tree structure on the PC screen, and can create the screen definition only by creating the screen on the PC screen. Therefore, the data definition and the screen definition are easily created and repaired.

Further, verification can be performed by actually running the created source program, and the result can be reflected in the modification of the source program.

Claims (15)

A source program creation support system for creating a source program by a dialogue with a user using a computer-readable program, the flow supporting the creation of a flowchart on a monitor screen corresponding to the source program to be created. In a source program creation support system, comprising a drawing creation means and a flow diagram analysis converting means for interpreting a flow diagram created by the flow chart creating means and converting the flowchart into source code by converting the flowchart into source code, Flow chart creation means, Initiation of an event processing program including a basic plate including a start terminal, an end terminal, an inflow line, an outflow line, and a plurality of boxes included in a flowchart, and a plurality of event processes each driven by a plurality of randomly generated events. Plate list display means for displaying a table including a plate so as to be selectable by a user; As a plate arranging means which displays the shape of the selected plate in the said arranging position every time a user selects a plate from the displayed plate list and designates the arranging position on a monitor screen, When the event processing program start plate included in the plate list is selected, an event flow including a virtual event waiting box indicating a waiting state for event occurrence and a return terminal connected to an outlet line is connected to the virtual event waiting box. Plate arranging means including means for displaying the image on the flow chart creation area; And a specification setting means for displaying a text box for inputting a specification corresponding to the contents of the process to a box disposed on the monitor screen, and storing the entered specification in association with the box. Flow diagram analysis conversion means, Means for determining that the event processing program is to be determined as an event processing program and reading the event processing definition installed as part of the OS on the computer in use, when the flow to be converted to the source program is also included; Means for analyzing the linkage of boxes in the flowchart to obtain linkage information for each box; Means for generating a source program module for each box by converting the specifications set in each box in the flowchart into source code, and incorporating linkage information of boxes corresponding to the converted source code; And a means for generating a source program by integrating the source program module in which the read event processing definition and the linkage information of the box are incorporated. The method of claim 1, In addition to the virtual event wait box and return terminal, the event flow diagram initial box group includes the start terminal, two judgment boxes arranged serially downstream of the event wait box, and an outgoing line from the judgment box. Two processing boxes each connected to a box, wherein said outflow line includes at least a processing box connected to a return terminal. The method according to claim 1 or 2, The flow chart creation means also includes: Plate deleting means for deleting the plate when the user instructs to delete the plate arranged in the flow chart creation area; And a means for automatically displaying a processing box and its outgoing line in a different display form from the plate disposed downstream of the plate when a plate other than the initial flow box of the event flow diagram is newly placed in the flow chart creation area. Source program creation support system, characterized in that. The method of claim 3, wherein The plate list displayed by the plate list display means of the flow chart creation means includes an event processing program end plate, The plate arrangement means includes the event processing box included in the plate list in the state where the virtual event waiting box is included in the flow chart displayed in the flow chart creation area, and the processing box and other outflow lines of other display forms are included. When the program termination plate is selected, the processing box of the other display form and its outflow line are automatically deleted, and below the bottom determination box, a decision box with one outflow line connected to the return terminal is added. And a processing box connected to the other outgoing line of the judgment box and having its outgoing line connected to the return terminal. The method according to any one of claims 1 to 4, The system further includes a model library that stores in advance a plurality of functions, which are source program modules corresponding to each of the plurality of processing contents, in association with the function names. The specification setting means of the flow chart creation means includes means for presenting a plurality of function contents in the model library and the function names to the user so that the user can selectively input a function name stored in the model library as a specification. Doing The flow chart analysis converting means is configured to read a function corresponding to the function name from the library when the flow chart to be converted has a box whose function name stored in the model library is set as a specification. Source program creation support system. The method according to any one of claims 1 to 5, The flowchart drawing means is provided with a means for executing a hierarchy lowering function for creating a flowchart of the upper layer and a detailed flowchart of the lower layer, The specification setting means of the flow chart creating means allows the user to selectively input a flow chart ID specifying the flow chart of the lower layer as a specification of the flow chart of the upper layer, so that the contents of the flow chart and the flow chart ID of the lower layer can be selectively entered. Means to present to the user, The flow chart analysis converting means is configured to read a program module corresponding to the flow chart ID from the storage means when the flow chart to be converted has a box in which the flow chart ID is set as a specification. Source program creation support system. The method according to any one of claims 1 to 6, The flow chart creation means also includes: And title setting means for displaying a title input box for inputting a title of a process in a box arranged on a monitor screen, and storing the input title in association with the box. The method according to any one of claims 1 to 7, The specification setting means of the flow chart creating means is configured so that specification setting is possible every time a box is displayed on the monitor screen by the plate arrangement means. The method of claim 7, wherein The specification setting means and the title setting means of the flow chart creation means are configured so that specification setting and title setting are possible whenever the box is displayed on the monitor screen by the plate arrangement means. The method according to any one of claims 1 to 5, The flow chart creation means also includes: As a guidance means for providing a user with a guidance including a plurality of questions set in advance for creating a flowchart, and interactively creating a flowchart based on a response input by the user to the question of the guidance. And a guidance means for automatically displaying the number of judgment boxes and processing boxes based on the user's response to the question, on the monitor screen, including a question of the number of tasks. . The method of claim 10, The flow chart creation means also includes: And a pacemaker means for acquiring a time-lapse history between the guidance provided by the guidance means and the user's response to the guidance, and displaying the time-lapse history on a monitor screen. system. The method according to any one of claims 1 to 11, Flow chart creation means, As a derivative relationship display means for displaying on a monitor screen the relationship between a first flow chart prepared in advance and a processing flow of at least one box of the first flow chart in detail, and displaying a relationship on a monitor screen with a second flow chart. And a derivative relationship display means for displaying a plurality of boxes in a second flow diagram corresponding to the box instead of the box when the original box specified in the state is selected while the flow chart is displayed on the monitor screen. Source program creation support system, characterized in that. The method according to any one of claims 1 to 12, The system also, The data definition of the source program of the data used in the flow chart created by the flow chart creation means is created based on the dialogue with the user on the monitor screen, and the data layout of the tree structure is defined based on the created data layout. Means for creating data definitions, The screen definition of the source program of the screen used in the flowchart created by the flow chart creation means is created based on the dialogue with the user on the monitor screen, and defined based on the position and size of the elements of the created screen. And a screen definition creation means. The method of claim 13, Flow diagram analysis conversion means, A source program creation support system, comprising: a source program created based on a flow chart, and means for combining with data definition and means defined by data definition creation means and screen definition creation means. The method according to any one of claims 1 to 14, The system also includes verification means for verifying the created source program, wherein the verification means, Display the flow diagram corresponding to the source program to be verified on the monitor screen, pause the run of the source program on the displayed flow diagram, obtain the processing result, and set the pose to display the pass history and the processing result. Means for setting a point and a path set point for acquiring only the processing result, Means for running a source program to be verified and displaying a passing route as the processing progresses, on a flow chart also displayed corresponding to the source program; Means for pausing the processing when the processing reaches the pause set point and displaying the passing history of the pause set point and the path set point; And a means for displaying, as a list of variables, the values of the preset variables on the flowchart when the processing reaches the pause set point.
KR1020087024625A 2006-03-09 2006-08-29 Source program creation support system KR20080104057A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006063999A JP3850867B1 (en) 2005-04-19 2006-03-09 Source program creation support system
JPJP-P-2006-00063999 2006-03-09

Publications (1)

Publication Number Publication Date
KR20080104057A true KR20080104057A (en) 2008-11-28

Family

ID=38474678

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020087024625A KR20080104057A (en) 2006-03-09 2006-08-29 Source program creation support system

Country Status (3)

Country Link
KR (1) KR20080104057A (en)
CN (1) CN101379466B (en)
WO (1) WO2007102232A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371823A (en) * 2016-08-22 2017-02-01 广州酷狗计算机科技有限公司 Code block generation method and apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6154539A (en) * 1984-08-27 1986-03-18 Hitachi Ltd Input system of program specifications
JPH0623987B2 (en) * 1984-10-29 1994-03-30 株式会社日立製作所 Interactive drawing method
JPS61249149A (en) * 1985-04-26 1986-11-06 Mitsubishi Electric Corp Program tracing device
JPH0916385A (en) * 1995-06-30 1997-01-17 Toshiba Corp Application development method and device
JP3611061B2 (en) * 1996-02-05 2005-01-19 本田技研工業株式会社 Graphic creation device
JPH10293686A (en) * 1997-04-18 1998-11-04 Hitachi Ltd Tracking program generating method and device
JPH11296357A (en) * 1998-04-08 1999-10-29 Oki Electric Ind Co Ltd Flow chart input device
JP2003076546A (en) * 2001-09-03 2003-03-14 Minoru Kano Method for plotting graphic, method for plotting flow chart and method for generating computer program from flow chart

Also Published As

Publication number Publication date
WO2007102232A1 (en) 2007-09-13
CN101379466A (en) 2009-03-04
CN101379466B (en) 2011-12-07

Similar Documents

Publication Publication Date Title
US5161211A (en) Method and system of specification processing
US5287449A (en) Automatic program generation method with a visual data structure display
CN107544437A (en) Procedure editing device, method and storage medium
CN115576950A (en) Report generation method based on JSON configuration file
JP3850867B1 (en) Source program creation support system
KR20080104057A (en) Source program creation support system
JP2004157927A (en) Creating system for business form input, creating program and creating method
JP4629183B2 (en) Requirement specification description support apparatus and method, and recording medium
US5812981A (en) Method of creating a data item object suitable for an application from a standard object oriented part
Niere Visualizing differences of UML diagrams with Fujaba
WO2006114899A1 (en) Source program creation support system
JP2001273342A (en) Product manufacturing method and product manufacturing support method
JP2009087144A (en) Development support device and development support program
US7120616B2 (en) Method for specifying, executing and analyzing method sequences for recognition
US20010002834A1 (en) Method for inputting and acquiring requirement
JP2001273125A (en) Method and system for automatically generating source program, and program recording medium therefor
JP3310415B2 (en) CAD equipment
JPH0588863A (en) Program development supporting system
CN112596475B (en) System safety analysis system based on process control
JPS61267870A (en) Form production processing system
EP0315172A2 (en) Automatic program generation method with a visual data structure display
JP2003058370A (en) Source code generation system
JP2000148232A (en) Display image data generation system of central monitor and control equipment
EP0726517A1 (en) A computer aided program generating system
CN117819197A (en) Control method and system of automatic flow, electronic equipment and storage medium

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination