CN109101229A - A kind of code automatic generation method of object-oriented, device and equipment - Google Patents

A kind of code automatic generation method of object-oriented, device and equipment Download PDF

Info

Publication number
CN109101229A
CN109101229A CN201810836267.2A CN201810836267A CN109101229A CN 109101229 A CN109101229 A CN 109101229A CN 201810836267 A CN201810836267 A CN 201810836267A CN 109101229 A CN109101229 A CN 109101229A
Authority
CN
China
Prior art keywords
code
configuration information
configuration
cli command
order
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
Application number
CN201810836267.2A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810836267.2A priority Critical patent/CN109101229A/en
Publication of CN109101229A publication Critical patent/CN109101229A/en
Pending legal-status Critical Current

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/40Transformation of program code
    • G06F8/41Compilation

Landscapes

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

Abstract

The invention discloses a kind of code automatic generation method of object-oriented, device, equipment and computer readable storage mediums, wherein this method comprises: obtain order configuration file, the configuration information of each CLI command in order configuration file comprising calling in need;Code building template is obtained, code building template is to call the program code for needing each CLI command called, and the configuration information for each CLI command for needing to call in code building template is variable;Code compilation script is obtained and executes, CLI command is obtained and call code using corresponding variable in the configuration information replacement code building template of each CLI command in order configuration file.Code development workload is greatly reduced as a result, reduces code maintenance task amount, and bug incidence is lower.

Description

