CN107133072A - One kind operation performs method and apparatus - Google Patents

One kind operation performs method and apparatus Download PDF

Info

Publication number
CN107133072A
CN107133072A CN201710289687.9A CN201710289687A CN107133072A CN 107133072 A CN107133072 A CN 107133072A CN 201710289687 A CN201710289687 A CN 201710289687A CN 107133072 A CN107133072 A CN 107133072A
Authority
CN
China
Prior art keywords
event
configuration file
event data
server
equations
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
CN201710289687.9A
Other languages
Chinese (zh)
Other versions
CN107133072B (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.)
New H3C Information Technologies Co Ltd
Original Assignee
Unis Huashan Information Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unis Huashan Information Technologies Co Ltd filed Critical Unis Huashan Information Technologies Co Ltd
Priority to CN201710289687.9A priority Critical patent/CN107133072B/en
Publication of CN107133072A publication Critical patent/CN107133072A/en
Application granted granted Critical
Publication of CN107133072B publication Critical patent/CN107133072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a kind of operation and performs method and apparatus, and this method includes:Monitor first kind server and perform the specified type event produced during specific operation, and obtain event data corresponding with the specified type event, and the event data is written to configuration file;When Equations of The Second Kind server needs to perform the specific operation, the event data in the configuration file generates pending order, and the pending order is sent to the Equations of The Second Kind server, so that the Equations of The Second Kind server performs the specific operation according to the pending order.Pass through the technical scheme of the application, it is not necessary to which administrative staff are individually managed each server, can be realized for repeating with a key, i.e. main frame can complete the management of each server, so as to reduce repeating for administrative staff, the workload of administrative staff is reduced, operating efficiency is improved.

Description

