A method to speed up the startup process of embedded software using super state storage

A technology of embedded software and state storage, which is applied in the direction of program loading/starting, program control devices, etc., and can solve problems such as the inability to quickly increase the speed of software startup

Active Publication Date: 2017-01-18
INTEGRATED ELECTRONICS SYST LAB
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The above-mentioned methods basically have certain problems, and it is impossible to quickly increase the software startup speed at a low cost

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
  • A method to speed up the startup process of embedded software using super state storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] A method of using super state storage to speed up the startup process of embedded software, comprising the steps of:

[0043] Step 1. Determine the startup completion point of the software program.

[0044]Step 2. Use the program to try to open the status file, and judge whether the status file exists in the external memory according to whether the opening is successful. If not, proceed to step 3, otherwise, proceed to step 4.

[0045] Step 3. Carry out the software startup process and save the data in the memory to the external memory when the startup is completed:

[0046] (3-1) Designate an area in the static memory area for dynamic allocation of memory, modify the dynamic allocation function and release memory function in the program to a customized version, so that the dynamic allocation and release of memory actions are performed in this area; in the division In the dynamic memory area, reserve space in the form of defining a large static array as a memory pool t...

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 relates to the technical field of embedded software, in particular to a method for accelerating the starting procedure of embedded software by using super state storage. The method includes the steps that an area is marked off in a static internal storage zone to be used as a dynamic allocation internal storage, a dynamic allocation function in the procedure is modified, an internal storage function is released to be in a customized version, so that dynamic allocation and memory release movement are conducted in the area, dynamic data and static data generated in the starting process of the procedure can both be stored to the static internal storage zone, then, the data in the static internal storage are all stored into an external memory in the state file mode when starting is completed, the state file can be directly called when the procedure is started again, the state file is recovered to the static internal storage zone, and one-step starting can be achieved. By the aid of the method, the procedure starting speed can be greatly increased.

Description

technical field [0001] The invention relates to the technical field of embedded software, in particular to a method for accelerating the startup process of embedded software by using super state storage. Background technique [0002] In some occasions, there are high requirements for the startup time of embedded devices. The start-up time mentioned here refers to the time required from when the device is powered on to when the function can work normally. For example, after the equipment used for monitoring and protection is restarted due to a fault, it is required to enter the working state as soon as possible. [0003] The startup process of embedded devices can be roughly divided into three steps: hardware initialization, operating system startup and business software startup. Generally speaking, hardware initialization and operating system startup take a very short time (usually within 1 second), and the startup time of business software largely determines the startup t...

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/445
Inventor 周文俊刘国华丛春涛杨冰孙发恩贺强孟庆媛朱晓磊宋先慧袁文广
Owner INTEGRATED ELECTRONICS SYST LAB
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