A kind of code automatic generation method of object-oriented, device and equipment
Technical field
The present invention relates to program development techniques fields, more specifically to a kind of Code automatic build of object-oriented Method, apparatus, equipment and computer readable storage medium.
Background technique
CLI (Command Line Interface) is a kind of user by using various order management linux systems Method.By calling different CLI commands, the management functions such as information inquiry, the business configuration to linux system may be implemented. Other than user, other applications (such as GUI (Graphical User Interface, graphical user's administration interface), REST API (a kind of interface that system administration is realized using HTTP request) etc.) it can also be by calling CLI command realization pair The management of linux system.
In the development scheme using object-oriented, the function of the application calls CLI command such as exploitation GUI, REST API In the case where, common technical solution needs to write the program code for realizing that CLI command calls manually by staff, is writing During above procedure code, need to develop command object, parameter object, output object and method corresponding with order Deng, whole development heavy workload, later period code maintenance difficulty is high, and bug incidence is higher.
In conclusion in big, generation in later period, is called the program of the function of CLI command there are development amounts in exploitation in the prior art Code maintenance difficulties are big, the higher problem of bug incidence.
Summary of the invention
The object of the present invention is to provide a kind of code automatic generation method of object-oriented, device, equipment and computers can Storage medium is read, program there are development amounts big, later period that the function of CLI command is called in exploitation in the prior art is able to solve Code maintenance difficulty is big, the higher problem of bug incidence.
To achieve the goals above, the invention provides the following technical scheme:
A kind of code automatic generation method of object-oriented, comprising:
Order configuration file is obtained, each CLI command comprising calling in need matches confidence in the order configuration file Breath;
Code building template is obtained, the code building template is to call the program code for needing each CLI command called, The configuration information for each CLI command for needing to call in the code building template is variable;
Code compilation script is obtained and executed, is replaced with the configuration information using each CLI command in the order configuration file Corresponding variable in the code building template is changed, CLI command is obtained and calls code.
Preferably, order configuration file is obtained, comprising:
Order configuration file is obtained, each CLI command comprising calling in need matches confidence in the order configuration file Breath, the configuration information of each CLI command include command type configuration, generation method configuration, input parameter configuration, filtering content Configuration and output content configuration.
Preferably, before acquisition order configuration file, further includes:
Receive configuration information modification instruction;Corresponding configuration information is added to institute based on configuration information modification instruction It states in order configuration file, or corresponding configuration information is configured by the order by text based on configuration information modification instruction It deletes in part, or the correspondence configuration information in the order configuration file is repaired based on configuration information modification instruction Change.
Preferably, obtain CLI command call code after, further includes:
CLI command calling code is exported to preset code tester module, in the code tester mould The test that code is called to the CLI command is completed in block.
A kind of code automatically generating device of object-oriented, comprising:
File acquisition module, is used for: obtaining order configuration file, includes calling in need in the order configuration file The configuration information of each CLI command;
Template obtain module, be used for: obtain code building template, the code building template be call needs call it is each The program code of CLI command, the configuration information for each CLI command for needing to call in the code building template are variable;
Code generation module is used for: code compilation script is obtained and executes, it is each in the order configuration file to utilize The configuration information of CLI command replaces corresponding variable in the code building template, obtains CLI command and calls code.
Preferably, file acquisition module includes:
File obtaining unit is used for: being obtained order configuration file, is included calling in need in the order configuration file The configuration information of each CLI command, the configuration information of each CLI command include command type configuration, generation method configuration, input Parameter configuration, the configuration of filtering content and output content configuration.
Preferably, further includes:
Information modified module, is used for: before obtaining order configuration file, receiving configuration information modification instruction;Based on described Corresponding configuration information is added into the order configuration file for configuration information modification instruction, or is based on the configuration information Modification instruction instructs corresponding configuration information by deleting in the order configuration file, or based on configuration information modification It modifies to the correspondence configuration information in the order configuration file.
Preferably, further includes:
Code output module, is used for: obtain CLI command call code after, by the CLI command calling code export to Preset code tester module, for the test for completing to call the CLI command code in the code tester module.
A kind of Code automatic build equipment of object-oriented, comprising:
Memory, for storing computer program;
Processor realizes that the code of the as above any one object-oriented is given birth to automatically when for executing the computer program The step of at method.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described The step of as above code automatic generation method of any one object-oriented is realized when computer program is executed by processor.
The present invention provides a kind of code automatic generation method of object-oriented, device, equipment and computer-readable storages Medium, wherein including each CLI of calling in need in the order configuration file this method comprises: obtain order configuration file The configuration information of order;Code building template is obtained, the code building template is to call the journey for needing each CLI command called Sequence code, the configuration information for each CLI command for needing to call in the code building template are variable;It obtains and executes code volume Script is translated, it is corresponding in the code building template to be replaced using the configuration information of each CLI command in the order configuration file Variable, obtain CLI command call code.In technical solution disclosed in the present application, by executing code compilation script, life is utilized Enable needed in configuration file call CLI command configuration information replacement code building template in dependent variable, to realize CLI Command calls code automatically generates.Wherein, mainly order configuration file is write, code building template is set for early development work Meter and code compilation script edit, without developing all command objects, parameter object, output object and command method Deng greatly reducing code development workload, improve development efficiency;The code maintenance task in later period mainly modifies order configuration Configuration information in file reduces code maintenance task amount;Also, it due to reducing a part of coding work, avoids compiling Code during introduce bug, thus reduce generation bug number namely bug incidence it is lower.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the code automatic generation method of object-oriented provided in an embodiment of the present invention;
Fig. 2 is a kind of realization schematic diagram of the code automatic generation method of object-oriented provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the code automatically generating device of object-oriented provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, it illustrates a kind of code automatic generation methods of object-oriented provided in an embodiment of the present invention Flow chart may include:
S11: order configuration file is obtained, each CLI command comprising calling in need matches confidence in order configuration file Breath.
It should be noted that in the mode using object-oriented, it is each for calling during CLI command is called in exploitation Object, method and the interface that a CLI command uses are similar, and the configuration information of the CLI command only called (may include name Claim, parameter and output content etc.) different characteristic, propose a kind of Code automatic build side of object-oriented disclosed in the present application Method.A kind of execution subject of the code automatic generation method of object-oriented provided in an embodiment of the present invention can be corresponding dress It sets, wherein order configuration file is that staff is pre-set, each comprising calling in need in the order configuration file The configuration information of CLI command, namely need which CLI command called, then the configuration information of the CLI command is added to order and is matched It sets in file.And the configuration information of CLI command is to need when realizing the calling of CLI command by being added into calling Relevant information in the code of CLI command, namely need to realize based on its configuration information when realizing the calling of CLI command.
S12: obtaining code building template, and code building template is to call the program code for needing each CLI command called, The configuration information for each CLI command for needing to call in code building template is variable.
Code building template can preset for staff, which can constrain the CLI life of generation Enable the format for calling code.Specifically, staff can write code building template according to program norm, and code is raw At template unlike the code for calling CLI command, the portion that should locate the configuration information of CLI command in code building template Point, namely the part that needs to replace in step s 13 write as variable (name variable named according to the actual situation, will not accidentally replace Changing other content is principle).Also, code building template can be one in the application, or it is multiple, but whether generation Code generate template quantity be it is how many, each code building template may correspond to the calling of multiple CLI commands, namely usual The next code building template of situation can be used for generating the corresponding calling code of multiple CLI commands.
S13: obtaining and executes code compilation script, is replaced with the configuration information using each CLI command in order configuration file Corresponding variable in code building template is changed, CLI command is obtained and calls code.
What code compilation script can be write in advance for staff, by executing the code compilation script, can parse Order configuration file therefrom gets the configuration information of each CLI command, and these configuration informations is successively replaced code building Corresponding variable in template so as to realize that CLI command calls automatically generating for code, and then calls generation based on CLI command Code realizes the calling of corresponding CLI command.
In technical solution disclosed in the present application, by executing code compilation script, using needing to call in order configuration file CLI command configuration information replacement code building template in dependent variable, thus realize CLI command call code it is automatic It generates.Wherein, early development work be mainly order configuration file write, code building stencil design and code compilation script It writes, without developing all command objects, parameter object, output object and command method etc., greatly reduces code and open Workload is sent out, development efficiency is improved;The code maintenance task in later period is mainly the configuration information modified in order configuration file, drop Low code maintenance task amount;Also, due to reducing a part of coding work, avoid introducing bug in an encoding process, thus Bug number namely the bug incidence for reducing generation are lower.
A kind of code automatic generation method of object-oriented provided in an embodiment of the present invention obtains order configuration file, can To include:
Order configuration file is obtained, the configuration information of each CLI command comprising calling in need in order configuration file, respectively The configuration information of CLI command includes command type configuration, generation method configures, input parameter configuration, filtering content configure and defeated Content configures out.
It should be noted that the configuration information for each CLI command for including in order configuration file in the application may include Command type configuration, generation method configuration, input parameter configuration, the configuration of filtering content and output content configuration, wherein generation side Method configuration and output content are configured to the part that must include, and are not limited to comprising above-mentioned five parts, specifically can root Additions and deletions are carried out according to exploitation demand to change.It can be realized in configuration information and code building template after the replacement of variable to ensure that, CLI command calling code can successfully realize the calling of corresponding CLI command.Above-mentioned five part is specifically described below:
Command type configuration: for defining the execution type of current CLI command, configuration information mainly executes type, Specific configuration information can change in situation progress additions and deletions according to the needs of practical application;And the execution type of CLI command includes looking into It askes and two classes of configuration, querying command is used for query information, the phase of operating system where configuration order is used to create, modify and delete Close information;
Generation method configuration: the method for defining the command object of CLI command, configuration information mainly include method name Claim, whether need the attributes such as parameter, specific configuration information can change in situation progress additions and deletions according to the needs of practical application;Citing Illustrate, method may include modifying to disk state, modifying to buffer status;
Input parameter configuration: for defining the parameter of the method for the command object of CLI command, configuration information mainly includes It is whether essential, whether value type (such as Integer, Float, String etc., if it is enumerating with parameter value, parameter value Type or value type, may include value range), specific configuration information can according to the needs of practical application situation into Row additions and deletions change;
Filtering content configuration: it for being filtered to the output result for calling CLI command to obtain, is obtained from output result Required designated result, whether configuration information mainly includes output field title, essential etc., and specific configuration information can root Situation progress additions and deletions are needed to change according to practical application;
Output content configuration: for configuring the output format for the output result for calling CLI command to obtain, configuration information master Display type (list type or the table to be supported including output header, the value type of the corresponding value of each title, each title Format), specific configuration information can change in situation progress additions and deletions according to the needs of practical application.
As it can be seen that by the attribute of each CLI command (command type, generation method etc.), the ginseng of each CLI command in the application Several each attributes (whether with the relation of interdependence etc. between parameter value, Parameter Value Type, parameter) and each CLI command Each attribute (output type, field and data type of each field etc.) of output pre-define in configuration file, To ensure that the configuration information based on CLI command realizes effective calling of corresponding CLI command.
A kind of code automatic generation method of object-oriented provided in an embodiment of the present invention, obtain order configuration file it Before, can also include:
Receive configuration information modification instruction;Corresponding configuration information is added to order based on configuration information modification instruction and is matched It sets in file, or is instructed corresponding configuration information based on configuration information modification by being deleted in order configuration file, Huo Zheji It modifies in configuration information modification instruction to the correspondence configuration information in order configuration file.
It should be noted that staff can whenever necessary at any time carry out the configuration information in order configuration file Modification specifically can be and modify what order was realized by configuration information.It is according to order configuration text since CLI command calls code What part automatically generated, therefore the configuration information of order configuration file can be carried out according to actual needs in the case that flexible additions and deletions change, So that the code scalability for automatically generating part is good.
A kind of code automatic generation method of object-oriented provided in an embodiment of the present invention obtains CLI command and calls code Later, can also include:
CLI command calling code is exported to preset code tester module, for being completed in code tester module The test of code is called to CLI command.
It should be noted that in order to guarantee that the CLI command automatically generated calls code that can effectively realize to CLI command It calls, therefore after generating CLI command and calling code, code can be called to export to preset code CLI command and surveyed Die trial block, which can be the module existing in the prior art that arbitrarily can be realized code tester, for work Make personnel and realize that calling code to realize CLI command tests, and can effectively be called using CLI command according to test result determination Code is not available the corresponding CLI command calling of CLI command calling code realization, and then ensure that CLI command calls generation The validity of code.
In addition, a kind of realization schematic diagram of the code automatic generation method of object-oriented provided in an embodiment of the present invention can be with As shown in Figure 2, wherein CLI command configuration is order configuration file, and compilation script is code compilation script, is used as a result, The order configuration file of predefined CLI command configuration information and the mode of code building template, object needed for realizing code, Method and interface automatically generate (namely CLI command calls automatically generating for code), avoid object, method and interface by A exploitation reduces code development workload, reduces code maintenance difficulty, reduces bug incidence, provides the generation compared with high scalability Code, and then improve development efficiency and product quality.And involved in the embodiment of the present application with to correspond to noun in the prior art general Identical noun and unspecified is read, in order to avoid excessively repeat.
The embodiment of the invention also provides a kind of code automatically generating devices of object-oriented, as shown in figure 3, can wrap It includes:
File acquisition module 11, is used for: obtaining order configuration file, includes each of calling in need in order configuration file The configuration information of CLI command;
Template obtain module 12, be used for: obtain code building template, code building template be call needs call it is each The program code of CLI command, the configuration information for each CLI command for needing to call in code building template are variable;
Code generation module 13, is used for: code compilation script is obtained and execute, to utilize each CLI in order configuration file Corresponding variable in the configuration information replacement code building template of order, obtains CLI command and calls code.
A kind of code automatically generating device of object-oriented provided in an embodiment of the present invention, file acquisition module can wrap It includes:
File obtaining unit is used for: being obtained order configuration file, is included each of calling in need in order configuration file The configuration information of CLI command, the configuration information of each CLI command includes command type configuration, generation method configures, input parameter is matched It sets, filter content configuration and output content configuration.
A kind of code automatically generating device of object-oriented provided in an embodiment of the present invention can also include:
Information modified module, is used for: before obtaining order configuration file, receiving configuration information modification instruction;Based on configuration Corresponding configuration information is added into order configuration file for information modification instruction, or will be right based on configuration information modification instruction The configuration information answered is instructed by deleting in order configuration file, or based on configuration information modification to pair in order configuration file Configuration information is answered to modify.
A kind of code automatically generating device of object-oriented provided in an embodiment of the present invention can also include:
Code output module, is used for: after obtaining CLI command calling code, CLI command calling code being exported to preparatory The code tester module of setting, for the test for completing to call CLI command code in code tester module.
The embodiment of the invention also provides a kind of Code automatic build equipment of object-oriented, may include:
Memory, for storing computer program;
Processor realizes the code automatic generation method of object-oriented any one of as above when for executing computer program Step.
The embodiment of the invention also provides a kind of computer readable storage medium, it is stored on computer readable storage medium Computer program realizes the code automatic generation method of object-oriented any one of as above when computer program is executed by processor Step.
It should be noted that a kind of code automatically generating device of object-oriented provided in an embodiment of the present invention, equipment and The explanation of relevant portion refers to a kind of code of object-oriented provided in an embodiment of the present invention in computer readable storage medium The detailed description of corresponding part in automatic generation method, details are not described herein.In addition above-mentioned technology provided in an embodiment of the present invention In scheme with correspond to the consistent part of technical solution realization principle and unspecified in the prior art, in order to avoid excessively repeat.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of code automatic generation method of object-oriented characterized by comprising
Order configuration file is obtained, the configuration information of each CLI command comprising calling in need in the order configuration file;
Code building template is obtained, the code building template is to call the program code for needing each CLI command called, described The configuration information for each CLI command for needing to call in code building template is variable;
Code compilation script is obtained and executes, to replace institute using the configuration information of each CLI command in the order configuration file Corresponding variable in code building template is stated, CLI command is obtained and calls code.
2. the method according to claim 1, wherein obtaining order configuration file, comprising:
Order configuration file is obtained, the configuration information of each CLI command comprising calling in need, institute in the order configuration file The configuration information for stating each CLI command includes command type configuration, generation method configuration, input parameter configuration, filtering content configuration And output content configuration.
3. according to the method described in claim 2, it is characterized in that, before obtaining order configuration file, further includes:
Receive configuration information modification instruction;Corresponding configuration information is added to the life based on configuration information modification instruction It enables in configuration file, or is instructed corresponding configuration information based on configuration information modification by the order configuration file It deletes, or is modified based on configuration information modification instruction to the correspondence configuration information in the order configuration file.
4. according to the method described in claim 3, it is characterized in that, after obtaining CLI command calling code, further includes:
CLI command calling code is exported to preset code tester module, in the code tester module Complete the test that code is called to the CLI command.
5. a kind of code automatically generating device of object-oriented characterized by comprising
File acquisition module, is used for: obtaining order configuration file, includes each of calling in need in the order configuration file The configuration information of CLI command;
Template obtains module, is used for: obtaining code building template, the code building template is to call each CLI for needing to call The program code of order, the configuration information for each CLI command for needing to call in the code building template are variable;
Code generation module is used for: code compilation script is obtained and execute, to order using CLI each in the order configuration file The configuration information of order replaces corresponding variable in the code building template, obtains CLI command and calls code.
6. device according to claim 5, which is characterized in that file acquisition module includes:
File obtaining unit is used for: being obtained order configuration file, is included each of calling in need in the order configuration file The configuration information of CLI command, the configuration information of each CLI command include command type configuration, generation method configuration, input ginseng Number configuration, the configuration of filtering content and output content configuration.
7. device according to claim 6, which is characterized in that further include:
Information modified module, is used for: before obtaining order configuration file, receiving configuration information modification instruction;Based on the configuration Corresponding configuration information is added into the order configuration file for information modification instruction, or is modified based on the configuration information Instruction instructs corresponding configuration information to institute by deleting in the order configuration file, or based on configuration information modification The correspondence configuration information stated in order configuration file is modified.
8. device according to claim 7, which is characterized in that further include:
Code output module, is used for: after obtaining CLI command calling code, CLI command calling code being exported to preparatory The code tester module of setting, for the test for completing to call the CLI command code in the code tester module.
9. a kind of Code automatic build equipment of object-oriented characterized by comprising
Memory, for storing computer program;
Processor realizes the code of the object-oriented as described in any one of Claims 1-4 when for executing the computer program The step of automatic generation method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the code of the object-oriented as described in any one of Claims 1-4 certainly when the computer program is executed by processor The step of dynamic generation method.
CN201810836267.2A 2018-07-26 2018-07-26 A kind of code automatic generation method of object-oriented, device and equipment Pending CN109101229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810836267.2A CN109101229A (en) 2018-07-26 2018-07-26 A kind of code automatic generation method of object-oriented, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810836267.2A CN109101229A (en) 2018-07-26 2018-07-26 A kind of code automatic generation method of object-oriented, device and equipment

Publications (1)

Publication Number Publication Date
CN109101229A true CN109101229A (en) 2018-12-28

Family

ID=64847801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810836267.2A Pending CN109101229A (en) 2018-07-26 2018-07-26 A kind of code automatic generation method of object-oriented, device and equipment

Country Status (1)

Country Link
CN (1) CN109101229A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104313A (en) * 2019-11-21 2020-05-05 苏州浪潮智能科技有限公司 Automatic testing method, system and equipment for REST API (representational State transfer) interface
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium
CN113641352A (en) * 2021-07-14 2021-11-12 苏州浪潮智能科技有限公司 Method and system for automatically generating SNMP code

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126981A (en) * 2007-09-28 2008-02-20 华为技术有限公司 Script order registration method, method and device for calling source program code
CN102156640A (en) * 2011-04-19 2011-08-17 山东浪潮金融信息系统有限公司 Method for generating data operation code
CN102761443A (en) * 2012-07-20 2012-10-31 中兴通讯股份有限公司 Collocation method and device of command lines
CN103135976A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Code automatic generation method and device
CN103473108A (en) * 2013-08-12 2013-12-25 福建富士通信息软件有限公司 Java code generating method
CN104317724A (en) * 2014-11-17 2015-01-28 上海斐讯数据通信技术有限公司 Code automation test method of CLI module under Linux platform
CN106873949A (en) * 2015-12-11 2017-06-20 泰康保险集团股份有限公司 Code generating method and its device
CN107357588A (en) * 2017-07-19 2017-11-17 万帮充电设备有限公司 Object Code Generator method and device
CN107562464A (en) * 2017-09-13 2018-01-09 郑州云海信息技术有限公司 A kind of call method of command line interface, device and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126981A (en) * 2007-09-28 2008-02-20 华为技术有限公司 Script order registration method, method and device for calling source program code
CN102156640A (en) * 2011-04-19 2011-08-17 山东浪潮金融信息系统有限公司 Method for generating data operation code
CN103135976A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Code automatic generation method and device
CN102761443A (en) * 2012-07-20 2012-10-31 中兴通讯股份有限公司 Collocation method and device of command lines
CN103473108A (en) * 2013-08-12 2013-12-25 福建富士通信息软件有限公司 Java code generating method
CN104317724A (en) * 2014-11-17 2015-01-28 上海斐讯数据通信技术有限公司 Code automation test method of CLI module under Linux platform
CN106873949A (en) * 2015-12-11 2017-06-20 泰康保险集团股份有限公司 Code generating method and its device
CN107357588A (en) * 2017-07-19 2017-11-17 万帮充电设备有限公司 Object Code Generator method and device
CN107562464A (en) * 2017-09-13 2018-01-09 郑州云海信息技术有限公司 A kind of call method of command line interface, device and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104313A (en) * 2019-11-21 2020-05-05 苏州浪潮智能科技有限公司 Automatic testing method, system and equipment for REST API (representational State transfer) interface
CN111104313B (en) * 2019-11-21 2024-04-02 苏州浪潮智能科技有限公司 Automatic test method, system and equipment for REST API (response interface)
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium
CN112068895B (en) * 2020-08-10 2023-12-19 深圳市鼎盛光电有限公司 Code configuration method, device, video playing equipment and storage medium
CN113641352A (en) * 2021-07-14 2021-11-12 苏州浪潮智能科技有限公司 Method and system for automatically generating SNMP code
CN113641352B (en) * 2021-07-14 2023-08-08 苏州浪潮智能科技有限公司 Method and system for automatically generating SNMP (simple network management protocol) codes

Similar Documents

Publication Publication Date Title
US9021440B1 (en) System and method for automated test script generation
CN105117233B (en) API Calls method and device
CN109542556B (en) Method and system for interaction between process and form based on Activiti
CN105045663B (en) The method and system of rapid deployment virtual machine
US20200359094A1 (en) Screen parameter configuration system
CN109101229A (en) A kind of code automatic generation method of object-oriented, device and equipment
CN104778124A (en) Automatic testing method for software application
CN108388622A (en) Api interface dynamic creation method, device, computer equipment and storage medium
CN108427697A (en) Assembled architecture data export method based on BIM and device
CN104731588B (en) Page layout document generating method and page layout file creating apparatus
WO2020186680A1 (en) Interface testing method based on modeling platform
CN113821565B (en) Method for synchronizing data by multiple data sources
WO2012088769A1 (en) Data filtering system and method
CN103309650A (en) Generating method and device of persistence layer codes
CN106407172B (en) A kind of report form generation method based on XML
CN102859489A (en) Resumable methods
WO2020259516A1 (en) Unit testing system and unit testing method
CN110347407A (en) A kind of method, apparatus, computer equipment and medium obtaining EMS memory occupation amount
CN109542438A (en) One kind being based on visual chart development approach
CN110532058B (en) Management method, device and equipment of container cluster service and readable storage medium
CN101136780A (en) Method, system to obtain user command information, and user command registered device
CN109783083A (en) WEB application development approach and its system
CN106990974A (en) A kind of APP applications update method, device and electronic equipment
CN109240932A (en) A kind of test method, device and the equipment of unified storage management software
CN109947435A (en) The dispositions method and system of server cluster software environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181228

RJ01 Rejection of invention patent application after publication