Method for storing configuration information

A technology for configuring information and storage units, applied in the field of communications, can solve the problems of difficult storage, inconvenient character string representation of its data value or name, inability to meet data block storage, etc., to achieve the effect of overcoming inconvenience in operation

Active Publication Date: 2016-12-07
NAWA ELECTRONICS SHANGHAI CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the partition for storing simple string variables cannot meet the needs of convenient and fast storage of data blocks corresponding to configuration information, because data blocks are speci

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 storing configuration information
  • Method for storing configuration information
  • Method for storing configuration information

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0034] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0035] It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other if there is no conflict.

[0036] The present invention will be further described below with reference to the drawings and specific embodiments, but it is not a limitation of the present invention.

[0037] The invention includes a method for storing configuration information.

[0038] An embodiment of a ...

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 method for storing configuration information applied to equipment with an embedded system. The equipment provides an internal memory, and the internal memory comprises a first environment variable partition; the first environment variable partition includes a first partition and a second partition; the equipment provides a storage unit, and the storage unit comprises a second environment variable partition; the structure of the second environment variable partition is the same as that of the first environment variable partition; the method further comprises the following steps of step S1, acquiring the configuration information and loading the configuration information to the internal memory; step S2, writing the configuration information into the first environment variable partition according to an external first system command; and step S3, writing the configuration information which is conserved in the first environment variable partition into the second environment variable partition according to an external second system command. The technical scheme of the invention has the beneficial effect that data associated with the configuration information can be conveniently and quickly stored in the storage unit of the equipment.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method for storing configuration information. Background technique [0002] An environment variable is an object with a specific name in the operating system, which contains information that one or more applications will use. The data of environment variables in embedded devices is usually stored in the environment variable partition in the form of strings, as shown below: [0003] variable name = the value corresponding to the variable name (the value is in string format) [0004] For example: ip_address = 192.168.1.1 device_name = embedded_robot [0005] However, the partition for storing simple string variables cannot meet the needs of convenient and fast storage of data blocks corresponding to configuration information, because data blocks are specifically binary bit streams, and it is not convenient to use strings to represent their data values ​​or names. For ex...

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
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0629G06F3/0638G06F3/0646G06F3/0679
Inventor 蓝麒
Owner NAWA ELECTRONICS SHANGHAI CO LTD
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