CN109597618B - Program development method, program development device, computer device, and storage medium - Google Patents

Program development method, program development device, computer device, and storage medium Download PDF

Info

Publication number
CN109597618B
CN109597618B CN201811302706.8A CN201811302706A CN109597618B CN 109597618 B CN109597618 B CN 109597618B CN 201811302706 A CN201811302706 A CN 201811302706A CN 109597618 B CN109597618 B CN 109597618B
Authority
CN
China
Prior art keywords
script
program
language
original program
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811302706.8A
Other languages
Chinese (zh)
Other versions
CN109597618A (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.)
Shenzhen Weixun Information Technology Co ltd
Original Assignee
Shenzhen Weixun 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 Shenzhen Weixun Information Technology Co ltd filed Critical Shenzhen Weixun Information Technology Co ltd
Publication of CN109597618A publication Critical patent/CN109597618A/en
Application granted granted Critical
Publication of CN109597618B publication Critical patent/CN109597618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code

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)
  • Devices For Executing Special Programs (AREA)

Abstract

The application relates to a program development method, which comprises the following steps: receiving an input original program, wherein the original program is written by adopting a script language; calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program; and operating the target program to complete corresponding program development. The program development method can be directly operated without compiling, can operate new functions without restarting a server, and greatly improves the development efficiency. In addition, a program development device, a computer device and a storage medium are also provided.

Description

