CN108958725B - Graphical mode programming platform generation method and device and computer equipment - Google Patents

Graphical mode programming platform generation method and device and computer equipment Download PDF

Info

Publication number
CN108958725B
CN108958725B CN201810736785.7A CN201810736785A CN108958725B CN 108958725 B CN108958725 B CN 108958725B CN 201810736785 A CN201810736785 A CN 201810736785A CN 108958725 B CN108958725 B CN 108958725B
Authority
CN
China
Prior art keywords
programming
development environment
programming language
integrated development
graphical
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
CN201810736785.7A
Other languages
Chinese (zh)
Other versions
CN108958725A (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.)
Guangzhou Huitong Programming Education Technology Co ltd
Original Assignee
Guangzhou Huitong Programming Education 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 Guangzhou Huitong Programming Education Technology Co ltd filed Critical Guangzhou Huitong Programming Education Technology Co ltd
Priority to CN201810736785.7A priority Critical patent/CN108958725B/en
Publication of CN108958725A publication Critical patent/CN108958725A/en
Application granted granted Critical
Publication of CN108958725B publication Critical patent/CN108958725B/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/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

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

Abstract

The application relates to a graphical mode programming platform generation method, a graphical mode programming platform generation device and computer equipment, wherein the graphical mode programming platform generation method comprises the following steps: establishing a drawing command function library based on a programming format of a preset programming language, and generating a programming language integrated development environment according to integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window; and importing the drawing command function library into a programming language integrated development environment, and generating the graphical mode programming platform according to the programming language integrated development environment imported into the drawing command function library. The invention can quickly and effectively form the visual programming platform compatible with the drawing command in the syntactic format of the preset programming language, and is convenient for realizing the drawing of the program operation result into the corresponding graph to be displayed in the graphical mode.

Description

