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

Method for realizing parameter configuration by using command line

A technology of parameter configuration and implementation method, applied in the field of communication, can solve the problems of command line syntax check error and configuration failure, and achieve the effect of not easy to crack, improve strength, and increase diversity

Inactive Publication Date: 2011-11-16
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some special cases, users may need to enter spaces and / or question marks in some specific command line parameters (such as user name, password, etc. parameters). It will cause an error in the syntax check of the command line, and the configuration cannot continue

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 realizing parameter configuration by using command line
  • Method for realizing parameter configuration by using command line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0017] see figure 1 Shown, the method flowchart of the present invention comprises:

[0018] Step 101: customizing the format matching table of command lines whose command parameters support spaces and / or question marks;

[0019] Step 102: the user inputs command parameters in the command line;

[0020] Step 103: the command line module calls the format matching table, matches the input command parameters, and judges whether it is a customized command parameter, if yes, enters step 104; otherwise, enters step 105;

[0021] Step 104: Escaping spaces and / or question marks in custom parameters;

...

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 realizing parameter configuration by using a command line, comprising the following steps of: a, customizing a format matching table of a command line with command parameters supporting a space and / or question mark; b, inputting the command parameters in the command line; and c, calling the format matching table by a command line module to carry out command parameter matching, and carrying out meaning transferring and analysis processing on the customized command parameters. According to the method disclosed by the invention, by customizing a matching format commanded by the command line with the parameters needing to support the space and / or question mark, carrying out command format matching by the command line module during command input and carrying out special processing on a command which can be matched with the customized format, the space and / or question mark can be added when the user configures parameters, such as passwords, user names, and the like by using the command line, so that the diversity of parameter configuration is increased; meanwhile, the intensity of the passwords is also improved, and the passwords are difficult to crack.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method for realizing command line parameter configuration. Background technique [0002] The traditional operation method under DOS (disk operating system) is the command line. Command line compilation is to compile files through "command" + "file name", and execute the application program with command line parameters, for example: copy c:\l .txt d:\. [0003] Today, in the c / c++ language of the computer, the transfer of command line parameters is realized by using the main main function for formal parameter transfer. The defined command line parameters are located in the parentheses behind the main main function, for example: use main(int argc , char* argv[]) to define command line parameters, char* argv[] is an array of pointers, argv is the name of an array of pointers, and the definition "int argc" will return the number of parameters. Marked as an integer ...

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): G06F9/44
Inventor 韩尚鹏胡祖敏王志波汪澜
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD
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