Program development method, program development device, computer device, and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a program development method and apparatus, a computer device, and a storage medium.
Background
As the speed of computers increases, the functional requirements of users on applications are also changing, so application developers need to increase the corresponding functions based on the requirements of users. Background servers are generally based on Java language, but due to the characteristics and limitations of Java language, if the service logic of the background needs to be modified, recompilation is required, and a server needs to be restarted to run a new function, resulting in low development efficiency of the function.
Disclosure of Invention
In view of the above, it is desirable to provide a program development method, a program development apparatus, a computer device, and a storage medium with high development efficiency.
In a first aspect, an embodiment of the present invention provides a program development method, which is applied to a system based on a Java language, and the method includes:
receiving an input original program, wherein the original program is written by adopting a script language;
calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program;
and operating the target program to complete corresponding program development.
In one embodiment, the invoking a target script engine corresponding to the scripting language parses the original program and converts the original program into an executable target program, including: analyzing and converting the original program into Java objects through the script engine, wherein the Java objects comprise variables and methods defined in script logic; the running of the target program completes corresponding program development, and the method comprises the following steps: and acquiring script parameters, and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
In one embodiment, the step of invoking a target script engine corresponding to the scripting language to parse the original program and convert the original program into an executable target program further includes: acquiring a script type of the script language; and determining a target script engine corresponding to the script type according to the script type of the script language.
In one embodiment, the method further comprises: acquiring input parameters and output parameters; and performing function test on the original program according to the input parameters and the output parameters.
In one embodiment, after the step of receiving the input of the original program written in the script language, the method further includes: receiving a storage instruction of the original program, and converting the original program into a character string form according to the storage instruction; and saving the original program into a database table in the form of the character string.
In one embodiment, the original program for receiving input is written in a script language, and includes: receiving input script basic information, wherein the script basic information comprises: at least one of script name, script type and script description; and receiving the input original program through a script editing interface corresponding to the script basic information.
In a second aspect, an embodiment of the present invention provides a program development apparatus, applied to a Java language based system, where the apparatus includes:
the receiving module is used for receiving an input original program, and the original program is written by adopting a script language;
the conversion module is used for calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program;
and the running module is used for running the target program to complete corresponding program development.
In one embodiment, the conversion module is further configured to parse and convert the original program into Java objects through the script engine, where the Java objects include variables and methods defined in script logic; the running module is also used for obtaining script parameters and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
In one embodiment, the apparatus further comprises: and the engine determining module is used for acquiring the script type of the script language and determining a target script engine corresponding to the script type according to the script type of the script language.
In one embodiment, the apparatus further comprises: and the test module is used for acquiring input parameters and output parameters and carrying out function test on the original program according to the input parameters and the output parameters.
In one embodiment, the apparatus further comprises: and the storage module is used for receiving a storage instruction of the original program, converting the original program into a character string form according to the storage instruction, and storing the original program into a database table in the character string form.
In one embodiment, the receiving module is further configured to receive input script basic information, where the script basic information includes: at least one of script name, script type and script description; and receiving the input original program through a script editing interface corresponding to the script basic information.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the following steps:
receiving an input original program, wherein the original program is written by adopting a script language;
calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program;
and operating the target program to complete corresponding program development.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the following steps:
receiving an input original program, wherein the original program is written by adopting a script language;
calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program;
and operating the target program to complete corresponding program development.
The program development method, the program development device, the computer equipment and the storage medium are applied to a system based on Java language, and the corresponding program development is completed by receiving an input original program written by adopting a scripting language, then calling a target scripting engine corresponding to the scripting language to analyze the original program, converting the original program into an executable target program and operating the target program. The program development method adopts the scripting language to develop the program in the system based on the Java language, can be directly operated without compiling, can operate new functions without restarting a server, and greatly improves the development efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flow diagram of a method for program development in one embodiment;
FIG. 2 is a diagram of a visual functional interface in one embodiment;
FIG. 3 is a flowchart of a program development method in another embodiment;
FIG. 4 is a schematic diagram of an interface for selecting base information in one embodiment;
FIG. 5 is a block diagram showing the construction of a program development apparatus according to one embodiment;
FIG. 6 is a block diagram showing the construction of a program development apparatus according to another embodiment;
FIG. 7 is a block diagram showing the construction of a program development apparatus according to still another embodiment;
FIG. 8 is a block diagram showing the construction of a program development apparatus according to still another embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, a program development method applied to a system based on Java language is proposed, which can be applied to both a terminal and a server, and this embodiment is exemplified by being applied to a terminal. The program development method specifically comprises the following steps:
step 102, receiving an input original program, wherein the original program is written by adopting a script language.
The system based on the Java language means that the system is developed by adopting the Java language. The original program refers to an input program written in a script language. The original program comprises logic codes for realizing corresponding functions, and the logic codes are used for executing the logic codes to realize corresponding functional logic. In one embodiment, a terminal receives a user input of a program written in a scripting language.
There are many types of scripting languages, including: sql (Structured Query Language) Language, groovy (an agile development Language based on java virtual machine) Language, JavaScript (an transliterated scripting Language), ruby (a simple and fast object-oriented scripting Language), and the like. Due to the characteristics and limitations of the Java language, if the Java language is used to develop functions, recompilation is required, and the server needs to be restarted to run new functions. In the embodiment of the invention, the scripting language is innovatively adopted in the java language based system to compile the service logic, which is beneficial to improving the development efficiency.
In one embodiment, the java language based system provides a functional interface that can be used to input a scripting language, and logic code for the scripting language is input through the functional interface. Namely, a visual function interface is provided to facilitate the input of the corresponding logic code. Fig. 2 is a schematic diagram of a visualized function interface in an embodiment, through which an input code is received, where an interface corresponding to "service code" in the diagram is an interface for receiving a code input.
In an embodiment, after receiving the input original program, the original program may be compressed and stored in a database table, for example, the original program may be converted into a form of a character string for storage, and certainly, may also be converted into another form that occupies a small space for storage.
And 104, calling a target script engine corresponding to the script language to analyze the original program and converting the original program into an executable target program.
The script engine refers to a tool for parsing and converting a script language into a target language. Different scripting engines may be developed for different scripting languages, respectively. After an original program written by adopting a script language is received, a target script engine corresponding to the script language is called to analyze and convert the original program into an executable target program.
The target program refers to a program that the computer can recognize to run. The main function of the script engine is to parse and convert the script language edited by the user into a language readable and understandable by the system. In one embodiment, the target program may be a Java object, i.e. the original program is converted into a Java object, which may run directly on the system since the system is a Java language based system. In another embodiment, the object program may also be another script program that can be executed by machine recognition.
And step 106, operating the target program to complete corresponding program development.
After the executable object program is obtained, the object program can be directly operated to execute the corresponding function without compiling, so that the corresponding program development is completed. By adding a functional module which can write a development program by adopting a script language on a system based on a java language, the writing of background logic can be supported without compiling or redeploying and restarting a server, so that the development of foreground functions is realized.
The program development method, the program development device, the computer equipment and the storage medium are applied to a system based on Java language, and the corresponding program development is completed by receiving an input original program written by adopting a scripting language, then calling a target scripting engine corresponding to the scripting language to analyze the original program, converting the original program into an executable target program and operating the target program. The program development method adopts the scripting language to develop the program in the system based on the Java language, can be directly operated without compiling, can operate new functions without restarting a server, and greatly improves the development efficiency.
As shown in fig. 3, in one embodiment, an order development method is proposed, the method comprising:
step 302, receiving an input original program, wherein the original program is written by adopting a script language.
And step 304, calling a target script engine corresponding to the script language, and analyzing and converting the original program into a Java object through the target script engine, wherein the Java object comprises variables and methods defined in the original program.
And calling a target script engine, transmitting the original program to the target script engine, and analyzing and converting the original program into a Java object by the target script engine. The process of converting to Java objects for different scripting languages is different. For example, in the Groovy language, a specific variable is judged and analyzed through a 'def' keyword, an introduced external class is judged through an 'import' keyword, and the like. The java object obtained by conversion comprises a set of variables and methods defined in the script logic (namely the original program).
And step 306, acquiring the script parameters, and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
The script parameters refer to parameters needing to be substituted for running the original program, and when the script engine is called, the script parameters are simultaneously transmitted to the script engine. And replacing variables in the Java object by using the script parameters, then performing one by one according to the method sequence in the method set, and finally returning the execution result. Corresponding function realization can be completed by executing the corresponding original program. The script parameters can be input through the function interface, namely the script parameters and the original program can be input through the function interface.
In one embodiment, the step of invoking a target script engine corresponding to the scripting language to parse the original program and convert the original program into an executable target program further includes: acquiring a script type of the script language; and determining a target script engine corresponding to the script type according to the script type of the script language.
Wherein the script type is the type of the script language. Since there are many scripting languages, a corresponding scripting engine needs to be set for each scripting language. In one embodiment, after receiving an input object program, identifying a scripting language of the object program to obtain an object script type, and then acquiring an object script engine corresponding to the object script type. In another embodiment, prior to entering the target program, a selected script type is first obtained, and then only the scripting language corresponding to the selected script type is received. At this time, the corresponding script type can be directly acquired.
In one embodiment, the program development method further includes: acquiring input parameters and output parameters; and performing function test on the original program according to the input parameters and the output parameters.
In order to perform a functional test on the input original program, the set access parameters, that is, the input parameters and the output parameters, may also be obtained, and the logic of the original program is subjected to a functional test according to the input parameters and the output parameters. The input parameters are used as variables in the original program to obtain corresponding output values, whether corresponding logics are correct or not is determined according to the output values and the output parameters, when the output values are consistent with the output parameters, the logics are correct, if the output values are inconsistent with the output parameters, the logics are inaccurate, and logic editing needs to be carried out again.
In one embodiment, after the step of receiving the input of the original program written in the script language, the method further includes: receiving a storage instruction of the original program, and converting the original program into a character string form according to the storage instruction; and saving the original program into a database table in the form of the character string.
After receiving an input original program, receiving a saving instruction of the original program, compressing the original program, converting the original program into a character string form, and saving the original program into a database table in the character string form. In order to save the occupied space of the original program, the original program is converted into a character string form which occupies less space.
In one embodiment, the original program for receiving input is written in a scripting language, and comprises: receiving input script basic information, wherein the script basic information comprises: at least one of script name, script type and script description; and receiving the input original program through a script editing interface corresponding to the script basic information.
Before an original program is input, firstly receiving input script basic information, wherein the script basic information comprises; at least one of a script name, a script type, and a script description. And then creating a script editing interface corresponding to the script basic information, and receiving the input original program through the script editing interface. As shown in fig. 4, for an interface for selecting basic information such as a script name, a script type, and a script description in an embodiment, after configuration of the basic information is completed, a small icon in a list may be clicked to open a corresponding script editing interface.
As shown in fig. 5, in one embodiment, there is provided a program development apparatus applied to a Java language based system, the apparatus including:
a receiving module 502, configured to receive an input original program, where the original program is written in a scripting language;
a conversion module 504, configured to invoke a target script engine corresponding to the scripting language to analyze the original program, and convert the original program into an executable target program;
and the running module 506 is used for running the target program to complete corresponding program development.
In one embodiment, the conversion module is further configured to parse and convert the original program into Java objects through the script engine, where the Java objects include variables and methods defined in script logic; the running module is also used for obtaining script parameters and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
As shown in fig. 6, in one embodiment, the program development apparatus further includes:
the engine determining module 503 is configured to obtain a script type of the scripting language, and determine, according to the script type of the scripting language, a target script engine corresponding to the script type.
As shown in fig. 7, in one embodiment, the program development apparatus further includes:
and the test module 508 is configured to obtain input parameters and output parameters, and perform a function test on the original program according to the input parameters and the output parameters.
As shown in fig. 8, in one embodiment, the program development apparatus further includes:
a saving module 509, configured to receive a saving instruction for the original program, convert the original program into a form of a character string according to the saving instruction, and save the original program in a database table in the form of the character string.
In one embodiment, the receiving module is further configured to receive input script basic information, where the script basic information includes: and receiving the input original program through a script editing interface corresponding to the script basic information.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a server or a terminal. As shown in fig. 9, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the program development method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a program development method. Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the program development method provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 9. The memory of the computer device may store therein the respective program modules constituting the program development apparatus. Such as a receiving module 502, a converting module 504, and an executing module 506.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: receiving an input original program, wherein the original program is written by adopting a script language; calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program; and operating the target program to complete corresponding program development.
In one embodiment, the invoking of the object script engine corresponding to the script language parses the original program and converts the original program into an executable object program, and includes: analyzing and converting the original program into Java objects through the script engine, wherein the Java objects comprise variables and methods defined in script logic; the running of the target program completes corresponding program development, and the method comprises the following steps: and acquiring script parameters, and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
In one embodiment, before the step of invoking the target script engine corresponding to the scripting language to parse the original program and convert the original program into the executable target program, the computer program is further configured to perform the following steps when executed by the processor: acquiring a script type of the script language; and determining a target script engine corresponding to the script type according to the script type of the script language.
In one embodiment, the computer program, when executed by the processor, is further configured to perform the steps of: acquiring input parameters and output parameters; and performing function test on the original program according to the input parameters and the output parameters.
In one embodiment, after the step of receiving input, the original program being written in a scripting language, the computer program when executed by the processor is further configured to perform the steps of: receiving a storage instruction of the original program, and converting the original program into a character string form according to the storage instruction; and saving the original program into a database table in the form of the character string.
In one embodiment, the original program for receiving input is written in a scripting language, and comprises: receiving input script basic information, wherein the script basic information comprises: at least one of script name, script type and script description; and receiving the input original program through a script editing interface corresponding to the script basic information.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: receiving an input original program, wherein the original program is written by adopting a script language; calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program; and operating the target program to complete corresponding program development.
In one embodiment, the invoking of the object script engine corresponding to the script language parses the original program and converts the original program into an executable object program, and includes: analyzing and converting the original program into Java objects through the script engine, wherein the Java objects comprise variables and methods defined in script logic; the running of the target program completes corresponding program development, and the method comprises the following steps: and acquiring script parameters, and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
In one embodiment, before the step of invoking the target script engine corresponding to the scripting language to parse the original program and convert the original program into the executable target program, the computer program is further configured to perform the following steps when executed by the processor: acquiring a script type of the script language; and determining a target script engine corresponding to the script type according to the script type of the script language.
In one embodiment, the computer program, when executed by the processor, is further configured to perform the steps of: acquiring input parameters and output parameters; and performing function test on the original program according to the input parameters and the output parameters.
In one embodiment, after the step of receiving input, the original program being written in a scripting language, the computer program when executed by the processor is further configured to perform the steps of: receiving a storage instruction of the original program, and converting the original program into a character string form according to the storage instruction; and saving the original program into a database table in the form of the character string.
In one embodiment, the original program for receiving input is written in a scripting language, and comprises: receiving input script basic information, wherein the script basic information comprises: at least one of script name, script type and script description; and receiving the input original program through a script editing interface corresponding to the script basic information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A program development method applied to a system based on Java language, the program development method applied to a terminal, the method comprising:
providing a functional interface, wherein the functional interface is used for receiving an input original program;
an original program for receiving input, the original program written in a scripting language, comprising: receiving input script basic information, wherein the script basic information comprises: receiving the input original program through a script editing interface corresponding to the script basic information, wherein the script type of the script Language comprises sql (Structured Query Language), groovy (agile development Language based on java virtual machine), JavaScript (transliterated script Language), ruby (simple and fast object-oriented script Language) Language;
receiving a storage instruction of the original program, and converting the original program into a character string form according to the storage instruction;
saving the original program into a database table in the form of the character string;
identifying the script language of the original program to obtain a target script type, acquiring a script engine corresponding to the target script type and determining the script engine as the target script engine; the target script engine at least comprises a script engine for analyzing sql (structured query Language), a script engine for analyzing groovy (agile development Language based on java virtual machine), a script engine for analyzing JavaScript (transliterated script Language) and a script engine for analyzing ruby (simple and rapid object-oriented script Language);
calling a target script engine corresponding to the script type of the script language to analyze the original program and convert the original program into an executable target program;
and operating the target program to complete corresponding program development.
2. The method according to claim 1, wherein the calling an object script engine corresponding to the script type of the scripting language parses the original program and converts the original program into an executable object program, and comprises:
analyzing and converting the original program into a Java object through the script engine, wherein the Java object comprises variables and methods defined in the original program;
the running of the target program completes corresponding program development, and the method comprises the following steps:
and acquiring script parameters, and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
3. The method of claim 1, further comprising:
acquiring input parameters and output parameters;
and performing function test on the original program according to the input parameters and the output parameters.
4. A program development apparatus applied to a Java language based system, the apparatus being applied to a terminal, the apparatus comprising:
the receiving module is used for receiving an input original program, the original program is written by adopting a script language, and the receiving module comprises: receiving input script basic information, wherein the script basic information comprises: receiving the input original program through a script editing interface corresponding to the script basic information, wherein the script type of the script Language comprises sql (Structured Query Language), groovy (agile development Language based on java virtual machine), JavaScript (transliterated script Language), ruby (simple and fast object-oriented script Language) Language;
the storage module is used for receiving a storage instruction of the original program and converting the original program into a character string form according to the storage instruction; saving the original program into a database table in the form of the character string;
the engine determination module is used for identifying the script language of the original program to obtain a target script type, acquiring a script engine corresponding to the target script type and determining the script engine as the target script engine; the target script engine at least comprises a script engine for analyzing sql (Structured Query Language), a script engine for analyzing groovy (agile development Language based on java virtual machine), a script engine for analyzing JavaScript (transliterated script Language), and a script engine for analyzing ruby (simple and rapid object-oriented script Language);
the conversion module is used for calling a target script engine corresponding to the script language to analyze the original program and convert the original program into an executable target program;
and the running module is used for running the target program to complete corresponding program development.
5. The apparatus of claim 4, wherein the conversion module is further configured to parse the original program into Java objects through the script engine, the Java objects comprising variables and methods defined in script logic; the running module is also used for obtaining script parameters and replacing variables in the Java object according to the script parameters to execute the method in the Java object so as to complete corresponding program development.
6. A computer device comprising a memory and a processor, the memory having stored thereon
A computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 3.
7. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 3.
CN201811302706.8A 2018-10-23 2018-11-02 Program development method, program development device, computer device, and storage medium Active CN109597618B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811236438 2018-10-23
CN2018112364384 2018-10-23

