Unlock instant, AI-driven research and patent intelligence for your innovation.

Data processing method and system for embedded equipment

An embedded device, data processing technology, applied in the direction of electrical digital data processing, data processing input/output process, input/output to record carrier, etc. Into ROM, the system operation cannot be changed, etc., to achieve the effect of convenient data structure storage, flexible modification or reading, and improved repairability

Active Publication Date: 2021-06-04
SHANGHAI RUIWEI ELECTRONICS TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For system software without OS, because there is no file system support, data is often written to the storage device through direct memory address access or some general serial interfaces (such as SPI, I2C, etc.); To write data, generally, the location of the memory in the memory is pre-planned according to different data size, type and other characteristics. The storage location of each group of data is fixed and planned, and cannot be changed when the system is running.
With these two data processing methods in the prior art, no matter whether the data is stored in the file system or the file-less system is used to save the data, when the device breaks abnormally or restarts, the data still cannot be written into the ROM correctly, and even the stored data in the ROM will be damaged. data, the security and reliability of the data cannot be guaranteed

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
  • Data processing method and system for embedded equipment
  • Data processing method and system for embedded equipment
  • Data processing method and system for embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Such as figure 1 As shown, the data processing method of the embedded device provided by the present invention includes:

[0029] S1 is a step for setting the first structure and the second structure;

[0030] S2 is a step for filling the data to be stored into the first structure;

[0031] S3 is a step for calculating the size value and check value of the first structure, and writing the size value and check value of the first structure into the first head structure of the first structure;

[0032] S4 is a step of writing the data to be stored into a preset storage address.

[0033] The step of S2 for filling the data to be stored into the first structure and the step of S3 for calculating the size value and check value of the first structure, and calculating the size value and check value of the first structure Between the steps of writing the value into the first header structure of the first structure, the following steps are further arranged:

[0034] It is use...

Embodiment 2

[0090] The data processing system of the embedded device provided by the present invention comprises:

[0091] a module for setting up the first structure and the second structure;

[0092] A module for filling the data to be stored into the first structure;

[0093] A module for calculating the size value and check value of the first structure, and writing the size value and check value of the first structure into the first head structure of the first structure;

[0094] The module used to write the data to be stored into the preset storage address.

[0095] The data processing system of the embedded device provided by this embodiment also includes:

[0096] A module for judging whether the pointer of the second structure contains the second header structure;

[0097] A first data processing module for performing data processing when the pointer of the second structure contains the second header structure;

[0098] A second data processing module for performing data proce...

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 data processing method and system for embedded equipment. The method comprises the following steps: S1, setting a first structural body and a second structural body; s2, filling the to-be-stored data into the first structural body; s3, calculating a size value and a check value of the first structural body, and writing the size value and the check value of the first structural body into a first head structure of the first structural body; and S4, writing the to-be-stored data into a preset storage address. The data processing method and system for the embedded equipment can be suitable for storing the data by using a file system or storing the data by using a file-free system, can conveniently perform structured storage on the data, flexibly modify or read any required data segment, have data verification and backup functions, reduce the data damage possibility, and improve the data repairability.

Description

technical field [0001] The invention relates to the technical field of computer software data processing, in particular to a data processing method and system for embedded devices. Background technique [0002] During the operation of embedded system equipment, the system software needs to save and monitor data such as system operating status, peripheral operating data and status, networking status, and user configuration data. When the device is running, these data can be stored in RAM and used at any time , but the data in RAM is often lost when the power is turned off or the device sleeps. A lot of data actually needs to be restored after the system is powered on again. Therefore, these data are often saved in ROM before the device is powered off. There are many types of ROM, such as EEPROM or Flash. In the prior art, different embedded systems have different methods of saving data. [0003] For software that uses an embedded real-time operating system, the system softw...

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): G06F3/06
CPCG06F3/0617G06F3/0619G06F3/0631G06F3/0643G06F3/0679Y02D10/00
Inventor 滕景东
Owner SHANGHAI RUIWEI ELECTRONICS TECH