Graphical mode programming platform generation method and device and computer equipment
Technical Field
The present application relates to the field of computer programming technologies, and in particular, to a method and an apparatus for generating a graphical mode programming platform, and a computer device.
Background
At present, programming education is more and more emphasized, and the popularization rate of programming teaching is more and more extensive. In the programming language education, the difficulty of the entrance teaching stage is high, and particularly, the students in the C/C + + programming entrance teaching are young. Most examples and exercises of teaching platform software adopted in the traditional C/C + + teaching mode process numbers and texts, visual and visual expression modes are lacked, interest of beginners is not easy to arouse, students are affected by high programming logic abstraction degree and high difficulty, and learning efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus and a computer device for generating a graphical schema programming platform, which are convenient for graphical and efficient.
A graphical mode programming platform generation method comprises the following steps:
establishing a drawing command function library based on a programming format of a preset programming language, and generating a programming language integrated development environment according to integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window;
And importing the drawing command function library into a programming language integrated development environment, and generating a graphical mode programming platform according to the programming language integrated development environment imported into the drawing command function library.
In one embodiment, the step of importing the drawing command function library into the programming language integrated development environment, and generating the graphical mode programming platform according to the programming language integrated development environment imported with the drawing command function library includes:
generating a drawing file according to the drawing command function library, and storing the drawing file in a preset path;
and loading the drawing file found out according to the preset path into a programming language integrated development environment, and generating a graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
In one embodiment, the step of generating the graphical schema programming platform according to the programming language integrated development environment for importing the drawing command function library comprises the following steps:
embedding a escaping engine according to a preset application program interface in a programming language integrated development environment of importing a drawing command library function; the escape engine is a script program which compiles a programming command of a preset programming language and a drawing command into a code capable of running on a webpage;
And generating a graphical mode programming platform based on the escape engine according to the drawing command function library and the programming language integrated development environment.
In one embodiment, the predetermined programming language is a C language or a C + + language.
In one embodiment, the graphical mode programming platform operates in any one of the following operating environments: local computer, Web page and APP of the mobile terminal.
A graphical schema programming platform generation apparatus comprising:
the environment establishing module is used for establishing a drawing command function library based on a programming format of a preset programming language and generating a programming language integrated development environment according to the integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window;
and the platform generation module is used for importing the drawing command function library into the programming language integrated development environment and generating the graphical mode programming platform according to the programming language integrated development environment imported into the drawing command function library.
In one embodiment, the platform generation module includes:
The drawing file generating unit is used for generating a drawing file according to the drawing command function library and storing the drawing file in a preset path;
and the searching and generating unit is used for loading the drawing file searched according to the preset path into the programming language integrated development environment and generating the graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
In one embodiment, the platform generating unit further includes:
the embedded unit is used for embedding the escape engine according to a preset application program interface in a programming language integrated development environment for importing a drawing command library function; the escape engine is a script program which compiles a programming command of a preset programming language and a drawing command into a code which can run on a webpage;
and the escape engine platform generating unit is used for generating a graphical mode programming platform based on an escape engine according to the drawing command function library and the programming language integrated development environment.
A computer device comprises a memory and a processor, wherein a computer program is stored in the processor, and the processor realizes the steps of the graphical mode programming platform generation method when executing the computer program.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of a graphical schema programming platform generation method.
One of the above technical solutions has the following advantages and beneficial effects:
according to the graphical mode programming platform generation method, the graphical mode programming platform generation device and the computer equipment, the drawing command function library is established through the programming format based on the preset programming language, the programming language integrated development environment is established according to the integrated development environment configuration information, the drawing command function library is imported into the programming language integrated development environment, and the graphical mode programming platform is further generated. The embodiment of the invention can quickly and effectively form the visual programming platform compatible with the drawing command in the grammatical format of the preset programming language, and is convenient for realizing the drawing of the program running result into the corresponding graph to be displayed in a graphical mode.
Drawings
FIG. 1 is a flow diagram illustrating a method for generating a graphical schema programming platform in one embodiment;
FIG. 2 is a mobile terminal interface of the graphical mode programming platform in one embodiment;
FIG. 3 is a PC side interface of the graphical mode programming platform in one embodiment;
FIG. 4 is a flowchart illustrating steps in an embodiment of a graphical schema programming platform;
FIG. 5 is another flowchart illustrating the steps of generating a graphical schema programming platform in one embodiment;
FIG. 6 is a diagram illustrating a drawing command description of a library of drawing command functions in another embodiment;
FIG. 7 is a first exemplary diagram of a graphical schema programming platform in another embodiment;
FIG. 8 is a diagram of a second example of a graphical mode programming platform in accordance with another embodiment;
FIG. 9 is a diagram of a third example of a graphical schema programming platform in another embodiment;
FIG. 10 is a diagram of a fourth example of a graphical mode programming platform in accordance with another embodiment;
FIG. 11 is a diagram of a fifth example of a graphical mode programming platform in accordance with an alternative embodiment;
FIG. 12 is a diagram of a sixth example of a graphical mode programming platform in accordance with an embodiment;
FIG. 13 is a schematic structural diagram of an apparatus for generating a graphical schema programming platform in another embodiment;
FIG. 14 is a block diagram that illustrates a platform generation module in one embodiment;
FIG. 15 is another block diagram of the platform generation module in one embodiment;
FIG. 16 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 application more clearly understood, the present application is further described in 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 present application and are not intended to limit the present application.
The graphical mode programming platform generation method can be applied to various operating systems, such as a Windows operating system, a macOS operating system or an android operating system. Meanwhile, the invention can be applied to programming entrance teaching, and teachers can convert the digital and text modes of processing programs in the traditional teaching into visual graphical teaching modes through the graphical mode programming platform. The program operation result can be drawn through the drawing command in the programming platform, and the drawn graph can be displayed through the terminal interface.
In one embodiment, as shown in fig. 1, there is provided a graphical schema programming platform generation method, including the following steps:
step S110: establishing a drawing command function library based on a programming format of a preset programming language, and generating a programming language integrated development environment according to integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window.
Specifically, the integrated development environment configuration information may include, but is not limited to, one or any combination of device information, computer resource information, or integrated development environment information, and the like, wherein the integrated development environment information may include one or any combination of compiler information, environment interface information, and the like. The programming language integration development environment can be developed by using a programming technology based on a Web webpage front end, a programming technology based on a mobile terminal APP or a programming technology based on a local computer.
In a specific embodiment, the predetermined programming language is C language or C + + language.
The method is helpful for drawing the running result of the C/C + + program which is lack of intuition and image into a graph through the drawing command for displaying, can be applied to a C/C + + entry teaching mode, and presents the numbers or texts needing to be processed in the C/C + + program in a graphical form.
Step S120: and importing the drawing command function library into a programming language integrated development environment, and generating a graphical mode programming platform according to the programming language integrated development environment imported into the drawing command function library.
Specifically, the integration of the drawing command function library with the programming language integrated development environment may be realized by, but not limited to, adding the drawing command function library to a folder of a library file path specified by the programming language integrated development environment, or importing the drawing command function library into the programming language integrated development environment by means of a resource library rapid import function in the programming language integrated development environment, or the like.
The graphical mode programming platform generation method provided by the invention has the advantages that the drawing command function library is established based on the programming format of the preset programming language, and the drawing command compatible with the preset programming language can be developed so as to be conveniently imported into the programming language integrated development environment for compiling the corresponding programming language for use. The method comprises the steps of building a programming language integrated development environment according to integrated development environment configuration information, importing a drawing command function library into the programming language integrated development environment, integrating the drawing command function library with the programming language integrated environment, quickly and effectively forming a visual programming platform compatible with drawing commands in grammatical formats of a preset programming language, and conveniently drawing program operation results into corresponding graphs to be displayed in a graphical mode.
In a specific embodiment, the graphical mode programming platform runs in any one of the following operating environments: local computer, Web page and APP of the mobile terminal.
The graphical mode programming platform of the graphical mode programming platform generation method can be suitable for different operating environments, is convenient to use and has strong flexibility.
As shown in fig. 2, the graphical mode programming platform of the present invention is an interface of a mobile terminal. FIG. 3 shows the interface of the graphical schema programming platform of the present invention on the PC side. The invention can adapt to various operating environments and is convenient to use in different teaching occasions.
Referring to fig. 4 in conjunction with fig. 1, in a specific embodiment, step S120 further includes the steps of:
step S210: and generating a drawing file according to the drawing command function library, and storing the drawing command function library file in a preset path.
Specifically, the drawing file may be a library file encapsulating a drawing command function library. The preset path can be a storage path specified by the programming language integrated development environment, and quick link searching is facilitated when the programming language integrated development environment is used.
Step S220: and loading the drawing file found out according to the preset path into a programming language integrated development environment, and generating a graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
Specifically, the manner of loading the drawing file according to the present invention may be, but is not limited to, loading the drawing file into the corresponding executable file list by using a fast import library file function of the programming language integrated development environment. Or the drawing file may be loaded into the programming language integrated development environment by means of a precompiled instruction, for example, if the header file of the drawing file is named "logo.h", the drawing file is linked to the preset path and found out according to the instruction by the include "logo.h" instruction, and the drawing file is loaded into the corresponding executable file list. Therefore, the invention integrates the drawing file and the programming language integrated development environment to generate the graphical mode programming platform.
The invention saves the drawing file in the preset path, is beneficial to the effective linkage of the programming language integrated development environment and the searching of the drawing file, integrates the drawing file with the programming language integrated development environment, ensures that the integrated programming language integrated development environment has the functions of calling the drawing instruction, imaging the program operation result and the like, and further generates the graphical mode programming platform.
As a preferred embodiment, the programming language integrated development environment of the graphical schema programming platform of the present invention can be built based on the standard C + + compiler g + + according to the configuration information of the integrated development environment. In order to integrate the drawing files, during compiling, the drawing files in the preset path are called by calling instructions to generate executable files, so that the g + + built-up programming language development environment has the function of drawing programs into graphs, and a graphical mode programming platform is formed. The invention can draw the text or data in the program into the graph and display the graph in the graphical operation result display window, and the invention is applicable to broad teachers and students in programming language teaching.
Referring to fig. 5, in a specific embodiment, the step of generating a graphical schema programming platform according to the programming language integrated development environment importing the drawing command function library includes:
Step S310: embedding a escaping engine according to a preset application program interface in a programming language integrated development environment of importing a drawing command library function; the escape engine is a script program that compiles programming commands and drawing commands of a preset programming language into code that can be run on a web page.
Specifically, the escaping engine of the present invention can integrate a programming language of the imported drawing command function library into a development environment for networking, and escape the program written in the environment into a web page language, for example, a language such as JavaScript or Html 5. The invention can graph the program running result and present the program running result through a webpage or an app interface.
Step S320: and generating a graphical mode programming platform based on the escape engine according to the drawing command function library and the programming language integrated development environment.
Specifically, the graphical mode programming platform generation method can realize webpage version online programming on a browser, and compile a programming command of a preset programming language and a drawing command through an escape engine and return to a webpage programming language so as to display a graphical operation result on a webpage.
The invention generates a graphical mode programming platform capable of running on a Web page by embedding a escaping engine, compiles a program and returns the program to a netpage program language, and displays a graphical program running result on a webpage interface. The invention realizes on-line graphical programming, and can be widely applied to entry teaching of programming languages for graphical mode programming teaching.
In a preferred embodiment, the programming language integrated development environment can be a web page version online programming environment running in a browser, and a escaping engine is embedded in an API interface of the programming language integrated development environment to generate the graphical mode programming platform of the invention. The method and the system can compile the drawing command and the programming command of the preset programming language and return the JavaScript code, and display the graphical operation result on the webpage of the browser, thereby realizing online graphical programming.
Referring to fig. 6, as a preferred embodiment, the invention is described by taking C + + as an example, and the method for generating the graphical schema programming platform of the invention establishes a drawing command function library based on a C + + syntax format to be compatible with a C + + integrated development environment, as shown in fig. 6, is a drawing command and a functional description commonly used in the drawing command function library.
Referring to fig. 7, according to the drawing command of the format syntax, the graphical schema programming platform of the graphical schema programming platform generation method of the present invention is applied to C + + language teaching, and as a preferred embodiment, the sequential structure graphical teaching in C + + language programming can be implemented. In the programming platform, the program is written by using drawing commands such as color, length, size and the like, and specified graphs can be drawn according to the instruction sequence when the program runs.
Referring to FIG. 8, as a preferred embodiment, the selection structure uses if statements in the C/C + + language, with high logical thinking. The graphical teaching can visually express results, and the teaching effect of understanding the logical thinking by the visual thinking is achieved. For example, two numbers a and b with different sizes are input, the sizes of the numbers a and b are judged, and the numbers are output from small to large, as shown in fig. 8(a), the numbers are displayed by adopting a traditional programming platform, while the program operation result is visually displayed in a graphical mode by adopting the graphical mode programming platform of the invention, as shown in fig. 8(b), if two numbers a and b with different sizes are input, 30 and 15 are respectively used as the radius to draw concentric circles, and the larger circle is required to be a red circle, and the smaller circle is required to be a green circle. Similarly, as shown in fig. 9 and 10, (a) and (b) in fig. 9 show the operation results presented by the conventional programming platform and the programming platform of the present invention, and fig. 10 shows a sample display obtained by the programming platform of the present invention, and the data for loop processing is visually represented by repeated display of the graph.
Referring to fig. 11 and 12, as a preferred embodiment, the graphical programming platform generation method of the present invention can implement graphical display of the operation result, so as to facilitate the graphical programming platform to be applied in the game lessons. As shown in fig. 11, the game screen designed in the graphical programming platform of the present invention is used to learn the rotation angle programming in C + +. As shown in fig. 12, in order to graphically display, a drawing instruction writing program is called in a program to complement a graphic.
The graphical mode programming platform generation method can make the drawing command function library compatible with the programming language integrated development environment, effectively link to the drawing command function library in graphical programming, and call drawing commands so as to draw corresponding graphs according to the drawing commands in the program and display the graphs. Because the existing C/C + + entry teaching mode lacks easy and convenient drawing command functions, most samples are numbers or texts to be processed, and lacks an intuitive and visual programming and drawing mode, the method and the device can be particularly applied to C/C + + entry teaching, and the texts and the numbers which need to be processed in the C/C + + programming are patterned through drawing commands.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 13, there is provided a graphical schema programming platform generating device, including:
the environment establishing module 10 is used for establishing a drawing command function library based on a programming format of a preset programming language, and generating a programming language integrated development environment according to the integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window.
The platform generating module 20 is configured to import the drawing command function library into the programming language integrated development environment, and generate the graphical model programming platform according to the programming language integrated development environment imported into the drawing command function library.
According to the graphical mode programming platform generation device, the environment establishment module establishes the drawing command function library based on the programming format of the preset programming language, so that the drawing command compatible with the preset programming language can be developed, and the drawing command is conveniently imported into a programming language integrated development environment for compiling the corresponding programming language for use. The platform generation module builds a programming language integrated development environment according to the integrated development environment configuration information, and introduces the drawing command function library into the integrated development environment, so that the drawing command function library and the programming language integrated environment can be integrated, a visual programming platform compatible with the drawing commands in the grammar format of the preset programming language can be quickly and effectively formed, the program operation result can be conveniently drawn into a corresponding graph, and the graph is displayed in a graphical mode.
Referring to FIG. 14, in a particular embodiment, the platform generation module 100 includes:
the drawing file generating unit 110 is configured to generate a drawing file according to the drawing command function library, and store the drawing file in a preset path.
The search generating unit 120 is configured to load the drawing file searched according to the preset path into the programming language integrated development environment, and generate the graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
The graphical mode programming platform generation device is beneficial to effectively linking and searching the drawing files in the programming language integrated development environment, and integrates the drawing files with the programming language integrated development environment, so that the integrated programming language integrated environment has the functions of calling drawing instructions, imaging the program operation result and the like, and the graphical mode programming platform is further generated.
Referring to FIG. 15, in a specific embodiment, the platform generation module 200 of the present invention comprises:
an embedding unit 210, configured to embed a escaping engine according to a preset application program interface in a programming language integrated development environment in which a drawing command library function is imported; the escape engine is a script program that compiles programming commands and drawing commands of a preset programming language into code that can be run on a web page.
The escaping engine platform generating unit 220 is configured to generate a graphical schema programming platform based on the escaping engine according to the drawing command function library and the programming language integrated development environment.
The invention generates a graphical mode programming platform capable of running on a Web page by embedding a escaping engine, compiles a program and returns to a netpage program language, and displays a graphical running result on a webpage interface. The invention realizes on-line graphical programming, and can be widely applied to entry teaching of programming languages for graphical mode programming teaching.
For specific limitations of the graphical schema programming platform generation apparatus, reference may be made to the above limitations of the graphical schema programming platform generation method, which is not described herein again. The various modules in the graphical mode programming platform generation device can be wholly or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 16. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a graphical schema programming platform generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 16 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, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of a graphical schema programming platform generation method.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. 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 examples 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 invention. 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 (8)

1. A graphical mode programming platform generation method is characterized in that an operating system applied by the method comprises any one or any combination of a Windows operating system, a macOS operating system and an android operating system; the method comprises the following steps:
establishing a drawing command function library based on a programming format of a preset programming language, and generating a programming language integrated development environment according to integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window;
Importing the drawing command function library into the programming language integrated development environment, and embedding a escaping engine according to a preset application program interface in the programming language integrated development environment imported with the drawing command function library; the escape engine is a script program which compiles the programming commands and the drawing commands of the preset programming language into codes which can run on a webpage;
and generating a graphical mode programming platform based on the escape engine according to the drawing command function library and the programming language integrated development environment.
2. The method for generating a graphic mode programming platform according to claim 1, importing the drawing command function library into the programming language integrated development environment, and embedding a escaping engine according to a preset application program interface in the programming language integrated development environment imported with the drawing command function library; according to the drawing command function library and the programming language integration development environment, the step of generating the graphical mode programming platform based on the escape engine comprises the following steps:
generating a drawing file according to the drawing command function library, and storing the drawing file in a preset path;
and loading the drawing file found out according to the preset path into the programming language integrated development environment, and generating a graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
3. The graphical schema programming platform generation method of claim 1 or 2, wherein the preset programming language is C language or C + + language.
4. The graphical schema programming platform generation method of claim 3, wherein the graphical schema programming platform runs in any one of the following operating environments: local computer, Web page and APP of the mobile terminal.
5. A graphical mode programming platform generation device is characterized in that an operating system applied by the device comprises any one or any combination of a Windows operating system, a macOS operating system and an android operating system; the device comprises:
the environment establishing module is used for establishing a drawing command function library based on a programming format of a preset programming language and generating a programming language integrated development environment according to the integrated development environment configuration information; the drawing command function library is a set of functions comprising a plurality of drawing commands; the programming language integrated development environment comprises a program programming window, a graphical operation result display window and an information prompt window;
the platform generation module is used for importing the drawing command function library into the programming language integrated development environment and embedding a escaping engine according to a preset application program interface in the programming language integrated development environment imported into the drawing command function library; the escape engine is a script program which compiles the programming commands and the drawing commands of the preset programming language into codes which can run on a webpage; and the system is also used for generating a graphical mode programming platform based on the escape engine according to the drawing command function library and the programming language integrated development environment.
6. The graphical schema programming platform generation device of claim 5, wherein the platform generation module comprises:
the drawing file generating unit is used for generating a drawing file according to the drawing command function library and storing the drawing file in a preset path;
and the searching and generating unit is used for loading the drawing file searched according to the preset path into the programming language integrated development environment and generating a graphical mode programming platform according to the programming language integrated development environment loaded into the drawing file.
7. A computer device comprising a memory and a processor, in which a computer program is stored, characterized in that,
the processor, when executing the computer program, realizes the steps of the method of any of claims 1 to 4.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN201810736785.7A 2018-07-06 2018-07-06 Graphical mode programming platform generation method and device and computer equipment Active CN108958725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810736785.7A CN108958725B (en) 2018-07-06 2018-07-06 Graphical mode programming platform generation method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810736785.7A CN108958725B (en) 2018-07-06 2018-07-06 Graphical mode programming platform generation method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN108958725A CN108958725A (en) 2018-12-07
CN108958725B true CN108958725B (en) 2022-06-14

