CN106528166A - Command line interface processing system and method - Google Patents

Command line interface processing system and method Download PDF

Info

Publication number
CN106528166A
CN106528166A CN201611044815.5A CN201611044815A CN106528166A CN 106528166 A CN106528166 A CN 106528166A CN 201611044815 A CN201611044815 A CN 201611044815A CN 106528166 A CN106528166 A CN 106528166A
Authority
CN
China
Prior art keywords
instruction
message queue
cmd
process module
request
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.)
Granted
Application number
CN201611044815.5A
Other languages
Chinese (zh)
Other versions
CN106528166B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201611044815.5A priority Critical patent/CN106528166B/en
Publication of CN106528166A publication Critical patent/CN106528166A/en
Application granted granted Critical
Publication of CN106528166B publication Critical patent/CN106528166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a command line interface processing system comprising: a user interface process module, an instruction preprocessing process module and an instruction execution process module, wherein the user interface process module and the instruction preprocessing process module perform serial communication through a shared internal memory, and the instruction preprocessing process module communicates with the instruction execution process module through a message queue; the user interface process module receives a command prompt released by a user and forwards the command prompt to the instruction preprocessing process module; the instruction preprocessing process module preprocesses the command prompt, generates a corresponding request task and forwards the request task to the instruction execution process module through the message queue; and the instruction execution process module schedules the request task. By adoption of the command line interface processing system disclosed by the invention, uncoupling package of different stages of CLI analysis processes is realized, the expansion of subsequent newly added CLI instructions is facilitated, and the flexibility is very good. In addition, the invention further provides a command line interface processing method having the above technical advantages.

Description

A kind of Command Line Interface processing system and method
Technical field
The present invention relates to order line processing technology field, more particularly to a kind of Command Line Interface processing system and method.
Background technology
CLI (command-lineinterface, Command Line Interface) is referred to and executable finger can be keyed under user's prompt The interface of order, it does not generally support that mouse, user are instructed by input through keyboard, after computer receives instruction, is performed.
According to product demand definition, CLI processing modules need the interactive interface for providing the user close friend, while for the ease of Newly-increased to merge different type, CLI processing modules also need the software architecture for providing non-coupled, easy extension.Additionally, in actually used mistake It is capable of achieving soft and hardware isolation to safeguard in journey, such as exec modules are responsible for encapsulating particular hardware details, user_cli modules and cli_ Thread modules are indifferent to specific instruction details, only just can be scheduled according to cmd specifying informations when cmd is forwarded to exec modules Process.
In consideration of it, provide a kind of new order line processing method and system, it is that have very much must to meet product particular demands Want.
The content of the invention
It is an object of the invention to provide a kind of Command Line Interface processing system and method, to solve existing order line process side Method coupling is poor, be difficult the problem of extension.
To solve above-mentioned technical problem, the present invention provides a kind of Command Line Interface processing system, including:
User interface process module, instruction pre-handle scheduler module and instruction executive process module;
Wherein, the user interface process module is connected by shared drive with the instruction pre-handle scheduler module Communication, the instruction pre-handle scheduler module are communicated by message queue with the instruction executive process module;
The CMD that the user interface process module is issued for receive user, the CMD is forwarded To the instruction pre-handle scheduler module;
The instruction pre-handle scheduler module generates corresponding request and appoints for pre-processing to the CMD Business, is forwarded to the instruction executive process module by the message queue;
It is described to instruct executive process module for being scheduled process to the request task.
Alternatively, the user interface process module includes:
Discrimination unit, the command type for distinguishing the CMD for receiving are information inquiring command or configuration Operational order;
Dispatching Unit, for being distributed to corresponding interface according to the command type;
First retransmission unit, for calling package interface to be forwarded to the shared drive;
Searching unit, for searching the shared drive with the presence or absence of reply process information, when the shared drive is present During the reply process information, the reply process information is received.
Alternatively, the user interface process module also includes:
Legitimacy verifies unit, the legitimacy for the CMD to receiving are verified.
Alternatively, the instruction pre-handle scheduler module includes:
First judging unit, for judging whether the shared drive has new request, has new request in the shared drive When, it is encapsulated as request task;
Second retransmission unit, for the request task is forwarded to the message queue;
Processing unit, for judging whether there is echo message in the message queue, has response in the message queue During message, the request task is processed;
First returning unit, for reply process information is back to the shared drive.
Alternatively, first judging unit specifically for:
Judge whether the shared drive has new request, when the shared drive has new request, to it is described it is new ask into Row legitimacy verifies, verify successfully request task of the post package for preset kind.
Alternatively, the instruction executive process module includes:
Second judging unit, for judging whether the message queue has new request, has new request in the message queue When, corresponding Processing Interface is searched according to request task;
Performance element, for performing the request task by the Processing Interface;
Second returning unit, for encapsulating echo message and being back to the message queue.
Present invention also offers a kind of Command Line Interface processing method, including:
The CMD is forwarded to instruction pre-handle by the CMD that user interface process receive user is issued Process;
Instruction pre-handle process is pre-processed to the CMD, generates corresponding request task, by message Queue is forwarded to instruction executive process;
Instruction executive process is scheduled process to the request task.
Alternatively, the CMD that the user interface process receive user is issued, the CMD is forwarded Include to instruction pre-handle process:
The command type of the CMD that differentiation is received is information inquiring command or configuration operational order;
Corresponding interface is distributed to according to the command type;
Package interface is called to be forwarded to the shared drive;
The shared drive is searched with the presence or absence of reply process information, when the shared drive has the reply process letter During breath, the reply process information is received.
Alternatively, the instruction pre-handle process is pre-processed to the CMD, is generated corresponding request and is appointed Business, being forwarded to instruction executive process by message queue includes:
Judge whether the shared drive has new request, when the shared drive has new request, be then encapsulated as request and appoint Business;
The request task is forwarded to into message queue;
Whether there is echo message in judging the message queue, when receiveing the response in the message queue, then process The request task;
Reply process information is back to into the shared drive.
Alternatively, the instruction executive process is scheduled process to the request task includes:
Judge whether the message queue has new request, when the message queue has new request, then according to request task Search corresponding Processing Interface;
The request task is performed by the Processing Interface;
Encapsulation echo message is simultaneously back to the message queue.
Command Line Interface processing system provided by the present invention, including:User interface process module, instruction pre-handle process Module and instruction executive process module;User interface process module is carried out by shared drive with instruction pre-handle scheduler module Serial communication, instruction pre-handle scheduler module are communicated by message queue with instruction executive process module;User interface enters CMD is forwarded to instruction pre-handle scheduler module by the CMD that journey module receive user is issued;Instruction is pre- to be located Reason scheduler module is pre-processed to CMD, is generated corresponding request task, is forwarded to instruction by message queue and holds Row scheduler module;Instruction executive process module is scheduled process to request task.The application combines shared drive and message team Two kinds of IPC communication mechanisms of row, realize the non-coupled encapsulation of CLI process of analysis different phases, and are easy to subsequently increase CLI instructions newly Extension, possess considerable flexibility.Additionally, present invention also offers at a kind of Command Line Interface with above-mentioned technological merit Reason method.
Description of the drawings
For the clearer explanation embodiment of the present invention or the technical scheme of prior art, below will be to embodiment or existing Accompanying drawing to be used needed for technology description is briefly described, it should be apparent that, drawings in the following description are only this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of specific embodiment structured flowchart of Command Line Interface processing system provided by the present invention;
Fig. 2 is the flow chart of Command Line Interface processing method provided in an embodiment of the present invention;
Fig. 3 is the general module relation schematic diagram of Command Line Interface processing system provided by the present invention;
Flow charts of the Fig. 4 for user interface process;
Flow charts of the Fig. 5 for instruction pre-handle process;
Fig. 6 is the flow chart for instructing executive process.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
A kind of specific embodiment structured flowchart of Command Line Interface processing system provided by the present invention as shown in figure 1, The system includes:
User interface process module 1, instruction pre-handle scheduler module 2 and instruction executive process module 3;
Wherein, the user interface process module 1 is gone here and there by shared drive with the instruction pre-handle scheduler module 2 UNICOM believes that the instruction pre-handle scheduler module 2 is communicated by message queue with the instruction executive process module 3;
The CMD that the user interface process module 1 is issued for receive user, the CMD is turned It is sent to the instruction pre-handle scheduler module;
The instruction pre-handle scheduler module 2 generates corresponding request for pre-processing to the CMD Task, is forwarded to the instruction executive process module by the message queue;
It is described to instruct executive process module 3 for being scheduled process to the request task.
It is pointed out that being mutually independent between above-mentioned module, wherein user interface process module is pre- with instruction locates Serial communication is carried out by shared drive between reason scheduler module, instruction pre-handle scheduler module and instruction executive process module it Between serial communication is carried out by message queue.Intermodule is worked with async combinations using sync, user interface process module CMD (cmd) is forwarded to after instruction pre-handle process can carry out obstruction wait, wait instruction pre-handle process to process Finish wake-up user interface process module;The pretreatment of instruction pre-handle scheduler module is forwarded to instruction by message queue after finishing Executive process module, waits instruction executive process module to wake up instruction pre-handle process again after being finished, then instructs pre- Treatment progress for receive response be packaged process be forwarded back to user interface process module again, so far just complete one it is complete Whole CLI handling processes.
Command Line Interface processing system provided by the present invention, including:User interface process module, instruction pre-handle process Module and instruction executive process module;User interface process module is carried out by shared drive with instruction pre-handle scheduler module Serial communication, instruction pre-handle scheduler module are communicated by message queue with instruction executive process module;User interface enters CMD is forwarded to instruction pre-handle scheduler module by the CMD that journey module receive user is issued;Instruction is pre- to be located Reason scheduler module is pre-processed to CMD, is generated corresponding request task, is forwarded to instruction by message queue and holds Row scheduler module;Instruction executive process module is scheduled process to request task.Without coupling between each module of the application, can Instruction set is deleted voluntarily according to demand;And soft and hardware processing module is separated, hide each other and implement details, realize The non-coupled encapsulation of CLI process of analysis different phases and it is easy to subsequently increase the extension of CLI instructions newly, possesses fine flexibility.
On the basis of above-described embodiment, user interface process module (user_cli) is independent user's treatment progress, Mainly responsible receive user issues the tasks such as cmd, legitimacy detection, cmd forwardings;And order issues rear user_cli and need to distinguish which It is that then info inquiries or set configuration operations are distributed to corresponding interface, order need to carry out legitimacy detection such as assert modes, The write interfaces that share memory are encapsulated are called in order encapsulation forwarding.In the present embodiment, user interface process module can have Body includes:
Discrimination unit, the command type for distinguishing the CMD for receiving are information inquiring command or configuration Operational order;
Dispatching Unit, for being distributed to corresponding interface according to the command type;
First retransmission unit, for calling package interface to be forwarded to the shared drive;
Searching unit, for searching the shared drive with the presence or absence of reply process information, when the shared drive is present During the reply process information, the reply process information is received.
Used as a kind of preferred embodiment, user interface process module can further include:
Legitimacy verifies unit, the legitimacy for the CMD to receiving are verified.
Instruction pre-handle scheduler module (cli_thread) mainly responsible cmd pretreatments, cmd are re-packaged into request Etc. task, possess cmd watcher threads, with reference to synchronization policy semaphore, when asking without cli, cli_thread reception processing lines Journey suspended state, new request just can be unblocked after arriving, and detected that again classification is then encapsulated into for receiving request The structure of exec identifications, sends to message queue finally by message queue write interfaces.Which can specifically include:
First judging unit, for judging whether the shared drive has new request, if it has, be then encapsulated as request appointing Business;
Second retransmission unit, for the request task is forwarded to message queue;
Processing unit, for judging whether there is echo message in the message queue, if it has, then process the request appointing Business;
First returning unit, for reply process information is back to the shared drive.
Wherein, the first judging unit specifically for:
Judge whether the shared drive has new request, if it has, then legitimacy verifies are carried out to the new request, verify Request task of the successful post package for preset kind.
Instruction executive process module is mainly responsible for the implementation procedure of concrete cmd, and the id information that cmd enclosed structures are carried Concrete process object, exec instruction executive process is selected to be responsible for the execution work of specific instruction, exec watcher threads are detected newly Request arrive after need analysis instruction and then select alignment processing branch according to concrete request_id, finally issue operation Particular hardware module.Branch operation is finished and need to reconfigure response response messages return message queue, and then completes this CLI is operated.Which can specifically include:
Second judging unit, for judging whether the message queue has new request, if it has, then being looked into according to request task Look for corresponding Processing Interface;
Performance element, for performing the request task by the Processing Interface;
Second returning unit, for encapsulating echo message and being back to the message queue.
Below Command Line Interface processing method provided in an embodiment of the present invention is introduced, order line circle described below Face processing method can be mutually to should refer to above-described Command Line Interface processing system.
Fig. 2 is the flow chart of Command Line Interface processing method provided in an embodiment of the present invention, with reference at Fig. 2 Command Line Interfaces Reason method can include:
Step S101:The CMD that user interface process receive user is issued, the CMD is forwarded to Instruction pre-handle process;
Step S102:Instruction pre-handle process is pre-processed to the CMD, generates corresponding request task, Instruction executive process is forwarded to by message queue;
Step S103:Instruction executive process is scheduled process to the request task.
On the basis of above-described embodiment, in Command Line Interface processing method provided by the present invention, user interface process The CMD that receive user is issued, specifically can wrap the step of the CMD is forwarded to instruction pre-handle process Include:
The command type of the CMD that differentiation is received is information inquiring command or configuration operational order;
Corresponding interface is distributed to according to the command type;
Package interface is called to be forwarded to the shared drive;
The shared drive is searched with the presence or absence of reply process information, when the shared drive has the reply process letter During breath, the reply process information is received.
As a kind of specific embodiment, in Command Line Interface processing method provided by the present invention, the instruction is pre- to be located Reason process is pre-processed to the CMD, is generated corresponding request task, is forwarded to instruction by message queue and holds Traveling journey includes:
Judge whether the shared drive has new request, if it has, being then encapsulated as request task;
The request task is forwarded to into message queue;
Whether echo message is had in judging the message queue, if it has, then processing the request task;
Reply process information is back to into the shared drive.
As a kind of specific embodiment, in Command Line Interface processing method provided by the present invention, the instruction is performed Process is scheduled process to the request task to be included:
Judge whether the message queue has new request, if it has, then corresponding Processing Interface is searched according to request task;
The request task is performed by the Processing Interface;
Encapsulation echo message is simultaneously back to the message queue.
With reference to the general module relation schematic diagram of Fig. 3 Command Line Interface processing systems provided by the present invention, below to this The course of work of another kind of specific embodiment of the provided Command Line Interface processing method of invention is described in detail.
The system includes:User_cli user interface process, cli_thread pretreatment processes and exec executive process three Part;Communicated by share memory IPC mechanisms between wherein user_cli and cli_thread, it is ensured that the two it Between data most transmit soon, but synchronization mechanism need to be additionally provided and ensure that the two is synchronous;Adopt between cli_thread and exec Msg_queue IPC mechanisms are communicated, and as system v message queues carry blocking mechanism, therefore can save additional synchronization guarantor Card mechanism.
The flow chart that Fig. 4 shows user interface process, sends instructions under user_cli receive users, then for issuing Cmd is verified, and Reseals into request data structures according to cmd information after verification success, and by request send to Shared section key, after request sends success, user_cli just blocks etc., and whether shared section key to be read has corresponding answer Exist, if it there is corresponding answer, user_cli processes correspondence answer and completes this CLI request task.
The flow chart that Fig. 5 shows instruction pre-handle process, it is to be shared interior that cli_thread initialization finishes just obstruction etc. Deposit whether area has new request to arrive, if now there is new request, it is necessary first to verify request legitimacies, complete privately owned Then information unloading Reseals another type of request, sends to message queue area;Similar to user_cli, cli_ Thread equally obstructions etc. stay in message queue and read interface, the confirmation for waiting exec to be obtained to return;If now detecting Exec returns response information, then forward it to user_cli shared section keys and complete this CLI request task.
The flow chart that Fig. 6 shows instruction executive process, after exec initialization is finished, equally obstruction etc. stays in message queue On, if now there is new request to reach, exec read requests, according to correlation id information searchings inside request after simple verification The callback interfaces of registration in advance, complete the actual execution actions of this CLI by corresponding registration interface, and CLI is finished (success or failed), exec need to encapsulate correspondence response data is activations to the two shared message queue area, and then Complete this CLI request task.
The present invention develops demand according to specific products, proposes novel C LI of a kind of combination shared drive and message queue Treatment mechanism.In the present invention, software module can voluntarily delete instruction set according to demand without coupling;Ensure that soft and hardware processes mould Block is separated, and is hidden each other and is implemented details;Idea reference is provided for the exploitation of follow-up correlation module.
In this specification, each embodiment is described by the way of progressive, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.For dress disclosed in embodiment For putting, as which corresponds to the method disclosed in Example, so description is fairly simple, related part is referring to method part Illustrate.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example in the above description according to function.These Function actually with hardware or software mode performing, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should not Think beyond the scope of this invention.
The step of method described with reference to the embodiments described herein or algorithm, directly can be held with hardware, processor Capable software module, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above Command Line Interface processing system provided by the present invention and method are described in detail.It is used herein Specific case is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and understands The method of the present invention and its core concept.It should be pointed out that for those skilled in the art, without departing from this On the premise of inventive principle, some improvement and modification can also be carried out to the present invention, these improve and modification also falls into the present invention In scope of the claims.