One kind operation performs method and apparatus
Technical field
The application is related to communication technical field, more particularly to a kind of operation performs method and apparatus.
Background technology
Effective management of server is the inevitable problem of administrative staff, and current implementation method is:Administrative staff are led to Cross the independent management that KVM (Keyboard Video Mouse, keyboard, display terminal and mouse) realizes each server.But, With the high speed development of internet big data, the number of servers of data center is greatly increased, and administrative staff are realized by KVM and taken During the independent management of business device, some can be related to and repeated, these repeat the workload by administrative staff are greatly increased, and Reduce the operating efficiency of administrative staff.
The content of the invention
The application provides a kind of operation execution method, and applied to main frame, methods described includes:
Monitor first kind server and perform the specified type event produced during specific operation, and obtain and the specified type The corresponding event data of event, and the event data is written to configuration file;
When Equations of The Second Kind server needs to perform the specific operation, the event data in the configuration file The pending order of generation, and the pending order is sent to the Equations of The Second Kind server, so that the Equations of The Second Kind server The specific operation is performed according to the pending order.
The application provides a kind of operation performs device, and applied to main frame, described device includes:
Module is obtained, for monitoring the specified type event produced when first kind server performs specific operation, and is obtained Event data corresponding with the specified type event;
Memory module, for the event data to be written into configuration file;
Generation module, for when Equations of The Second Kind server needs to perform the specific operation, according in the configuration file The event data generate pending order;
Sending module, for the pending order to be sent into the Equations of The Second Kind server, so that the Equations of The Second Kind takes Device be engaged according to the pending order execution specific operation.
Based on above-mentioned technical proposal, in the embodiment of the present application, administrative staff are only needed to by main frame to first kind server (such as one server) is managed, and when first kind server performs specific operation, main frame can listen to specified type thing Part, and the corresponding event data of specified type event is written to configuration file;So, needing to Equations of The Second Kind server (such as Multiple servers) when performing specific operation, it is possible to event data in configuration file generates pending order, and will treat Perform order and be sent to Equations of The Second Kind server, so that Equations of The Second Kind server performs specific operation.Based on aforesaid way, it is not necessary to manage Reason personnel are individually managed each server, can realize that is, main frame can complete each clothes with a key for repeating The management of business device, reduces repeating for administrative staff, reduces the workload of administrative staff, improves operating efficiency.And it is different The operating system of Equations of The Second Kind server can be with identical or difference, i.e., no matter what the operating system of Equations of The Second Kind server is, The execution specific operation of the Equations of The Second Kind server can be made.
Brief description of the drawings
, below will be to the application in order to clearly illustrate the embodiment of the present application or technical scheme of the prior art The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is only some embodiments described in the application, for those of ordinary skill in the art, can also be according to this Shen Please these accompanying drawings of embodiment obtain other accompanying drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2 is the flow chart for operating execution method in a kind of embodiment of the application;
Fig. 3 A and Fig. 3 B are the examples of the configuration file in a kind of embodiment of the application;
Fig. 4 is the structure chart of the operation performs device in a kind of embodiment of the application;
Fig. 5 is the hardware structure diagram of the main frame in a kind of embodiment of the application.
Embodiment
In purpose of the term used in this application merely for the sake of description specific embodiment, and unrestricted the application.This Shen Please " one kind ", " described " and "the" with the singulative used in claims are also intended to including most forms, unless Context clearly shows that other implications.It is also understood that term "and/or" used herein refers to comprising one or more Associated any or all of project listed may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, in addition, used word " if " can be construed to " ... when " or " when ... " Or " in response to determining ".
The application proposes a kind of operation execution method, and this method can apply to include in the system of main frame and server, The main frame is used to be managed server, and the main frame can be PC (Personal Computer, personal computer).Clothes Business device is the equipment for being used to provide service of data center deployment, and the quantity of server can be multiple.As shown in figure 1, being The operation performs the application scenarios schematic diagram of method, is illustrated by taking 3 servers as an example, quantity can be with more in practice.And And, KVM clients can be configured in main frame for each server, different KVM clients are used to be managed different server.
Wherein, these servers can perform identical specific operation, and the specific operation can include but is not limited to:Install Operating system, system configuration, installation software etc., the type to this specific operation is not limited.
These servers perform specific operation during, these server areas can be divided into first kind server and Equations of The Second Kind server.First kind server refers to the server being managed by administrative staff by KVM, first kind server Quantity can be one.Equations of The Second Kind server refers to the server that need not be managed by administrative staff by KVM, Equations of The Second Kind The quantity of server can for one or more than one.
In one example, Equations of The Second Kind server and first kind server can be different, if for example, server 1 is first Class server, and server 2 and server 3 are Equations of The Second Kind server, then administrative staff can pass through the 1 pair of service of KVM clients Device 1 is managed, during managing herein, and main frame can listen to specified type event, and the specified type event is corresponding Event data be written to configuration file.Based on this, main frame can be managed according to the configuration file to server 2, server 3 Reason, is managed without administrative staff by KVM clients to server 2, server 3.
In another example, Equations of The Second Kind server and first kind server can be with identical, if for example, server 1 is First kind server, and server 1 is Equations of The Second Kind server, then administrative staff can be entered by KVM clients 1 to server 1 Row management, during managing herein, main frame can listen to specified type event, and by the corresponding event of specified type event Data are written to configuration file.Further, on the basis of it there is configuration file, main frame can be according to the configuration file Server 1 is managed, it is no longer necessary to which administrative staff are managed by KVM clients to server 1.
It is shown in Figure 2 under above-mentioned application scenarios, the schematic flow sheet of method is performed for the operation.
Step 201, main frame monitors first kind server and performs the specified type event produced during specific operation, obtains with being somebody's turn to do The corresponding event data of specified type event, and the event data is written to configuration file.
In one example, the specified type event can include but is not limited to:Mouse event and/or KeyEvent;Should The corresponding event data of mouse event can include but is not limited to:Position occurs for event type and/or event;The KeyEvent pair The event data answered can include but is not limited to:Event type and keypad code.
Further, the corresponding event type of the mouse event can include but is not limited to one below or any group Close:Left click, right click, double-click, movement, rolling, dragging, delay, moreover, the delay is the time between double mouse event Difference;Position, which occurs, for the corresponding event of the mouse event to include but is not limited to:The current coordinate information of mouse;The KeyEvent Corresponding event type can include but is not limited to one below or any combination:Keyboard is pressed, keyboard is upspring, keyboard is pressed Time difference between being upspring with keyboard.
For example, administrative staff can pass through key during specific operation is performed to server 1 by KVM clients 1 Disk can also be inputted to the input operation information of KVM clients 1 (can now produce KeyEvent) by mouse to KVM clients 1 Operation information (can now produce mouse event), and KVM clients 1 are after aforesaid operations information is obtained, it is possible to utilize above-mentioned Operation information performs specific operation to server 1, and the process to this specific operation is not limited, as long as server 1 is finally completed Specific operation.
In administrative staff by mouse to 1 input operation information of KVM clients when, KVM clients 1 can listen to this Event, that is, listen to mouse event (server 1 performs the specified type event produced during specific operation), it is possible to obtain with being somebody's turn to do Position occurs for the corresponding event type of mouse event, event.
Wherein, the event type can be left click, right click, double-click, movement, rolling, dragging, delay (such as double mouse Time difference between mark event, i.e., the difference between last mouse event end time and mouse event time started next time Value, for the value of delay) etc..In addition, position, which occurs, for the event to be the current coordinate information of mouse (such as horizontal, ordinate, the seat It is using interface position as reference point, if reference point can be the interface upper left corner, the interface lower right corner, interface lower-left to mark information Angle, interface upper right corner etc.).
Then, mouse event is performed in KVM clients 1, so that during performing specific operation to server 1, KVM visitors Family end 1 can obtain event data corresponding with the mouse event, and the event data is written into configuration file.Such as Fig. 3 A institutes Show, for the example for the event data for being written to configuration file, MoveTo represents that event type is movement;1279 364 represent event Generation position is that abscissa is 1279, and ordinate is 364;Delay represents that event type is delay, and 12621 represent the value of delay For 12621 milliseconds;LeftClick represents that event type is left click;For the other parameters in event data, its implication is similar, Repeat no more.
In administrative staff by keyboard to 1 input operation information of KVM clients when, KVM clients 1 can listen to this Event, that is, listen to KeyEvent (server 1 performs the specified type event produced during specific operation), it is possible to obtain with being somebody's turn to do The corresponding event type of KeyEvent and keypad code.Wherein, the event type can press (KeyDown), keyboard bullet for keyboard Rise (KeyUp), keyboard press with keyboard upspring between time difference.In addition, the keypad code can be the numerical value such as 16,83, such as 16 Represent shift keys.
Then, KeyEvent is performed in KVM clients 1, so that during performing specific operation to server 1, KVM visitors Family end 1 can obtain event data corresponding with the KeyEvent, and the event data is written into configuration file.Such as Fig. 3 B institutes Show, for the example for the event data for being written to configuration file, KeyDown represents that event type is pressed for keyboard, 83 represent by by Under keypad code be 83;Delay represent keyboard press with keyboard upspring between time difference, 218 expression keyboards be pressed when Between be 218 milliseconds;KeyUp represents that event type is upspring for keyboard;For the other parameters in event data, its implication is similar, Repeat no more.
In one example, as shown in Figure 3A, can when the corresponding event data of mouse event is written into configuration file Separated with being written to by row between configuration file, and each information with space.In addition, as shown in Figure 3 B, by KeyEvent pair When the event data answered is written to configuration file, it can be written between configuration file, and each information and be separated with space by row. In addition, the corresponding event data of mouse event and the corresponding event data of KeyEvent can be written to same configuration file, Different configuration files can also be written to.
Step 202, it is main when Equations of The Second Kind server needs to perform specific operation (identical with the specific operation of step 201) Event data of the machine in configuration file generates pending order, and the pending order is sent into Equations of The Second Kind server, So that Equations of The Second Kind server performs the specific operation according to the pending order.
In one example, can be with for the process of " event data in configuration file generates pending order " Including but not limited to:Main frame simulates event corresponding with the event data according to the event data, obtains the event pair with simulation The parameter answered, wherein, the parameter is used to make Equations of The Second Kind server perform specific operation according to the parameter;Then, main frame is given birth to Into the pending order including the parameter.Certainly, the present embodiment is not limited to the mode of this pending order of generation, example Such as, the pending order for carrying the event data can also be directly generated, the generating mode of this pending order is not limited.
Further, can for the process of " main frame simulates event corresponding with the event data according to the event data " To include but is not limited to:Main frame is read by Robot objects (Robot objects can be used for mouse events, KeyEvent etc.) Event data is taken, and simulates event corresponding with the event data.Work as heat, the present embodiment is not limited to by Robot objects The mode of modeling event, it is without limitation.
For example, when needing to perform specific operation to the server 3 of server 2/, KVM client 2/KVM clients 3 can be with Event data is read out from above-mentioned configuration file, and event corresponding with the event data is simulated according to the event data, And parameter corresponding with the event simulated is obtained, then generation includes the pending order of the parameter, and by the pending life Order is sent to the server 3 of server 2/, so that the server 3 of server 2/ performs above-mentioned specific behaviour according to the pending order Make.In above process, spy is performed to the server 3 of server 2/ by KVM client 2/KVM clients 3 without administrative staff Fixed operation.
For " KVM clients 2 simulate event corresponding with the event data according to the event data, and obtain and mould The process of the corresponding parameter of event drawn up ", KVM clients 2 can be simulated and the event number after event data is read According to corresponding event.For example, for event data " MoveTo 1,279 364 ", " Delay 12621 ", " LeftClick 1279 The corresponding event of the event data that 364 ", KVM client 2 is simulated can be:Mouse is moved to position (1279,364), Then postpone 12621 milliseconds, then click on left mouse button in position (1279,364).In another example, for event data " KeyDown 83 ", " Delay 218 ", " the corresponding event of the event data that KeyUp 83 ", KVM client 2 is simulated can Think:Keypad code 83 is pressed, the time that keypad code 83 is pressed is 218 milliseconds, keypad code 83 of then upspringing.In addition, for it Its event data, the mode of modeling event is similar, will not be repeated here.
In one example, KVM clients 2 can read above-mentioned event data by Robot objects, and simulate with being somebody's turn to do The corresponding event of event data.Specifically, can be the configuration Robot objects of KVM clients 2 (being referred to as Robot classes), should Robot objects can be used for mouse events, KeyEvent etc., and the implementation to this Robot object is not limited, as long as Being capable of mouse events, KeyEvent.Based on this, KVM clients 2 can be read by row by Robot objects and be configured Event data in file, and event corresponding with the event data is simulated, specific simulation process is no longer gone to live in the household of one's in-laws on getting married in detail herein State.
In one example, KVM clients 2 can simulate event (such as analog mouse thing corresponding with the event data Part, simulating keyboard event etc.), then, during the event is performed, it is possible to obtain parameter corresponding with the event, These parameters are used to make server 2 perform specific operation according to these parameters.Then, KVM clients 2 can be generated including these The pending order of parameter, and the pending order is sent to server 2.And server 2 is after pending order is received, These parameters can be parsed from pending order, and specific operation is performed according to these parameters.
Wherein, in the implementation procedure of each event, it is possible to obtain parameter corresponding with the event, this parameter is not done Limitation, as long as server 2 can perform specific operation according to the parameter.
In one example, the process of pending order, base are generated for event data of the main frame in configuration file In the difference of configuration file storage location, following manner can be included but is not limited to:
Mode one, it is written to after configuration file by event data, the configuration file can be stored to the sheet to main frame Ground storage medium;Based on this, the process of pending order, Ke Yicong are generated for event data of the main frame in configuration file The configuration file, and the pending life of event data generation in the configuration file are obtained in the local storage medium of main frame Order.Based on this implementation, it can realize and specific operation is performed to multiple servers by a main frame.For example, main frame 1 will Configuration file storage is arrived after the local storage medium of main frame 1, and the configuration file can be read from local storage medium, and utilization should Configuration file performs specific operation to multiple servers, such as performs specific operation to server 1, server 2 and server 3.
Mode two, it is written to after configuration file by event data, can be by configuration file storage to Equations of The Second Kind clothes The storage medium of business device;Based on this, the process of pending order is generated for event data of the main frame in configuration file, can To obtain the configuration file from the storage medium of Equations of The Second Kind server, and event data generation in the configuration file is treated Perform order.Based on this implementation, it can realize and specific behaviour is performed to one or more server by different main frames Make.For example, after main frame 1 is for the generation configuration file of server 1, can be by configuration file storage to server 1 and/or service The storage medium of device 2.Then, the main frame 2 of main frame 1/ can read configuration text from the storage medium of server 1 and/or server 2 Part, and specific operation is performed to server 1 and/or server 2 using the configuration file.
In one example, recording button, save button and broadcast button can also be created, the recording button is used to record Configuration file, the save button is used to preserve configuration file, and the broadcast button is used to perform specific operation according to configuration file.With Under to recording button, the use of save button and broadcast button illustrates:
After the click order for recording button is received, then main frame, which can be performed, " monitors the execution of first kind server specific The specified type event produced during operation, and event data corresponding with specified type event is obtained, and event data is write To configuration file " process, that is, complete event data recording.Then, in the recording process of event data, stop if receiving The order only recorded, it is possible to stop recording process.
After the click order of save button is received, main frame can obtain the store path of user's selection, and will configuration The storage medium matched with the store path is arrived in file (configuration file that recording process is obtained) storage.If for example, user selects Store path be main frame local storage medium, then by configuration file store to main frame local storage medium;If user selects The store path selected is the storage medium of server, then configuration file is stored into the storage medium to server;Certainly road is stored Footpath can also be other storage mediums, not be limited.
After the click order of broadcast button is received, main frame can be obtained from the storage medium matched with store path matches somebody with somebody File is put, and performs the process of " event data in configuration file generates pending order ".
Based on above-mentioned technical proposal, in the embodiment of the present application, administrative staff are only needed to by main frame to first kind server (such as one server) is managed, and when first kind server performs specific operation, main frame can listen to specified type thing Part, and the corresponding event data of specified type event is written to configuration file;So, needing to Equations of The Second Kind server (such as Multiple servers) when performing specific operation, it is possible to event data in configuration file generates pending order, and will treat Perform order and be sent to Equations of The Second Kind server, so that Equations of The Second Kind server performs specific operation.Based on aforesaid way, it is not necessary to manage Reason personnel are individually managed each server, can realize that is, main frame can complete each clothes with a key for repeating The management of business device, so as to reduce repeating for administrative staff, reduces the workload of administrative staff, improves operating efficiency.Moreover, The operating system of different Equations of The Second Kind servers can be with identical or difference, i.e., no matter the operating system of Equations of The Second Kind server is assorted , can make the execution specific operation of the Equations of The Second Kind server.
Conceived based on the application same with the above method, a kind of operation performs device is also proposed in the embodiment of the present application, can With applied to main frame, as shown in figure 4, being the structure chart of the operation performs device.
Module 11 is obtained, for monitoring the specified type event produced when first kind server performs specific operation, and is obtained To event data corresponding with the specified type event;
Memory module 12, for the event data to be written into configuration file;
Generation module 13, for when Equations of The Second Kind server needs to perform the specific operation, according to the configuration file In the event data generate pending order;
Sending module 14, for the pending order to be sent into the Equations of The Second Kind server, so that the Equations of The Second Kind Server performs the specific operation according to the pending order.
The memory module 12, is additionally operable to the local storage medium stored the configuration file to the main frame;With/ Or, the configuration file is stored into the storage medium to Equations of The Second Kind server;
The generation module 13, specifically for generating pending life in the event data in the configuration file During order, the configuration file is obtained from the local storage medium of the main frame, and according in the configuration file The event data generates pending order;Or,
The configuration file is obtained from the storage medium of the Equations of The Second Kind server, and according in the configuration file The event data generates pending order.
The acquisition module 11, specifically for after the click order for recording button is received, monitoring first kind server The specified type event produced during specific operation is performed, and obtains event data corresponding with the specified type event;
The memory module 12, is additionally operable to after the click order of save button is received, and obtains the storage of user's selection Path, and the configuration file is stored to the storage medium matched with the store path;
The generation module 13, specifically for after the click order of broadcast button is received, from the store path The storage medium of matching obtains configuration file, and the pending order of event data generation in the configuration file.
The specified type event that the acquisition module 11 is listened to includes:Mouse event and/or KeyEvent;It is described The corresponding event data of the mouse event that acquisition module 11 is obtained includes:Position occurs for event type and/or event, described The corresponding event data of KeyEvent includes:Event type and keypad code;
Wherein, the corresponding event type of the mouse event that the acquisition module 11 is obtained includes one below or appointed Meaning combination:Left click, right click, double-click, movement, rolling, dragging, delay, the delay be between double mouse event when Between it is poor;Position, which occurs, for the corresponding event of the mouse event that the acquisition module is obtained includes:The current coordinate information of mouse;
The corresponding event type of the KeyEvent that the acquisition module 11 is obtained includes one below or any group Close:Keyboard is pressed, keyboard is upspring, keyboard press with keyboard upspring between time difference.
The generation module 13, specifically for generating pending life in the event data in the configuration file During order, event corresponding with the event data is simulated according to the event data, the event with simulation is obtained Corresponding parameter, wherein, the parameter is used to make the Equations of The Second Kind server perform the specific operation according to the parameter;It is raw Into the pending order including the parameter.
The main frame that the embodiment of the present application is provided, for hardware view, its hardware structure schematic diagram specifically may refer to Fig. 5 It is shown.Including:Machinable medium and processor, wherein:
Machinable medium:Store instruction code.
Processor:Communicated with machinable medium, what is stored in reading and execution machinable medium is described Instruction code, realizes that the disclosed operation of the application above-mentioned example performs operation.
Here, machinable medium can be any electronics, magnetic, optics or other physical storage devices, can be with Comprising or storage information, such as executable instruction, data, etc..For example, machinable medium can be:RAM(Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard Disk drive), solid state hard disc, any kind of storage dish (such as CD, dvd), either similar storage medium or they Combination.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, Or realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment The combination of any several equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the embodiment of the present application can be used wherein includes computer usable program code one or more The computer that computer-usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is the flow with reference to method, equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram are described.It is generally understood that by each in computer program instructions implementation process figure and/or block diagram Flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer journeys can be provided Sequence instruction to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices processor with Produce a machine so that being produced by the instruction of computer or the computing device of other programmable data processing devices is used for Realize the dress for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames Put.
Moreover, these computer program instructions can also be stored in computer or the processing of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that the instruction being stored in the computer-readable memory is produced Manufacture including command device, the command device is realized in one flow of flow chart or multiple flows and/or block diagram one The function of being specified in individual square frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so that in computer Or the instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram The step of function of being specified in one square frame or multiple square frames.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the implementation in terms of complete hardware embodiment, complete software embodiment or combination software and hardware The form of example.Moreover, the application can be used wherein includes the calculating of computer usable program code at one or more The computer that machine usable storage medium is implemented on (can include but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (10)

1. one kind operation execution method, it is characterised in that applied to main frame, methods described includes:
Monitor first kind server and perform the specified type event produced during specific operation, and obtain and the specified type event Corresponding event data, and the event data is written to configuration file;
When Equations of The Second Kind server needs to perform the specific operation, the event data generation in the configuration file Pending order, and by it is described it is pending order be sent to the Equations of The Second Kind server so that the Equations of The Second Kind server according to The pending order performs the specific operation.
2. according to the method described in claim 1, it is characterised in that
Described that the event data is written to after configuration file, methods described also includes:
The configuration file is stored into the local storage medium to the main frame;And/or,
The configuration file is stored into the storage medium to Equations of The Second Kind server;
The event data in the configuration file generates the process of pending order, including:
The configuration file, and the event in the configuration file are obtained from the local storage medium of the main frame Data generate pending order;Or,
The configuration file is obtained from the storage medium of the Equations of The Second Kind server, and according in the configuration file Event data generates pending order.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
After the click order for recording button is received, what is produced during execution monitoring first kind server execution specific operation specifies Types of events, and obtain the process of event data corresponding with the specified type event;
After the click order of save button is received, the store path of user's selection is obtained, and the configuration file is stored To the storage medium matched with the store path;
After the click order of broadcast button is received, configuration file is obtained from the storage medium matched with the store path, And perform the process that the event data in the configuration file generates pending order.
4. according to the method described in claim 1, it is characterised in that the specified type event includes:Mouse event and/or key Disk event;The corresponding event data of the mouse event includes:Position occurs for event type and/or event;The KeyEvent Corresponding event data includes:Event type and keypad code;
Wherein, the corresponding event type of the mouse event includes one below or any combination:Left click, right click, double-click, shifting Dynamic, rolling, dragging, delay;The delay is the time difference between double mouse event;The corresponding thing of the mouse event Position, which occurs, for part includes:The current coordinate information of mouse;
The corresponding event type of the KeyEvent includes one below or any combination:Keyboard is pressed, keyboard is upspring, keyboard Press with keyboard upspring between time difference.
5. method according to claim 1 or 2, it is characterised in that the event in the configuration file Data generate the process of pending order, specifically include:
Event corresponding with the event data is simulated according to the event data, parameter corresponding with the event simulated is obtained, The parameter is used to make Equations of The Second Kind server perform the specific operation according to the parameter;
Generation includes the pending order of the parameter.
6. one kind operation performs device, it is characterised in that applied to main frame, described device includes:
Module is obtained, for monitoring the specified type event produced when first kind server performs specific operation, and is obtained and institute State the corresponding event data of specified type event;
Memory module, for the event data to be written into configuration file;
Generation module, for when Equations of The Second Kind server needs to perform the specific operation, the institute in the configuration file State event data and generate pending order;
Sending module, for the pending order to be sent into the Equations of The Second Kind server, so that the Equations of The Second Kind server The specific operation is performed according to the pending order.
7. device according to claim 6, it is characterised in that
The memory module, is additionally operable to the local storage medium stored the configuration file to the main frame;And/or, by institute Configuration file storage is stated to the storage medium of Equations of The Second Kind server;
The generation module, the mistake specifically for generating pending order in the event data in the configuration file Cheng Zhong, obtains the configuration file, and the thing in the configuration file from the local storage medium of the main frame Number of packages is according to the pending order of generation;Or,
The configuration file is obtained from the storage medium of the Equations of The Second Kind server, and according in the configuration file Event data generates pending order.
8. the device according to claim 6 or 7, it is characterised in that
The acquisition module, spy is performed specifically for after the click order for recording button is received, monitoring first kind server The specified type event produced when operating surely, and obtain event data corresponding with the specified type event;
The memory module, is additionally operable to after the click order of save button is received, and obtains the store path of user's selection, and The configuration file is stored to the storage medium matched with the store path;
The generation module, specifically for after the click order of broadcast button is received, from what is matched with the store path Storage medium obtains configuration file, and the pending order of event data generation in the configuration file.
9. device according to claim 6, it is characterised in that
The specified type event that the acquisition module is listened to includes:Mouse event and/or KeyEvent;The acquisition mould The corresponding event data of the mouse event that block is obtained includes:The key that event type and/or event occur position, obtained The corresponding event data of disk event includes:Event type and keypad code;
Wherein, the corresponding event type of the mouse event that the acquisition module is obtained includes one below or any group Close:Left click, right click, double-click, movement, rolling, dragging, delay, the delay are the time differences between double mouse event; Position, which occurs, for the corresponding event of the mouse event that the acquisition module is obtained includes:The current coordinate information of mouse;
The corresponding event type of the KeyEvent that the acquisition module is obtained includes one below or any combination:Keyboard Press, keyboard is upspring, keyboard press with keyboard upspring between time difference.
10. the device according to claim 6 or 7, it is characterised in that
The generation module, the mistake specifically for generating pending order in the event data in the configuration file Cheng Zhong, event corresponding with the event data is simulated according to the event data, obtains corresponding with the event simulated Parameter, wherein, the parameter is used to make the Equations of The Second Kind server perform the specific operation according to the parameter;Generation includes The pending order of the parameter.
CN201710289687.9A 2017-04-27 2017-04-27 Operation execution method and device Active CN107133072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710289687.9A CN107133072B (en) 2017-04-27 2017-04-27 Operation execution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710289687.9A CN107133072B (en) 2017-04-27 2017-04-27 Operation execution method and device

Publications (2)

Publication Number Publication Date
CN107133072A true CN107133072A (en) 2017-09-05
CN107133072B CN107133072B (en) 2021-02-26

Family

ID=59716361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710289687.9A Active CN107133072B (en) 2017-04-27 2017-04-27 Operation execution method and device

Country Status (1)

Country Link
CN (1) CN107133072B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189575A (en) * 2018-08-20 2019-01-11 北京奇虎科技有限公司 A kind of Explore of Unified Management Ideas and device of more OpenStack clusters
CN109976798A (en) * 2019-02-02 2019-07-05 杭州迪普科技股份有限公司 A kind of reminding method and device
CN110083342A (en) * 2019-04-26 2019-08-02 重庆紫光华山智安科技有限公司 A kind of program creating method, device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163024A (en) * 2006-10-12 2008-04-16 国际商业机器公司 Method and device of performing concurrent operation to a plurality of network servers
CN101175284A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Function testing method of portable electronic apparatus
US20090150532A1 (en) * 2007-12-06 2009-06-11 Aten International Co., Ltd. Methods and systems for client computer managing multiple servers
CN101714392A (en) * 2005-10-26 2010-05-26 索尼株式会社 Reproducing apparatus and method
CN102023915A (en) * 2010-11-22 2011-04-20 任蓓瑜 Device and method for monitoring and managing keyboard, video and mouse
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN105446650A (en) * 2015-12-07 2016-03-30 北京奇虎科技有限公司 Keyboard input information recording method, apparatus and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714392A (en) * 2005-10-26 2010-05-26 索尼株式会社 Reproducing apparatus and method
CN101163024A (en) * 2006-10-12 2008-04-16 国际商业机器公司 Method and device of performing concurrent operation to a plurality of network servers
CN101175284A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Function testing method of portable electronic apparatus
US20090150532A1 (en) * 2007-12-06 2009-06-11 Aten International Co., Ltd. Methods and systems for client computer managing multiple servers
CN102023915A (en) * 2010-11-22 2011-04-20 任蓓瑜 Device and method for monitoring and managing keyboard, video and mouse
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN105446650A (en) * 2015-12-07 2016-03-30 北京奇虎科技有限公司 Keyboard input information recording method, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PIYUS KEDIA; SORAV BANSAL; DEEPAK DESHPANDE; SREEKANTH IYER: "Building Resilient Cloud over Unreliable Commodity Infrastructure", 《2012 IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING IN EMERGING MARKETS (CCEM)》 *
刀风: "让电脑操作轨迹重现", 《课堂内外中学生电脑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189575A (en) * 2018-08-20 2019-01-11 北京奇虎科技有限公司 A kind of Explore of Unified Management Ideas and device of more OpenStack clusters
CN109976798A (en) * 2019-02-02 2019-07-05 杭州迪普科技股份有限公司 A kind of reminding method and device
CN110083342A (en) * 2019-04-26 2019-08-02 重庆紫光华山智安科技有限公司 A kind of program creating method, device and computer readable storage medium
CN110083342B (en) * 2019-04-26 2023-04-18 重庆紫光华山智安科技有限公司 Program generation method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN107133072B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US9442475B2 (en) Method and system to unify and display simulation and real-time plant data for problem-solving
Le Muzic et al. Illustrative visualization of molecular reactions using omniscient intelligence and passive agents
US20070078531A1 (en) System and method for dynamically simulating process and value stream maps
CN107391114A (en) The page visualizes rendering intent and device
US11327869B2 (en) Distributed architecture for determining performance parameters
CA3155227C (en) Page simulation system
CN102542857B (en) Method and system for Evaluating assistant for online discussion
CN109271358A (en) Data summarization method, querying method, device, equipment and storage medium
CN102930580A (en) Data frame animation
US10572247B2 (en) Prototype management system
CN107133072A (en) One kind operation performs method and apparatus
CN104699408A (en) Operation method and device of touch screen and touch device
JP2023022831A (en) Computer system, computer implementation method, program and computer implementation system (learning causal relation)
US10387476B2 (en) Semantic mapping of topic map meta-models identifying assets and events to include modeled reactive actions
CN108847948B (en) Method and device for creating activity group, medium and computing equipment
CN103810296A (en) Information management method, information management device and electronic equipment
CN109657167A (en) Collecting method, device, server and storage medium
CN104581403A (en) Method and device for sharing video content
KR20100083778A (en) Acquisition and expansion of storage area network interoperation relationships
US20110185014A1 (en) Modeling a cloud computing system
WO2019176021A1 (en) Security assessment system
CN104537035A (en) Data fusion application system and method
CN113407180A (en) Configuration page generation method, system, equipment and medium
CN112633853A (en) Project management method and device and electronic equipment
US11921608B2 (en) Identifying a process and generating a process diagram

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Xinhua Sanxin Information Technology Co., Ltd.

Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Huashan Information Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant