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

Dynamic programing method

A dynamic programming and program technology, applied in the computer field, can solve problems such as inability to find, change in memory space size, and inability to modify or replace

Inactive Publication Date: 2009-07-01
杨力祥
View PDF4 Cites 0 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 invention discloses a dynamic programming method. The user constructs the program through the front-end IDE integrated development environment, and the background memory synchronously and dynamically establishes the corresponding memory structure; the memory structure includes three types, namely the organizational structure, the calling port and the function module; The organizational structure includes the affiliation between the modules in the source program and the addresses of the modules; the calling port includes the calling relationship between the modules in the source program; the function modules only include data processing-related codes. The invention realizes the online dynamic modification of the program, integrates the editing, compiling, debugging, modification and operation of the program, allows the program to be modified during the running process (that is, without exiting the memory), and can be directly run after modification, and can also be used in the program It is fast and flexible to modify and debug one of the modules independently during operation.

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 杨力祥
Owner 杨力祥
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