Claims (10)

1. a kind of Command Line Interface processing system, it is characterised in that include:
User interface process module, instruction pre-handle scheduler module and instruction executive process module;
Wherein, the user interface process module carries out connecting by shared drive with the instruction pre-handle scheduler module and leads to Letter, the instruction pre-handle scheduler module are communicated by message queue with the instruction executive process module;
The CMD is forwarded to institute by the CMD that the user interface process module is issued for receive user State instruction pre-handle scheduler module;
The instruction pre-handle scheduler module generates corresponding request task for pre-processing to the CMD, The instruction executive process module is forwarded to by the message queue;
It is described to instruct executive process module for being scheduled process to the request task.
2. Command Line Interface processing system as claimed in claim 1, it is characterised in that the user interface process module bag Include:
Discrimination unit, the command type for distinguishing the CMD for receiving are information inquiring command or configuration operation Order;
Dispatching Unit, for being distributed to corresponding interface according to the command type;
First retransmission unit, for calling package interface to be forwarded to the shared drive;
Searching unit, for searching the shared drive with the presence or absence of reply process information, when described in shared drive presence During reply process information, the reply process information is received.
3. Command Line Interface processing system as claimed in claim 2, it is characterised in that the user interface process module is also wrapped Include:
Legitimacy verifies unit, the legitimacy for the CMD to receiving are verified.
4. Command Line Interface processing system as claimed in claim 2, it is characterised in that the instruction pre-handle scheduler module bag Include:
First judging unit, for judging whether the shared drive has new request, when the shared drive has new request, envelope Fill as request task;
Second retransmission unit, for the request task is forwarded to the message queue;
Processing unit, for judging whether there is echo message in the message queue, receives the response in the message queue When, process the request task;
First returning unit, for reply process information is back to the shared drive.
5. Command Line Interface processing system as claimed in claim 4, it is characterised in that first judging unit is specifically used In:
Judge whether the shared drive has new request, when the shared drive has new request, the new request is closed Method is verified, and verifies successfully request task of the post package for preset kind.
6. Command Line Interface processing system as claimed in claim 4, it is characterised in that the instruction executive process module bag Include:
Second judging unit, for judging whether the message queue has new request, when the message queue has new request, root Corresponding Processing Interface is searched according to request task;
Performance element, for performing the request task by the Processing Interface;
Second returning unit, for encapsulating echo message and being back to the message queue.
7. a kind of Command Line Interface processing method, it is characterised in that include:
The CMD is forwarded to instruction pre-handle and is entered by the CMD that user interface process receive user is issued Journey;
Instruction pre-handle process is pre-processed to the CMD, generates corresponding request task, by message queue It is forwarded to instruction executive process;
Instruction executive process is scheduled process to the request task.
8. Command Line Interface processing method as claimed in claim 7, it is characterised in that the user interface process receive user The CMD for issuing, the CMD is forwarded to instruction pre-handle process includes:
The command type of the CMD that differentiation is received is information inquiring command or configuration operational order;
Corresponding interface is distributed to according to the command type;
Package interface is called to be forwarded to the shared drive;
The shared drive is searched with the presence or absence of reply process information, when the shared drive has the reply process information When, receive the reply process information.
9. Command Line Interface processing method as claimed in claim 8, it is characterised in that the instruction pre-handle process is to described CMD is pre-processed, and generates corresponding request task, and being forwarded to instruction executive process by message queue includes:
Judge whether the shared drive has new request, when the shared drive has new request, be then encapsulated as request task;
The request task is forwarded to into message queue;
Whether there is echo message in judging the message queue, when receiveing the response in the message queue, then process described Request task;
Reply process information is back to into the shared drive.
10. Command Line Interface processing method as claimed in claim 9, it is characterised in that the instruction executive process is to described Request task is scheduled process to be included:
Judge whether the message queue has new request, when the message queue has new request, then searched according to request task Corresponding Processing Interface;
The request task is performed by the Processing Interface;
Encapsulation echo message is simultaneously back to the message queue.
CN201611044815.5A 2016-11-22 2016-11-22 A kind of Command Line Interface processing system and method Active CN106528166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611044815.5A CN106528166B (en) 2016-11-22 2016-11-22 A kind of Command Line Interface processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611044815.5A CN106528166B (en) 2016-11-22 2016-11-22 A kind of Command Line Interface processing system and method

