CN100356352C - Method of on-line assistance for user based on man machine lagnuage - Google Patents

Method of on-line assistance for user based on man machine lagnuage Download PDF

Info

Publication number
CN100356352C
CN100356352C CNB031374247A CN03137424A CN100356352C CN 100356352 C CN100356352 C CN 100356352C CN B031374247 A CNB031374247 A CN B031374247A CN 03137424 A CN03137424 A CN 03137424A CN 100356352 C CN100356352 C CN 100356352C
Authority
CN
China
Prior art keywords
command
user
inquiry
parameter
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031374247A
Other languages
Chinese (zh)
Other versions
CN1567264A (en
Inventor
李锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031374247A priority Critical patent/CN100356352C/en
Publication of CN1567264A publication Critical patent/CN1567264A/en
Application granted granted Critical
Publication of CN100356352C publication Critical patent/CN100356352C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The present invention provides a method of on-line help for users based on man-machine language. The method comprises the following steps that user's enquiry request of for input commands is received; the corresponding enquiry mode of the enquiry request is determined; according to the determined enquiry mode, the corresponding storage area of the enquiry mode is searched; the corresponding help information of the enquiry mode is output. The present invention can greatly improve the operational efficiency of communication equipment and systems, so the availability and the maintainability of the communication equipment and the systems are enhanced.

Description

The user is carried out the method for online help based on man-machine language
Invention field
The present invention relates to employed Online Help System in the data communications equipment, the method for online help particularly is provided for the user based on MML (man-machine language) in communication facilities.
Background technology
Along with the fast development of the computer network and the communication technology, the function of communication facilities constantly strengthens, and the kind of communication service also is on the increase.Correspondingly, in order to guarantee opening and moving of system's regular traffic, have the extremely strong robustness, also require it to have the maintainability of height except requiring communication system software.Otherwise, in case because artificial, produce the device data configuration error and influence the normal use of system, all influences that will bring irretrievable loss and can't retrieve to supplier, operator and the user of equipment.From this angle, aspect plant maintenance, increase operation guide to the Operation and Maintenance personnel of communication system, user oriented provides in time, online help information accurately and efficiently, just becomes an importance that is independent of outside the system business function.
MML is a kind of plant maintenance language based on man-machine interaction, under equipment access way commonly used application is arranged all.But, in the system that in the past uses MML,, in some other help system, do not fail to set up perfect help system based on the help function of character yet, be not easy to user's maintenance.
In the prior art, each configurable network equipment as router, two layers, three-tier switch or the like, nearly all provides the corresponding online help system.These help systems have common characteristic, that is, by the user keys in "? " or " help " instruction, obtain the help information of all operations maintenance command; Perhaps by key in that complete command word is right after "? " at last obtain the details of specified command.
Therefore, in the help system of prior art, this processing mode has caused a lot of inconvenience to the user, and user's maintenance has been caused bigger limitation, for example:
1, the correlativity prompt facility that does not have command word:
When the user does not key in complete command word, the character string of having keyed in will be regarded as invalid command word.Therefore, when the user was unfamiliar with employed order, searching with user's typing character was the related command word of guiding, can not get effective information.
2, the management function that does not have history command:
The user often can use the order that the front was used in operating process, be called history command, perhaps only need revise certain parameter on the basis of former history command, and then carries out; Perhaps just repeat an order.But in existing help system, can't provide similar function mostly, when after the user wants to revise on the basis of a last instruction, issuing again, but can only key in again.Can not produce too big problem for short operational order, and, bring extra burden then can for the Operation and Maintenance personnel for the operational order of the length that has multiparameter.In addition, when the user wants to re-execute the order of once carrying out the front, also can only key in again.
3, the prompt facility that does not have command parameter:
When the user needs the help information of certain correlation parameter in the operational order, or some is when with user's typing character being the relevant information of command parameter of guiding, sometimes can not get, perhaps can only in whole command informations, go manually to search, thereby can not obtain desired suggestion content easily and quickly.
4, the progressive prompt facility that does not have command parameter:
When the user is input to a certain link, in the time of need inquiring about ensuing command parameter, can only delete existing information, and go back to carry out to the help of this command word and obtain help information.Therefore, when the user need know the parameter name that next should import and value, can not obtain effective information easily and quickly.
5, order is not keyed in and the cross processing function of seeking help:
When the user has keyed in the partial content of order, and need obtain ensuing operation indicating, when return command was keyed in state then, system can not provide relevant treatment scheme.
Summary of the invention
Therefore, above-mentioned defective in view of prior art, purpose of the present invention just provides a kind of system and method for online help, by user oriented command word and command parameter are carried out rational organization and management, and the user inquiring request carried out intellectual analysis, promptly determine inquiry mode, comprise theme and related content that the user will inquire about, export effective information then to user access port.Thereby make the user obtain enough help informations, and the order input and the operation of seeking help are carried out without interfering with each other synchronously in fast, the easiest mode.
According to the present invention, provide a kind of based on man-machine language to the method that the user carries out online help, comprise the steps: to receive inquiry requirement of input command from user; Determine the pairing inquiry mode of this query requests; According to determined inquiry mode, search for the storage area corresponding with this inquiry mode; Output and the corresponding help information of this inquiry mode.
In said method, determine that the user inquiring mode is that employing is carried out the mode that user input commands carries out character total length coupling.User's inquiry mode can comprise: inquiry complete order word; Inquiry is the related command word of guiding with the importation; The available parameter of querying command; The value of certain parameter of inquiry input command; The parameter that inquiry will be imported after the order of being imported; Inquiry is the title of the parameter word of guiding with institute's input character.
In said method of the present invention, be according to command word and command parameter and be provided with a plurality of storage areas respectively.When inquiry mode during, directly export related data in this data storage areas to the subscriber connection mouth only corresponding to the data in the individual data storage area; And when inquiry mode need be inquired about more detailed information, then can relate to the data in other the storage area.At this moment, will visit the Relational database of other storage area, and the relevant information that inquires will be organized, export to the subscriber connection mouth to generate with the corresponding information of this inquiry mode by this inquiry mode.
In an embodiment of the present invention, can also comprise the steps: the operation to cursor movement key or command in combination key, export history command to the user according to the user; According to the modification of user, generate corresponding newer command from this history command is capable to described history command.
In another embodiment of the invention, can further include following steps: after having shown the required order of user, display system prompt once more in order line, and the command string of being imported when once seeking help on behind prompt, showing, make the user can continue the input of ordering on this basis.
According to the present invention, by user oriented command word and command parameter are carried out rational organization and management, and the user inquiring request carried out intellectual analysis, the theme and the related content of consumer positioning inquiry are exported then and are exported relevant information to user access port rapidly.Make the user obtain enough help informations, and the order input and the operation of seeking help can be carried out without interfering with each other synchronously in fast, the easiest mode.
Description of drawings
By detailed explanatory note and in conjunction with the following drawings, above-mentioned purpose of the present invention, feature and the advantage easy to understand more that will become, wherein:
Fig. 1 is the process flow diagram of the preferred embodiments of the invention.
Embodiment
Describe various embodiment of the present invention in detail below with reference to Fig. 1.
In the present invention, command word and command parameter (span that comprises command parameter) are organized according to corresponding relation, different storage areas is used in design respectively, guarantees full and accurate comprehensively with help information rapidly and efficiently of help system.
In the present invention, the command word part is left in respectively in the different storage areas with the command parameter part, can avoid crossing over access region for the request commonly used of querying command title.For example for as issue orders:
ADD?BRD:FN=1,SN=2;
This is an increase veneer configure order, and wherein the command word before the colon partly is placed in the storage area, and remaining argument section is placed in another storage area.For example, when inquiry is the theme the command name of speech with ADD, just can not remove the access parameter storage area, thereby avoid in this case because the influence that the access parameter storage area produced efficient and response time.
As mentioned above, in the present invention, storage area is cut apart storage according to command word and command parameter, between the two, set up the mapping relations of storage area, analyze by user's input, judge inquiry mode order line, and then the access mode of decision storage area.Specify this process below in conjunction with accompanying drawing.
In one embodiment of the invention, the user after inserting by port, under system prompt, if key in "? " or " help " add carriage return, then enters the full scope queries of help information.After the user input part content, key in "? ", will carry out fuzzy query to relevant information.
Under the fuzzy query mode, system will carry out the total length coupling of character to user input content, find out wherein command word and command parameter, and according to the character length of user's input, judgement is the request of seeking help/inquiring about of which kind of mode.If what key in after the user input part content is command execution key (for example enter key), then system will judge whether that also the order of keying in can carry out, and as carrying out, judges that then the user will inquire about but not carries out the order of being imported.This moment the user carriage return input with input "? " effect be the same.
The separating character of distinguishing command word and command parameter is ": ".At first, need in user's input, search colon, command word part and argument section are taken out respectively.Then, judge, determine in the command word memory block, to carry out the inquiry of command word, carry out the inquiry of parameter in parameter storage area according to the command word part and the argument section that take out.Again according to analysis result, when judging that inquiry mode is a kind of in the following mode, take corresponding mode to offer help for the user.Still be example with the mentioned order:
(1) if at the inquiry of complete order word, for example the user imported complete command word " ADD BRD " import "? " again, then only export the relevant information of this command word, comprise command word, parameter list and parameter value;
(2) if at the inquiry of related command word that with the importation is guiding, for example the user imported command word " ADD " back input "? ", matched and searched in the command word memory block only then, the command word set that output is relevant;
(3) if inquire about the available parameter of this order, for example the user has imported " ADD BRD: " import "? " again, then show the command word and the parameter list of this order;
(4) if inquire about the value of certain parameter of this order, for example the user imported " ADD BRD:FN " or " ADD BRD:FN=" import "? " again then find the memory block of command word parameter, show the command word of this order and the parameter range of looking into then according to the storage corresponding relation between command word and the command parameter;
(5) if inquire about the content of parameter that next should import after this order, for example the user imported " ADD BRD:FN=1 " import "? " again be that the user has imported the known parameter of part, then show the command word of this order and the parameter list after the FN parameter;
(6) if inquiry is the title of the parameter word of guiding with some character, for example the user imported " ADD BRD:F " import "? " again or carriage return, show that then the command word of this order reaches and the relevant parameter list of guiding character.
For the inquiry mode of (3)~(6), except that determining at the command word storage area the validity of user inquiring, the storage area of character string content indexing command parameter that also will be by command word.
In this embodiment,,, and do not need the visit order parameter region, then directly press the subscriber connection mouth to export, and withdraw from inquiry if only inquire about data in a certain storage area according to analysis result to user input; To inquire about more detailed information if judge the user, then visit the data in another storage area, Query Information temporarily is placed in the output buffer, and organize the user prompt information that generates, disposablely after inquiry is finished export to user port by the demand mode.
If the user operates cursor up down key or Macintosh (can be used for terminal type that cursor key is not responded), determine that then the user is in the inquiry of carrying out history command.At this moment, allow user's thumbing up and down by cursor up down key or Macintosh (for example Ctrl+1 etc. is equivalent to moving of cursor key, can be used for the terminal type that cursor key is not responded) control history command.
Specifically, the request to the history command inquiry has been represented itself in the input of cursor key or Macintosh, can determine the current index of history command according to user's input.That is to say, help system of the present invention is by to the identification of onscreen cursor position or to the identification of the Macintosh of input, move or Macintosh is operated determined position as index with cursor, find the corresponding history command in the history command storage area, thereby determine the history command that the user will inquire about, then, by extracting the order that finds of history command storage area, and transfer to the current command operating area, it is presented under the system prompt.
In an embodiment of the present invention, the user can also locate in the history command character string by cursor key or Macintosh, finishes the deletion action of character and finishes the insertion operation by other editing key (for example visual character keys) in command string by editing key (for example " Del " key and " backspace delete key ").Help system can adopt the method in traditional for example DOS system that the wrapstring that surpasses the screen scope is discerned accordingly and handled.
In addition, in one embodiment of the invention, after the demonstration of finishing user's information needed, will be in order line display system prompt once more, and the command string of being imported when once seeking help on behind prompt, showing, but removed "? ", the user can continue the input or the modification of ordering on this basis.
For thin-client (promptly under Client-Server (client-server) architecture, function that server end was revised and characteristic, client need not any modification just can be provided to the user, this client is called thin-client) insert, the screen width of its terminal is fixed, the character string that surpasses indication range will be done the folding row voluntarily by client-side program during output and handle.Move and will do cursor according to the width of client-side program window the modification of history command.Promptly when character when increase and decrease in the client-side program window, cursor can correspondingly move, if surpass line width, then cursor folds to next line automatically and begins the place.
In another embodiment of the present invention, when the user repeats to press command execution key (for example enter key), can repeat the order under the current system prompt.In this embodiment, enter key is the unique identification of finishing user's input, beginning to carry out, and at this moment, in a single day help system identifies the carriage return order, will make the command string in the command buffer enter order analysis and implementation.
Although describe the present invention above, should be appreciated that these illustrate the example of just having enumerated concrete enforcement more of the present invention, rather than limitation of the invention.Obviously can carry out various modifications and adopt the various means that are equal to each details of the embodiment of the invention.Therefore, scope of the present invention is only limited by claims.

Claims (8)

  1. One kind based on man-machine language to the method that the user carries out online help, comprise the steps:
    (1) receives inquiry requirement of input command from user;
    (2) determine the pairing inquiry mode of this query requests;
    (3) according to determined inquiry mode, search for the storage area corresponding with this inquiry mode, described storage area comprises command word storage area and command parameter storage area;
    (4), directly export related data in this storage area to the subscriber connection mouth when described inquiry mode during corresponding to the data in the single storage area; When described inquiry mode during corresponding to the data in two storage areas, organize information in the Relational database in the different storage zone by this inquiry mode, export to the subscriber connection mouth to generate with the corresponding information of this inquiry mode.
  2. 2. method according to claim 1 is characterized in that, described inquiry mode comprises:
    Inquiry complete order word; Inquiry is the related command word of guiding with the importation; The available parameter of querying command; The value of certain parameter of inquiry input command; The parameter that will import after the current input parameter of querying command; Inquiry is the title of the parameter word of guiding with institute's input character.
  3. 3. method according to claim 2 is characterized in that, in the described step (2) is to adopt the total length carry out character to mate to determine user's inquiry mode.
  4. 4. method according to claim 3 is characterized in that, described step (1) further comprises, when pressing the command execution key behind the described user input commands, judges whether to carry out this order, if then carry out this order; If not, then the command context that the user has been imported is as the content of query requests.
  5. 5. according to each described method of claim 1-4, it is characterized in that, further comprise:
    (5) cursor position that the operation of cursor movement key or compound command key is produced according to the user finds corresponding history command as index in the history command storage area;
    (6) the current command operating area is transferred in the order that finds of history command storage area, and be presented under the system prompt.
  6. 6. method according to claim 5 is characterized in that, further comprises,
    (7) according to the user to the described modification that is presented at the current command under the system prompt, generate newer command.
  7. 7. method according to claim 5 is characterized in that, when the order line of user's input surpasses the line width scope of screen, rolls over row automatically and handles.
  8. 8. method according to claim 5 is characterized in that, further comprises,
    When the user presses the command execution key, carry out the current command.
CNB031374247A 2003-06-20 2003-06-20 Method of on-line assistance for user based on man machine lagnuage Expired - Fee Related CN100356352C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031374247A CN100356352C (en) 2003-06-20 2003-06-20 Method of on-line assistance for user based on man machine lagnuage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031374247A CN100356352C (en) 2003-06-20 2003-06-20 Method of on-line assistance for user based on man machine lagnuage

Publications (2)

Publication Number Publication Date
CN1567264A CN1567264A (en) 2005-01-19
CN100356352C true CN100356352C (en) 2007-12-19

Family

ID=34470403

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031374247A Expired - Fee Related CN100356352C (en) 2003-06-20 2003-06-20 Method of on-line assistance for user based on man machine lagnuage

Country Status (1)

Country Link
CN (1) CN100356352C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571774B (en) * 2011-12-27 2015-10-21 浙江省电力公司 A kind of character operating command identification method and device
CN105354021A (en) * 2015-10-08 2016-02-24 盛科网络(苏州)有限公司 Implementation method for integrating command lines in Linux kernel
CN111143006B (en) * 2019-12-25 2022-11-01 杭州迪普科技股份有限公司 Method and device for acquiring command help information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1285107A (en) * 1997-12-19 2001-02-21 艾利森电话股份有限公司 Man machine interface help search tool
US20010052030A1 (en) * 1999-12-14 2001-12-13 Nobuhisa Shiraishi Command processing apparatus
WO2003034279A1 (en) * 2001-10-17 2003-04-24 Japan Science And Technology Agency Information searching method, information searching program, and computer-readable recording medium on which information searching program is recorded

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1285107A (en) * 1997-12-19 2001-02-21 艾利森电话股份有限公司 Man machine interface help search tool
US20010052030A1 (en) * 1999-12-14 2001-12-13 Nobuhisa Shiraishi Command processing apparatus
WO2003034279A1 (en) * 2001-10-17 2003-04-24 Japan Science And Technology Agency Information searching method, information searching program, and computer-readable recording medium on which information searching program is recorded

Also Published As

Publication number Publication date
CN1567264A (en) 2005-01-19

Similar Documents

Publication Publication Date Title
US20210192395A1 (en) Automatic generation of data analysis queries
US6883001B2 (en) Document information search apparatus and method and recording medium storing document information search program therein
US6768997B2 (en) System and method for creating a search query using movable elements in a graphical user interface
JP2006502510A5 (en)
US6725251B2 (en) Local-file-transfer method and local-filed-transfer system for client-server system
EP1903452A1 (en) Method and system for processing the input in an XML form
CN110362596A (en) A kind of control method and device of text Extracting Information structural data processing
JP4660341B2 (en) Intellectual property management system, intellectual property management method and program thereof
US20010025287A1 (en) Document integrated management apparatus and method
US5768144A (en) System for supporting data analysis in VLSI process
CN111125213A (en) Data acquisition method, device and system
CN101616221B (en) Guidance information display device, guidance information display method
JP2006268690A (en) Faq presentation/improvement method, faq presentation/improvement device and faq presentation/improvement program
JP2006099279A (en) Search device and search program
CN100356352C (en) Method of on-line assistance for user based on man machine lagnuage
US20040039755A1 (en) Metadata relationships
US20030135496A1 (en) Management program, method and apparatus for business process definition
KR101035039B1 (en) Apparatus and method for providing a related information by inquiry
KR100234271B1 (en) Real time searching method using movable search engine
KR101200442B1 (en) Input system for marc data using books and method thereof
US20020147705A1 (en) Method system and program product for data searching
JPH04241673A (en) Document retrieving system
KR100459008B1 (en) Book order and automatic book data processing method through library management system
JP2009151742A (en) Use case scenario creation support system, use case scenario creation support method, and use case scenario creation support program
KR101161574B1 (en) Desktop icon changing apparatus and changing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071219

Termination date: 20200620

CF01 Termination of patent right due to non-payment of annual fee