Family

ID=64482225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810736785.7A Active CN108958725B (en) 2018-07-06 2018-07-06 Graphical mode programming platform generation method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN108958725B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488140B (en) * 2019-01-29 2023-10-27 杭州海康威视数字技术股份有限公司 Method, device and computer equipment for supporting multiple programming libraries in multiple programming languages
CN111522537B (en) * 2020-04-30 2023-08-04 大唐湘潭发电有限责任公司 Parameterization drawing method of electric secondary circuit diagram
CN111722840A (en) * 2020-06-30 2020-09-29 北京来也网络科技有限公司 Command library creating method, device, medium and equipment for RPA flow generating end
CN114064017B (en) * 2020-08-04 2024-08-30 腾讯科技(深圳)有限公司 Drawing method and related equipment
CN114675811A (en) * 2020-12-24 2022-06-28 北京服装学院 Parameterized innovation implementation method based on traditional pattern drawing
CN112988129A (en) * 2021-02-25 2021-06-18 厦门渊亭信息科技有限公司 Online code modeling method and system
CN113157265A (en) * 2021-03-12 2021-07-23 杭州未名信科科技有限公司 Data processing method and device, medium and equipment for visual programming
CN113238853B (en) * 2021-06-15 2021-11-12 上海交通大学 Server-free computing scheduling system and method based on function intermediate expression

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866886A (en) * 2012-09-04 2013-01-09 北京航空航天大学 Web-based visual algorithm animation development system
CN103197929A (en) * 2013-03-25 2013-07-10 中国科学院软件研究所 System and method for graphical programming facing children
CN105094781A (en) * 2014-05-16 2015-11-25 上海京知信息科技有限公司 Self-made P programming language framework based on parallel programming
CN105373386A (en) * 2015-11-25 2016-03-02 广州华多网络科技有限公司 Processing method and device of command line program
CN107423049A (en) * 2017-04-18 2017-12-01 南京凯蒙教育科技有限公司 Realize method, browser and the terminal device of online programming

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2642359A1 (en) * 2012-03-20 2013-09-25 dSPACE digital signal processing and control engineering GmbH Device for developing and method for creating a programm for an electronical control unit
KR101597780B1 (en) * 2014-05-22 2016-02-25 황수진 Method and apparatus for visually implementing software code
JP6791134B2 (en) * 2015-06-16 2020-11-25 日本電気株式会社 Analytical systems, analytical methods, analyzers and computer programs
US9858045B2 (en) * 2016-03-28 2018-01-02 Microsoft Technology Licensing, Llc Designer tool for managing cloud computing services
JP6883761B2 (en) * 2016-10-17 2021-06-09 パナソニックIpマネジメント株式会社 Program generation method, program generator and control program
CN107704236B (en) * 2017-09-30 2021-03-19 苏州浪潮智能科技有限公司 Method and apparatus for managing common functions in software development system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866886A (en) * 2012-09-04 2013-01-09 北京航空航天大学 Web-based visual algorithm animation development system
CN103197929A (en) * 2013-03-25 2013-07-10 中国科学院软件研究所 System and method for graphical programming facing children
CN105094781A (en) * 2014-05-16 2015-11-25 上海京知信息科技有限公司 Self-made P programming language framework based on parallel programming
CN105373386A (en) * 2015-11-25 2016-03-02 广州华多网络科技有限公司 Processing method and device of command line program
CN107423049A (en) * 2017-04-18 2017-12-01 南京凯蒙教育科技有限公司 Realize method, browser and the terminal device of online programming

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
参数化绘图自动编程系统的研究与开发;杨先海等;《机械科学与技术》;19970731;第16卷(第4期);第750-752页 *

