Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System and method for compiling and loading programmable language

A programming language and loading system technology, applied in the direction of code compilation, memory system, program control device, etc., can solve the problems of poor portability, low operating efficiency, low availability, etc., and achieve high operating efficiency, low coupling, and solving problems. The effect of inefficient operation

Inactive Publication Date: 2017-05-10
NANJING SCIYON AUTOMATION GRP
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this method is that it is highly portable and can be transplanted on different hardware platforms. The disadvantage is that the operation efficiency is not high. With the same computing function, the operation of virtual instructions is at least 20 times slower than that of machine instructions.
Another compilation method is to directly compile the high-level language into the machine instructions of the target platform, and download the compiled machine instructions to the processor of the target machine to run. The advantage of this method is high execution efficiency, and the disadvantage is poor portability. , any change in the program requires recompilation of the entire project, and the dependence on the target platform is too strong, and the usability is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for compiling and loading programmable language
  • System and method for compiling and loading programmable language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0033] like figure 1 As shown, the programming language compilation and loading system of the present invention is composed of a compilation system 101 and an execution system 102 , and the compilation system 101 and the execution system 102 are connected through a communication cable 103 . Wherein, the compilation system 101 includes an editor 104 , a compiler 105 , an assembler 107 and a virtual machine 108 ; the execution system 102 includes a loader 110 and an executor 111 .

[0034] The editor 104 outputs the edited source file, the compiler 105 receives it, compiles and outputs the virtual instruction 106, and receives it from the assembler 107 and the virtual machine 108, after the assembler 107 outputs the target program 109, it is loaded by the loader 110 through the communication cable 103 After the target code is generated, the executor 111 executes it. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a system and a method for compiling and loading a programmable language. The system for compiling and loading the programmable language comprises a compiling system and an execution system, wherein the compiling system is connected with the execution system through a communication cable; the compiling system comprises an editor, a compiler, a virtual machine and an assembler, wherein the editor is used for editing a high-level language source file and then sending the edited high-level language source file to the compiler, the compiler is used for receiving the edited source file and compiling the source file to generate a virtual command program, the virtual machine is executing the virtual command program, and the assembler is used for further compiling the virtual command program into a machine command and generating a target program; and the execution system comprises a loader and an executor, wherein the loader is used for downloading the target program through a communication cable and forming the target code through loading, and the executor is used for executing the target code. The machine command is generated after virtual command conversion is carried out on the source file, and execution is carried out, so that the system has the characteristic that the virtual command is transplantable, the virtual command can be conveniently transplanted and run on each platform, the system also reaches the running speed of the machine command, and the problem that the running efficiency of the virtual command is low is solved.

Description

technical field [0001] The invention relates to a programmable language compiling and loading system and method, which are especially suitable for various industrial programmable control applications and can effectively improve the execution efficiency of programs. Background technique [0002] The programmable logic controller (PLC) used in the traditional industrial field and the distributed processing unit in the distributed control system (DCS) can be programmed by the user through the configuration software. The user programming software compiles the high-level language source file to generate a virtual The instruction is downloaded to the controller through the communication interface, and the controller runs the configuration program by interpreting the virtual instruction. The advantage of this method is that it is highly portable and can be transplanted on different hardware platforms. The disadvantage is that the operation efficiency is not high. For the same compu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/45
CPCG06F8/41G06F8/76
Inventor 祖利辉陈闯杭哲
Owner NANJING SCIYON AUTOMATION GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products