Publications (2)

Publication Number Publication Date
CN106528166A true CN106528166A (en) 2017-03-22
CN106528166B CN106528166B (en) 2019-10-18

Family

ID=58356591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611044815.5A Active CN106528166B (en) 2016-11-22 2016-11-22 A kind of Command Line Interface processing system and method

Country Status (1)

Country Link
CN (1) CN106528166B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391099A (en) * 2017-03-30 2017-11-24 阿里巴巴集团控股有限公司 A kind of resource preprocess method and device
CN107566129A (en) * 2017-09-08 2018-01-09 慧翰微电子股份有限公司 A kind of LTE communication module based on open system
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state
CN112463144A (en) * 2020-12-02 2021-03-09 苏州浪潮智能科技有限公司 Distributed storage command line service method, system, terminal and storage medium
CN112667324A (en) * 2020-12-30 2021-04-16 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN113703769A (en) * 2021-07-16 2021-11-26 苏州浪潮智能科技有限公司 CLI command execution method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135966A (en) * 2006-11-24 2008-03-05 中兴通讯股份有限公司 Graphical interfaces development method and system based on command lines
CN101227323A (en) * 2008-01-15 2008-07-23 中兴通讯股份有限公司 System and method for implementing synchronous operating data of interface collocation and command line collocation
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
CN104461663A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Method and device for loading other mobile terminal applications and mobile terminal
CN105373386A (en) * 2015-11-25 2016-03-02 广州华多网络科技有限公司 Processing method and device of command line program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135966A (en) * 2006-11-24 2008-03-05 中兴通讯股份有限公司 Graphical interfaces development method and system based on command lines
CN101227323A (en) * 2008-01-15 2008-07-23 中兴通讯股份有限公司 System and method for implementing synchronous operating data of interface collocation and command line collocation
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
CN104461663A (en) * 2014-12-30 2015-03-25 北京奇虎科技有限公司 Method and device for loading other mobile terminal applications and mobile terminal
CN105373386A (en) * 2015-11-25 2016-03-02 广州华多网络科技有限公司 Processing method and device of command line program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391099A (en) * 2017-03-30 2017-11-24 阿里巴巴集团控股有限公司 A kind of resource preprocess method and device
CN107391099B (en) * 2017-03-30 2020-11-17 创新先进技术有限公司 Resource preprocessing method and device
CN107566129A (en) * 2017-09-08 2018-01-09 慧翰微电子股份有限公司 A kind of LTE communication module based on open system
CN107566129B (en) * 2017-09-08 2020-11-10 慧翰微电子股份有限公司 LTE communication module based on open system
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state
CN112463144A (en) * 2020-12-02 2021-03-09 苏州浪潮智能科技有限公司 Distributed storage command line service method, system, terminal and storage medium
CN112463144B (en) * 2020-12-02 2022-11-11 苏州浪潮智能科技有限公司 Distributed storage command line service method, system, terminal and storage medium
CN112667324A (en) * 2020-12-30 2021-04-16 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN112667324B (en) * 2020-12-30 2023-12-05 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN113703769A (en) * 2021-07-16 2021-11-26 苏州浪潮智能科技有限公司 CLI command execution method and related device
CN113703769B (en) * 2021-07-16 2023-07-14 苏州浪潮智能科技有限公司 CLI command execution method and related device