Also Published As

Publication number Publication date
CN108958725A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108958725B (en) Graphical mode programming platform generation method and device and computer equipment
CN105354014B (en) Application interface renders methods of exhibiting and device
US10061575B2 (en) Managed execution environment for software application interfacing
US8578334B2 (en) Dynamic language-based integrated development environment
CN108595171B (en) Object model generation method, device, equipment and storage medium
EP3008585B1 (en) Automatic source code generation
CN109558323B (en) System, method and apparatus for debugging pages
CN105683957B (en) Stylesheet speculative preloading
US11550990B2 (en) Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time
US20160103800A1 (en) Universal rebranding engine
White JavaScript programmer's reference
CN112905179A (en) Mobile terminal H5 page generation method and device, electronic equipment and storage medium
Seixas et al. A Model-Driven Approach for Developing Responsive Web Apps.
CN112102446A (en) Animation processing method and device and computer readable storage medium
Nguyen et al. Varis: IDE support for embedded client code in PHP web applications
CN108037914B (en) Method and device for developing android native system by combining js
CN115421714A (en) Method and system for generating multi-terminal table data display page
CN114064010A (en) Front-end code generation method, device, system and storage medium
CN112764718A (en) Method and device for multi-end use of codes, storage medium and electronic equipment
CN113498512A (en) Optimization method and device for vehicle-mounted image display, computer equipment and storage medium
RU2799988C2 (en) System and method for dynamic visualization of software elements
CN112860259B (en) Interface processing method, device, electronic equipment and storage medium
CN110879699A (en) Graphical processing method and equipment for DSL (digital subscriber line) in domain-specific language
CN113094138B (en) Interface display method and device, electronic equipment and storage medium
CN103092575A (en) Method and system for generating widget applications

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