Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for realizing definite software operating time in single task operating environment

A technology of running environment and running time, applied in the direction of machine execution device, etc., can solve the problems of difficult time and operation of equipment, and achieve the effect of simple method and easy implementation.

Active Publication Date: 2011-01-26
NANJING NRIET IND CORP
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem that the existing software is affected by the branch program so that the device is difficult to run at a certain time all the time, and to invent a single-task operating environment in which the main program running time is determined by controlling the branch program. A Method to Realize the Determination of Software Running Time

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described below in conjunction with embodiment.

[0021] A method for determining software running time in a single-task running environment, comprising the following steps:

[0022] (1) According to the general programming method, write the function that meets the functional requirements and needs to run at a certain time;

[0023] (2) Clearly divide the external input, external output (including the rewriting of global variables) and algorithms of the function program;

[0024] (3) Create corresponding local variables for all external outputs (including global variables that may be modified);

[0025] (4) Find all branch statements in the program, such as if...else, switch case, etc.;

[0026] (5) Establish corresponding local variables for the output of all branch statements;

[0027] (6) Cut all branch programs out of the branch, and at the same time modify the output of the branch program to the local variables output by the...

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 method for realizing definite software operating time in a single task operating environment, which is characterized by comprising the following steps of: (1) programming a function meeting requirements by using a conventional programming method; (2) dividing external input, external output and algorithm of the function definitely; (3) establishing a local variable for the external output; (4) finding out all switch statements in the function; (5) establishing local variables for the external output of all the switch statements; (6) cutting the programs of all the switch statements out of the switch statements, and modifying the output of the switch statements into the local variables of the output of the switch statements; (7) in the switch statements, adding the local variables of the output of the switch statements to an assignment statement output by a switch statement operation result and an assignment statement for a global variable; (8) adding the switch statement operation result to follow-up program operation; (9) assigning the local variable of the external output to the external output; and finally (10) modifying functions called in the program. The invention can ensure that the operating time of the same function is definite without change when outputs and routes are different.

Description

Technical field [0001] The present invention involves a meteorological data analysis processing technology, especially a method of processing a series of three -dimensional wind fields with high accuracy after processing with the data obtained by the windline radar.Methods to obtain three -dimensional wind field. Background technique [0002] As we all know, in most software applications, the operating time of the software is measured according to the worst operation time indicator of the software.However, in some areas with high reliability and high security requirements, such as control software in the fields of aerospace, rail transit, nuclear power, etc., I hope that the software is also running a certain value under any normal operation conditions.There are many factors that lead to the uncertainty of the software running time. From the perspective of the software, it is mainly to have a greater impact of different branches during operation.The essential. Invention content ...

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
IPC IPC(8): G06F9/30
Inventor 束元
Owner NANJING NRIET IND CORP
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
Eureka Blog
Learn More
PatSnap group products