Also Published As

Publication number Publication date
CN106528166B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN106528166A (en) Command line interface processing system and method
WO2019153893A1 (en) Order delivery processing
US10157364B1 (en) Order identification and fulfillment based on vehicle monitoring
US3480914A (en) Control mechanism for a multi-processor computing system
CN104011504B (en) Method, system and equipment for the navigation based on backlog
CN106790599B (en) A kind of symbiosis virtual machine communication method based on multicore without lock buffer circle
CN109117260A (en) A kind of method for scheduling task, device, equipment and medium
CN101667284A (en) Apparatus and method for communicating between a central processing unit and a graphics processing unit
US10031773B2 (en) Method to communicate task context information and device therefor
CN100530111C (en) Multi-thread access indirect register scheduling method
RU2705009C2 (en) Handwritten input handler with low delay time
CN105007304B (en) The exchange of corporate information technology system data based on SOA framework and integration system
CN110457109A (en) Multiwindow parallel method and device, terminal and storage medium
CN104081351A (en) Distributed function execution for hybrid system
Wu et al. Oops! it's too late. your autonomous driving system needs a faster middleware
CN101656658B (en) Method and device for improving dequeuing efficiency in queue management
CN107015931A (en) Method and accelerator unit for interrupt processing
CN109426535A (en) A kind of method jumping to page designated position, storage medium, equipment and system
CN102609310A (en) Computer operating system and inter-process communication method therefor
CN106325515B (en) A kind of service-oriented man-machine interactive system and implementation method
CN104994494B (en) A kind of realization method and system of all-purpose card service
CN101349975B (en) Method for implementing interrupt bottom semi-section mechanism in embedded operation system
CN109866781A (en) Automated driving system display control method, device, system and readable storage medium storing program for executing
CN105812327A (en) Combination high performance multifunctional communication method and system thereof
CN114610485A (en) Resource processing system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant