CN102306102A - Method and device for automatically generating program file - Google Patents

Method and device for automatically generating program file Download PDF

Info

Publication number
CN102306102A
CN102306102A CN201110245443A CN201110245443A CN102306102A CN 102306102 A CN102306102 A CN 102306102A CN 201110245443 A CN201110245443 A CN 201110245443A CN 201110245443 A CN201110245443 A CN 201110245443A CN 102306102 A CN102306102 A CN 102306102A
Authority
CN
China
Prior art keywords
variable
logical
code
program file
definition statement
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
CN201110245443A
Other languages
Chinese (zh)
Other versions
CN102306102B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110245443.3A priority Critical patent/CN102306102B/en
Publication of CN102306102A publication Critical patent/CN102306102A/en
Application granted granted Critical
Publication of CN102306102B publication Critical patent/CN102306102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for automatically generating a program file. The method comprises the following steps of: acquiring variable information and a logical code which are input by a user; generating a variable definition statement according to the variable information, and binding the logical code with the variable definition statement to generate a complete program file; and compiling the program file to generate a compiled program file under the condition that the program file passes compilation. By the technical scheme, the requirement of a professional user on special scene application can be met, the applicability and flexibility of the application are improved, and the effect of expanding a service application range is achieved.

Description

Program file generates method and device automatically
Technical field
The present invention relates to computer realm, particularly relate to a kind of program file and generate method and device automatically.
Background technology
At present,, feel easily simultaneously, found that also this mode can not satisfy the needed application scenarios of user fully in more and more users along with the development of visible service flow.
In existing systems, the user can come the flow process of layout service needed according to adding the functional module of having realized.Through the scheduling of flow, accomplish the different demands of application scenarioss such as telecommunications, internet, Internet of Things.The functional module that layout has realized can be accomplished simple application preferably, for example, and the computing of logarithm value, to operation of character string etc.But along with the continuous expansion of system applies scope, simple application can not have been satisfied more scene needs, and the user needs a kind of more flexible way to realize professional layout.
Summary of the invention
The present invention provides a kind of program file to generate method and device automatically, can not satisfy the problem of the more scene needs of user with simple application in the solution prior art.
The present invention provides a kind of program file to generate method automatically, comprising:
Obtain the variable information and the logical code of user's input;
Generate the variable-definition statement according to variable information, and logical code and variable-definition statement are bound, generate complete program file;
Program file is compiled, under the situation that compiling is passed through, generate the program file after compiling.
The present invention also provides a kind of program file automatically generating device, comprising:
Acquisition module is used to obtain the variable information and the logical code of user's input;
Generation module is used for generating the variable-definition statement according to variable information, and logical code and variable-definition statement is bound, and generates complete program file;
Collector is used for program file is compiled, and under the situation that compiling is passed through, generates the program file after compiling.
Beneficial effect of the present invention is following:
Variable is set up in input through according to the user; Binding variable; After program code is compiled; The program file that generation can directly be called; Solved the problem that simple application in the prior art can not have been satisfied more scene needs; The embodiment of the invention is given the user with the control of module; Make the user can use more flexible way to go to realize diversified demand; Can satisfy the professional user for the special screne demands of applications; Improve the applicability and the dirigibility of using, reached the effect of the range of application of activating business.
Description of drawings
Fig. 1 is the process flow diagram that the program file of the embodiment of the invention generates method automatically;
Fig. 2 is the process flow diagram of the online generation JAVA code of the embodiment of the invention;
Fig. 3 is the process flow diagram that the JAVA file of the embodiment of the invention generates;
Fig. 4 is the process flow diagram of user's operation of the embodiment of the invention;
Fig. 5 is the structural representation of the program file automatically generating device of the embodiment of the invention.
Embodiment
In order to solve in the prior art problem that simple application can not have been satisfied more scene needs; The invention provides a kind of program file and generate method and device automatically; The user is through patterned interface; Set up variable; Binding variable; Write code, the program file of the embodiment of the invention generates method automatically and device generates corresponding program code with the business that the user sets up, and moves together with other simple module.Realization is satisfied professional user's demand.Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
Method embodiment
According to embodiments of the invention; Provide a kind of program file to generate method automatically; Fig. 1 is the process flow diagram that the program file of the embodiment of the invention generates method automatically, as shown in Figure 1, comprises following processing according to the program file generation method automatically of the embodiment of the invention:
Step 101 is obtained the variable information and the logical code of user's input; Preferably, variable information comprises: logical variable information and output variable information;
Particularly, in step 101, the variable information and the logical code that obtain user's input specifically comprise following processing:
1, through patterned way, receive the variable information of user's input, according to specific format variable information is encapsulated, obtain the variable information after the encapsulation; 2, through patterned way, receive the logical code of user's input, according to specific format logical code is encapsulated, obtain the logical code after the encapsulation.Need to prove that above-mentioned specific format can be extend markup language (Extensible Markup Language abbreviates XML as) form.
Step 102 generates the variable-definition statement according to variable information, and logical code and variable-definition statement are bound, and generates complete program file;
In step 102; Generate the variable-definition statement according to variable information and specifically comprise following processing: according to the logical variable information formation logic variable-definition statement after the encapsulation; Generate the output variable definition statement according to the output variable information after the encapsulation, and output variable definition statement and predefined identifier number are bound.Need to prove, above-mentioned predefined identifier number can for:.
Above-mentioned steps specifically comprises following processing:
1, at first; Logical variable information to after the encapsulation is resolved; Obtain logical variable title, logical variable type and logical variable initial value; According to logical variable title, logical variable type, logical variable initial value and predefined statement form, formation logic variable-definition statement;
2, the output variable information after the encapsulation is resolved; Obtain output variable title, output variable type and output variable initial value; According to output variable title, output variable type, output variable initial value and predefined statement form, generate the output variable definition statement.
In step 102; Logical code and variable-definition statement bound specifically comprise following processing: after logical code is arranged on the logical variable definition statement, and the operation result assignment of logical code given the output variable definition statement of number binding with predefined identifier.
In step 102, generate complete program file and specifically comprise: according to the sign generator program file name of the professional major key and the logical code of the business that current logical code is edited; Generate complete program file according to logical code after program file title and the binding and variable-definition statement.
That is to say, in step 101 and step 102,, receive the name variable of user's input through patterned mode, the choice variable type, and can be variable and do initialization operation.Be that user's generator program (for example, JAVA) in the process of file, at first is exactly to be the class definition variable according to the information of variable generating module, and obtains variable value on stream.In practical application, need set up the variable-definition interface, form by name variable, types of variables, three input frames of variable initial value.Input frame receives the variable information of user's input, and (for example, XML) imports information into backstage through specific format.Backstage analyzing XML information, title, type, the initial value of taking-up variable.According to particular statement form (for example, String str=" test " statement form), generate the definition statement of variable.
In addition, in embodiments of the present invention, can pass through define symbol " $ ", output variable and this symbol of definition are bound, (for example, the JAVA) output variable of code passes to the next professional of operation flow as one section program in the combination of symbol and variable.This machine-processed implementation procedure is: at first set up the actual value database table of a variable, corresponding the current actual value of storage of variables.The name variable that newly-built variable of front end or selection have existed, title will add " $ " prefix, imports the backstage into through XML.Backstage analyzing XML file is when the variable that runs into " $ " beginning, then with the return results of this variable as method.
Step 103 compiles program file, under the situation that compiling is passed through, generates the program file after compiling.In addition, under the situation of compile error, prompting user program code compile mistake, and the source that points out faults.
Preferably, in embodiments of the present invention, logical code can be the JAVA code, and program file can be the JAVA file, and the program file after the compiling can be the CLASS file.
In sum; The embodiment of the invention is through providing a visual interface; The user (for example only needs loading routine; JAVA) Lei title; The output variable that binding needs; Write the logic that needs; The program that the automatic verified users of technical scheme of the embodiment of the invention is edited (for example; JAVA) whether code is correct, if compiling is not passed through, then can return error message and give the foreground; If it is correct then accomplish the definition of variable automatically; And the writing of output logic, generate corresponding program (for example, JAVA) file.
The technical scheme of the embodiment of the invention will make up with other modules in the operation flow; The common business function of accomplishing, variable will transmit between flow process, the circulation of guarantee information: receive input variable; After logical operation, return to the operation flow output variable.
Need to prove that in practical application, the embodiment of the invention depends on generation and the parsing of XML, that is, online JAVA code write the generation with the JAVA file, all be to transmit through the XML file.
To be example with JAVA below, technique scheme of the present invention will be elaborated.
According to the technical scheme of the embodiment of the invention, the method for online generation JAVA code may further comprise the steps:
The first step is obtained the variable of operation flow, and carries out the generation of defining variable code according to the initial value of type of variables and variable.
Second step, read the JAVA logical code that the user writes, directly be put into the variable back of definition.
The 3rd step, give the output variable of binding with the operation result assignment, generate the JAVA file, as a result of be put in the operation flow, supply other business modules to call.
The 4th step, through compiling, the JAVA code is carried out grammer, morphology verification, and the result is returned to user interface, revise with convenient.
The 5th step generated the CLASS file through the JAVA code that compiles, and the CLASS file is put into temporary folder, and standby service process invocation CLASS file is accomplished professional the calling of JAVA code.
Fig. 2 is the process flow diagram of the online generation JAVA code of the embodiment of the invention, as shown in Figure 2, comprises following processing:
Step 1, the user at first opens code generator, clicks flow process variable button, and newly-built variable is clicked confirming button after filling in name variable, type and initial value, has promptly accomplished the statement (foundation of variable or the input of variable) of variable.
Step 2, after the variable declarations, in JAVA code input frame, write the logical code of the major function that will realize type, write and accomplish back click confirming button.After the information on foreground is integrated into the file of XML form, imports the backstage into and resolve.
The order that step 3, backstage are resolved is, first defining variable, after fill in logical code, at last the result is saved in the output variable, completion logic the function that will realize.If verification is passed through, then generate the CLASS file, otherwise prompting user error place, treat that the user revises after, recompilate.
Fig. 3 is the process flow diagram that the JAVA file of the embodiment of the invention generates, and as shown in Figure 3, comprises following processing:
Step 1; The interface is with the code snippet of user's typing, the variable context (name variable of current business; The data type of a variable default value), the target variable title that will upgrade in the current business flow process (can have a plurality of), the current professional professional major key of JAVA code, the sign of JAVA code module of editing; Totally five servlet that send to the backstage; Wherein, Servlet is a kind of JAVA application program of server end.
Step 2, the processing logic of Servlet at first generates the JAVA file name.
Step 3, Servlet forms a JAVA file according to the target variable title that file name, logical statement, needs upgrade in internal memory.
Step 4, compiling JAVA file judges that whether compiling is passed through, if pass through, then generates the CLASS file, if compile error is then carried out error feedback to the user.
Fig. 4 is the process flow diagram of user's operation of the embodiment of the invention, as shown in Figure 4, comprises following processing:
Step 1, the user opens the JAVA generating apparatus.
Step 2, the user fills in variable according to prompting.
Step 3, the user writes code snippet at the code input frame.
Step 4 is preserved the CLASS file after generating.
In practical application, in the processing that the JAVA code generates, at first need set up edit page through html and JavaScript, accept the definition of name variable, type and initial value respectively through three input frames.Add the editor that text area is used for accepting the JAVA code snippet again.Generate the variable binding selector switch through auto complete, the variable that selection needs is as output.
After code snippet and variable editor completion; Create the XML node through the createElement method, with the information and the code snippet of variable, as the property value of XML file; The content integration of the page is become an XML file, import the XML file into backstage through ajax.
After importing the XML file into backstage; The class that can trigger the backstage this moment loads the function of verification and generation temporary file; If backstage compiling (checking) has been passed through; Then through the File operation; Generate the CLASS file; And the CLASS file is put under the temporary folder, the reaction on the interface is online generation java code success; If compiling is not passed through, i.e. checking is not passed through, and at this moment, extrapolates the former number of beginning that makes mistakes, and the number of going is fed back to the foreground with error message.
In when operation, search in a cache object according to professional major key at first whether the class loader that has generated, this cache object are arranged is in the process that code generator starts, be loaded into internal memory.If exist, then use the loader of buffer memory, if do not find, then newly-built one, and add buffer memory, use this loader to go to load expression formula CLASS class then.
Need to prove that the technical scheme of the embodiment of the invention can also independently be used as one, is to be the operation flow service incessantly.Can be used as one and independently use, help the user to break away from dependence translation and compiling environment.The user only needs defining variable, and writes logical code, and device can be integrated into code complete JAVA file.And the JAVA file compiled, if there is compile error.Error message is fed back to the user.If compiling through generate the CLASS file, supply the user to call.The user can use the CLASS file of generation, is applied to different scene.The embodiment of the invention can be used as the functional module of an encapsulation, realizes professional plug and play.
The technical scheme of the embodiment of the invention is compared with prior art all obtaining effective raising aspect applicability and the dirigibility, reached the effect of the range of application of activating business.
At first, procedure Development of Module instrument of the prior art all is by the service provider service that has write to be provided, and the user can only accept the use of module fully.The technical scheme of the embodiment of the invention can be given the user with the control of module, is that the user has more flexible way go to realize diversified demand.
Secondly, the embodiment of the invention can be used as one and independently uses, and helps the user to accomplish writing of JAVA code.Code compiling mode of the prior art needs the user to have editing machine, needs the user to write out complete code, thus the work that need much repeat.The embodiment of the invention can provide a visual programming mode for the user; The user only need fill in content corresponding according to the mode of the page, and code generator can generate complete JAVA file automatically for the user; And compile inspection, guarantee the correctness of code.
Device embodiment
According to embodiments of the invention; A kind of program file automatically generating device is provided; Fig. 5 is the structural representation of the program file automatically generating device of the embodiment of the invention; As shown in Figure 5; Program file automatically generating device according to the embodiment of the invention comprises: acquisition module 50, generation module 52 and collector 54, below each module of the embodiment of the invention is carried out detailed explanation.
Acquisition module 50 is used to obtain the variable information and the logical code of user's input; Preferably, variable information comprises: logical variable information and output variable information;
Acquisition module 50 specifically is used for: through patterned way, receive the variable information of user's input, according to specific format variable information is encapsulated, obtain the variable information after the encapsulation; Through patterned way, receive the logical code of user's input, according to specific format logical code is encapsulated, obtain the logical code after the encapsulation; Need to prove that above-mentioned specific format can be extend markup language (Extensible Markup Language abbreviates XML as) form.
Generation module 52 is used for generating the variable-definition statement according to variable information, and logical code and variable-definition statement is bound, and generates complete program file;
Generation module 52 specifically is used for: according to the logical variable information formation logic variable-definition statement after the encapsulation, generate the output variable definition statement according to the output variable information after the encapsulation, and output variable definition statement and predefined identifier number are bound; After logical code is arranged on the logical variable definition statement, and the operation result assignment of logical code given the output variable definition statement of number binding with predefined identifier; Need to prove, above-mentioned predefined identifier number can for:.
Generation module 52 specifically is used for: the logical variable information to after the encapsulation is resolved; Obtain logical variable title, logical variable type and logical variable initial value; According to logical variable title, logical variable type, logical variable initial value and predefined statement form, formation logic variable-definition statement; Output variable information to after the encapsulation is resolved; Obtain output variable title, output variable type and output variable initial value; According to output variable title, output variable type, output variable initial value and predefined statement form, generate the output variable definition statement;
Generation module 52 specifically is used for: according to the sign generator program file name of the professional major key and the logical code of the business that current logical code is edited; Generate complete program file according to logical code after program file title and the binding and variable-definition statement;
That is to say, can find out,, receive the name variable of user's input through patterned mode from above-mentioned processing, the choice variable type, and can be variable and do initialization operation.Be that user's generator program (for example, JAVA) in the process of file, at first is exactly to be the class definition variable according to the information of variable generating module, and obtains variable value on stream.In practical application, need set up the variable-definition interface, form by name variable, types of variables, three input frames of variable initial value.Input frame receives the variable information of user's input, and (for example, XML) imports information into backstage through specific format.Backstage analyzing XML information, title, type, the initial value of taking-up variable.According to particular statement form (for example, String str=" test " statement form), generate the definition statement of variable.
In addition, in embodiments of the present invention, can pass through define symbol " $ ", output variable and this symbol of definition are bound, (for example, the JAVA) output variable of code passes to the next professional of operation flow as one section program in the combination of symbol and variable.This machine-processed implementation procedure is: at first set up the actual value database table of a variable, corresponding the current actual value of storage of variables.The name variable that newly-built variable of front end or selection have existed, title will add " $ " prefix, imports the backstage into through XML.Backstage analyzing XML file is when the variable that runs into " $ " beginning, then with the return results of this variable as method.
Collector 54 is used for program file is compiled, and under the situation that compiling is passed through, generates the program file after compiling.
Collector 54 is further used for: under the situation of compile error, and prompting user program code compile mistake, and the source that points out faults.
Preferably, in embodiments of the present invention, logical code can be the JAVA code, and program file can be the JAVA file, and the program file after the compiling can be the CLASS file.
In sum; The embodiment of the invention is through providing a visual interface; The user (for example only needs loading routine; JAVA) Lei title; The output variable that binding needs; Write the logic that needs; The program that the automatic verified users of technical scheme of the embodiment of the invention is edited (for example; JAVA) whether code is correct, if compiling is not passed through, then can return error message and give the foreground; If it is correct then accomplish the definition of variable automatically; And the writing of output logic, generate corresponding program (for example, JAVA) file.
The technical scheme of the embodiment of the invention will make up with other modules in the operation flow; The common business function of accomplishing, variable will transmit between flow process, the circulation of guarantee information: receive input variable; After logical operation, return to the operation flow output variable.
Need to prove that in practical application, the embodiment of the invention depends on generation and the parsing of XML, that is, online JAVA code write the generation with the JAVA file, all be to transmit through the XML file.
In method embodiment, be example with JAVA, the technical scheme of the embodiment of the invention has been carried out detailed explanation, in embodiments of the present invention, can understand with reference to Fig. 2 to Fig. 4, repeat no more at this.
In sum; The embodiment of the invention is set up variable by the input according to the user; Binding variable; After program code is compiled; The program file that generation can directly be called; Solved the problem that simple application in the prior art can not have been satisfied more scene needs; The embodiment of the invention is given the user with the control of module; Make the user can use more flexible way to go to realize diversified demand; Can satisfy the professional user for the special screne demands of applications; Improve the applicability and the flexibility of using, reached the effect of the range of application of activating business.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to the foregoing description.

Claims (10)

1. a program file generates method automatically, it is characterized in that, comprising:
Obtain the variable information and the logical code of user's input;
Generate the variable-definition statement according to said variable information, and said logical code and said variable-definition statement are bound, generate complete program file;
Said program file is compiled, under the situation that compiling is passed through, generate the program file after compiling.
2. the method for claim 1 is characterized in that, the variable information and the logical code that obtain user's input specifically comprise:
Through patterned way, receive the variable information of user's input, according to specific format said variable information is encapsulated, obtain the said variable information after the encapsulation;
Through said patterned way, receive the logical code of user's input, according to specific format said logical code is encapsulated, obtain the said logical code after the encapsulation.
3. method as claimed in claim 2 is characterized in that, said variable information comprises: logical variable information and output variable information;
Generating the variable-definition statement according to said variable information specifically comprises:
According to the said logical variable information formation logic variable-definition statement after the encapsulation, generate the output variable definition statement according to the said output variable information after the encapsulation, and said output variable definition statement and predefined identifier number are bound.
4. method as claimed in claim 3 is characterized in that, according to the said logical variable information formation logic variable-definition statement after the encapsulation, generates the output variable definition statement according to the said output variable information after the encapsulation and specifically comprises:
Said logical variable information to after the encapsulation is resolved; Obtain logical variable title, logical variable type and logical variable initial value; According to said logical variable title, said logical variable type, said logical variable initial value and predefined statement form, generate said logical variable definition statement;
Said output variable information to after the encapsulation is resolved; Obtain output variable title, output variable type and output variable initial value; According to said output variable title, said output variable type, said output variable initial value and said predefined statement form, generate said output variable definition statement.
5. method as claimed in claim 3 is characterized in that, said logical code and said variable-definition statement is bound specifically comprise:
After said logical code is arranged on said logical variable definition statement, and the operation result assignment of said logical code given the output variable definition statement of number binding with said predefined identifier.
6. method as claimed in claim 5 is characterized in that, the complete program file of said generation specifically comprises:
Sign generator program file name according to the professional major key and the said logical code of the business that current logical code is edited;
Said logical code and said variable-definition statement according to after said program file title and the binding generate said complete program file.
7. the method for claim 1 is characterized in that, said method also comprises:
Under the situation of compile error, the said program code compile error of prompting user, and the source that points out faults.
8. like each described method in the claim 1 to 7, it is characterized in that said logical code is the JAVA code, said program file is the JAVA file, and the program file after the said compiling is the CLASS file.
9. a program file automatically generating device is characterized in that, comprising:
Acquisition module is used to obtain the variable information and the logical code of user's input;
Generation module is used for generating the variable-definition statement according to said variable information, and said logical code and said variable-definition statement is bound, and generates complete program file;
Collector is used for said program file is compiled, and under the situation that compiling is passed through, generates the program file after compiling.
10. device as claimed in claim 9 is characterized in that,
Said acquisition module specifically is used for: through patterned way, receive the variable information of user's input, according to specific format said variable information is encapsulated, obtain the said variable information after the encapsulation; Through said patterned way, receive the logical code of user's input, according to specific format said logical code is encapsulated, obtain the said logical code after the encapsulation, wherein, said variable information comprises: logical variable information and output variable information;
Said generation module specifically is used for: according to the said logical variable information formation logic variable-definition statement after the encapsulation; Generate the output variable definition statement according to the said output variable information after the encapsulation, and said output variable definition statement and predefined identifier number are bound; After said logical code is arranged on said logical variable definition statement, and the operation result assignment of said logical code given the output variable definition statement of number binding with said predefined identifier;
Said generation module specifically is used for: the said logical variable information to after the encapsulation is resolved; Obtain logical variable title, logical variable type and logical variable initial value; According to said logical variable title, said logical variable type, said logical variable initial value and predefined statement form, generate said logical variable definition statement; Said output variable information to after the encapsulation is resolved; Obtain output variable title, output variable type and output variable initial value; According to said output variable title, said output variable type, said output variable initial value and said predefined statement form, generate said output variable definition statement;
Said generation module specifically is used for: according to the sign generator program file name of the professional major key and the said logical code of the business that current logical code is edited; Said logical code and said variable-definition statement according to after said program file title and the binding generate said complete program file;
Said collector is further used for: under the situation of compile error, and the said program code compile error of prompting user, and the source that points out faults.
CN201110245443.3A 2011-08-25 2011-08-25 Program file automatic generation method and device Active CN102306102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110245443.3A CN102306102B (en) 2011-08-25 2011-08-25 Program file automatic generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110245443.3A CN102306102B (en) 2011-08-25 2011-08-25 Program file automatic generation method and device

