Simulation task parallel scheduling method based on progress

A scheduling method and process technology, applied in software simulation/interpretation/simulation, program control design, multi-program device, etc., can solve the problem of unable to achieve homologous maintenance, and achieve the effect of reducing development risk and improving development efficiency

Active Publication Date: 2016-06-29
NR ELECTRIC CO LTD +1
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the programs of multiple CPUs are integrated in one process, it is necessary to avoid duplication of variable names and functions, that is, to modify the programs of each CPU plug-in and add a layer of data encapsulation, resulting in a large difference between the embedded application program and the simulation program, which cannot Achieve homologous maintenance

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
  • Simulation task parallel scheduling method based on progress
  • Simulation task parallel scheduling method based on progress

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0014] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings. Emulation frameworks for embedded device multiprocessor plug-ins such as figure 1 As shown, it is based on the master-slave architecture mode, and the simulation of the device is completed through the cooperation of a master process and several sub-processes. The specific implementation method comprises the following steps:

[0015] 1) Develop the main process Master on the PC, the main process Master is the simulation management process, it provides

[0016] Configuration file parsing, child process creation and termination, variable management, shared memory management and other functions.

[0017] 2) compiling each processor program of the embedded device into a PC executable process. Import related programs

[0018] file, Makefile is automatically formed, the third-party compiler is called, and the system library for simulation is lin...

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 simulation task parallel scheduling method based on a progress. The simulation task parallel scheduling method comprises the following steps: for an architecture of multiple processor plug-ins of an embedded device, starting a simulation management progress in a PC to be used as a main progress, and creating a plurality of sub-progresses by virtue of the main progress to virtualize the real-time processor plug-ins; creating a scheduling and data share memory by virtue of the main progress, after the sub-progresses are initialized, starting a single period simulation starting mark by virtue of the main progress, reading the simulation starting mark of the scheduling share memory by virtue of each sub-progress, starting a task operation, setting a sub-progress task operation ending mark after the task is ended, and then entering a waiting state; and after the ending marks of all sub-progresses are collected by virtue of the main progress, issuing a next period starting mark, circularly processing until the set upper limit of the simulation operation times is reached, and exiting the progress.

Description

technical field [0001] The invention belongs to the field of virtual simulation of embedded devices, in particular to a process-based simulation task parallel scheduling method. Background technique [0002] The current embedded device R&D model is still based on serial R&D, that is, it is necessary to develop the hardware with corresponding functions and adjust the system driver before proceeding with application development. For a device with multiple functions, the serial development cycle is long. In order to improve the efficiency of R&D and testing, it is necessary to simulate the actual operating environment and functional interface of the embedded device on the PC to realize the off-line simulation function, save R&D equipment investment, and improve Development and engineering implementation efficiency. The simulation methods in the existing literature often only consider the situation of one CPU, and the method of multi-CPU is considered in a small amount, and the...

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/455G06F9/48
CPCG06F9/45558G06F9/4812G06F9/485G06F2209/483G06F2009/45583
Inventor 陈宏君吴波刘克金张磊周强文继锋冯亚东李德文牛洪海陈俊
Owner NR ELECTRIC CO LTD
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