CN104598202A - Command line management device and method - Google Patents
Command line management device and method Download PDFInfo
- Publication number
- CN104598202A CN104598202A CN201410830536.6A CN201410830536A CN104598202A CN 104598202 A CN104598202 A CN 104598202A CN 201410830536 A CN201410830536 A CN 201410830536A CN 104598202 A CN104598202 A CN 104598202A
- Authority
- CN
- China
- Prior art keywords
- order
- interface
- command
- executive
- described order
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a command line management device and method. The command line management device and method comprise a synchronous control module, a calibration module, and execution interfaces. The synchronous control module is used for conducting synchronous or exclusive processing on commands from at least one functional module for at least one user. The calibration module is used for calibrating on information containing in the command. The execution interfaces comprises serial execution interfaces or parallel execution interfaces. The command line management device and method have the advantages that multiuser logging and operation are supported, mutual exclusion and synchronization of multiuser operation are guaranteed, security detection is conducted on the information containing in the command, security on the system operation is improved, a corresponding execution interface is selected according to the actual demand, the management efficiency of the command line is improved greatly, and information real time are enhanced greatly.
Description
Technical field
The present invention relates to computer realm, specifically, relate to a kind of order line management devices and method.
Background technology
Disc array system is safety and complexity, and in use, user needs to be configured system by management software or query configuration information and state.Prior art is maintain configuration and status information in internal memory, and the mode being triggered by event and regularly inquire about upgrades, and does the problem that information can be caused not real-time like this.
For the problem in correlation technique, at present effective solution is not yet proposed.
Summary of the invention
For the problem in correlation technique, the present invention proposes one and makes row management devices, can substantially increase the security of system cloud gray model and the efficiency of management of order line, and the information real-time made strengthens greatly.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, provide a kind of order line management devices, comprising: synchronization control module, for use at least one functional module to send at least one user order between carry out synchronous and/or mutual exclusion process; Correction verification module, verifies for the information comprised order; Executive's interface, executive's interface comprises serial executive's interface and/or executed in parallel interface.
Wherein, the information of order comprise following one of at least: command parameter, order environment for use, order the state of the operand related to.
Wherein, serial executive's interface is used for transfer control order.
Wherein, executed in parallel interface is for transmitting querying command or monitor command.
Wherein, when ordering for modifying to system, amendment comes into force immediately.
Preferably, this order line management devices comprises further: logging modle, for after order is complete, the execution result of order is recorded to system journal.
According to a further aspect in the invention, provide a kind of command line management method, comprising: obtain the order that at least one user uses at least one functional module to send; Receive order, and to ordering the information comprised to verify; When ordering by verification, the executive's interface corresponding to the type of order according to the type selecting of order is sent to corresponding functional module.
Wherein, when ordering as control command, serial executive's interface is used to transmit.
Wherein, when ordering as querying command or monitor command, executed in parallel interface is used to transmit.
Wherein, when ordering for modifying to system, amendment comes into force immediately.
The present invention passes through technique scheme, multi-user login and operation can be supported, and ensure that the mutual exclusion of multi-user operation is with synchronous, and to ordering the information comprised to carry out the security that safety detection substantially increases system cloud gray model, corresponding executive's interface can also be selected according to the actual needs to transmit order thus greatly can improve the efficiency of management of order line, the information real-time made strengthens greatly.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the block diagram of the order line management devices according to the embodiment of the present invention;
Fig. 2 is the structural representation of the order line management devices according to the embodiment of the present invention;
Fig. 3 is the command line management method process flow diagram according to the embodiment of the present invention;
Fig. 4 is the indicative flowchart of the command line management method according to the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of order line management devices.
As shown in Figure 1, comprise according to the order line management devices of the embodiment of the present invention:
Synchronization control module 11, for use at least one functional module to send at least one user order between carry out synchronous and/or mutual exclusion process;
Correction verification module 12, verifies for the information comprised order;
Executive's interface 13, executive's interface comprises serial executive's interface and/or executed in parallel interface.
Wherein, the information of order comprise following one of at least:
The state of the operand that command parameter, order environment for use, order relate to.
Wherein, serial executive's interface is used for transfer control order.
Wherein, executed in parallel interface is for transmitting querying command or monitor command.
Wherein, when ordering for modifying to system, this amendment comes into force immediately.
Preferably, this order line management devices comprises further:
Logging modle (not shown), for after order is complete, is recorded to system journal by the execution result of order.
With reference to Fig. 2, a kind of disk array order line management devices provided by the invention, adopting the design of matrixing, is laterally each functional module of hyperdisk array, longitudinally comprises synchronization control module 11, correction verification module 12 and executive's interface 13.
Wherein, the Functional Module includes network of disk array and service module, hardware and monitoring module, memory management module, event manager module and startup and load-on module, support conventional ssh, network configuration under the services such as telnet and snmp and different network environments, supports to check and the hardware information of supervisory system, state and performance, supports management and the memory device in inquiry system, comprise disk, RAID, storage pool and logical volume, support the inquiry of event and schedule backup and cleaning.
Wherein, synchronization control module 11 is responsible for carrying out the Synchronous and Exclusive between multi-user and disparate modules order, uses the mechanism of lock interactional order will carry out Synchronous and Exclusive process, solves interactional problem between repetitive operation and operation.
Wherein, whether the state that correction verification module 12 is responsible for carrying out the operand that command parameter, order environment for use and order relate to can carry out operating etc. the inspection of correctness.
Wherein, executive's interface 13 is responsible for the execution of order, comprises serial executive's interface and executed in parallel interface, and serial line interface is for needing administration order that is synchronous or mutual exclusion control, and parallel interface is used for inquiry and monitor command, significantly reduce the time that reading disk acquisition configuration information consumes.
According to embodiments of the invention, additionally provide a kind of command line management method.
As shown in Figure 3, comprise according to the command line management method of the embodiment of the present invention:
Step S301, obtains the order that at least one user uses at least one functional module to send;
Step S303, receives described order, and verifies the information that described order comprises;
Step S305, when ordering by verification, the executive's interface corresponding to the type of order according to the type selecting of order is sent to corresponding functional module.
Wherein, when ordering as control command, serial executive's interface is used to transmit.
Wherein, when ordering as querying command or monitor command, executed in parallel interface is used to transmit.
With reference to Fig. 4, wherein, when ordering for modifying to system, amendment comes into force immediately, and the supervisory routine started after can acting on.First program is configured the initialization with running environment when starting, by the configuration information read-in programme in configuration file, then command process major cycle is entered, accept user command to perform and Output rusults, finally getting the major cycle of exit signal backed off after random, carry out the cleaning of running environment and the release of resource, and renewal is write back configuration file and terminates.
Continue with reference to Fig. 4, in the major cycle of command process, command analysis function reads input character, carries out the process of some special operationals, then carries out the coupling of order, after the match is successful, enter the treatment scheme of the corresponding command.In the treatment scheme of order, first carry out the inspection of order execution environment, whether the object comprising command parameter and order execution is in the state etc. that can perform this order, after checking, carry out the calling interface of order execution, according to different command types, select different executive modes.If bookkeeping, then use serial executive mode, after execution terminates, result exported and be recorded in daily record; If large batch of inquiry or policer operation, then use the mode of executed in parallel, first be the collection preparation memory headroom of data, then by the interface fill order of parallel calling, finally the data collected are carried out arranging, analyze and calculating, form final result to export, and be recorded in system journal.
In sum, by means of technique scheme of the present invention, the security of system cloud gray model and the efficiency of management of order line can be substantially increased, and the information real-time made strengthens greatly.The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. an order line management devices, is characterized in that, comprising:
Synchronization control module, for use at least one functional module to send at least one user order between carry out synchronous and/or mutual exclusion process;
Correction verification module, verifies for the information comprised described order;
Executive's interface, described executive's interface comprises serial executive's interface and/or executed in parallel interface.
2. device according to claim 1, is characterized in that, the information of described order comprise following one of at least:
The state of the operand that command parameter, order environment for use, order relate to.
3. device according to claim 1, is characterized in that, described serial executive's interface is used for transfer control order.
4. device according to claim 1, is characterized in that, described executed in parallel interface is for transmitting querying command or monitor command.
5. device according to claim 1, is characterized in that, when described order is used for modifying to system, described amendment comes into force immediately.
6. device according to claim 1, is characterized in that, comprises further:
Logging modle, for after described order is complete, is recorded to system journal by the execution result of described order.
7. a command line management method, is characterized in that, comprising:
Obtain the order that at least one user uses at least one functional module to send;
Receive described order, and the information that described order comprises is verified;
When described order is by described verification, the executive's interface corresponding to the type of described order according to the type selecting of described order is sent to corresponding functional module.
8. method according to claim 7, is characterized in that, when described order is control command, uses serial executive's interface to transmit.
9. method according to claim 7, is characterized in that, when described order be querying command or monitor command time, use executed in parallel interface to transmit.
10. method according to claim 7, is characterized in that, when described order is used for modifying to system, described amendment comes into force immediately.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410830536.6A CN104598202A (en) | 2014-12-26 | 2014-12-26 | Command line management device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410830536.6A CN104598202A (en) | 2014-12-26 | 2014-12-26 | Command line management device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104598202A true CN104598202A (en) | 2015-05-06 |
Family
ID=53124027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410830536.6A Pending CN104598202A (en) | 2014-12-26 | 2014-12-26 | Command line management device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598202A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046436A (en) * | 2015-07-28 | 2015-11-11 | 福建新大陆通信科技股份有限公司 | Customizable high-security set-top box production system |
CN105227399A (en) * | 2015-09-10 | 2016-01-06 | 汉柏科技有限公司 | Based on network equipment Debugging message acquisition methods and the system of User space |
CN106775937A (en) * | 2016-12-02 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of order line method of calibration and device |
CN106844030A (en) * | 2017-01-23 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of cli order lines processing method and processing device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004341909A (en) * | 2003-05-16 | 2004-12-02 | Nec Corp | Cli command injection method/program/program recording medium/device, and data recording medium |
CN101227323A (en) * | 2008-01-15 | 2008-07-23 | 中兴通讯股份有限公司 | System and method for implementing synchronous operating data of interface collocation and command line collocation |
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN102279744A (en) * | 2011-08-24 | 2011-12-14 | 北京星网锐捷网络技术有限公司 | System and method for processing command line |
CN103532756A (en) * | 2013-10-15 | 2014-01-22 | 上海寰创通信科技股份有限公司 | Command line system and command line operation method based on webmaster system |
-
2014
- 2014-12-26 CN CN201410830536.6A patent/CN104598202A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004341909A (en) * | 2003-05-16 | 2004-12-02 | Nec Corp | Cli command injection method/program/program recording medium/device, and data recording medium |
CN101227323A (en) * | 2008-01-15 | 2008-07-23 | 中兴通讯股份有限公司 | System and method for implementing synchronous operating data of interface collocation and command line collocation |
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN102279744A (en) * | 2011-08-24 | 2011-12-14 | 北京星网锐捷网络技术有限公司 | System and method for processing command line |
CN103532756A (en) * | 2013-10-15 | 2014-01-22 | 上海寰创通信科技股份有限公司 | Command line system and command line operation method based on webmaster system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046436A (en) * | 2015-07-28 | 2015-11-11 | 福建新大陆通信科技股份有限公司 | Customizable high-security set-top box production system |
CN105227399A (en) * | 2015-09-10 | 2016-01-06 | 汉柏科技有限公司 | Based on network equipment Debugging message acquisition methods and the system of User space |
CN106775937A (en) * | 2016-12-02 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of order line method of calibration and device |
CN106844030A (en) * | 2017-01-23 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of cli order lines processing method and processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109889381B (en) | Automatic configuration management method and device based on fort machine | |
US8510720B2 (en) | System landscape trace | |
US20070088816A1 (en) | System and method for monitoring the status of a bus in a server environment | |
CN102497427B (en) | Method and device for realizing data acquisition services of renewable energy source monitoring system | |
CN105573955A (en) | Multiple protocol system management method and system, and computer readable media | |
US10223248B2 (en) | Conducting automated software testing using centralized controller and distributed test host servers | |
CN111625496B (en) | Deployment method, device and equipment of distributed file system in virtual machine environment | |
CN103226768B (en) | The real-time automatic creation system of a kind of laboratory original record list and method | |
CN104598202A (en) | Command line management device and method | |
CN111966465B (en) | Method, system, equipment and medium for modifying host configuration parameters in real time | |
CN103326902A (en) | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data | |
CN104410554A (en) | Method or testing WOL (Wake On Lan) function of server | |
CN109254922A (en) | A kind of automated testing method and device of server B MC Redfish function | |
CN110134447A (en) | The system and method for BMC immediate updating hard disk information based on operating system | |
WO2021190659A1 (en) | System data acquisition method and apparatus, and medium and electronic device | |
CN105759247A (en) | Radar comprehensive recorder and radar data recording method | |
CN101763294A (en) | Method for looking up and backing up system operation log according to time slots | |
CN103778024A (en) | Server system and message processing method thereof | |
US20110161928A1 (en) | Method to Provide Transparent Process I/O Context on a Remote OS While Retaining Local Processing | |
US10122602B1 (en) | Distributed system infrastructure testing | |
CN107861821B (en) | Mining method and device for module call relation and computer readable medium | |
CN109783026A (en) | A kind of method and device of automatic configuration server RAID | |
CN108984216A (en) | A kind of method and apparatus automatically into configuration BIOS | |
CN110995538B (en) | Network data acquisition method, device, system, equipment and storage medium | |
CN203658991U (en) | Computer evidence obtaining 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150506 |
|
RJ01 | Rejection of invention patent application after publication |