Storing method and decoding method for command line of embedded equipment
An embedded device, command line technology, applied in the computer field, can solve the problem of consuming memory and flash hardware resources, and achieve the effect of simple, good support and reduced occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] Embodiment 1, a method for saving the command line of an embedded device, such as figure 1 shown, including:
[0068] Divide the command line to be saved into multiple fields according to the spaces in the command line; for example, the command line ip-access-list 2 bcity-acl-2 ip 192.168.1.1 permit is divided into ip-access-list, 2, bcity- acl-2, ip, 192.168.1.1, permit these six fields;
[0069] According to the predefined corresponding relationship, the field of the keyword type in the plurality of fields is converted into an identification code; the corresponding relationship is a one-to-one correspondence between each keyword and the identification code;
[0070] Save the converted command line.
[0071] Keywords are pre-defined identifiers with special meanings in embedded devices, which can also be called reserved words; because some keywords are relatively long, such as class-map, user-access-list, ip-access-list, etc. , when the identification code is used i...
Embodiment 2
[0109] Embodiment 2, a command line decoding method of an embedded device, comprising:
[0110] Convert the identification code in the command line into a keyword according to the predefined correspondence;
[0111] The correspondence is a one-to-one correspondence between keywords and identification codes.
[0112] In this embodiment, the keyword type identifiers may include multiple types, which are respectively used to represent different types of keywords; the corresponding relationship includes multiple corresponding relationships, which respectively belong to different types of keywords; The corresponding relationship of words is the one-to-one correspondence between keywords and identification codes among keywords of this type.
[0113] In this embodiment, the corresponding relationship is expressed as a keyword table, and the storage location represented by the identification code in the keyword table is the keyword corresponding to the identification code.
[0114] ...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com