Publications (2)

Publication Number Publication Date
CN102306102A true CN102306102A (en) 2012-01-04
CN102306102B CN102306102B (en) 2017-09-12

Family

ID=45379968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110245443.3A Active CN102306102B (en) 2011-08-25 2011-08-25 Program file automatic generation method and device

Country Status (1)

Country Link
CN (1) CN102306102B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707948A (en) * 2012-04-26 2012-10-03 华亚微电子(上海)有限公司 Source code generation method
CN103677819A (en) * 2013-12-05 2014-03-26 深圳中兴网信科技有限公司 Method and device for achieving code forward engineering based on OSGI
CN104461548A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Code fragment adding method and device
CN105068855A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method, server and system for compiling android package development files
CN105159669A (en) * 2015-08-13 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for orderly processing multiple Ajax data sources
CN105335153A (en) * 2015-10-12 2016-02-17 杭州古北电子科技有限公司 Dynamic script automatic-generating method
CN106681727A (en) * 2016-12-30 2017-05-17 苏州同元软控信息技术有限公司 Modelica external function graphical editing system and implementation method thereof
CN103870262B (en) * 2012-12-14 2017-06-06 北汽福田汽车股份有限公司 A kind of variable automatic generation method and device based on SHELL scripts
CN108710489A (en) * 2018-05-23 2018-10-26 中国平安人寿保险股份有限公司 Automate derivative scenario generation method, device, computer equipment
CN109863472A (en) * 2017-09-29 2019-06-07 韩华精密机械株式会社 Encoding method and program for robot control device, and robot control device
CN110543371A (en) * 2019-08-29 2019-12-06 张浩天 Method and device for remotely calling interface, electronic equipment and storage medium
CN111857679A (en) * 2019-04-29 2020-10-30 西门子(中国)有限公司 Method and device for generating script program and script program processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025686A (en) * 2007-03-22 2007-08-29 中兴通讯股份有限公司 Automation test system and test script generating and operating method
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
CN101339500A (en) * 2008-05-22 2009-01-07 清华大学 Data binding application program interface creation method based on XML mode
US20090083699A1 (en) * 2007-09-20 2009-03-26 Viswanathan Santhanam Reversible object code compiler for mathematical models
CN101436128A (en) * 2007-11-16 2009-05-20 北京邮电大学 Software test case automatic generating method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025686A (en) * 2007-03-22 2007-08-29 中兴通讯股份有限公司 Automation test system and test script generating and operating method
US20090083699A1 (en) * 2007-09-20 2009-03-26 Viswanathan Santhanam Reversible object code compiler for mathematical models
CN101436128A (en) * 2007-11-16 2009-05-20 北京邮电大学 Software test case automatic generating method and system
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
CN101339500A (en) * 2008-05-22 2009-01-07 清华大学 Data binding application program interface creation method based on XML mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱剑: "基于扩展调用图的软件开发集成环境", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
范秋生: "XML的代码生成器的设计与实现", 《长江大学学报》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707948B (en) * 2012-04-26 2014-11-26 华亚微电子(上海)有限公司 Source code generation method
CN102707948A (en) * 2012-04-26 2012-10-03 华亚微电子(上海)有限公司 Source code generation method
CN103870262B (en) * 2012-12-14 2017-06-06 北汽福田汽车股份有限公司 A kind of variable automatic generation method and device based on SHELL scripts
CN103677819A (en) * 2013-12-05 2014-03-26 深圳中兴网信科技有限公司 Method and device for achieving code forward engineering based on OSGI
CN103677819B (en) * 2013-12-05 2017-12-05 深圳中兴网信科技有限公司 The implementation method and realization device of code forward engineering based on OSGI
CN104461548A (en) * 2014-12-15 2015-03-25 北京国双科技有限公司 Code fragment adding method and device
CN104461548B (en) * 2014-12-15 2018-02-02 北京国双科技有限公司 The adding method and device of code snippet
CN105159669A (en) * 2015-08-13 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for orderly processing multiple Ajax data sources
CN105068855A (en) * 2015-08-19 2015-11-18 北京奇虎科技有限公司 Method, server and system for compiling android package development files
CN105335153A (en) * 2015-10-12 2016-02-17 杭州古北电子科技有限公司 Dynamic script automatic-generating method
CN106681727A (en) * 2016-12-30 2017-05-17 苏州同元软控信息技术有限公司 Modelica external function graphical editing system and implementation method thereof
CN109863472A (en) * 2017-09-29 2019-06-07 韩华精密机械株式会社 Encoding method and program for robot control device, and robot control device
CN108710489A (en) * 2018-05-23 2018-10-26 中国平安人寿保险股份有限公司 Automate derivative scenario generation method, device, computer equipment
CN111857679A (en) * 2019-04-29 2020-10-30 西门子(中国)有限公司 Method and device for generating script program and script program processing system
CN111857679B (en) * 2019-04-29 2024-03-15 西门子(中国)有限公司 Method and device for generating script program and script program processing system
CN110543371A (en) * 2019-08-29 2019-12-06 张浩天 Method and device for remotely calling interface, electronic equipment and storage medium
CN110543371B (en) * 2019-08-29 2023-11-17 张浩天 Method and device for remotely calling interface, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102306102B (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN102306102A (en) Method and device for automatically generating program file
CN110806863A (en) Interface document generation method and device, electronic equipment and storage medium
CN106293664A (en) Code generating method and device
CN105824787B (en) A kind of control method and system of html template dynamic configuration
CN107423061A (en) A kind of list generation method based on ISON data
CN108572819A (en) Method for updating pages, device, terminal and computer readable storage medium
CN103176778B (en) Web development methods and device
US20120011447A1 (en) Facilitating propagation of user interface patterns or themes
CN111158687B (en) Interface generation method and device of JAVA plugin, computer equipment and storage medium
CN104866298A (en) Flow chart based process business implementing method and device
CN106681698A (en) Dynamic list generating method and device
CN110109671B (en) Webpack label size and style conversion method and device
CN109445775A (en) One key activity inline code method, apparatus and computer readable storage medium
CN107526679A (en) Automated test frame, the automated testing method based on thereon, storage medium and computer equipment
CN111813393A (en) Application program development method and device
CN112084446A (en) Webpage editing method, editor, electronic equipment and readable storage medium
CN112087370A (en) Method, system, electronic device and computer-readable storage medium for issuing GitHub Issues
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
CN104378362A (en) Method and device for carrying out conversion of message interfaces
Ginzburg et al. Transparent interface composition in web applications
CN101561884B (en) Method and device for achieving script in variable data printing process
CN117075893A (en) Mobile terminal page generation method and system based on VUE
CN116595967A (en) Natural language rule writing method based on text and related device
CN114449063B (en) Message processing method, device and equipment
CN114527979A (en) Method and system for generating multi-end form interactive page

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