CN106897104A - Program editing platform and program editing method - Google Patents

Program editing platform and program editing method Download PDF

Info

Publication number
CN106897104A
CN106897104A CN201510969800.9A CN201510969800A CN106897104A CN 106897104 A CN106897104 A CN 106897104A CN 201510969800 A CN201510969800 A CN 201510969800A CN 106897104 A CN106897104 A CN 106897104A
Authority
CN
China
Prior art keywords
program
program editing
program code
user
platform
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.)
Granted
Application number
CN201510969800.9A
Other languages
Chinese (zh)
Other versions
CN106897104B (en
Inventor
王启源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TECHMATION CO LTD
NINGBO HONGXUN TECHNOLOGY CO LTD
Original Assignee
TECHMATION CO LTD
NINGBO HONGXUN TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TECHMATION CO LTD, NINGBO HONGXUN TECHNOLOGY CO LTD filed Critical TECHMATION CO LTD
Priority to CN201510969800.9A priority Critical patent/CN106897104B/en
Publication of CN106897104A publication Critical patent/CN106897104A/en
Application granted granted Critical
Publication of CN106897104B publication Critical patent/CN106897104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural

Abstract

The present invention relates to a kind of program editing platform and program editing method, program editing platform includes:Multiple mother's databases, respectively comprising an at least subdata base, the program code needed for being chosen by the subdata base for user;And integrate module, its program code converged selected by the whole user.Therefore, user can write program using selection mode, therefore not only write time saving, and user is not required to remember the nomenclature and its occupation mode in core function storehouse.

Description

Program editing platform and program editing method
Technical field
The present invention is on a kind of program editing platform, espespecially on a kind of program of ejaculator control program Editing platform and program editing method.
Background technology
The program editing platform of current ejaculator control program is divided into two classes:The first kind is can be in exempting from network Take and download software, such as notepad++, its specialized function for not having ejaculator, and without any prompting, but Possess modification and achieve function.Equations of The Second Kind is can be in downloading on network, but the software that need to be paid, such as UltraEdit, It can be by after setting, possessing simple prompt facility.
Therefore, existing program editing platform only possesses open-and-shut prompt facility, thus user still need to The a large amount of and complicated compositional language instruction of artificial hypermnesia, just can write program on program editing platform, treat After completing source code, can just obtain performing shelves.
However, when using existing program editing platform, user needs hypermnesia to instruct or constantly ransack existing Some core function storehouse nomenclatures (comprising instruction, public variable, structure etc.) and its occupation mode (refer to Make classification generally must substitute into parameter could operate, each instruction occupation mode or have difference, programming Personnel need to know occupation mode, if occupation mode mistake can cause program to compile failure), when causing to write Between be significantly increased, and produce the high bit error rate.Particularly, currently for the control program of ejaculator Compared with the demand for not meeting specialty, user need to remember a large amount of and complicated compositional language instructions to editing platform, And need to open the platform of writing of multiple difference functions, therefore user not only need to possess it is superb write ability, And need to have sufficient experience, that is, general writer cannot be by the program editing of existing ejaculator Platform is write, thus the not enough problem of editorial staff cannot improve.
Above-mentioned program compiling is the readable source code of user is compiled into machine to recognize to understand but use The possible unapprehended archives of person, this is the steps necessary of imprinting.
Above-mentioned public variable is single variable, only represents a kind of meaning.Programming personnel only use The title of public variable, representated by this title is some memory location, such as " 124H ", this position Put and be not difficult with because not readily understood, therefore traditionally only use public variable title in a program " I_FED_IN ", to represent " 124H ".
Above-mentioned structure, is that all of mechanical variables are all placed on into this structure such as " MACH ", Each mechanical variables is just used with " MACH.XXX " using upper, for example, " MACH.ACCU_PRS " Exactly use " ACCU_PRS " parameter (projecting energy storage pressure) under " MACH ".
Above-mentioned structure can also use it using multi-level mode, and this is used very generally, for example, “RAMC.HYDR.LIMIT.CH1”。
Furthermore, the display mode of the picture of existing program editing platform be with program language JAVA, C, C++ or assembler language are distinguished, if not in above-mentioned list, user can only on picture for minority Keyword stamps different colors, thus general editorial staff is less readily understood.
Therefore, the variety of problems of above-mentioned prior art how is solved, actually current industry class urgently to be resolved hurrily Topic.
The content of the invention
To solve the variety of problems of above-mentioned prior art, the present invention discloses a kind of program editing platform then, its Including:Multiple mother's databases, respectively female database include an at least subdata base, so that user is by this Subdata base chooses required program code;And integrate module, its program converged selected by the whole user Code.
The present invention also discloses a kind of program editing method, and it includes:A kind of foregoing program editing is provided to put down Platform;Choose the program code in the subdata base;And through the whole selected journey of integration module remittance Sequence code.
In foregoing program editing method, the selection of the subdata base Program code be with define prompting or The mode of intellectuality prompting provides program code.
In foregoing program editing method, also including repeating the selection of the subdata base Program code.
In foregoing program editing platform and program editing method, it is control ejaculator that the program code is Program code.
In foregoing program editing platform and program editing method, also including prompting storehouse, it covers at least one Female database and it is used to the option for pointing out the user to carry out program editing comprising multiple.
From the foregoing, it will be observed that program editing platform of the invention and program editing method, mainly by will for example penetrate Go out the special assembler language of machine to be collected in female database and subdata base, to make user use selection mode Program is write, therefore compared to prior art, it is not only time saving using program editing platform of the invention, and make The nomenclature that user is not required to memory program source code (particularly, is not required to remember the nomenclature in core function storehouse With its occupation mode), thus the program for completing identical function is write by being not required to ejaculator professional person.
Brief description of the drawings
Fig. 1 is the schematic block follow diagram of program editing method of the invention;
Fig. 2 is the schematic diagram of the editing pictures of program editing platform of the invention;
Fig. 3 A to Fig. 3 D are the picture views of the editing process for program editing platform of the invention; Fig. 3 B ' to Fig. 3 C ' are another embodiment for Fig. 3 B to Fig. 3 C, Fig. 3 B " to Fig. 3 C " be figure Another embodiment of 3B to Fig. 3 C;
Fig. 4 A to Fig. 4 C are the picture view of the editing process of program editing platform of the invention; And
Fig. 5 is the picture view of the editing process of program editing platform of the invention.
Reference:
1.................. program editing platform
10................ female database
11................ storehouse is pointed out
12................ subdata base
120.............. program code
13................ module is integrated
20................ prompt window
21................ wicket
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can Other advantages of the invention and effect are understood by content disclosed in the present specification easily.Illustrating this hair With ejaculator as embodiment when bright program editing method and platform, but the present invention is not limited thereto.
Fig. 1 is the schematic block follow diagram of program editing method of the invention.As shown in figure 1, the program Edit methods are to include step as follows.
Step one:A kind of program editing platform 1 is provided, wherein, the program editing platform 1 is carried including one Show that module 13 is integrated in storehouse 11 and, and multiple mother's databases 10 are covered in the prompting storehouse 11.
Described respectively female database 10 includes an at least subdata base 12, so that user is by the subdata Required program code is chosen in storehouse 12, wherein, the program generation of function of the program code for needed for ejaculator Code.
In the present embodiment, according to the function needed for ejaculator, respectively female database 10 be environmental variance, Output point and input point, node (node), node action programming or other options etc., and relevant injection Function needed for machine is not limited to above-mentioned known to those skilled in the art, therefore no longer displays one by one.
Furthermore, according to the function needed for ejaculator, respectively in the subdata base 12 in female database 10 Program code option is repeated no more known to those skilled in the art.
Described prompting storehouse 11 is used to the option for pointing out the user to carry out program editing comprising multiple, respectively should Option wherein one female database 10 of correspondence, so that when user's program to be write, the prompting storehouse can be chosen Option in 11, therefore user is not required to remember a large amount of program codes, and (or the nomenclature in core function storehouse makes with it With mode), you can write completion program.
Described integration module 13 is used to the program code converged selected by the whole user, and it is original that it includes presentation Code function, grammar testing function, endless loop audit function and recording function etc..
Step 2:Wherein one female database 10 is chosen, the program code in its subdata base 12 can be shown, The program code of the subdata base 12 is chosen again.
In the present embodiment, the program editing platform 1 to define prompting in the way of write program.Specifically, According to the selection (for example, user's input point definition to be completed) of user, prior to the prompting storehouse 11 In click female database 10 to click mode, i.e., can jump out the special menu of definable " input point " (i.e. The subdata base 12), then choose the option needed for the subdata base 12, i.e., can automatically enter to " defeated The project that access point " should be inserted, wherein, the menu jumped out according to the nomenclature in existing core function storehouse and its Occupation mode is combined.
Furthermore, the program editing platform 1 also can write program by the way of intellectuality prompting.Specifically, User can be input into one section of related text, now, the picture of the program editing platform 1 in paragraph prior to writing Face can automatically jump out a menu, and option is combined with the possibility for pointing out next step, be chosen for user, wherein, The mode of the intelligent prompting of the action uses habit according to the occupation mode of the nomenclature in existing core function storehouse Used reasoning is formed.
Step 3:Repeat step two.
Step 4:The integration module 13 converges whole selected respectively program code.
Therefore, program editing platform 1 of the invention not only possesses the basic function of original editing platform, and Coordinate ejaculator needed for specialized procedure's term and according to user input character string inertia and can reach The function of prompting.
Based on the following above-mentioned editing process, the picture of related procedure is illustrated.
Fig. 2 is the schematic diagram of the editing pictures of program editing platform 1 of the invention.
As shown in Fig. 2 by taking the definition of input point as an example.If using existing program editing platform, Yong Huwu Method knows which input point can be used, and the existing function storehouse that need to rummage can just learn.Relatively, Yu Benfa On bright program editing platform 1, when input point is write, prior to pressing female data in the prompting storehouse 11 A wherein option (bold box such as in figure) of " input point " in storehouse 10, can now jump out its subdata The prompt window 20 of " the input point definition " in storehouse 12, for choosing, waits to choose it with the multiple options of row In after an option (bold box such as in figure), the meeting of program code 120 of all input points for being available for choosing It is presented in a wicket 21, the program code 120 in the wicket 21 is chosen afterwards, wherein, respectively The program code 120 is provided which that Chinese is explained and affiliated classification, and the classification is the specialty point of ejaculator Class, such as close mould, seat enter, storing, pressurize, penetrate before storage move back, store up after penetrate and move back, cool down or mold.Treat After choosing a wherein program code 120 (bold box such as in figure), the program code 120 can be filled out automatically Enter the key frame of edit routine.
Therefore, program is write by program editing platform 1 of the invention, only need to be by the mode of selection Programming is completed, without beaing character, therefore the program editing time can be saved.
Fig. 3 A to Fig. 3 D are the picture view of the editing process of program editing platform 1 of the invention.
In the present embodiment, it is the compiling procedure of ejaculator node action, and it is being input into " RAMC. " As a example by.
As shown in Figure 3A, the RAMC is control parameter, and it can only be subsequently write such as " COFG " (group State), " MCTL " (machinery), " RSV " (retain 1), " RSV2 " (retaining 2), " HYDR " (hydraulic pressure), " POTM " (position chi), " TEMP " (temperature) etc. are different Second parameter.
As shown in Figure 3 B, if choosing " HYDR " parameter, it can only subsequently write " OUT_MAX " (output maximum), " LIMIT " (upper limit), " NDELAY " (without postpone) or other are such as The subparameter waited shown in figure.
As shown in Figure 3 C, after choosing " LIMIT ", it may appear that multiple subparameter, for choosing.
As shown in Figure 3 D, after choosing one of subparameter, that is, writing for ejaculator node action is completed.
In another embodiment, such as shown in Fig. 3 B ' to Fig. 3 C ', it chooses " MCTL " in Fig. 3 A Parameter, it can only subsequently write " MC10 ", " MC20 ", " MC30 ", " MC40 ", " MC50 " Deng the subparameter of diverse location chi.
In other embodiments, such as Fig. 3 B " to 3C " shown in, " TEMP " parameter is chosen, its is follow-up " COLDUP " (cool time), the son of " WUPTIM " (pre-temperature timing) equitemperature correlation can only be write Parameter.
Therefore, program is write by program editing platform 1 of the invention, only need to be by selection mode and intelligence Programming is completed by prompting mode can be changed, without beaing character, therefore the program editing time can be saved.
Fig. 4 A, Fig. 4 B and Fig. 4 C are that the picture of the editing process of program editing platform of the invention is illustrated Figure.
As shown in Figure 4 A, it is the picture of the archives diversity ratio pair for performing the integration module 13.
In the present embodiment, described archives diversity ratio to being that two archives compare, find out it is different it Place, such as this version and the difference of previous correction, but the function without grammar testing with analysis.
As shown in Figure 4 B, it is the picture that endless loop is checked, it is the one of which of program analysis, by The subprogram of endless loop will be jumped into the middle of source code to check, and gives false alarm.
In the present embodiment, described endless loop inspection is to be analyzed the program of picture, and finding out to jump Enter the subprogram of endless loop, endless loop will cause program to jump into Infinite loop and occur to work as machine.
As shown in Figure 4 C, it is the picture of grammar testing, its check the syntax on using mistake (including refer to Order mistake or parameter using mistake) can cause compiling fail subprogram, and give false alarm (with It is highlighted).Specifically, as shown in Figure 4 C, its display the 6th row " L_CALL " instruction does not make Write as by mistake " L_CMPDDD " with parameter, and the instruction of the 9th row " L_CMPDAT ".
In the present embodiment, described grammar testing is that the program in picture is done into grammar testing, finds out volume The subprogram for inherently malfunctioning, but this inspection are translated just for the syntax, and endless loop cannot be found, deposited Reservoir configuration error etc..
Fig. 5 is the picture view of the editing process of program editing platform 1 of the invention.
As shown in figure 5, it is the picture after the recording function for performing the integration module 13, that is, complete imprinting Document, wherein, " DL " is the imprinting shelves for producing.
On the other hand, above-mentioned each picture for ejaculator control program keyword coat special color and Highlighted (High Light), as display mode, is understood regarding it in order to user.That is, the present invention is implemented Example shown as picture using the language XPLC of the controller of ejaculator, the keyword of all XPLC language Can in different colors distinguish, allow user to read more comfortable.
In sum, program editing platform of the invention and program editing method, by will such as ejaculator Special program language is collected in female database and subdata base, for user to point out automatically, menu, The automatic mode for checking writes program, therefore not only time saving, and without the nomenclature of memory program source code, The program for completing identical function is write by being thus not required to ejaculator professional person, and then improves ejaculator journey The not enough problem of the editorial staff of sequence.
Above-described embodiment is used to illustrative principle of the invention and its effect, not for limiting this hair It is bright.Any those skilled in the art can be under without prejudice to spirit and scope of the invention, to above-mentioned implementation Example is modified.Therefore the rights protection scope of the present invention, listed by claims that should be as be described hereinafter.

Claims (9)

1. a kind of program editing platform, it is characterised in that including:
Multiple mother's databases, respectively female database include an at least subdata base, so that user is by the son Database chooses required program code;And
Module is integrated, its program code converged selected by the whole user.
2. program editing platform as claimed in claim 1, it is characterised in that the program code is control The program code of ejaculator.
3. program editing platform as claimed in claim 1, it is characterised in that the program editing platform is also Including prompting storehouse, it is covered at least one female database and is used to point out the user to enter stroke comprising multiple The option of sequence editor.
4. a kind of program editing method, it is characterised in that including:
A kind of program editing platform as claimed in claim 1 is provided;
Choose the program code in the subdata base;And
Through the whole selected program code of integration module remittance.
5. program editing method as claimed in claim 4, it is characterised in that the program code is control The program code of ejaculator.
6. program editing method as claimed in claim 4, it is characterised in that also including covering through The prompting storehouse of at least one female database, the option of program editing is carried out to provide the user.
7. program editing method as claimed in claim 4, it is characterised in that the subdata base Program The selection of code be to define prompting in the way of program code is provided.
8. program editing method as claimed in claim 4, it is characterised in that the subdata base Program The selection system of code provides program code in the way of intellectuality prompting.
9. program editing method as claimed in claim 4, it is characterised in that also including repeating this The selection of subdata base Program code.
CN201510969800.9A 2015-12-21 2015-12-21 Program editing platform and program editing method Active CN106897104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510969800.9A CN106897104B (en) 2015-12-21 2015-12-21 Program editing platform and program editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510969800.9A CN106897104B (en) 2015-12-21 2015-12-21 Program editing platform and program editing method

Publications (2)

Publication Number Publication Date
CN106897104A true CN106897104A (en) 2017-06-27
CN106897104B CN106897104B (en) 2020-04-07

Family

ID=59190732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510969800.9A Active CN106897104B (en) 2015-12-21 2015-12-21 Program editing platform and program editing method

Country Status (1)

Country Link
CN (1) CN106897104B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678742A (en) * 2017-09-25 2018-02-09 上海卫星工程研究所 Satellite telemetry inversion algorithm online editing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1397881A (en) * 2002-07-03 2003-02-19 无敌科技(西安)有限公司 Process for preparing interactive electronic book
US20040044733A1 (en) * 2002-08-28 2004-03-04 Huei-Chen Fan Production operation management system
US8463823B2 (en) * 2010-07-01 2013-06-11 Backflow Solutions, Inc. Methods and systems for tracking backflow assemblies
CN103294463A (en) * 2012-02-22 2013-09-11 奇多比行动软体股份有限公司 Editing system and method
CN103500100A (en) * 2013-10-09 2014-01-08 周宗煜 Intelligent assembling developing tool
CN104731597A (en) * 2015-03-30 2015-06-24 上海华力微电子有限公司 Method for applying SQL statements to engineering software compiling platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1397881A (en) * 2002-07-03 2003-02-19 无敌科技(西安)有限公司 Process for preparing interactive electronic book
US20040044733A1 (en) * 2002-08-28 2004-03-04 Huei-Chen Fan Production operation management system
US8463823B2 (en) * 2010-07-01 2013-06-11 Backflow Solutions, Inc. Methods and systems for tracking backflow assemblies
CN103294463A (en) * 2012-02-22 2013-09-11 奇多比行动软体股份有限公司 Editing system and method
CN103500100A (en) * 2013-10-09 2014-01-08 周宗煜 Intelligent assembling developing tool
CN104731597A (en) * 2015-03-30 2015-06-24 上海华力微电子有限公司 Method for applying SQL statements to engineering software compiling platform

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SLD666666: "利用RadASM写汇编程序", 《HTTPS://WWW.CNBLOGS.COM/SLD666666/ARCHIVE/2010/11/14/1877260.HTML》 *
明日科技编著: "《JAVA经典编程300例》", 31 January 2012 *
毛志雄主编: "《Java程序设计教程》", 31 August 2008 *
秦学礼主编: "《Java程序设计实用教程》", 31 August 2012 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678742A (en) * 2017-09-25 2018-02-09 上海卫星工程研究所 Satellite telemetry inversion algorithm online editing method

Also Published As

Publication number Publication date
CN106897104B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
US7546577B2 (en) Method and apparatus for producing software
CA2505580C (en) Modeling system for graphic user interface
CN1703703B (en) Device and method for checking railway logical software engines for commanding plants, particularly station plants
CN103197929B (en) A kind of graphic programming system and method for children-oriented
CN110825362A (en) Low-code application software development system and method
CN106293664A (en) Code generating method and device
CN102426519B (en) Linked data-based multiplexing method of business process execution language (BPEL) templates and services, and system thereof
CN106598556A (en) User interface generation method and device
CN106648587A (en) Annotation-based Web application code generation method
CN106030524A (en) Method and device for visually implementing software code
CN103744647B (en) A kind of Java workflow development system and method based on workflow visualization toolkit
KR20060080528A (en) Object model tree diagram
CN104407863A (en) Abstract control model programming device and method
CN104750606B (en) A kind of automated testing method based on reflection
CN1983172A (en) Design pattern and method of transformation of an object model
CN101499063A (en) Tracing-based database schema evolution method and system
US7340715B2 (en) Visual programming method and system thereof
CN101206468B (en) Modelling method in computer numerical control field
CN114117645B (en) Ship overall performance forecasting integrated application system
CN104656543A (en) PLC gradient diagram matrix editing display method
CN110109658A (en) A kind of ROS code generator and code generating method based on formalized model
KR101408280B1 (en) Apparatus and method for logic creation of development tools, and storage medium recording program for implementing method thereof
CN106897104A (en) Program editing platform and program editing method
CN105446788B (en) A kind of information processing method and electronic equipment
CN103955368B (en) A kind of adaptive support system of software obfuscation and development approach

Legal Events

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