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

Method for reading dynamic memory mapping file in ground test device embedded software

A technology of ground test equipment and embedded software, applied in the field of data processing, can solve the problems of long response time, low efficiency, and occupying a lot of hardware resources, and achieve the effects of improving efficiency, avoiding resource overhead, and improving thread execution efficiency.

Inactive Publication Date: 2018-05-18
安徽雷威智能科技有限公司
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The purpose of the present invention is to provide a dynamic memory mapping file reading method in the embedded software of the ground test equipment, through the memory mapping file based on virtual mapping and the mode of obtaining the files one by one, it solves the problem that the existing reading and writing methods occupy many hardware resources and are inefficient. Low, long response time issues

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
  • Method for reading dynamic memory mapping file in ground test device embedded software
  • Method for reading dynamic memory mapping file in ground test device embedded software
  • Method for reading dynamic memory mapping file in ground test device embedded software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0070] see figure 1 As shown, the present invention is a dynamic memory mapping file reading method in the ground test equipment embedded software, comprising the following steps:

[0071] Step S000 utilizes the Create File function to create a file kernel object, represented by the return value HANDLEhFile of the function;

[0072] Step S001 uses the file object hFile returned in step S000 as the input value of the CreateFileMapping function for creating a file m...

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 reading a dynamic memory mapping file in ground test device embedded software, and relates to the technical field of data processing. According to the method, a ready thread preprocessing unit obtains information collected by a file occupation space obtaining module, a CPU collection module and a current thread time slice obtaining module, and performs memory mapping operation according to a memory mapping size of a target file; a data exchange module is used for data exchange operation; a thread time slice is correspondingly adjusted; and cyclic mapping reading of data is performed according to a calculated value. Through dynamic mapping of a big data file, a particle size value of mapping subsections is dynamically changed along with factors such as afile size, an embedded software state and the like, and the size of an execution time slice is dynamically adjusted according to reading time of each section of mapping, so that the file reading andthread execution efficiency is effectively improved and the resource overhead is reduced.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a dynamic memory mapping file reading method applied in embedded software of ground test equipment. Background technique [0002] Without loss of generality, taking the aerospace measurement and control system and the air-ground communication system as examples, the ground test equipment is responsible for the all-round and multi-scenario ground test verification of the transponder, and the human-computer interaction function is an important function of the embedded software of the ground test equipment . The embedded software realizes the human-computer interaction function and is the main control software of the ground test equipment. In the embedded software of the ground test equipment, the file reading method of the software is an important factor affecting the performance of the embedded software. The average response time of existing methods for readi...

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): G06F12/10G06F9/50
CPCG06F9/5027G06F12/10G06F2212/1024
Inventor 周诚
Owner 安徽雷威智能科技有限公司
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