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
Example Embodiment
[0067] The first embodiment is 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- The six fields of acl-2, ip, 192.168.1.1, permit;
[0069] According to a predefined correspondence relationship, converting a field of a keyword type among the multiple fields into an identification code; the correspondence 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 meaning in embedded devices. They can also be called reserved words; some keywords are relatively long, such as class-map, user-access-list, ip-access-list, etc. , When the identification code is used instead, the leng...
Example Embodiment
[0109] The second embodiment is a method for decoding command lines of embedded devices, including:
[0110] Convert the identification code in the command line into keywords according to the predefined correspondence;
[0111] The corresponding relationship is a one-to-one correspondence between keywords and identification codes.
[0112] In this embodiment, the type identification of the keyword may include multiple, which are used to represent different types of keywords; the correspondence relationship includes multiple correspondence relationships, which belong to different types of keywords; The correspondence between words is the one-to-one correspondence between keywords and identification codes in this category of keywords.
[0113] In this embodiment, the expression form of the corresponding relationship is 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] In ...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap