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

Dummy hardware system and its instruction execution method and dummy machine

A technology of virtual hardware and instructions, applied in the direction of concurrent instruction execution, machine execution device, multiprogramming device, etc.

Active Publication Date: 2011-04-20
BEIJING SENSESHIELD TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Otherwise, the address conflict will cause the instruction to be read incorrectly
However, due to the openness of the virtual hardware system, the application development work is independent of each other, and it is impossible for the program address spaces of the instruction files designed by the virtual hardware system platform developer and the sub-function developer to not overlap each other, and address conflicts still occur. Mutual calls between instruction files cannot be realized

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
  • Dummy hardware system and its instruction execution method and dummy machine
  • Dummy hardware system and its instruction execution method and dummy machine
  • Dummy hardware system and its instruction execution method and dummy machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] When the present invention designs the instruction file, each instruction file uses the same program address space, and the program address can start from 0000H. When loading, load a plurality of instruction files in the same process; when executing the instruction, determine the instruction file where the instruction to be executed is located and the program address in the instruction file, and read the instruction on the program address from the determined instruction file and execute, thereby realizing the loading and execution of multiple instruction files.

[0055] Wherein, a process refers to a running instance of an application program. When multiple files are loaded in the same process, the loaded multiple files share the running environment of the same process. The operating environment includes resources such as program space and data space.

[0056] It can be seen that with the instruction execution scheme of the present invention, the instruction file info...

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 an instruction execution method in a virtual hardware system. The method comprises the following steps: loading a plurality of instruction files in the same process; determining the instruction file where an instruction to be executed and a program address in the instruction file during instruction execution; reading and executing the instruction at the program address from the determined instruction file; storing information of a code segment where the present execution instruction is and the program address, then executing an instruction call during the instruction call crossing code segments; returning the stored code segment information before the call and a physical address indicated by the program address during the call return, and keeping on executing subsequent instructions. The present invention also discloses a virtual hardware system and a virtual machine. The instruction execution method can realize the loading and execution of a plurality of instruction files in the virtual hardware system, leave out the step of allocating different program addresses for the instruction files, prevent the situation of relocation because of program address conflict.

Description

technical field [0001] The invention relates to computer technology, in particular to a virtual hardware system, an instruction execution method applied to the virtual hardware system, and a virtual machine. Background technique [0002] Virtual hardware technology refers to the realization of hardware functions through software. FIG. 1 is a schematic structural diagram of a current virtual hardware system. As shown in Figure 1, the virtual hardware system includes a file subsystem and a virtual machine subsystem built on the hardware platform. Wherein, the file subsystem is implemented by a storage medium and is used for storing instruction files. The current file subsystem consists of a single instruction file whose instructions constitute a complete firmware program. The virtual machine subsystem is responsible for loading and executing the instruction file, which specifically includes the following steps: [0003] Step 1: Load the only instruction file in the file su...

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/38G06F9/46
Inventor 孙吉平韩勇
Owner BEIJING SENSESHIELD TECH
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