Publications (2)

Publication Number Publication Date
CN109597618A CN109597618A (en) 2019-04-09
CN109597618B true CN109597618B (en) 2020-06-23

Family

ID=65957383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302706.8A Active CN109597618B (en) 2018-10-23 2018-11-02 Program development method, program development device, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN109597618B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275706A (en) * 2019-07-01 2019-09-24 拉扎斯网络科技(上海)有限公司 Program publication and loading method, device, computer system and readable storage medium storing program for executing
CN110673934B (en) * 2019-08-22 2023-04-21 深圳市全通数码科技有限公司 Intelligent management and control platform operation method based on big data
CN111240728A (en) * 2020-01-16 2020-06-05 中国建设银行股份有限公司 Application program updating method, device, equipment and storage medium
CN112269566B (en) * 2020-11-03 2022-09-02 支付宝(杭州)信息技术有限公司 Script generation processing method, device, equipment and system
CN113656037A (en) * 2021-07-27 2021-11-16 克拉玛依油城数据有限公司 Micro-service-based management and control dynamic script rapid development method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739277A (en) * 2009-12-08 2010-06-16 南京联创科技集团股份有限公司 Self-defined script mode-based method for managing service monitoring system
CN106126263A (en) * 2016-07-04 2016-11-16 傲讯全通科技(深圳)有限公司 A kind of fast custom user interface and the method for function
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7219338B2 (en) * 2003-03-25 2007-05-15 Microsoft Corporation Multi-language compilation
CN100466556C (en) * 2007-03-30 2009-03-04 华为技术有限公司 Network device management method and system
CN102023856A (en) * 2010-10-21 2011-04-20 杭州万格网络科技有限公司 Method for outputting and operating data at server in formatting way according to demands of user
KR101264615B1 (en) * 2011-06-17 2013-05-27 (주)네오위즈게임즈 Device and method for executing and managing job file of game server
CN102999370A (en) * 2011-09-16 2013-03-27 腾讯科技(深圳)有限公司 Method and system for executing script
US9361070B1 (en) * 2012-01-27 2016-06-07 Andrew Nuss Compiling regular expression side-effects to java or C# code
CN104298495B (en) * 2013-07-19 2018-07-20 桥弘数控科技(上海)有限公司 A kind of program developing method and system based on script

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739277A (en) * 2009-12-08 2010-06-16 南京联创科技集团股份有限公司 Self-defined script mode-based method for managing service monitoring system
CN106126263A (en) * 2016-07-04 2016-11-16 傲讯全通科技(深圳)有限公司 A kind of fast custom user interface and the method for function
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud

