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

Single-chip microcomputer file system writing method and single-chip microcomputer system

A file system and single-chip technology, applied in the field of single-chip file system, can solve the problems of poor generality and scalability of the underlying driver code, not conforming to the design principle of high cohesion and low coupling, and achieve the effect of decoupling

Active Publication Date: 2020-05-29
HEXING ELECTRICAL +4
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This does not conform to the high cohesion and low coupling design principles in software design, and the code versatility and scalability of the underlying drivers are poor

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
  • Single-chip microcomputer file system writing method and single-chip microcomputer system
  • Single-chip microcomputer file system writing method and single-chip microcomputer system
  • Single-chip microcomputer file system writing method and single-chip microcomputer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with the examples, the following examples are explanations of the present invention and the present invention is not limited to the following examples.

[0035] (1) a single-chip computer file system writing method, comprising the following steps:

[0036] Step 1, configure specific file descriptors fd and corresponding parameter configurations for storage addresses corresponding to different storage media in the driver table.

[0037] Step 1.1, according to the different storage media of the single-chip microcomputer, assign different worksheets in the driver table, and assign corresponding storage areas on the corresponding worksheets;

[0038] Step 1.2, determine the fd column in the worksheet, and its subsequent column configuration corresponds to the file object;

[0039] In step 1.3, the file object corresponding to the fd includes storage addresses corresponding to different fds, 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 provides a single-chip microcomputer file system writing method and a single-chip microcomputer system. The writing method comprises the following steps: configuring specific file descriptors fd and corresponding parameter configurations for storage addresses corresponding to different storage media in a drive table; loading the drive table by python, screening and extracting data inthe drive table, and converting the extracted required parameter information into a. C file; and writing a file system for the screened. C files by adopting a c language. For a single-chip microcomputer without an operating system and with few resources, decoupling between an application layer and a bottom layer driving module is achieved, and code expansibility and universality are good.

Description

technical field [0001] The invention relates to the application field of single-chip microcomputers, in particular to a file system of single-chip microcomputers based on a driver table. Background technique [0002] The embedded file system mainly implements functions such as file access and memory management, but for single-chip microcomputers with simple functions and small chip resources, they often do not have an operating system. When programming a single-chip microcomputer, the application layer code often does not use any other interface, and directly operates the registers of the underlying hardware; or the functions of the application layer and the underlying driver are implemented in the same function. This does not conform to the high cohesion and low coupling design principles in software design, and the code versatility and scalability of the underlying drivers are poor. Contents of the invention [0003] Aiming at the shortcomings in the prior art, the pres...

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): G06F8/30G06F8/20
CPCG06F8/315G06F8/24
Inventor 李静王柯童舒元康程波张世桃张青松李双全朱程鹏
Owner HEXING ELECTRICAL
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