CN103631601A - Code generation method and code generation device - Google Patents
Code generation method and code generation device Download PDFInfo
- Publication number
- CN103631601A CN103631601A CN201310671433.5A CN201310671433A CN103631601A CN 103631601 A CN103631601 A CN 103631601A CN 201310671433 A CN201310671433 A CN 201310671433A CN 103631601 A CN103631601 A CN 103631601A
- Authority
- CN
- China
- Prior art keywords
- database
- code
- parameters
- class
- variables
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000004048 modification Effects 0.000 claims abstract description 13
- 238000012986 modification Methods 0.000 claims abstract description 13
- 238000012217 deletion Methods 0.000 claims description 10
- 230000037430 deletion Effects 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a code generation method and a code generation device. The code generation method comprises the following steps of determining a database to be visited and a database operation type; selecting an operation code which is corresponding to the database operation type from a pre-constructed code template; determining parameters of the database to be visited according to the database operation type; converting the parameters of the database to variables of an operation object, and utilizing the variables of the operation object to replace the corresponding variables in the operation code so as to obtain an executable software code under a software framework. By applying the technical scheme, different operations can be carried out on different databases so as to automatically generate the executable software codes which are corresponding to the operations, and the problem of complicated code modification caused by manual code modification of a software developer in the prior art is solved.
Description
Technical Field
The present invention relates to the field of information processing, and in particular, to a code generation method and apparatus.
Background
SQL (STRUCTURED QUERY LANGUAGE) is the most important relational database operation LANGUAGE, and is widely used because of its good portability, but the support of various databases on SQL is slightly different from the standard, and different database product developers need to extend the standard in order to achieve special performance or new characteristics, and there are currently 100 database products spread from microcomputers to mainframes.
At present, the operations of different database products on a database include four operations of adding, deleting, modifying and checking, in the same software project, the code modes of the four operations of adding, deleting, modifying and checking the database are basically the same for a software architecture, and the differences are only different operations to be realized and different databases to be accessed, so that a software developer can search and modify a code line to be modified on the basis of the existing executable software code of one operation, thereby generating an executable software code of another operation.
But an executable software code usually has millions of lines of code, and searching for the lines of code that need to be modified in these millions of lines requires a great deal of effort of a software developer, and missing a modification results in the generated executable software code not running and needs the software developer to search again.
Disclosure of Invention
The invention aims to provide a code generation method and a code generation device, which are used for solving the problem of complicated code modification in the prior art. The technical scheme is as follows:
the embodiment of the invention provides a code generation method, which comprises the following steps:
determining a database to be accessed and a database operation type;
selecting an operation code corresponding to the operation type of the database from a pre-constructed code template;
determining parameters of the database to be accessed according to the database operation type;
and converting the parameters of the database into variables of an operation object, and replacing the variables of the operation object with the corresponding variables in the operation codes to obtain executable software codes under a software architecture.
Preferably, converting the parameters of the database into variables of the operation object comprises:
reading the parameters of the database into a memory;
and traversing and analyzing the parameters of the database in the memory to obtain the variable of the operation object.
Preferably, the parameters of the database include: the database table name, the field type, the field name, the list field, the form field and the query field, and the parameters of the database are different when the operation types of the database are different.
Preferably, selecting an operation code corresponding to the database operation type from a pre-constructed code template includes: selecting an operation code corresponding to the operation type of the database from the OpenTools class;
converting the parameters of the database into variables of an operation object, and replacing the variables of the operation object with corresponding variables in the operation code to obtain an executable software code under a software architecture, wherein the executable software code comprises: splicing the ClassObject class and the operation code by a template to complete the replacement of the variable, wherein the ClassObject class is used for converting the service definition model of the parameters of the storage database into a classObject object of the ClassObject class;
calling a template concatenation result by a CodeMachine createFile method;
and calling createFile of the CodeMachine class by a main method of the OpenTools class to obtain executable software code.
Preferably, the database operation types include database addition, database deletion, database modification and database query.
An embodiment of the present invention further provides a code generating apparatus, including:
the type determining unit is used for determining the database to be accessed and the operation type of the database;
the selection unit is used for selecting an operation code corresponding to the operation type of the database from a pre-constructed code template;
the parameter determining unit is used for determining the parameters of the database to be accessed according to the operation type of the database;
and the code generation unit is used for converting the parameters of the database into variables of the operation object and replacing the variables of the operation object with the corresponding variables in the operation code to obtain the executable software code under the software architecture.
Preferably, the code generation unit is specifically configured to read the parameters of the database into an internal memory, and perform traversal analysis on the parameters of the database in the internal memory to obtain the variables of the operation object.
Preferably, the parameters of the database include: the database table name, the field type, the field name, the list field, the form field and the query field, and the parameters of the database are different when the operation types of the database are different.
Preferably, the selecting unit is specifically configured to: selecting an operation code corresponding to the operation type of the database from the OpenTools class;
the code generation unit is specifically configured to: and splicing the ClassObject class and the operation code by using a template to complete the replacement of the variable, calling a template splicing result by using a template file method of the CodeMachine class, calling a template file of the CodeMachine class by using a mail method of the OpenTools class to obtain an executable software code, wherein the ClassObject class is used for converting a service definition model for storing parameters of the database into a classObject object of the ClassObject class.
Preferably, the database operation types include database addition, database deletion, database modification and database query.
Compared with the prior art, the invention has the following advantages:
when a certain operation is performed on a database, after the database to be accessed and the database operation type are determined, the code generation method provided by the embodiment of the invention can select an operation code corresponding to the database operation type from the pre-constructed code template, and determine the parameter of the database to be accessed according to the database operation type. And then, after the parameters of the database are converted into the variables of the operation objects, the corresponding variables in the operation codes are replaced by the parameters to obtain executable software codes under a software architecture, so that the executable software codes of corresponding operations are automatically generated for different operations of different databases, and the problem of complicated code modification caused by the fact that software developers need to modify the codes manually in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flow chart of a method for generating code according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a human-machine interface provided by an implementation of the present invention;
FIG. 3 is a class relationship diagram of a code generation method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a code generation method provided by an embodiment of the invention;
fig. 5 is a schematic structural diagram of a code generation apparatus according to an embodiment of the present invention.
Detailed Description
First, a code generation method provided by an embodiment of the present invention is briefly described, where the flow of the code generation method is as follows:
determining a database to be accessed and a database operation type;
selecting an operation code corresponding to the operation type of the database from a pre-constructed code template;
determining parameters of the database to be accessed according to the database operation type;
and converting the parameters of the database into variables of an operation object, and replacing the variables of the operation object with the corresponding variables in the operation codes to obtain executable software codes under a software architecture.
When a certain operation is executed on a certain database, the technical scheme can be used for automatically generating the executable software code of the corresponding operation, and the problem that in the prior art, code modification is complicated due to the fact that a software developer needs to modify the code manually is solved.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a code generation method according to an embodiment of the present invention is shown, where the method includes the following steps:
step 101: the database to be accessed and the type of database operation are determined.
The database to be accessed is a database which needs to be operated currently, and the operation on the database comprises the following steps: the database operation type can also include four operation types, namely, database addition, database deletion, database modification and database query.
In order to facilitate the operation of the database, a human-computer interface may be provided for a user, the database to be accessed and the database operation type are displayed in the human-computer interface shown in fig. 2, and when a certain database and the corresponding database operation type are selected, the selected database and database operation type are the database to be accessed and the database operation type. Of course, the database to be accessed and the operation type of the database in the human-computer interaction interface can also be manually input by a user, and the embodiment of the invention is not explained in detail.
In addition, when the electronic device constructs each database, the database can be associated with a certain functional module in the electronic device, and the functional module integrates the code generation method provided by the embodiment of the invention. When any one database executes any one of the four operations, the information of the database and the executed operation are sent to the function module, and the function module determines the database to be accessed currently and the operation type of the database.
Step 102: and selecting an operation code corresponding to the operation type of the database from a pre-constructed code template.
It can be understood that: the operation codes corresponding to the operation types of the database are written in the pre-constructed code template, and the operation codes can be used as a basic class to execute certain operations of the database. In the embodiment of the present invention, OpenTools is a code generation base class, which can generate the base classes, i.e., operation codes, corresponding to the above four operations. When the database operation type is determined, a corresponding operation code may be selected from OpenTools. For example, when the type of the database operation is database deletion, the operation code for the database deletion may be executed from OpenTools.
Step 103: and determining parameters of the database to be accessed according to the operation type of the database.
In an embodiment of the present invention, the parameters of the database include: database table names, field types, field names, list fields, form fields, and query fields, and the parameters of the database that are determined when the types of database operations are different. For example, when performing a database query operation, the query field may include which items to query, while when performing a database add operation, the query field may be empty.
It can be understood that: the database table refers to a data storage unit for storing data, the list is a data list which is taken out from the database table and is shown to a user, usually, the content shown by one list is a plurality of rows of records in one database table, and the form is shown by one row of records taken out from the database table. The database table names in turn represent the table names of the accessed database and the fields of the table being operated on, and the list fields and form fields represent the contents of the fields included in the generated executable software code.
The query field represents the content to be queried, and since the list field, the form field and the query field are taken from the same database table, the query field corresponds to the list field and the form field one to one, that is, if the query field includes a field of "unit name", the form field and the list field must have the field. And the field type and field name are used to identify what type of representation the database table name, list field, form field, and query field are represented by and what their specific names are.
Step 104: and converting the parameters of the database into variables of the operation object, and replacing the variables of the operation object with corresponding variables in the operation codes to obtain executable software codes under the software architecture.
When the parameters of the database are converted into the variables of the operation objects, the parameters of the database are read into the memory to accelerate the conversion speed. And then, traversing and analyzing the parameters of the database in the memory to obtain the variables of the operation object. The specific process is as follows: the parameters of the database are stored in the service definition model, the service definition model is firstly read into the memory for analysis through the following codes,
SAXReader reader=new SAXReader();
Document document=reader.read(new File(filePath));
the filePath is a character string composed of a storage path and a file name of the service definition model, and the Document is a tree object structure object for converting the service definition model into a memory.
And converting the service definition model into a classObject object of the classObject class to obtain member variables of the classObject object. The transcoding is as follows:
class object, setTableName (document, getTootElement ()), obtaining configuration table name in service model
class object, setClassName (document, getTootElement ()), AttributeValue (class name);/get class name in business model)
class object, set IdMethod ('aggregate')
class object, set ChineseValue (document, getTootElement ()), obtaining Chinese meaning in business model
class object, set JavaPath ('JAVA Path'), and/or obtaining JAVA code generation path in service model
class object, setJspPath (document, gettools element ()), attribute value (jsspPath);/get JSP code generation path in service model
class object, setAuuthor (), obtaining author information in business model
setTime (new Date ())/get the current time
List < Column > List = new ArrayList < Column > ()/defining a linked List object
List < String > uuids = new ArrayList < String > ()/defining a linked List object
Column definition object for encapsulating table field information in a business model
for(Iterator<?>elementSET=document.getRootElement().elementIterator();elementSET.hasNext();){
column=new Column();
Element element=(Element)elementSET.next();
column, setname (element, attribute value);/get field name; (name))
setPrimaryKey (newBoolean (element. attribute value))), and whether the// field is a primary key
column, setObjectName (element. attribute value);/get member variable name; (element. attribute. ExjectName))
Traffic, setChineseValue (element. attributeValue);/get the business meaning of the field)
column, setRequested (new Boolean value);/whether the derived field is a mandatory value
column, settype (element, attribute value (type)),/get field type
column, setJspType (element, attribute value);/get defined presentation page control type; (jspType);)
Set size (new Integer value (size)),/get inputtable length defining the presentation page)
Set SearchObject (newBoolean (element. attribute value)))),/whether the get field defines a query term
column, setstyle (element, attribute value), type of member variable is obtained
Set InsertObject (newBoolean (element. attribute value))))/whether the field is derived defines a new entry for the new entry
Setupdateobject (newBoolean) (element. attribute value (updateObject)),/whether get field defines the update entry or not
column, setQueryObject (newBoolean (element. attribute value))),/get whether field is list definition
column, setdetailobject (newBoolean, attribute value), whether the get field defines a detail page item or not
list.add(column);
}
classObject.setCols(list);
Finally, the classObject object obtained after conversion is spliced with the operation code through a template, the result of template splicing is called by a codeMachine class createFile method, and then the codeMachine class createFile is called by an OpenTools class main method to obtain an executable software code.
In the code generation process, the code generates the relationship diagrams of the required types as shown in fig. 3, wherein the pojo class is the class of classObject, the parameters of the database to be accessed are converted into member variables in the class of classObject, then the class of ClassObject obtained after conversion is spliced with the operation codes through a template, the replacement of the variables is completed, the splicing result of the template is called by the template file of the codec class, and then the template file of the codec class is called by the mail method of the OpenTools class, so as to obtain the executable software code.
The corresponding schematic diagram is shown in fig. 4, and may include: the system comprises a code template, a service definition template, a code machine, codes and configuration, data source definition configuration and a code running environment. The code template is a set of operation code templates which are constructed according to different software architectures and are used for adding, deleting, modifying and searching the database; the business definition model can define business operation models according to different business requirements, wherein the business operation models comprise the name of an operated database table, the type of a field, the name of the field, the field of a list, the field of a form and a query field; the code machine generates executable software codes by analyzing the code template and the service definition model; the code and the configuration are the products of a code machine, namely, the software engineering code and the code configuration information which are suitable for the software architecture; the data source definition configuration is basic data of the whole software project and can define configuration information accessed to a plurality of databases; the code execution environment is a code execution environment of a software architecture.
By applying the technical scheme, when a certain operation is executed on the database, after the database to be accessed and the operation type of the database are determined, the operation code corresponding to the operation type of the database can be selected from the pre-constructed code template, and the parameter of the database to be accessed is determined according to the operation type of the database. And then, after the parameters of the database are converted into the variables of the operation objects, the corresponding variables in the operation codes are replaced by the parameters to obtain executable software codes under a software architecture, so that the executable software codes of corresponding operations are automatically generated for different operations of different databases, and the problem of complicated code modification caused by the fact that software developers need to modify the codes manually in the prior art is solved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a code generating apparatus, a schematic structural diagram of which is shown in fig. 5, and the code generating apparatus may include: a type determining unit 11, an extracting unit 12, a parameter determining unit 13, and a code generating unit 14. Wherein,
and the type determining unit 11 is used for determining the database to be accessed and the operation type of the database. The database to be accessed is a database which needs to be operated currently, and the operation on the database comprises the following steps: the database operation type can also include four operation types, namely, database addition, database deletion, database modification and database query.
And the selecting unit 12 is used for selecting an operation code corresponding to the database operation type from the pre-constructed code template.
It can be understood that: the operation codes corresponding to the operation types of the database are written in the pre-constructed code template, and the operation codes can be used as a basic class to execute certain operations of the database. In the embodiment of the present invention, OpenTools is a code generation base class, which can generate the base classes, i.e., operation codes, corresponding to the above four operations. When the database operation type is determined, a corresponding operation code may be selected from OpenTools. For example, when the type of the database operation is database deletion, the operation code for the database deletion may be executed from OpenTools.
And the parameter determining unit 13 is used for determining the parameters of the database to be accessed according to the operation type of the database.
In an embodiment of the present invention, the parameters of the database include: database table names, field types, field names, list fields, form fields, and query fields, and the parameters of the database that are determined when the types of database operations are different. For example, when performing a database query operation, the query field may include which items to query, while when performing a database add operation, the query field may be empty.
The database table refers to a data storage unit for storing data, the list is a data list which is taken out from the database table and is shown to a user, usually, the content shown by one list is a plurality of rows of records in one database table, and the form is shown by one row of records taken out from the database table. The database table names in turn represent the table names of the accessed database and the fields of the table being operated on, and the list fields and form fields represent the contents of the fields included in the generated executable software code.
The query field represents the content to be queried, and since the list field, the form field and the query field are taken from the same database table, the query field corresponds to the list field and the form field one to one, that is, if the query field includes a field of "unit name", the form field and the list field must have the field. And the field type and field name are used to identify what type of representation the database table name, list field, form field, and query field are represented by and what their specific names are.
And the code generation unit 14 is configured to convert the parameters of the database into variables of the operation object, and replace the variables of the operation object with corresponding variables in the operation code to obtain an executable software code under the software architecture. The operation can be as follows: the code generation unit 14 reads the parameters of the database into the memory, and performs traversal analysis on the parameters of the database in the memory to obtain the variables of the operation object.
The process can be realized by reading a service definition model into an internal memory for analysis by a reader in an SAXReader class and a Document in a Document class, converting the service definition model into a classObject object of a classObject class, splicing the classObject object and an operation code through a template by using a template splicing method to finish the replacement of variables, calling a template splicing result by using a template file method of a codec class, and calling a template file of the codec class by using a mail method of an OpenTools class to obtain an executable software code.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
The above detailed description is provided for a code generation method and apparatus provided by the present invention, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A code generation method, comprising:
determining a database to be accessed and a database operation type;
selecting an operation code corresponding to the operation type of the database from a pre-constructed code template;
determining parameters of the database to be accessed according to the database operation type;
and converting the parameters of the database into variables of an operation object, and replacing the variables of the operation object with the corresponding variables in the operation codes to obtain executable software codes under a software architecture.
2. The method of claim 1, wherein converting the parameters of the database into variables of the operation object comprises:
reading the parameters of the database into a memory;
and traversing and analyzing the parameters of the database in the memory to obtain the variable of the operation object.
3. The method of claim 2, wherein the parameters of the database comprise: the database table name, the field type, the field name, the list field, the form field and the query field, and the parameters of the database are different when the operation types of the database are different.
4. The method of claim 3, wherein selecting an operation code corresponding to the database operation type from a pre-built code template comprises: selecting an operation code corresponding to the operation type of the database from the OpenTools class;
converting the parameters of the database into variables of an operation object, and replacing the variables of the operation object with corresponding variables in the operation code to obtain an executable software code under a software architecture, wherein the executable software code comprises: splicing the ClassObject class and the operation code by a template to complete the replacement of the variable, wherein the ClassObject class is used for converting the service definition model of the parameters of the storage database into a classObject object of the ClassObject class;
calling a template concatenation result by a CodeMachine createFile method;
and calling createFile of the CodeMachine class by a main method of the OpenTools class to obtain executable software code.
5. The method of any one of claims 1 to 4, wherein the database operation types include database addition, database deletion, database modification, and database query.
6. A code generation apparatus, comprising:
the type determining unit is used for determining the database to be accessed and the operation type of the database;
the selection unit is used for selecting an operation code corresponding to the operation type of the database from a pre-constructed code template;
the parameter determining unit is used for determining the parameters of the database to be accessed according to the operation type of the database;
and the code generation unit is used for converting the parameters of the database into variables of the operation object and replacing the variables of the operation object with the corresponding variables in the operation code to obtain the executable software code under the software architecture.
7. The apparatus according to claim 6, wherein the code generation unit is specifically configured to read parameters of the database into a memory, and perform traversal analysis on the parameters of the database in the memory to obtain the variables of the operation object.
8. The apparatus of claim 7, wherein the parameters of the database comprise: the database table name, the field type, the field name, the list field, the form field and the query field, and the parameters of the database are different when the operation types of the database are different.
9. The apparatus according to claim 8, wherein the selecting unit is specifically configured to: selecting an operation code corresponding to the operation type of the database from the OpenTools class;
the code generation unit is specifically configured to: and splicing the ClassObject class and the operation code by using a template to complete the replacement of the variable, calling a template splicing result by using a template file method of the CodeMachine class, calling a template file of the CodeMachine class by using a mail method of the OpenTools class to obtain an executable software code, wherein the ClassObject class is used for converting a service definition model for storing parameters of the database into a classObject object of the ClassObject class.
10. The apparatus of any one of claims 6 to 9, wherein the database operation types include database addition, database deletion, database modification, and database query.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671433.5A CN103631601A (en) | 2013-12-10 | 2013-12-10 | Code generation method and code generation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310671433.5A CN103631601A (en) | 2013-12-10 | 2013-12-10 | Code generation method and code generation device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103631601A true CN103631601A (en) | 2014-03-12 |
Family
ID=50212699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310671433.5A Pending CN103631601A (en) | 2013-12-10 | 2013-12-10 | Code generation method and code generation device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103631601A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063232A (en) * | 2014-07-21 | 2014-09-24 | 佛山市恒南微科技有限公司 | Rapid system development method based on utilization of database parameters |
CN104636471A (en) * | 2015-02-12 | 2015-05-20 | 中国农业银行股份有限公司 | Procedure code finding method and device |
CN105354036A (en) * | 2015-11-26 | 2016-02-24 | 深圳市金证科技股份有限公司 | Database operation code generating method and apparatus |
CN105893445A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Data processing method, server and terminal device |
CN105988792A (en) * | 2015-02-11 | 2016-10-05 | 国核(北京)科学技术研究院有限公司 | Nuclear power software development automation system and method |
CN106126224A (en) * | 2016-06-21 | 2016-11-16 | 浪潮软件集团有限公司 | Tool, system and method for generating program object |
CN106469064A (en) * | 2016-09-04 | 2017-03-01 | 深圳市云智易联科技有限公司 | Code generating method and code generating unit |
CN106484427A (en) * | 2016-10-21 | 2017-03-08 | 福建中金在线信息科技有限公司 | A kind of generation method of code file and device |
CN106528165A (en) * | 2016-11-11 | 2017-03-22 | 深圳中兴网信科技有限公司 | Code generation method and code generation system |
CN106843822A (en) * | 2015-12-07 | 2017-06-13 | 阿里巴巴集团控股有限公司 | One kind performs code generating method and equipment |
CN107103007A (en) * | 2016-02-23 | 2017-08-29 | 阿里巴巴集团控股有限公司 | A kind of SQL code conversion method and device |
CN107943466A (en) * | 2016-10-13 | 2018-04-20 | 腾讯科技(深圳)有限公司 | Database access statement generation method, device and equipment |
CN105354073B (en) * | 2015-10-27 | 2018-11-06 | 中通服公众信息产业股份有限公司 | A kind of stand-alone application networking method based on android system and system |
CN109491649A (en) * | 2018-11-20 | 2019-03-19 | 北京千丁互联科技有限公司 | Dao code generating method and terminal |
CN109739493A (en) * | 2019-01-18 | 2019-05-10 | 宜创(北京)科技有限公司 | Generation method, device, electronic equipment and the storage medium of data base manipulation statement |
CN110019146A (en) * | 2018-06-26 | 2019-07-16 | 珠海宏桥高科技有限公司 | A kind of implementation method and device of list table maintenance function |
CN111367938A (en) * | 2020-03-04 | 2020-07-03 | 海南金盘智能科技股份有限公司 | Database instruction generation method and device and computer storage medium |
CN112286907A (en) * | 2020-10-26 | 2021-01-29 | 中信百信银行股份有限公司 | Database configuration method and device, electronic equipment and readable storage medium |
CN112463135A (en) * | 2020-12-11 | 2021-03-09 | 中国人寿保险股份有限公司 | Code generation method, code generator, electronic device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070244852A1 (en) * | 2006-04-06 | 2007-10-18 | Giulio Domenico D | Database query processing method and system |
CN101196926A (en) * | 2007-12-29 | 2008-06-11 | 中国建设银行股份有限公司 | Database access platform and access method thereof |
CN101645074A (en) * | 2009-09-07 | 2010-02-10 | 浪潮集团山东通用软件有限公司 | Method for accessing relational databases of different types |
CN102111282A (en) * | 2009-12-24 | 2011-06-29 | 上海杉达学院 | Information management system architecture based on telecommunication service (TS) and building method thereof |
-
2013
- 2013-12-10 CN CN201310671433.5A patent/CN103631601A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070244852A1 (en) * | 2006-04-06 | 2007-10-18 | Giulio Domenico D | Database query processing method and system |
CN101196926A (en) * | 2007-12-29 | 2008-06-11 | 中国建设银行股份有限公司 | Database access platform and access method thereof |
CN101645074A (en) * | 2009-09-07 | 2010-02-10 | 浪潮集团山东通用软件有限公司 | Method for accessing relational databases of different types |
CN102111282A (en) * | 2009-12-24 | 2011-06-29 | 上海杉达学院 | Information management system architecture based on telecommunication service (TS) and building method thereof |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063232B (en) * | 2014-07-21 | 2016-05-25 | 佛山市恒南微科技有限公司 | A kind of method of the system development utilizing based on database parameter |
CN104063232A (en) * | 2014-07-21 | 2014-09-24 | 佛山市恒南微科技有限公司 | Rapid system development method based on utilization of database parameters |
CN105988792A (en) * | 2015-02-11 | 2016-10-05 | 国核(北京)科学技术研究院有限公司 | Nuclear power software development automation system and method |
CN104636471A (en) * | 2015-02-12 | 2015-05-20 | 中国农业银行股份有限公司 | Procedure code finding method and device |
CN105354073B (en) * | 2015-10-27 | 2018-11-06 | 中通服公众信息产业股份有限公司 | A kind of stand-alone application networking method based on android system and system |
CN105354036B (en) * | 2015-11-26 | 2019-02-01 | 深圳市金证科技股份有限公司 | Database manipulation code generating method and device |
CN105354036A (en) * | 2015-11-26 | 2016-02-24 | 深圳市金证科技股份有限公司 | Database operation code generating method and apparatus |
CN106843822B (en) * | 2015-12-07 | 2020-07-31 | 阿里巴巴集团控股有限公司 | Execution code generation method and equipment |
CN106843822A (en) * | 2015-12-07 | 2017-06-13 | 阿里巴巴集团控股有限公司 | One kind performs code generating method and equipment |
CN105893445A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Data processing method, server and terminal device |
CN107103007B (en) * | 2016-02-23 | 2020-09-15 | 菜鸟智能物流控股有限公司 | SQL code conversion method and device |
CN107103007A (en) * | 2016-02-23 | 2017-08-29 | 阿里巴巴集团控股有限公司 | A kind of SQL code conversion method and device |
CN106126224A (en) * | 2016-06-21 | 2016-11-16 | 浪潮软件集团有限公司 | Tool, system and method for generating program object |
CN106469064A (en) * | 2016-09-04 | 2017-03-01 | 深圳市云智易联科技有限公司 | Code generating method and code generating unit |
CN107943466A (en) * | 2016-10-13 | 2018-04-20 | 腾讯科技(深圳)有限公司 | Database access statement generation method, device and equipment |
CN107943466B (en) * | 2016-10-13 | 2021-06-01 | 腾讯科技(深圳)有限公司 | Database access statement generation method, device and equipment |
CN106484427A (en) * | 2016-10-21 | 2017-03-08 | 福建中金在线信息科技有限公司 | A kind of generation method of code file and device |
CN106528165B (en) * | 2016-11-11 | 2019-10-08 | 深圳中兴网信科技有限公司 | Code generating method and code generating system |
CN106528165A (en) * | 2016-11-11 | 2017-03-22 | 深圳中兴网信科技有限公司 | Code generation method and code generation system |
CN110019146A (en) * | 2018-06-26 | 2019-07-16 | 珠海宏桥高科技有限公司 | A kind of implementation method and device of list table maintenance function |
CN109491649A (en) * | 2018-11-20 | 2019-03-19 | 北京千丁互联科技有限公司 | Dao code generating method and terminal |
CN109739493A (en) * | 2019-01-18 | 2019-05-10 | 宜创(北京)科技有限公司 | Generation method, device, electronic equipment and the storage medium of data base manipulation statement |
CN111367938A (en) * | 2020-03-04 | 2020-07-03 | 海南金盘智能科技股份有限公司 | Database instruction generation method and device and computer storage medium |
CN111367938B (en) * | 2020-03-04 | 2023-06-20 | 海南金盘智能科技股份有限公司 | Database instruction generation method and device and computer storage medium |
CN112286907A (en) * | 2020-10-26 | 2021-01-29 | 中信百信银行股份有限公司 | Database configuration method and device, electronic equipment and readable storage medium |
CN112463135A (en) * | 2020-12-11 | 2021-03-09 | 中国人寿保险股份有限公司 | Code generation method, code generator, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103631601A (en) | Code generation method and code generation device | |
US10606573B2 (en) | System and method for computer language migration using a re-architecture tool for decomposing a legacy system and recomposing a modernized system | |
US10162610B2 (en) | Method and apparatus for migration of application source code | |
Robbes et al. | How program history can improve code completion | |
US9298453B2 (en) | Source code analytics platform using program analysis and information retrieval | |
CN108762743B (en) | Data table operation code generation method and device | |
CN105528418B (en) | A kind of design documentation generation method and device | |
CN111813798B (en) | Mapping method, device, equipment and storage medium based on R2RML standard | |
CN107315764B (en) | Method and system for updating non-relational database associated data | |
CN103309806B (en) | The device and method of a kind of quick development and testing | |
CN109710220B (en) | Relational database query method, relational database query device, relational database query equipment and storage medium | |
CN106648587A (en) | Annotation-based Web application code generation method | |
CN106951231B (en) | Computer software development method and device | |
CN111124379B (en) | Page generation method and device, electronic equipment and storage medium | |
CN101667171A (en) | Method for generating report and report generating device | |
CN113961183B (en) | Visual programming method, device, equipment and storage medium | |
CN113297251A (en) | Multi-source data retrieval method, device, equipment and storage medium | |
CN112463135A (en) | Code generation method, code generator, electronic device, and storage medium | |
CN113434533A (en) | Data tracing tool construction method, data processing method, device and equipment | |
Gómez et al. | An approach to the co-creation of models and metamodels in Enterprise Architecture Projects. | |
Decker et al. | A tool for efficiently reverse engineering accurate UML class diagrams | |
Jahanbin et al. | Intelligent run-time partitioning of low-code system models | |
CN111125216B (en) | Method and device for importing data into Phoenix | |
CN111008011A (en) | System builder for power platform application development | |
CN113342399A (en) | Application structure configuration method and device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140312 |
|
RJ01 | Rejection of invention patent application after publication |