Dynamic programing method

A dynamic programming and program technology, applied in the computer field, can solve problems such as inability to find, changing the size of the memory space, and inability to quickly and accurately determine the problem function or structure.

Inactive Publication Date: 2007-08-22
杨力祥
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These two structures are tightly coupled in memory, so the executable code contains both the execution module and the calling relationship module. They are integrated with each other and call each other, so that the program cannot execute one of the modules in the execution state. modify or replace
The reason is that if a module is modified or replaced, one possibility is to change the logical structure of the entire program, which will involve the modification of other modules, such as modifying or replacing a module, it is necessary to call other Modify the calling address in the module of the module, and this modification location is usually implicit in the calling module, which is ambiguous and almost impossible to find under the existing technical conditions; another possibility is to modify a module Or replacement, it may cause the change of the memory space occupied by this module. Once the memory space occupied by this module changes, it may overwrite the code or data of other modules, causing the program to crash
[0004] In addition, the existing computer programming language usually cannot debug and test an independent module (such as a function in C language) independently, and it is often necessary to use other functions or add program statements to realize debugging, so that the program Debugging becomes very difficult. In the case of many and complex functions or structures, it is impossible to quickly and accurately determine where the problem function or structure is.

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
  • Dynamic programing method
  • Dynamic programing method
  • Dynamic programing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described in detail in conjunction with the accompanying drawings and embodiments.

[0017] In the existing process of generating programs through computer programming languages, the programmer first writes the program source codes through the IDE interface independently of the compilation process. Read the source program in the text file of the source code, and convert the source program into an executable file. During this entire process, no executable memory structures are created in memory.

[0018] According to the method of the present invention, the IDE synchronously and dynamically generates a logical isomorphic executable memory structure in the memory while the source program is generated by the programmer. Because the organizational structure, call structure, and functional modules in memory are relatively independent, it is allowed to generate memory structures in any order, and can also dynamically add or delete memory...

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 present invention discloses a dynamic programming method. The user can construct the program by the foreground IDE integrate develop environment and construct an internal memory structure corresponding to the program dynamically at the same time in background internal memory; the internal memory structure includes three types, that are organize structure, invoke terminal port and function module; the organize structure includes the affiliation among the modules in source program and the addresses of the modules; the invoke terminal port includes the invoke relation among the modules in the source program; the function module only includes relevant codes for data processing. The invention realizes the on line dynamic modify for the program, integrates the edit, compile, debug, modify and run for the program, and allows the program to be modified during running process (namely not quit from internal memory) and to be run after modification directly, and also can solely modify and debug one module during the running process of the program.

Description

technical field [0001] The invention relates to a computer program programming method in the field of computers, in particular to a method that can dynamically generate and modify a program, and can start executing the program and end executing the program at a designated position in the program. Background technique [0002] With the rapid development of computers, various computer programming languages ​​have emerged as the times require. There are many kinds of computer programming languages, but the method of generating computer executable programs through computer languages ​​is generally the same: first, a text editor is used as the user operation platform, and several computer source program files are generated according to the syntax of a specific computer language , and then through a compiler program to compile these several source program files into several executable computer object files (obj files), and finally a linker program to combine these object files wit...

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/44
Inventor 杨力祥
Owner 杨力祥
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products