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

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

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

Active Publication Date: 2013-01-09
NANJING NRIET IND CORP
View PDF3 Cites 0 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 invention relates to a meteorological data analysis and processing technology, in particular to a method for obtaining a three-dimensional wind field with high accuracy after a series of processing using data obtained by wind profile radar, specifically a method for using wind profile radar Method for obtaining 3D wind field. Background technique [0002] As we all know, in most software application fields, the running time of software is measured according to the worst running time index of the software. But in some fields with high reliability and high safety requirements, such as control software in aerospace, rail transit, nuclear power and other fields, it is more hoped that the software will have a definite value for each running time under any normal operating conditions. There are many factors that lead to the uncertainty of software running time. From the software point of view, the main reason is that different branch programs have a gre...

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/30
Inventor 束元
Owner NANJING NRIET IND CORP
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