Also Published As

Publication number Publication date
CN109597618A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN109597618B (en) Program development method, program development device, computer device, and storage medium
CN109766124B (en) Service development method, device, computer equipment and storage medium
CN108804159B (en) Javascript module loading method and preprocessing method and device thereof, and computer equipment
CN109684607B (en) JSON data analysis method and device, computer equipment and storage medium
CN111782330B (en) Page data acquisition method, device and equipment based on Web application
CN111176996A (en) Test case generation method and device, computer equipment and storage medium
CN109032662B (en) Code file generation method and device, computer equipment and storage medium
CN109032631B (en) Application program patch package obtaining method and device, computer equipment and storage medium
CN112394942B (en) Distributed software development compiling method and software development platform based on cloud computing
US9182953B2 (en) Hybrid dynamic code compiling device, method, and service system thereof
CN106547527B (en) JavaScript file construction method and device
CN109840083B (en) Webpage component template construction method and device, computer equipment and storage medium
CN104991773A (en) Program generation method and apparatus
CN111078555B (en) Test file generation method, system, server and storage medium
CN111752571A (en) Program upgrading method, device, equipment and storage medium
CN112527415A (en) Method, device, equipment and medium for migrating applets across platforms
CN112187713B (en) Message conversion method, device, computer equipment and storage medium
CN110955434B (en) Software development kit processing method and device, computer equipment and storage medium
CN110347588B (en) Software verification method, device, computer equipment and storage medium
CN111309332A (en) File content on-demand loading method and device, electronic equipment and storage medium
CN111240772A (en) Data processing method and device based on block chain and storage medium
CN111596970B (en) Method, device, equipment and storage medium for dynamic library delay loading
CN114115900B (en) Script compiling method and device and electronic equipment
EP2721494B1 (en) System and method to in-line script dependencies
CN109359295A (en) Semantic analytic method, device, computer equipment and the storage medium of natural language

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
GR01 Patent grant
GR01 Patent grant