CN108375964A - A kind of dialog mode device management method and device - Google Patents
A kind of dialog mode device management method and device Download PDFInfo
- Publication number
- CN108375964A CN108375964A CN201810144946.3A CN201810144946A CN108375964A CN 108375964 A CN108375964 A CN 108375964A CN 201810144946 A CN201810144946 A CN 201810144946A CN 108375964 A CN108375964 A CN 108375964A
- Authority
- CN
- China
- Prior art keywords
- machines
- machine
- dialog box
- collection
- message
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
- G05B19/41835—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by programme execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation or dialogue systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
This application discloses a kind of dialog mode device management method and devices.This method includes:Dialog box of the displaying for machine handing, and the operation inputted is received by the dialog box;The operation is parsed, determines that the corresponding actuator of the operation and collection of machines, the collection of machines include at least one machine according to the analysis result of the operation;The actuator is called, so that the actuator executes the operation for the collection of machines;And the implementing result that the actuator returns is received, and the implementing result is shown in the dialog box.Using these technical solutions, can the flexibility of hoisting machine bulk management and the treatment effeciency of batch operation, and improve the resource utilization of dialog mode machine handing device.
Description
Technical field
This application involves technical field of data processing more particularly to a kind of dialog mode device management methods and device.
Background technology
Develop along with internet and the explosion type of information technology, corresponding software systems become increasingly complex, the machine needed
Device resource extent is increasing, this brings many challenges to operation personnel.How efficiently one challenge frequently encountered is
More machines are managed, are operated.
In face of this challenge, general there are two types of coping styles.First way is that operation personnel is self-administered all
Machine carries out exempting to log in by a machine, and then controlling other machines by specific script, tool carries out batch operation, but
It is that this mode needs to configure every machine accordingly, operation is cumbersome, therefore, it is less simultaneously to be suitable for machine quantity
And situation about not sharing, poor universality.The second way is to pre-establish an operation platform for the task of batch operation,
User's operation stream is issued to carry out batch operation to machine by the platform, but this mode, which cannot be satisfied operation personnel, faces
The batch operation of Shi Xing, fragmentation, flexibility are poor.
As it can be seen that current machine batch processing mode can not have both the ability of extensive batch operation simultaneously and satisfaction is faced
Shi Hua, can not cured batch operation demand.
Invention content
In view of this, the present invention provides a kind of dialog mode device management method and device, it being capable of hoisting machine batch pipe
The flexibility of reason and the treatment effeciency of batch operation, and improve the resource utilization of dialog mode machine handing device.
The technical proposal of the invention is realized in this way:
The present invention provides a kind of dialog mode device management methods, including:
Dialog box of the displaying for machine handing, and the operation inputted is received by the dialog box;
The operation is parsed, the corresponding actuator of the operation and machine collection are determined according to the analysis result of the operation
It closes, the collection of machines includes at least one machine;
The actuator is called, so that the actuator executes the operation for the collection of machines;And
The implementing result that the actuator returns is received, and shows the implementing result in the dialog box.
The present invention also provides a kind of dialog mode machine handing devices, including:Display module, Subscriber Interface Module SIM, parsing
Module, calling module and receiving module, wherein
The display module is used for, dialog box of the displaying for machine handing;
The Subscriber Interface Module SIM is used for, and the operation of input is received by the dialog box that the display module is shown;
The parsing module is used for, and the operation that the Subscriber Interface Module SIM receives is parsed, according to the parsing knot of the operation
Fruit determines that the corresponding actuator of the operation and collection of machines, the collection of machines include at least one machine;
The calling module is used for, the actuator for calling the parsing module to determine, so that the actuator is for described
Collection of machines executes the operation;And
The receiving module is used for, and receives the implementing result that the actuator returns;
The display module is used for, and the implementing result that the receiving module receives is shown in the dialog box.
In addition, the present invention also provides a kind of computer readable storage medium, it is stored with computer-readable instruction, can be made
At least one processor executes the method described in the embodiment of the present application.
Compared with prior art, the present invention provides a kind of conversational batch machine mode of operation, existing skill is compensated for
Personal management is cumbersome in art, the deficiency of hardware and software platform management underaction again.The design method of this " dialogue is platform ", Neng Goujian
Have extensive batch operation ability and meet interimization, can not cured batch operation demand, improve machine in batches pipe
The flexibility of reason and the treatment effeciency of batch operation, while also having on user experience the promotion of magnitude, also improve dialog mode
The resource utilization of machine handing device.
Description of the drawings
It is required in being described below to embodiment to make for the clearer technical solution illustrated in the embodiment of the present invention
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.Wherein,
Fig. 1 is the structural schematic diagram of the dialog mode machine management system of one embodiment of the invention;
Fig. 2 is the exemplary process diagram of the dialog mode device management method of an embodiment according to the present invention;
Fig. 3 is the schematic diagram of the displaying dialog box of an embodiment according to the present invention;
Fig. 4 is the exemplary process diagram of the dialog mode device management method of another embodiment according to the present invention;
Fig. 5 is the schematic diagram of the displaying machine institutional framework of an embodiment according to the present invention;
Fig. 6 is the schematic diagram of the displaying dialog box of another embodiment according to the present invention;
Fig. 7 is the exemplary process diagram of the dialog mode device management method of another embodiment according to the present invention;
Fig. 8 is the exemplary process diagram of the parsing operation of an embodiment according to the present invention;
The structural schematic diagram of Fig. 9 dialog mode machine handing devices of an embodiment according to the present invention;
Figure 10 is the structural schematic diagram of the dialog mode machine handing device of another embodiment according to the present invention;
Figure 11 is the structural schematic diagram of the dialog mode machine handing device of another embodiment according to the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is the structural schematic diagram of the dialog mode machine management system of one embodiment of the invention.As shown in Figure 1, dialog mode
Machine management system 100 includes dialog mode machine handing device 110 and 131~13N of collection of machines.Wherein, dialog mode machine pipe
Reason device 110 includes the dialog box 120 and document data bank 111 for machine handing, and collection of machines 131 includes machine
1311 and machine 1312, collection of machines 132 include machine 1321, machine 1322 and machine 1323, collection of machines 13N includes
Machine 13N1.
Specifically, dialog box 120 may include dialogue show child window 121, software displaying child window 122 and input/
Operate child window 123.Wherein, dialogue shows child window 121 for showing between dialog mode machine handing device 110 and user
Conversation content;Software displaying child window 122 is used to show that software, script or customized user used in management machine to refer to
Enable etc.;Input/operation child window 123 is then used for user input instruction, upper transmitting file or user and is directed to machine handing button institute
Operation done etc..Document data bank 111 is then used to be stored in the software, script, user instruction shown in dialog box, specifically
Software library, script bank, user instruction library (being not shown) can be divided into.
In an embodiment of the present invention, operation input by user, dialog mode machine handing device are received by dialog box
110 parse the operation, and corresponding actuator is then called to execute the operation to relevant collection of machines.Wherein, dialog mode machine
It can carry out wired between managing device 110 and all machines or be wirelessly connected.
In specific application, dialog mode machine handing device 110 can be a dialogue robot, and sub- window is shown in dialogue
In mouthfuls 121 with the pet name and head portrait of oneself can be used when user session.The machine that collection of machines includes can be service
Device, other have the machine etc. of certain function.User can be software, the operation personnel of system, administrator on machine and machine
Member, maintenance personnel etc..
Fig. 2 is the exemplary process diagram of the dialog mode device management method of an embodiment according to the present invention.As shown in Fig. 2,
This method may include following steps:
Step 201, dialog box of the displaying for machine handing, and the operation inputted is received by dialog box.
In the embodiment of the present application, in order to realize conversational machine handing mode, before any input for receiving user,
A dialog box for being used for machine handing is shown first.The dialog box can be made of multiple subwindows, and each child window is negative
Duty shows specific information or receives operation input by user.
Fig. 3 is the schematic diagram of the displaying dialog box of an embodiment according to the present invention.Dialog box 300 includes several
Child window, it is specific as follows:The pet name " slight M " that dialog mode machine handing device is shown in child window 310, shows in 311
The head portrait of " slight M ", the head portrait will coordinate every information shown in child window 320 and show.Display pair in child window 320
Words formula machine handing device " slight M " is returned to the conversation content of user, for example, when starting to show the dialog box, in box
Display reminding information " you are good, and slight M will provide service for you " in 321.Child window 330 is then used for the upper transmitting file of user, is used for
This document batch is distributed to one or more collection of machines.User can input any wish to carry out in child window 340
Order, for example, the machine handing instruction that linux instructions or the embodiment of the present invention are provided.Child window 350 operates for " transmission "
Button, user can click on after having inputted instruction in 330 so that dialog mode machine handing device receives the instruction.
It is from left to right to minimize, maximize, closing respectively in addition, showing the button of control dialog box 300 in child window 360.
Step 202, parsing operation determines the corresponding actuator of operation and collection of machines according to the analysis result of operation,
Collection of machines includes at least one machine.
In the application, the operation of reception can be the upper transmitting file of user, input linux instructions, input customized machine
Management instruction.Determine which kind of actuator this operates with and which collection of machines to execute behaviour for by the result of parsing
Make.
Step 203, actuator is called, so that actuator executes operation for collection of machines.
By this step, actuator is performed simultaneously inputted operation to each machine in collection of machines, realizes the machine
The batch processing of device set inner machine.
Step 204, the implementing result that receiving actuator returns, and implementing result is shown in dialog box.
After actuator returns to implementing result, implementing result is shown in dialog box 300 that can be shown in Fig. 3.For example,
After user's upper transmitting file in child window 330, execution result information is shown in box 326:" file that you are uploaded has been answered
All machines are made, and are preserved ".
By above-described embodiment, dialog box of the displaying for machine handing, and the behaviour inputted is received by dialog box
To make, parsing operation determines according to the analysis result of operation and operates corresponding actuator and collection of machines, calls actuator, with
So that actuator is executed operation, the implementing result that receiving actuator returns for collection of machines, and shows and execute in dialog box
As a result, realize conversational batch machine mode of operation, compensate for personal management in the prior art is cumbersome, hardware and software platform management again
The deficiency of underaction.Especially for those interimization, the batch operation task of fragmentation, operation personnel can be in dialog
Any required instruction executed is inputted in the input frame of mouth, and either these instructions of file or file can be in corresponding machine collection
It closes execution, gives operation personnel to return to displaying implementing result in the dialog after the completion of executing, it therefore meets interimization,
The batch machine operational requirements of fragmentation.
In addition, the design method of this " dialogue is platform ", the effect that batch machine can be made to operate in real use
Rate promotes 100% or more, while compared with the prior art, the threshold used further decreases, and reaches " start with and can be used "
State also has the promotion of magnitude on user experience.
As it can be seen that above-mentioned device management method can have both extensive batch operation ability and meet interimization, can not
Cured batch operation demand, improves the flexibility of machine bulk management and the treatment effeciency of batch operation, improves dialogue
The resource utilization of formula machine handing device.
Fig. 4 is the exemplary process diagram of the dialog mode device management method of another embodiment according to the present invention.Such as Fig. 4 institutes
Show, includes the following steps:
Step 401, the institutional framework of multiple machines is pre-established, institutional framework includes multiple collection of machines.
In the embodiment of the present application, waiting for all machines of batch operation according to certain specific organization management,
It is then based on the machine processing that this institutional framework carries out batch.Specifically, it can divide to obtain according to the function of machine each
Collection of machines, that is, the machine assembly for having same function are gathered at one.
Step 402, before showing dialog box, institutional framework is shown, and show the startupoptions for machine handing.
In the embodiment of the present invention, the institutional framework of this machine is a kind of visual organizational form.Fig. 5 is according to this hair
The schematic diagram of the displaying machine institutional framework of a bright embodiment.As shown in figure 5, on the graphic interface of displaying dialog box,
Before showing dialog box, tissue topology window 500 is shown first.Wherein, established knot of tissue is shown in box 510
Structure includes the general name 511 " demo- systems " of all collection of machines, 2 collection of machines 512 and 513 is divided under it, are ordered respectively
Entitled " demo- modules 1 " and " demo- modules 2 ".Startupoptions of the displaying for machine handing in box 530.
Step 403, when the operation and triggering startupoptions for receiving one collection of machines of selection from institutional framework
When operation, dialog box is shown.
When this step gives dialog box of the triggering displaying for machine handing, including two operations:First, receiving
Select the operation of one of collection of machines;Second is that receiving the operation of triggering startupoptions.Referring to Fig. 5, machine when the user clicks
It, can be with the shape of floating window on institutional framework window 500 after device set " demo- modules 1 " and then click startupoptions 530
Formula shows dialog box.That is, on graphic interface, after displaying tissue topology window 500, shown in the form of floating window
Dialog box 300.
In addition, resource displaying option 540 is given in Figure 5, for showing that the hardware of dialog mode machine handing device provides
Source information, such as CPU operating statuses, memory use state.After user clicks resource displaying option 540, with the shape of floating window
Formula shows all hardware asset informations so that it is abnormal that user according to these information judges whether there is the operation of which hardware.
In one embodiment, it is receiving after the operation for selecting a collection of machines in institutional framework, is receiving
Before the operation for triggering startupoptions, can also include:It shows in the title of selected collection of machines, the collection of machines and owns
The title of machine, operating path and in the descriptive information of input variable at least one of.
In the embodiment of the present application, includes three elements when showing selected collection of machines, be respectively:The collection of machines
The general username and password of title, the collection of machines and the general operating path of the collection of machines.
Referring to Fig. 5, multinomial information is illustrated successively in box 520, specially:Selected machine is illustrated in 521
The title " demo- modules 1 " of device set, in the title for illustrating 2 machines in the collection of machines in 522, specially IP address
10.1.1.0 and 10.1.1.2, the general operating path of the collection of machines "/data/home/testenv/ is illustrated in 525
Test_soft/ ", illustrated in 526 for input variable descriptive information " with K=V formats enter a new line input variable, such as
Port=8080 " defines used format when input variable.
In addition, it is contemplated that safety issue is provided with the general user of the collection of machines in advance for each collection of machines
Name and password further provide for option so that user inputs username and password, specifically when carrying out batch operation in 520
To input password being inputted in user entitled " testenv " and 524 in 523.
In another embodiment, it shows dialog box, specifically includes:Selected collection of machines is shown in dialog box
In all machines title, operating path and the descriptive information for changing the collection of machines or operating path.
Referring to Fig. 3, in the child window 320 in dialog box 300, institute in selected collection of machines is further illustrated
There is the title of machine, information is specially outputed in 322, and " machine that I currently manages is 10.1.1.0;10.1.1.2 ", and
And indicative information is further illustrated in 323:" it please ensure these machines, you are responsible for people, otherwise can not successful execution life
It enables ".Operating path is illustrated in 324, specially " I current working directory am:/data/home/testenv/test_
soft”。
In addition, realizing the batch operation to all machines in institutional framework by a dialog box in the embodiment of the present application
And management, therefore, provided by the dialog box it is a kind of for changing the collection of machines or the approach of operating path, in box
It is illustrated in 325 and " instructs@m ,@cd can by machine handing for changing the descriptive information of the collection of machines or operating path
Change needs the machine operated and working directory, checks that detailed directions and other machines management instruction use@l ".Wherein, about
The description of machine handing instruction, will specifically give in Fig. 7 the embodiment described below.
In another embodiment, displaying dialog box includes:Show that selected collection of machines corresponds in dialog box
Software library, in script bank and user instruction library at least one of.
Fig. 6 is the schematic diagram of the displaying dialog box of another embodiment according to the present invention.As shown in fig. 6, shown in Fig. 3
On 310~360 basis of child window included by dialog box, still further comprises child window 610 and provide supervisor to the user
Software needed for device set, wherein the general software of operation personnel is individually established into a linking button " public library software ",
When the user clicks after " public library software ", by the information for showing all common softwares in box 601, " public library software includes
Following common software:...”.Child window 620 then provides the script needed for management collection of machines to the user;Child window 630 is then to use
Family provides user instruction library, it is therefore an objective to cure, precipitate the flow for being directed to collection of machines frequent operation, be instructed using any Linux
The commonly used batch operation instruction of user can be cured with following machine handing instructions.
" upload " button is both provided in child window 610,620 and 630, it is corresponding that user can click on upload
Software, script either user instruction in addition, showing corresponding software, script or user instruction in these three windows
Filename when the user clicks after one of filename, will be shown an actions menu in the form of floating window, including delete, divide
The operations such as hair, execution, user can further select to carry out batch operation.
Step 404, parsing operation determines the corresponding actuator of operation and collection of machines according to the analysis result of operation,
Collection of machines includes at least one machine.
Step 405, actuator is called, so that actuator executes operation for collection of machines.
Step 406, the implementing result that receiving actuator returns, and implementing result is shown in dialog box.
Here, step 404-406 has corresponded to above-mentioned steps 202-204, and details are not described herein.
Through this embodiment, the institutional framework of multiple machines is pre-established, institutional framework includes multiple collection of machines.It is opening up
Before showing dialog box, institutional framework is shown, and show the startupoptions for machine handing.When receiving from institutional framework
The operation of one collection of machines of selection and when triggering the operation of startupoptions, shows dialog box.By showing institutional framework
Window and then trigger displaying dialog box so that user, which has the whole system of batch machine handing, clearly to be understood, in turn
Bulk management is carried out, this visual design method is more favorable for operation personnel's operation and management.
When by dialog box to collection of machines bulk management, it is contemplated that if on machine usually all deploy dry systems and
Software shows the corresponding software library of the collection of machines, foot for common software, script in collection of machines in dialog box
This library so that operation personnel can clearly understand which software needed on all machines included by collection of machines, and right
These softwares, script carry out peace loading, unloading, update etc., are convenient for user prompt operation.In addition, showing user in dialog box
Instruction database has cured the common operation stream of operation personnel, can commonly be ordered with very clear user by dialog box, improves
User uses the convenience of the dialog mode machine handing device.
Fig. 7 is the exemplary process diagram of the dialog mode device management method of another embodiment according to the present invention.Such as Fig. 7 institutes
Show, includes the following steps:
Step 701, it is pre-configured at least one machine handing instruction.
Wherein, at least one machine handing instruction is for switching current machine set, work at present catalogue and current use
At least one of in family.In the embodiment of the present application, machine handing instruction is to solve operation personnel in batch operation machine mistake
It needs flexibly to switch a set of custom command that the demands such as machine, switch operating catalogue, switching user are designed in journey.
In specific application, in order to be distinguished with Linux command, when configuring machine handing instruction, work can be passed through
It is identified for prefix.Table 1 is that the machine handing involved by one embodiment of the invention instructs allocation list.As shown in table 1, it is configured with altogether
9 machine handing instructions give its meaning, necessary explanation and citing for each instruction.
1 machine handing of table instructs allocation list
For example,@scp refer to by software ,/script is distributed/copies machine to, and@sh refer to execution/installation script.Pass through these
Machine handing instructs, and user can generate the custom script in user instruction library.For example, self-defined foot shown in 630 in Fig. 6
This us_demo_sh.env includes following order line:
# defined variables
SoftName=$ 1
ConfName=$ 2
# distributions of document are to server
@scp soft$softName
@scp soft$confName
# executes installation script
@sh install.sh$softName$confName
As it can be seen that the custom script in user instruction library has used configured machine handing to instruct, and call soft
The script in software and script bank in part library.
Step 702, dialog box of the displaying for machine handing, shows that at least one machine handing refers in dialog box
It enables.
Dialog box 600 shown in Figure 6, including child window 640, including the instruction of multiple machine handings
Shortcut key, such as 641 " setting machines " have corresponded to machine handing instruction@m, and such as 642 " checking instruction " have corresponded to machine handing instruction@
L, such as 643 " perform scripts " have corresponded to machine handing instruction@sh, and such as 644 " setting catalogues " have corresponded to machine handing instruction@cd,
If 645 " checking catalogue " have corresponded to machine handing instruction@pwd, such as 646 " installation softwares " have corresponded to machine handing instruction@yum.
Step 703, one machine handing instruction of selection from the instruction of at least one machine handing is received by dialog box
Operation.
As shown in fig. 6, when the user clicks the shortcut key of any machine handing instruction in child window 640 when, dialog mode
Machine handing device receives the operation for selecting machine handing instruction.
Step 704, parsing operation determines the corresponding actuator of operation and collection of machines according to the analysis result of operation,
Collection of machines includes at least one machine.
Step 705, actuator is called, so that actuator executes operation for collection of machines.
Step 706, the implementing result that receiving actuator returns, and implementing result is shown in dialog box.
Here, step 704-706 has corresponded to above-mentioned steps 202-204, and details are not described herein.
At least one machine handing instruction is configured, and in dialog for machine batch operation by above-described embodiment
It is shown in mouthful, is convenient for user prompt operation, machine to be treated, work mesh are flexibly switched to using the instruction of these machine handings
Record or user can realize that any management to all machines operates by single dialog box, provide batch processing
Efficiency.
For the processing procedure of the parsing operation in above-mentioned steps 202, Fig. 8 is the parsing behaviour of an embodiment according to the present invention
The exemplary process diagram of work.As shown in figure 8, including the following steps:
Step 801, judge whether operation is effectively to input.
In the embodiment of the present application, operation input by user includes the upper transmitting file of user, user input Linux instructions, user
Input machine handing instruction.Determine whether effectively to input, in particular to judge whether input instruction is legal, and whether file can be held
Row.
Step 802, when judging operation to input in vain, invalid operation prompting message is shown in dialog box.
Referring to Fig. 3, the invalid operation prompting message is shown in child window 320, it, can basis after such user sees
The message inputs correct operation again.
Step 803, when judging operation effectively to input, input message is generated according to operation.
In the embodiment of the present application, type of message is determined according to the content of operation, input message includes type of message and behaviour
The content of work.Type of message is any one of file, machine handing instruction or Linux instructions.
In one embodiment, the message format of configuration input message is JS object tags (json) format, specially
{“msgType”:“***”,“content”:" * * * " }, wherein " msgType " can have 3 kinds to take for identifying type of message
Value:Linux orders (" cmd "), machine handing instruction (" system cmd ") and file (" file ");" content " is for marking
Know the content of operation.For example, instructing " whoami " when user has input linux, the input message of generation is { " msgType ":
“cmd”,“content”:“whoami”}。
Step 804, message handling device corresponding with input message is determined.
In the embodiment of the present application, for the corresponding message handling device of input message arrangement.It can be true according to type of message
Fixed message handling device corresponding with input message.As described above, type of message includes 3 kinds:File, machine handing instruction and
Linux instruct, then corresponding message handling device be respectively file message processor, machine handing instruction message processor and
Linux instruction message processors.
Step 805, message handling device is called, so that message handling device handles input message and generates handling result
Message.
In the embodiment of the present application, the processing that message handling device is done is to judge whether input message is effective.For example, working as message
When type is file (file), after this document type input message is judged as an effective message by message handling device, by this article
Part preservation uploads to local.
Handling result message includes input message and the related additional information with operation.For example, handling result message package
Include type of message, the content of operation, the corresponding collection of machines of operation.For another example, handling result message includes type of message, operation
Content, the corresponding collection of machines of operation, user name corresponding with the collection of machines, password, operating path.For example, for input
Message { " msgType ":“cmd”,“content”:" whoami " }, type instructs for Linux, then Linux instruction messages
After the completion of processor processing, the handling result message of return is { " msgType ":“cmd”,“content”:“whoami”,
“user”:“test”,“password”:“test”,“host”:[“10.0.0.1”],“path”:“/tmp”}.Here,
“host”:[" 10.0.0.1 "] indicates that collection of machines includes a machine, IP address 10.0.0.1.
Step 806, it determines actuator corresponding with input message, and handling result message is sent to actuator, so that
Actuator executes operation according to handling result message.
In the embodiment of the present application, it is provided with corresponding actuator for input message, for executing specific operation.It can
To determine actuator corresponding with input message according to type of message.When type of message is Linux instructions and file, then phase
The message handling device answered is Linux instruction executers.When type of message is that machine handing instructs, corresponding message handling device is
Machine handing instruction executer.
Actuator reads collection of machines therein and the content of operation, to this according to the handling result message received
Collection of machines executes the content of operation, obtains implementing result.
In practical application, the result that step 802 can will determine that passes to a controller, which controls right
It talks about and shows invalid operation prompting message in window.In step 806, which receives processing results messages from message handling device,
The controller determines actuator corresponding with input message according to type of message, and handling result message is sent to actuator.
Fig. 9 is the structural schematic diagram of the dialog mode machine handing device of an embodiment according to the present invention.As shown in figure 9, right
Words formula machine handing device 900 includes display module 910, Subscriber Interface Module SIM 920, parsing module 930,940 and of calling module
Receiving module 950, wherein
Display module 910 is used for, dialog box of the displaying for machine handing;
Subscriber Interface Module SIM 920 is used for, and the operation of input is received by the dialog box that display module 910 is shown;
Parsing module 930 is used for, and the operation that parsing Subscriber Interface Module SIM 920 receives is determined according to the analysis result of operation
Corresponding actuator and collection of machines are operated, collection of machines includes at least one machine;
Calling module 940 is used for, the actuator for calling parsing module 930 to determine, so that actuator is held for collection of machines
Row operation;And
Receiving module 950 is used for, the implementing result that receiving actuator returns;
Display module 910 is used for, and the implementing result that receiving module 950 receives is shown in dialog box.
Figure 10 is the structural schematic diagram of the dialog mode machine handing device of another embodiment according to the present invention.The dialog mode machine
Device managing device 1000 on 900 basis of dialog mode machine handing device shown in Fig. 9, further comprises:Management module
1010, configuration module 1020 and judgment module 1030.
In one embodiment, management module 1010, the institutional framework for pre-establishing multiple machines, institutional framework include
Multiple collection of machines;
Display module 910 is further used for, before showing dialog box, the knot of tissue of the displaying foundation of management module 1010
Structure, and show the startupoptions for machine handing;Wherein, as the behaviour for receiving one collection of machines of selection from institutional framework
When making and triggering the operation of startupoptions, dialog box is shown.
In one embodiment, display module 910 is further used for, and shows title, the machine of selected collection of machines
The title of all machines in set, operating path and in the descriptive information of input variable at least one of.
In one embodiment, display module 910 is used for, and shows that institute is organic in selected collection of machines in dialog box
Title, operating path and the descriptive information for changing the collection of machines or operating path of device.
In one embodiment, display module 910 is used for, and shows that selected collection of machines is corresponding soft in dialog box
At least one of in part library, script bank and user instruction library.
In one embodiment, configuration module 1020, for being pre-configured at least one machine handing instruction;
Display module 910 is further used for, and at least one machine that configuration module 1020 configures is shown in dialog box
Management instruction;
Subscriber Interface Module SIM 920 is used for, and is received from least one machine pipe by the dialog box that display module 910 is shown
The operation of one machine handing of selection instruction in reason instruction.
In one embodiment, parsing module 930 is used for, and input message is generated according to operation;It determines corresponding with input message
Message handling device, message handling device is called, so that message handling device is handled to input message and generates handling result and disappear
Breath;It determines actuator corresponding with input message, and handling result message is sent to actuator, so that actuator is according to processing
Results messages execute operation.
In one embodiment, judgment module 1030, for judging whether the operation that Subscriber Interface Module SIM 920 receives is to have
Effect input;
Parsing module 930 is used for, and when judgment module 1030 judges operation effectively to input, input is generated according to operation
Message;
Display module 910 is further used for, when judgment module 1030 judges operation to input in vain, in dialog box
Middle displaying invalid operation prompting message.
Figure 11 is the structural schematic diagram of the dialog mode machine handing device of another embodiment according to the present invention.The dialog mode machine
Device managing device 1100 may include:Processor 1110, memory 1120, port 1130 and bus 1140.1110 He of processor
Memory 1120 is interconnected by bus 1140.Processor 1110 can send and receive data by port 1130.Wherein,
Processor 1110 is used to execute the machine readable instructions module of the storage of memory 1120.
Memory 1120 is stored with the executable machine readable instructions module of processor 1110.What processor 1110 can perform
Instruction module includes:Display module 1121, Subscriber Interface Module SIM 1122, parsing module 1123, calling module 1124 and reception mould
Block 1125.Wherein,
Display module 1121 can be when being executed by processor 1110:Dialog box of the displaying for machine handing;
Subscriber Interface Module SIM 1122 can be when being executed by processor 1110:The dialog shown by display module 1121
Mouth receives the operation of input;
Parsing module 1123 can be when being executed by processor 1110:The operation that Subscriber Interface Module SIM 1122 receives is parsed,
Determine that it includes at least one machine to operate corresponding actuator and collection of machines, collection of machines according to the analysis result of operation;
Calling module 1124 can be when being executed by processor 1110:The actuator for calling parsing module 1123 to determine, with
Actuator is set to execute operation for collection of machines;
Receiving module 1125 can be when being executed by processor 1110:The implementing result that receiving actuator returns;
Display module 1121 may further be when being executed by processor 1110:Receiving module is shown in dialog box
1125 implementing results received.
In one embodiment, the executable instruction module of processor 1110 further includes:Management module 1126;Wherein, it manages
Module 1126 can be when being executed by processor 1110:Institutional framework for pre-establishing multiple machines, institutional framework include
Multiple collection of machines;
Display module 1121 may further be when being executed by processor 1110:Before showing dialog box, displaying pipe
The institutional framework that module 1126 is established is managed, and shows the startupoptions for machine handing;Wherein, when receiving from institutional framework
The operation of one collection of machines of middle selection and when triggering the operation of startupoptions, shows dialog box.
In one embodiment, the executable instruction module of processor 1110 further includes:Configuration module 1127.Wherein, it configures
Module 1127 can be when being executed by processor 1110:For being pre-configured at least one machine handing instruction;
Display module 1121 may further be when being executed by processor 1110:Configuration module is shown in dialog box
At least one machine handing instruction of 1127 configurations;
Subscriber Interface Module SIM 1122 can be when being executed by processor 1110:The dialog shown by display module 1121
Mouth receives the operation that one machine handing of selection instructs from the instruction of at least one machine handing.
In one embodiment, the executable instruction module of processor 1110 further includes:Judgment module 1128.Wherein,
Judgment module 1128 can be when being executed by processor 1110:For judging what Subscriber Interface Module SIM 1122 received
Whether operation is effectively to input;
Parsing module 1123 can be when being executed by processor 1110:When judgment module 1128 judges that operation is effectively defeated
It is fashionable, input message is generated according to operation;
Display module 1121 may further be when being executed by processor 1110:When judgment module 1128 judges that operation is
When invalid input, invalid operation prompting message is shown in dialog box.
It can thus be seen that when storing the instruction module in memory 1120 and being executed by processor 1110, it can be achieved that
Display module in foregoing individual embodiments, parsing module, calling module, receiving module, management module, is matched at Subscriber Interface Module SIM
Set module and the various functions of judgment module.
In above-mentioned apparatus and system embodiment, modules and unit realize that the specific method of itself function is implemented in method
It is described in example, which is not described herein again.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that modules physically exist alone, it can also be during two or more modules be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
In addition, each embodiment of the present invention can pass through the data processing by data processing equipment such as computer execution
Program is realized.Obviously, data processor constitutes the present invention.In addition, being generally stored inside the data in a storage medium
Processing routine by program by directly reading out storage medium or by installing or copying to data processing equipment by program
It is executed in storage device (such as hard disk and/or memory).Therefore, such storage medium also constitutes the present invention.Storage medium can be with
Use any kind of recording mode, such as paper storage medium (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory
Deng), optical storage media (such as CD-ROM), magnetic-optical storage medium (such as MO) etc..
Therefore, the invention also discloses a kind of storage mediums, wherein it is stored with data processor, the data processor
Any type embodiment for executing the above method of the present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (15)
1. a kind of dialog mode device management method, which is characterized in that including:
Dialog box of the displaying for machine handing, and the operation inputted is received by the dialog box;
The operation is parsed, the corresponding actuator of the operation and collection of machines are determined according to the analysis result of the operation,
The collection of machines includes at least one machine;
The actuator is called, so that the actuator executes the operation for the collection of machines;And
The implementing result that the actuator returns is received, and shows the implementing result in the dialog box.
2. according to the method described in claim 1, further including:
The institutional framework of multiple machines is pre-established, the institutional framework includes multiple collection of machines;
Before showing the dialog box, the institutional framework is shown, and show the startupoptions for machine handing;
It is described to show that the dialog box for machine handing includes:
When the operation of the operation and the triggering startupoptions that receive one collection of machines of selection from the institutional framework
When, show the dialog box.
3. according to the method described in claim 2, receiving the operation for selecting a collection of machines from the institutional framework
Later, further include:
Show the title of all machines in the title of selected collection of machines, the collection of machines, operating path and for defeated
Enter at least one in the descriptive information of variable.
4. according to the method described in claim 2, wherein, the displaying dialog box includes:
The title of all machines in selected collection of machines, operating path are shown in the dialog box and for changing
The descriptive information of the collection of machines or the operating path.
5. according to the method described in claim 2, wherein, the displaying dialog box includes:
It is shown in the dialog box in the corresponding software library of selected collection of machines, script bank and user instruction library
At least one of.
6. according to the method described in claim 1, further including:
It is pre-configured at least one machine handing instruction;
At least one machine handing instruction is shown in the dialog box;
It is described by the dialog box receive input operation include:
Receive the operation that one machine handing of selection instructs from least one machine handing instruction.
7. according to the method described in claim 6, wherein, at least one machine handing instruction is for switching current machine collection
At least one of in conjunction, work at present catalogue and active user.
8. according to the method described in claim 1, wherein, the parsing operation includes:
Input message is generated according to the operation;
It determines message handling device corresponding with the input message, the message handling device is called, so that the message handling device
The input message is handled and generates handling result message;
It is described to determine that actuator corresponding with the operation includes according to the analysis result of the operation:
It determines actuator corresponding with the input message, and the handling result message is sent to the actuator, so that
The actuator executes the operation according to the handling result message.
It is described input message is generated according to the operation to include 9. according to the method described in claim 8, wherein:
Type of message is determined according to the content of the operation, and the input message includes the type of message and the operation
Content;
Determination message handling device corresponding with the input message includes:
Message handling device corresponding with the input message is determined according to the type of message;
Determination actuator corresponding with the input message includes:
Actuator corresponding with the input message is determined according to the type of message.
10. according to the method described in claim 8, before the generation input message according to the operation, further include:
Judge whether the operation is effectively to input;
When judging the operation effectively to input, the input message is generated according to the operation;
When judging the operation to input in vain, invalid operation prompting message is shown in the dialog box.
11. a kind of dialog mode machine handing device, which is characterized in that including:Display module, Subscriber Interface Module SIM, parsing module,
Calling module and receiving module, wherein
The display module is used for, dialog box of the displaying for machine handing;
The Subscriber Interface Module SIM is used for, and the operation of input is received by the dialog box that the display module is shown;
The parsing module is used for, and parses the operation that the Subscriber Interface Module SIM receives, and the analysis result according to the operation is true
The fixed corresponding actuator and collection of machines, the collection of machines of operating includes at least one machine;
The calling module is used for, the actuator for calling the parsing module to determine, so that the actuator is directed to the machine
Set executes the operation;And
The receiving module is used for, and receives the implementing result that the actuator returns;
The display module is used for, and the implementing result that the receiving module receives is shown in the dialog box.
12. according to the devices described in claim 11, further including:
Management module, the institutional framework for pre-establishing multiple machines, the institutional framework include multiple collection of machines;
The display module is further used for, and before showing the dialog box, shows the tissue that the management module is established
Structure, and show the startupoptions for machine handing;Wherein, when receive from the institutional framework select a machine collection
When the operation of conjunction and the operation of the triggering startupoptions, the dialog box is shown.
13. according to the devices described in claim 11, further including:
Configuration module, for being pre-configured at least one machine handing instruction;
The display module is further used for, and at least one machine of the configuration module configuration is shown in the dialog box
Management instruction;
The Subscriber Interface Module SIM is used for, and is received from least one machine by the dialog box that the display module is shown
The operation of one machine handing of selection instruction in management instruction.
14. according to the devices described in claim 11, further including:
Judgment module, for judging whether the operation that the Subscriber Interface Module SIM receives is effectively to input;
The parsing module is used for, and when the judgment module judges the operation effectively to input, is given birth to according to the operation
At the input message;
The display module is further used for, when the judgment module judges the operation to input in vain, described right
It talks about and shows invalid operation prompting message in window.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer-readable instruction, can make at least one
Processor executes the method as described in any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810144946.3A CN108375964B (en) | 2018-02-12 | 2018-02-12 | Conversational machine management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810144946.3A CN108375964B (en) | 2018-02-12 | 2018-02-12 | Conversational machine management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108375964A true CN108375964A (en) | 2018-08-07 |
CN108375964B CN108375964B (en) | 2021-03-02 |
Family
ID=63017800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810144946.3A Active CN108375964B (en) | 2018-02-12 | 2018-02-12 | Conversational machine management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108375964B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110412953A (en) * | 2019-07-03 | 2019-11-05 | 北京云迹科技有限公司 | Industrial personal computer bulk management method and system |
CN112256372A (en) * | 2020-10-20 | 2021-01-22 | 北京字跳网络技术有限公司 | Information processing method and device and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186405A (en) * | 2013-02-25 | 2013-07-03 | 北京网御星云信息技术有限公司 | Method and device for implementing unified control of equipment |
CN105227340A (en) * | 2014-12-05 | 2016-01-06 | 远聆(上海)信息科技有限公司 | A kind of man-machine network information exchange method and system |
JP2016015104A (en) * | 2014-07-03 | 2016-01-28 | 株式会社オクトバ | Batch admission processing device, batch admission processing method, and program |
CN105516256A (en) * | 2015-11-27 | 2016-04-20 | 北京锐安科技有限公司 | Batch command operation method and device of Linux host |
CN106249735A (en) * | 2016-09-09 | 2016-12-21 | 合普新能源科技有限公司 | The method controlling test and upgrading based on CAN card |
CN106527840A (en) * | 2015-09-11 | 2017-03-22 | 北京国双科技有限公司 | Method and device for controlling distributed server |
CN106713507A (en) * | 2017-02-22 | 2017-05-24 | 上海斐讯数据通信技术有限公司 | Management method and management system for batches of cloud terminal devices |
CN106774205A (en) * | 2016-12-21 | 2017-05-31 | 北京金风科创风电设备有限公司 | Central monitoring equipment and fan monitoring method of intelligent wind power plant |
-
2018
- 2018-02-12 CN CN201810144946.3A patent/CN108375964B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186405A (en) * | 2013-02-25 | 2013-07-03 | 北京网御星云信息技术有限公司 | Method and device for implementing unified control of equipment |
JP2016015104A (en) * | 2014-07-03 | 2016-01-28 | 株式会社オクトバ | Batch admission processing device, batch admission processing method, and program |
CN105227340A (en) * | 2014-12-05 | 2016-01-06 | 远聆(上海)信息科技有限公司 | A kind of man-machine network information exchange method and system |
CN106527840A (en) * | 2015-09-11 | 2017-03-22 | 北京国双科技有限公司 | Method and device for controlling distributed server |
CN105516256A (en) * | 2015-11-27 | 2016-04-20 | 北京锐安科技有限公司 | Batch command operation method and device of Linux host |
CN106249735A (en) * | 2016-09-09 | 2016-12-21 | 合普新能源科技有限公司 | The method controlling test and upgrading based on CAN card |
CN106774205A (en) * | 2016-12-21 | 2017-05-31 | 北京金风科创风电设备有限公司 | Central monitoring equipment and fan monitoring method of intelligent wind power plant |
CN106713507A (en) * | 2017-02-22 | 2017-05-24 | 上海斐讯数据通信技术有限公司 | Management method and management system for batches of cloud terminal devices |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110412953A (en) * | 2019-07-03 | 2019-11-05 | 北京云迹科技有限公司 | Industrial personal computer bulk management method and system |
CN112256372A (en) * | 2020-10-20 | 2021-01-22 | 北京字跳网络技术有限公司 | Information processing method and device and electronic equipment |
CN112256372B (en) * | 2020-10-20 | 2023-12-26 | 北京字跳网络技术有限公司 | Information processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108375964B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921497B2 (en) | Zero footprint robotic process automation system | |
US9872205B2 (en) | Method and system for sideband communication architecture for supporting manageability over wireless LAN (WLAN) | |
CN108287750B (en) | System and method for providing dynamic elasticity of contact center resources | |
US8935375B2 (en) | Increasing availability of stateful applications | |
US20220326825A1 (en) | File processing method, electronic device, system, and storage medium | |
EP4046017A1 (en) | Systems and methods for cross-platform scheduling and workload automation | |
CN102223363B (en) | System and method for generating persistent sessions in a graphical interface for managing communication sessions | |
US9674343B2 (en) | System and method for instantiation of services at a location based on a policy | |
US10521462B2 (en) | Virtual services rapid deployment tool | |
US8250196B2 (en) | Script based computer health management system | |
JP2009503660A5 (en) | ||
CN108427616A (en) | background program monitoring method and monitoring device | |
CN109271223A (en) | Windows switching method, device, terminal and computer readable storage medium | |
CN106796642B (en) | Device detection method and system, electronic device, cloud robot system and computer program product | |
CN108375964A (en) | A kind of dialog mode device management method and device | |
US11075007B2 (en) | Dynamic selection of virtual agents in a mutli-domain expert system | |
CN110480633B (en) | Method and device for controlling equipment and storage medium | |
CN106945045B (en) | communication method and system for robot control based on ROS and OROCOS | |
CN105554090B (en) | Guide processing method, system and game system | |
CN109359092A (en) | File management method, desktop display method, device, terminal and medium | |
CN110893616B (en) | Remote control method and device, computer equipment and storage medium | |
CN107547217B (en) | Router service configuration method and router | |
WO2011001303A1 (en) | Method, apparatus and computer program for providing multimedia functions using a software wrapper component | |
CN116719697A (en) | System monitoring method, device, terminal equipment and storage medium | |
US10069973B2 (en) | Agent-initiated automated co-browse |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |