Embedded type Linux based data storage method for electric energy data acquire terminal
A technology for storing data and electricity consumption information, which is applied in the field of data storage in terminals based on embedded Linux electricity consumption information collection, can solve the problems of adding hardware, data loss, accessing data, etc., and achieves high portability, increased reliability, and improved performance effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] The method for storing data in a power consumption information collection terminal based on embedded Linux comprises the following steps:
[0035] Step 1. Determine the data to be stored and the length of the data, define the base address of the memory mapping area in the process address space, and define the relative offset between the address for storing each data and the base address; determine according to the required storage data length The length of the required mapped memory also determines the size of the memory-mapped file;
[0036] Step 2. Detect the legality of the memory-mapped file according to the length of the required storage data in step 1, the start byte and the end byte of the memory-mapped file. If the file is legal, enter step 3; Store the data length to create a file and fill the file content with zero value before entering step 3;
[0037] Step 3, call the memory mapping function mmap, set up the mapping with the memory mapping file to be memory...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com