CN105955745B - A kind of flow chart emulation debugging method and device - Google Patents
A kind of flow chart emulation debugging method and device Download PDFInfo
- Publication number
- CN105955745B CN105955745B CN201610290046.0A CN201610290046A CN105955745B CN 105955745 B CN105955745 B CN 105955745B CN 201610290046 A CN201610290046 A CN 201610290046A CN 105955745 B CN105955745 B CN 105955745B
- Authority
- CN
- China
- Prior art keywords
- flow chart
- code
- artificial debugging
- debugging
- artificial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Abstract
The application provides a kind of flow chart emulation debugging method and device, applied to Graphics Modeling system, the artificial debugging request of flow chart identification information is carried by receiving, and obtain the flow chart code of flow chart identification information instruction (wherein, flow chart code is the code for responding the flow chart of graphical modeling operation generation of user's input), and then execution flow chart code obtains implementing result, so as in such a way that implementing result is to flow chart code corresponding flow chart progress artificial debugging, realize the debugging in Graphics Modeling system to flow chart, the prior art is avoided when flow chart packing to be put in server and debugged, caused cumbersome problem.
Description
Technical field
This application involves graphical modeling technical fields, more specifically to a kind of flow chart emulation debugging method and dress
It sets.
Background technique
With the development of software technology, Graphics Modeling system this as Software Create tool platform increasingly by wide
Fatware developer's likes.
However, although prior art graphical modeling can be operated according to the graphical modeling of user generates corresponding process
Figure, to realize software development purpose.But the flow chart of generation can only be just achievable pair by way of being packaged and being put in server
The verifying of its function.Therefore, after often there is the error of flow chart function, Graphics Modeling system modification need to be again returned to, and then lead
Cause cumbersome problem.
Therefore it provides a kind of flow chart emulation debugging method, to avoid the prior art because flow chart packing is put in service
Device situation cumbersome caused by being debugged, is a problem to be solved.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of flow chart emulation debugging method and device, by graphical modeling
The debugging to flow chart is realized in system, is avoided the prior art when flow chart packing being put in server being debugged, is caused
Cumbersome problem.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of flow chart emulation debugging method is applied to Graphics Modeling system, comprising:
Artificial debugging request is received, the artificial debugging request carries flow chart identification information;
The flow chart code of the flow chart identification information instruction is obtained, the flow chart code is that response user inputs
The code for the flow chart that graphical modeling operation generates;
It executes the flow chart code and obtains implementing result, to utilize the implementing result to the flow chart code pair
The flow chart answered carries out artificial debugging.
Preferably, further includes:
Rule is shown according to pre-set flow chart code, shows the flow chart code.
Preferably, further includes:
It is whether identical as pre-set expected results to compare the implementing result;
When not identical, the prompting message that the corresponding flow chart of the flow chart code is debugged in instruction is sent.
Preferably, further includes: be printed upon using self-contained console and execute holding in the flow chart coding process
Row information.
Preferably, further includes:
It determines the artificial debugging number of the flow chart, and controls the artificial debugging number according to pre-set emulation
Debugging number shows that rule is shown in the flow chart.
A kind of flow chart artificial debugging device is applied to Graphics Modeling system, comprising:
Artificial debugging request reception unit, for receiving artificial debugging request, the artificial debugging request carries flow chart
Identification information;
Flow chart Code obtaining unit, for obtaining the flow chart code of the flow chart identification information instruction, the stream
Journey figure code is the code for responding the flow chart of graphical modeling operation generation of user's input;
Flow chart code execution unit obtains implementing result for executing the flow chart code, to hold described in utilizing
Row result carries out artificial debugging to the corresponding flow chart of the flow chart code.
Preferably, further includes:
Flow chart code display unit shows the process for showing rule according to pre-set flow chart code
Figure code.
Preferably, further includes:
Whether prompting message transmission unit is identical for the implementing result and pre-set expected results;With
And when not identical, the prompting message that the corresponding flow chart of the flow chart code is debugged in instruction is sent.
Preferably, further includes:
Execution information print unit executes the flow chart coding process for being printed upon using self-contained console
In execution information.
Preferably, further includes:
Flow chart artificial debugging number display unit, for determining the artificial debugging number of the flow chart, and controls institute
It states artificial debugging number and shows that rule is shown in the flow chart according to pre-set artificial debugging number.
The application provides a kind of flow chart emulation debugging method and device, is applied to Graphics Modeling system, is taken by receiving
Artificial debugging request with flow chart identification information, and obtain flow chart code (wherein, the process of flow chart identification information instruction
Figure code is the code for responding the flow chart of graphical modeling operation generation of user's input), and then execution flow chart code obtains
Implementing result, to realize in such a way that implementing result is to flow chart code corresponding flow chart progress artificial debugging
Debugging in Graphics Modeling system to flow chart avoids the prior art and debugs flow chart packing is put in server
When, caused cumbersome problem.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart emulation debugging method flow chart provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of flow chart artificial debugging device provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of another flow chart artificial debugging device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Embodiment:
Fig. 1 is a kind of flow chart emulation debugging method flow chart provided by the embodiments of the present application.
Flow chart emulation debugging method as shown in Figure 1 is applied to Graphics Modeling system, specifically, this method comprises:
S101, artificial debugging request is received, artificial debugging request carries flow chart identification information;
In the embodiment of the present application, it is preferred that when user needs to carry out emulation tune to the flow chart in Graphics Modeling system
When examination, firstly, it is necessary to send artificial debugging request, flow chart identification information is carried in artificial debugging request.
S102, the flow chart code for obtaining the instruction of flow chart identification information, flow chart code are the figure for responding user's input
The code for the flow chart that shape modelling operability generates;
In the embodiment of the present application, it is preferred that each flow chart in Graphics Modeling system uniquely corresponds to a flow chart
Identification information.
Specifically, after receiving artificial debugging request, it is thus necessary to determine that the flow chart mark that artificial debugging request carries
The flow chart code of information instruction is (it is, determine the corresponding process of flow chart identification information that artificial debugging request carries
The code of figure).Wherein, flow chart is the graphical modeling operation generation that user's input is responded in Graphics Modeling system, process
Figure code is the code for responding the flow chart of graphical modeling operation generation of user's input.
S103, execution flow chart code obtain implementing result, to utilize implementing result to the corresponding stream of flow chart code
Journey figure carries out artificial debugging.
In the embodiment of the present application, it is preferred that after getting the flow chart code of flow chart identification information instruction, need to hold
The row flow chart code obtains implementing result, and then convenient for user by analyzing implementing result to the corresponding process of flow chart code
Figure carries out corresponding artificial debugging.
Further, in a kind of flow chart emulation debugging method provided by the embodiments of the present application, further includes: according in advance
The flow chart code of setting shows rule, shows flow chart code.
It is preferred in the embodiment of the present application, by the displaying to flow chart code, flow chart generation can be checked convenient for user
Code is further more conducive to user according to the flow chart code of displaying and carries out artificial debugging to flow chart.
In the embodiment of the present application, it is preferred that flow chart code shows rule are as follows: the stream of control flow chart and the flow chart
Journey figure code is shown side by side.It can be convenient for user couple in such a way that the process code of control flow chart and the flow chart is shown side by side
Checking for flow chart and respective flow chart code, easily facilitates user to the artificial debugging of flow chart.
Above is only the preferred embodiment of the embodiment of the present application, and inventor can any setting procedure figure according to their own needs
Code shows rule, is not limited thereto.
Further, in a kind of flow chart emulation debugging method provided by the embodiments of the present application, further includes: compare execution
As a result whether identical as pre-set expected results;And when not identical, it is corresponding to send instruction debugging flow chart code
The prompting message of flow chart.
In the embodiment of the present application, it is preferred that it is whether identical as pre-set expected results by comparing implementing result,
It can facilitate determining whether to need artificial debugging flow chart corresponding with flow chart mark.Specifically, as when implementing result and in advance
When the expected results of setting are identical, showing that flow chart identifies corresponding flow chart is the flow chart that user needs, and does not need to carry out
Artificial debugging;When implementing result and pre-set expected results difference, show that flow chart identifies corresponding flow chart and is not
The flow chart that user needs, needs to carry out artificial debugging.
In the embodiment of the present application, it is preferred that when implementing result and pre-set expected results difference, illustrate process
Figure code can not realize the function that user needs, at this point, also transmittable prompting message, prompting message instruction debugging process
Figure (that is, prompting message is for reminding user to debug flow chart).
Further, in a kind of flow chart emulation debugging method provided by the embodiments of the present application, further includes: utilize itself
The console of carrying is printed upon the execution information in execution flow chart coding process.
In the embodiment of the present application, it is preferred that by being printed upon execution flow chart code using self-contained console
The mode of execution information in the process more convenient can feed back flow chart code implementation to user, convenient for using
Grasp of the family to flow chart code implementation.
Further, in a kind of flow chart emulation debugging method provided by the embodiments of the present application, further includes: determine process
The artificial debugging number of figure, and control artificial debugging number and show rule in flow chart according to pre-set artificial debugging number
Middle displaying.
In the embodiment of the present application, it is preferred that by determining the artificial debugging number of flow chart, and control artificial debugging
Number shows that rule is shown in flow charts according to pre-set artificial debugging number, may make the explicit flow chart of user
Adjustment situation.
In the embodiment of the present application, it is preferred that control artificial debugging number is according to pre-set artificial debugging number exhibition
Show that rule is shown in flow charts, comprising: control shows the artificial debugging number of flow chart on line in flow charts.
Above is only the preferred embodiment of the embodiment of the present application, and inventor can any setting procedure figure according to their own needs
Artificial debugging number shows rule, is not limited thereto.
Fig. 2 is a kind of structural schematic diagram of flow chart artificial debugging device provided by the embodiments of the present application.
Flow chart artificial debugging device as shown in Figure 2 is applied to Graphics Modeling system, specifically, flow chart emulation is adjusted
Trial assembly, which is set, includes:
Artificial debugging request reception unit 21, for receiving artificial debugging request, artificial debugging request carries process icon
Know information;
Flow chart Code obtaining unit 22, for obtaining the flow chart code of flow chart identification information instruction, flow chart generation
The code for the flow chart that code generates for the graphical modeling operation of response user's input;
Flow chart code execution unit 23 obtains implementing result for execution flow chart code, to utilize implementing result
Artificial debugging is carried out to the corresponding flow chart of flow chart code.
Fig. 3 is the structural schematic diagram of another flow chart artificial debugging device provided by the embodiments of the present application.
As shown in figure 3, the flow chart artificial debugging device includes: artificial debugging request reception unit 21, flow chart code
Acquiring unit 22, flow chart code execution unit 23 and flow chart code display unit 31.
As it can be seen that flow chart artificial debugging device as shown in Figure 3 provided by the embodiments of the present application is above-mentioned as Fig. 2 is provided
It further include flow chart code display unit 31 on the basis of flow chart artificial debugging device.
In the embodiment of the present application, it is preferred that flow chart code display unit 31 is used for according to pre-set flow chart
Code shows rule, shows flow chart code.
Further, in a kind of flow chart artificial debugging device provided by the embodiments of the present application, further includes: prompting message
Whether transmission unit, the prompting message transmission unit are identical as pre-set expected results for comparing implementing result;And
When not identical, the prompting message of the corresponding flow chart of instruction debugging flow chart code is sent.
Further, in a kind of flow chart artificial debugging device provided by the embodiments of the present application, further includes: execution information
Print unit, the execution information print unit using self-contained console for being printed upon in execution flow chart coding process
Execution information.
Further, in a kind of flow chart artificial debugging device provided by the embodiments of the present application, further includes: flow chart is imitative
True debugging number display unit, the flow chart artificial debugging number display unit are used to determine the artificial debugging number of flow chart,
And it controls artificial debugging number and shows that rule is shown in flow charts according to pre-set artificial debugging number.
The application provides a kind of flow chart emulation debugging method and device, is applied to Graphics Modeling system, is taken by receiving
Artificial debugging request with flow chart identification information, and obtain flow chart code (wherein, the process of flow chart identification information instruction
Figure code is the code for responding the flow chart of graphical modeling operation generation of user's input), and then execution flow chart code obtains
Implementing result, to realize in such a way that implementing result is to flow chart code corresponding flow chart progress artificial debugging
Debugging in Graphics Modeling system to flow chart avoids the prior art and debugs flow chart packing is put in server
When, caused cumbersome problem.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment for including element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of flow chart emulation debugging method, which is characterized in that be applied to Graphics Modeling system, comprising:
Artificial debugging request is received, the artificial debugging request carries flow chart identification information;
The flow chart code of the flow chart identification information instruction is obtained, the flow chart code is the figure for responding user's input
The code for the flow chart that modelling operability generates;
It executes the flow chart code and obtains implementing result, so as to corresponding to the flow chart code using the implementing result
Flow chart carries out artificial debugging.
2. the method according to claim 1, wherein further include:
Rule is shown according to pre-set flow chart code, shows the flow chart code.
3. according to the method described in claim 2, it is characterized by further comprising:
It is whether identical as pre-set expected results to compare the implementing result;
When not identical, the prompting message that the corresponding flow chart of the flow chart code is debugged in instruction is sent.
4. according to the method described in claim 3, being held it is characterized by further comprising: being printed upon using self-contained console
Execution information in the row flow chart coding process.
5. method according to any of claims 1-4, which is characterized in that further include:
It determines the artificial debugging number of the flow chart, and controls the artificial debugging number according to pre-set artificial debugging
Number shows that rule is shown in the flow chart.
6. a kind of flow chart artificial debugging device, which is characterized in that be applied to Graphics Modeling system, comprising:
Artificial debugging request reception unit, for receiving artificial debugging request, the artificial debugging request carries flow chart mark
Information;
Flow chart Code obtaining unit, for obtaining the flow chart code of the flow chart identification information instruction, the flow chart
Code is the code for responding the flow chart of graphical modeling operation generation of user's input;
Flow chart code execution unit obtains implementing result for executing the flow chart code, to execute knot using described
Fruit carries out artificial debugging to the corresponding flow chart of the flow chart code.
7. device according to claim 6, which is characterized in that further include:
Flow chart code display unit shows the flow chart generation for showing rule according to pre-set flow chart code
Code.
8. device according to claim 7, which is characterized in that further include:
Whether prompting message transmission unit is identical for the implementing result and pre-set expected results;And when
When not identical, the prompting message that the corresponding flow chart of the flow chart code is debugged in instruction is sent.
9. device according to claim 8, which is characterized in that further include:
Execution information print unit is executed in the flow chart coding process for being printed upon using self-contained console
Execution information.
10. according to device described in claim 6-9 any one, which is characterized in that further include:
Flow chart artificial debugging number display unit for determining the artificial debugging number of the flow chart, and controls described imitative
True debugging number shows that rule is shown in the flow chart according to pre-set artificial debugging number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610290046.0A CN105955745B (en) | 2016-05-04 | 2016-05-04 | A kind of flow chart emulation debugging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610290046.0A CN105955745B (en) | 2016-05-04 | 2016-05-04 | A kind of flow chart emulation debugging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105955745A CN105955745A (en) | 2016-09-21 |
CN105955745B true CN105955745B (en) | 2019-05-10 |
Family
ID=56914206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610290046.0A Active CN105955745B (en) | 2016-05-04 | 2016-05-04 | A kind of flow chart emulation debugging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105955745B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977236B (en) * | 2017-12-21 | 2020-11-13 | 上海智臻智能网络科技股份有限公司 | Question-answering system generation method, terminal device, storage medium and question-answering system |
CN111474894B (en) * | 2020-03-05 | 2021-08-24 | 杭州电子科技大学 | Variable target PLC simulation debugging method, storage medium and functional module |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196810A (en) * | 2006-12-08 | 2008-06-11 | 中颖电子(上海)有限公司 | Built-in equipment operation method |
CN103600350A (en) * | 2013-09-23 | 2014-02-26 | 哈尔滨工大天才智能科技有限公司 | Robot steering gear control system and method based on imaging |
CN104615541A (en) * | 2015-02-10 | 2015-05-13 | 上海创景计算机系统有限公司 | Simulation testing modeling system and method based on flow chart |
-
2016
- 2016-05-04 CN CN201610290046.0A patent/CN105955745B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196810A (en) * | 2006-12-08 | 2008-06-11 | 中颖电子(上海)有限公司 | Built-in equipment operation method |
CN103600350A (en) * | 2013-09-23 | 2014-02-26 | 哈尔滨工大天才智能科技有限公司 | Robot steering gear control system and method based on imaging |
CN104615541A (en) * | 2015-02-10 | 2015-05-13 | 上海创景计算机系统有限公司 | Simulation testing modeling system and method based on flow chart |
Also Published As
Publication number | Publication date |
---|---|
CN105955745A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232162A (en) | A kind of flow defining method and system based on HTML5 | |
CN105511977B (en) | A kind of onboard navigation system test method and device | |
CN104375938B (en) | The dynamic behaviour monitoring method and system of Android application program | |
CN102495802B (en) | Method and device for testing software system, and computer system | |
CN107145438A (en) | Code test method, code tester device and code tester system | |
CN106021101B (en) | The method and device that mobile terminal is tested | |
CN110515679A (en) | Collecting method, device, equipment and storage medium | |
CN104246702A (en) | Workflow compilation | |
CN105677561B (en) | The multi-platform test method of mobile product and system | |
CN105955745B (en) | A kind of flow chart emulation debugging method and device | |
US20180189165A1 (en) | Method for assisting with debugging, and computer system | |
CN110659198A (en) | Application program test case execution method and device and software test system | |
CN112231199A (en) | Test method and device for object to be tested and test system | |
CN108052444A (en) | A kind of method and apparatus of performance test for mobile application | |
CN104090185A (en) | Testing system and method | |
US20120246636A1 (en) | Method and arrangement for installing and configuring a computer system | |
KR101690948B1 (en) | Method for verifying software using input output event scenario of time-line based aircraft apparatus and System thereof | |
CN111045918B (en) | Method, device, client, storage medium and system for debugging program | |
CN111061623B (en) | Method, device, middle server, storage medium and system for debugging program | |
KR101913558B1 (en) | Sequence diagram based integrated development apparatus | |
JP6871889B2 (en) | License management device, mobile terminal test system and license management method | |
Kostiainen et al. | Framework for comparative usability testing of distributed applications | |
CN112346955A (en) | Group intelligent testing method based on control fusion | |
CN109061447A (en) | IC testing stimuli generation method based on modularization excitation model | |
EP2945067B1 (en) | Power system monitoring and control system having thread-dependent calculation monitoring function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |