CN109117126A - A kind of service management and device - Google Patents

A kind of service management and device Download PDF

Info

Publication number
CN109117126A
CN109117126A CN201810946365.1A CN201810946365A CN109117126A CN 109117126 A CN109117126 A CN 109117126A CN 201810946365 A CN201810946365 A CN 201810946365A CN 109117126 A CN109117126 A CN 109117126A
Authority
CN
China
Prior art keywords
service
management
terminal device
script
service management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810946365.1A
Other languages
Chinese (zh)
Inventor
韩啸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810946365.1A priority Critical patent/CN109117126A/en
Publication of CN109117126A publication Critical patent/CN109117126A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of service management and devices.Wherein, service management includes: to receive service command by the input terminal of terminal device, includes service management script and instruction action in the service command;The management module of terminal device is called according to service management script, and executes instruction the indicated operation of movement, and management module is the management function being configured in terminal device.The embodiment of the present invention can be improved the speed, easy to operate of service management, and can carry out service management with remote batch, largely improve the efficiency for carrying out service management.

Description

A kind of service management and device
Technical field
This application involves but be not limited to computer technology and information technology field, espespecially a kind of service management and dress It sets.
Background technique
With the rapid development of computer technology, under cloud computing and the widely applied background of big data, information technology (Information Technology, referred to as are as follows: IT) is developed rapidly therewith, and basic IT facility exponentially increases, and just like gives O&M and administrative staff bring huge challenge.
Background based on cloud computing and big data, a data center are usually set by thousands of servers and other IT It is standby to constitute.When administrative staff need to manage multiple servers, timeliness becomes the key factor of management, at present to the pipe of service Reason and control can be executed by the service management strategy (servics.msc) at operating system figure interface, but which is rung It answers speed slow, complicated for operation, and current hosts can only be controlled.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of service management and device, Neng Gouti It is the speed of high service management, easy to operate, and service management can be carried out with remote batch, it largely improve and be taken The efficiency that business manages and controls.
The embodiment of the present invention provides a kind of service management characterized by comprising
Service command is received by the input terminal of terminal device, includes service management script and instruction in the service command Movement;
The management module of the terminal device is called according to the service management script, and it is signified to execute described instruction movement The operation shown, the management module are the management function being configured in the terminal device.
Optionally, in service management as described above, the input terminal by terminal device receives service command Before, the method also includes:
Program language for running the service management script, the program word installed are installed on the terminal device Call the turn include: described program language function library, the function packet in the function library, and the pipe being configured in the function packet Manage module.
Optionally, in service management as described above, described instruction movement includes at least one of the following: the service checked Version, application method, operating status, and starting service, close service and the service of restarting.
Optionally, in service management as described above, the service command further include: the type of described program language And service name.
Optionally, in service management as described above, the format of the service command is included at least one of the following:
Service action described in service name described in service management script described in the type of described program language;
Service name described in service action described in service management script described in the type of described program language;
Service action described in service management script described in the type of described program language.
The embodiment of the present invention also provides a kind of service managing apparatus, comprising:
Receiving module receives service command for the input terminal by terminal device, includes service in the service command Manage Scripts and instruction action;
Processing module for calling the management module of the terminal device according to the service management script, and executes institute Operation indicated by instruction action is stated, the management module is the management function being configured in the terminal device.
Optionally, in service managing apparatus as described above, further includes:
Module is installed, for installing the program language for running the service management script on the terminal device, It include: the function library of described program language in the program language installed, the function packet in the function library, and it is configured at institute State the management module in function packet.
Optionally, in service managing apparatus as described above, described instruction movement includes at least one of the following: the service checked Version, application method, operating status, and starting service, close service and the service of restarting.
The embodiment of the present invention also provides a kind of computer equipment, comprising: memory and processor;
The memory, for saving executable instruction;
The processor, for realizing such as any of the above-described when executing the executable instruction that the memory saves The service management.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has Executable instruction realizes the service management as described in any one of above-mentioned when the executable instruction is executed by processor.
Service management and device provided in an embodiment of the present invention in data processing equipment, are set by user from terminal The order line of standby input terminal input receives service command, includes service management script and instruction action in the service command;With The management module of terminal device is called according to service management script, and executes instruction the indicated operation of movement, the management module For the management function being configured in the terminal device;Service management provided in an embodiment of the present invention can be ordered by one It enables and realizes relevant to the service operations of quick execution, to improve the speed of service management, easy to operate, and can be long-range Batch carries out service management, largely improves the efficiency for carrying out service management and control.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow chart of service management provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another service management provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of service managing apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another service managing apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
The present invention provides following specific embodiment and can be combined with each other, for the same or similar concept or process It may be repeated no more in some embodiments.
Under the background of cloud computing and big data, Integrated IT Resources being emphasized, establishing data center, a data center is usual It is made of thousands of servers and other information technoloy equipments, after disposing customer service, user needs inquiry business service fortune Row state controls unlatching, closing of service etc..Operating system (for example, Windows operating system) figure can be passed through at present The service management strategy (servics.msc) for changing interface manages and controls service, slow, complicated for operation but there are response speeds, And the problems such as current hosts can only be controlled.
Fig. 1 is a kind of flow chart of service management provided in an embodiment of the present invention.Service pipe provided in this embodiment Reason method can inquire the business service in multiple servers, be managed and controlled, the service pipe in the embodiment of the present invention Reason method may include steps of:
S110 receives service command by the input terminal of terminal device, include in the service command service management script and Instruction action.
Service management provided in an embodiment of the present invention can be applied in cloud computing and big data scene, above-mentioned Under application scenarios, it will usually dispose data center, and data center generally includes thousand up to ten thousand servers and other information technoloy equipments, transport Peacekeeping administrative staff need that these servers are managed and are controlled, and timeliness becomes an important factor for influencing managerial ability. Using service management provided in an embodiment of the present invention, user can input order line by currently used terminal device, Service command is received with the content of parameter of the order line, which is, for example, to look into the business service in server The dependent instruction ask, managed and controlled.
It may include service management script and instruction action in the received service command of terminal device in the embodiment of the present invention, Wherein, which can be the procedure script that designer compiles in advance, and instruction action can be specific operation, The operation such as example, inquire, start, close or restart.
S120, the management module of terminal device is called according to service management script, and executes instruction the indicated behaviour of movement Make, which is the management function being configured in terminal device.
In embodiments of the present invention, it is received by currently used terminal device in step S110 and is used for management business The service command of service, the instruction action in the service command indicate on-unit, and service management script is to execute this The basis of software of operation executes operation service Manage Scripts during service command, and uses the service management script tune With the management module in terminal device, to execute instruction the indicated operation executed of movement, management module can be to be configured at end A certain function in end equipment.
It should be noted that can configure multiple management modules with different function in terminal device, terminal device exists During executing service command, according to the particular content and instruction action of the service management script of operation, call for realizing The management module of corresponding function.
In practical applications, the embodiment of the present invention can carry out service management, service management under Windows operating system Script is, for example, the procedure script write with Python (programming language), i.e., manages Windows behaviour by Python Make the service in system.Application scenarios based on above-mentioned Windows operating system and Python, terminal device can pass through The order line of user's input receives service command, to realize corresponding operation.Pass through Windows operating system in the prior art The servics.msc of graphic interface manage and control service, the complicated for operation of graphic interface, response speed are slower, and The service being only capable of in the terminal device currently used to user (a for example, server of data center) is managed and controls System.It is managed the mode of control to service compared with the prior art, service management provided in an embodiment of the present invention can be with Only by order quick execution operations relevant to service, it is not only managed the speed of service faster, Er Qiecao Make simple.In addition, bulk management, is to be in a manner of procedure script (i.e. service management script) by service management strategy setting It is existing, it is only necessary to which that the setting of numerous complicated service, script file can be realized in key operation on single server (i.e. terminal device) (i.e. service management script) is template file, only service management plan need to can be realized by Run Script file on every server Configuration slightly, the embodiment of the present invention realize that the mode of bulk management is individually serviced at every based on using script file as template It is run on device (i.e. terminal device), greatly improves the efficiency for carrying out service management and control in this way.
Service management provided in an embodiment of the present invention, the order line inputted by user from the input terminal of terminal device Service command is received, includes service management script and instruction action in the service command;To be called eventually according to service management script The management module of end equipment, and the indicated operation of movement is executed instruction, which is to be configured in the terminal device Management function;Service management provided in an embodiment of the present invention can realize quick execution and service phase by an order The operations of pass to improve the speed of service management, easy to operate, and can carry out service management with remote batch, very The efficiency for carrying out service management and control is improved in big degree.
It can be the procedure script write with Python, the journey that service management script is had been described above in above-described embodiment The content of sequence script can be for example as follows:
The executive mode for running above-mentioned service management script can be with are as follows: at command prompt (Command, referred to as are as follows: CMD) In order line, " python "+" space " is inputted, i.e. input " python " then (services the script file finished writing Manage Scripts) it is dragged to present cursor position, then strike carriage return operation.
Above procedure script can for example be named are as follows: and " ServiceControl.py ", and above-mentioned write with Python Procedure script be only that one kind of service management script in the embodiment of the present invention schematically illustrates, the content of the service management script The content being not limited in " ServiceControl.py ", and service management script is also possible to write with other programming languages.
Optionally, Fig. 2 is the flow chart of another service management provided in an embodiment of the present invention.Reality shown in Fig. 1 On the basis of applying example, service management provided in an embodiment of the present invention can also include: before S110
S100, installation is used for the program language of operation service Manage Scripts on the terminal device.
In embodiments of the present invention, equally with operating system for Windows system, program language is for Python It is explained.Terminal device based on the embodiment of the present invention receives the way to manage of service command by the order line of input, Before carrying out first time service management, program language needed for service management script being installed in advance, wherein the program installed It may include: the function library of program language in language, the function packet in function library, and the management mould being configured in function packet Block.
In practical applications, during Python being installed, while the function library of Python, letter can be installed Multiple function packets, for example, pywin32 packet are generally included in number library, are configured with multiple management modules, the pipe in each function packet Reason module is, for example, the win32serviceutil module in pywin32 packet, these management modules in function packet have management The function of business service in Windows operating system, and multiple management modules in a function can have different pipes Manage function.Therefore, after terminal device receives specific service command, corresponding pipe can be called according to the content of service command It manages module (calling corresponding management function), and combines the specific management of operation realization service management indicated by instruction action Project, such as the operation such as check, start, close and restart.
On the basis of being mounted with above procedure language, terminal device receives service by the order line of input program language Order can manage and control operation by the management function in service management script caller language to realize accordingly. The service management provided using this hair embodiment, only inputting some simple command statements can quick execution service management And control, it is easy to use, fast, without complicated operation interface and mode of operation.
Optionally, in embodiments of the present invention, the instruction action in service command includes at least one of the following: the service checked Version, application method, operating status, and starting service, close service and the service of restarting.Equally by taking Python as an example It is shown:
1), check instruction action used by the version of service for example are as follows:-v or -- version;
2), check instruction action used by the application method of service for example are as follows:-h or -- help;
3) instruction action used by the operating status of service, is checked for example are as follows: staus;
4) instruction action used by, starting services is for example are as follows: start;
5) instruction action used by servicing, is closed for example are as follows: stop;
6) instruction action used by the service of, restarting is for example are as follows: restart.
The operation item and corresponding program language of above-metioned instruction movement are only that one kind of the embodiment of the present invention is schematically said It is bright, it can also include other operation items to managing and controlling for service.
Optionally, the service command in the embodiment of the present invention can also include: the type and service name of program language.On Stating and having been described above program language in embodiment for example can be Python, naturally it is also possible to use other Languages, receive Service command in can identify used program language type, with accurately call function packet execute management operation.Separately Outside, the service of multinomial business is generally included in server, the title of service can usually be added in command statement, to carry out standard True positioning.
Illustrate the format and content of service command in the embodiment of the present invention below by way of some specific examples:
Format one: the type of service Manage Scripts service name service action of program language.
Example 1:python ServiceControl.py serviceName status;
The service command are as follows: check the operating status of service, serviceName represents checked Service name;
Example 2:python ServiceControl.py serviceName start;
The service command are as follows: open service, serviceName represents opened Service name;
Example 3:python ServiceControl.py serviceName stop;
The service command are as follows: close service, serviceName represents closed Service name;
Example 4:python ServiceControl.py serviceName restart;
The service command are as follows: close service, serviceName represents restarted Service name.
Format two: the type of service Manage Scripts service action service name of program language.
" serviceName " of the above-mentioned example 1 into example 4 and specific instruction action (such as status, start, Stop and restart) position can be interchanged, i.e. service management script (such as procedure script) can identify the service of different-format Order, terminal can (docopt be that the one kind introduced in Python is directed to command line parameter using docopt Linguistic form) analysis service order parameter, type, procedure script, service name for example including above procedure language and Service action, as long as can parse to obtain the content of parameter, the position for even exchanging certain parameters still can be executed accordingly Operation, therefore, user can improve imperatival flexibility using a kind of format input command statement is not limited to, with And the operability of service management.
Format three: the type of service Manage Scripts service name of program language.
Example 5:python ServiceControl.py--help;
The service command are as follows: execute procedure script (ServiceControl.py) -- help parameter checks the program foot This application method.
It should be noted that above-mentioned format one is into format three, " " is merely to illustrate the format of service command, in input " " is space in command statement.
Service management provided in an embodiment of the present invention, using programming used in procedure script (service management script) Language is managed and is controlled to the service in operating system (such as Windows system) by way of name row, such as made With Python by the inquiry state for the service that manages and controls, unlatching, the operations such as close and restart and all held with procedure script Capable mode replaces, which it is easy to operate, reduce the difficulty managed and controlled, and may be implemented to execute speed faster Degree, to solve the problems, such as that graphic interface is easy stuck and can not manage in the prior art.In addition, being received using order line The mode of service command, the service in terminal device that not only can be currently used to user are managed and control, can be with Batch remotely manages and controls other servers of data center, further increases O&M efficiency.
Based on the service management that the various embodiments described above of the present invention provide, the embodiment of the present invention also provides a kind of service pipe Device is managed, which is used to execute the service management that any of the above-described embodiment of the present invention provides.
As shown in figure 3, being a kind of structural schematic diagram of service managing apparatus provided in an embodiment of the present invention.The present embodiment mentions For service managing apparatus 200 can be configured in the terminal device that user uses, the terminal device can for operation business take Any server of business, the service managing apparatus 200 in the embodiment of the present invention may include: receiving module 210, processing module 220 and management module 230;
Wherein, receiving module 210 receive service command for the input terminal by terminal device, wrap in the service command Include service management script and instruction action.
Service managing apparatus 200 provided in an embodiment of the present invention, can be applied in cloud computing and big data scene, upper It states under application scenarios, it will usually data center is disposed, and data center generally includes thousand up to ten thousand servers and other information technoloy equipments, O&M and administrative staff need that these servers are managed and are controlled, timeliness become influence managerial ability it is important because Element.Using service managing apparatus provided in an embodiment of the present invention, user can be inputted by currently used terminal device and be ordered Row, receiving module 210 receive service command with the content of parameter of the order line, which is, for example, to the industry in server The dependent instruction that business service is inquired, managed and controlled.
It may include that service management script and instruction are dynamic in the received service command of receiving module 210 in the embodiment of the present invention Make, wherein service management script can be the procedure script that designer compiles in advance, and instruction action can be specific behaviour Make, the operation such as example, inquires, starts, closes or restart.
Processing module 220 for calling the management module 230 of terminal device according to service management script, and executes instruction The indicated operation of movement, which is the management function being configured in terminal device.
In embodiments of the present invention, the receiving module 210 of terminal device has passed through user and has received in the operation of input terminal For the service command of management business service, the instruction action in the service command indicates on-unit, service management foot , to execute the basis of software that this is operated, processing module 220 executes operation service Manage Scripts during service command for this, and And the management module 230 in terminal device is called using the service management script, to execute instruction the indicated behaviour executed of movement Make, management module 230 can be a certain function being configured in terminal device.
It should be noted that multiple management modules 230 with different function, terminal device can be configured in terminal device During executing service command, according to the particular content and instruction action of the service management script of operation, call for real The management module 230 of existing corresponding function.
In practical applications, the service managing apparatus 200 in the embodiment of the present invention can under Windows operating system into Row service management, service management script are, for example, the procedure script write with Python (programming language), that is, are passed through Python manages the service in Windows operating system.Answering based on above-mentioned Windows operating system and Python With scene, receiving module 210 can receive service command by the order line that user inputs, to realize corresponding operation.It is existing Have in technology and service, graphic interface are managed and controlled by the servics.msc of the graphic interface of Windows operating system Complicated for operation, response speed it is slower, and be only capable of the terminal device currently used to a user (for example, clothes of data center Business device) in service be managed and control.The mode of control is managed to service compared with the prior art, the present invention is implemented Example provide service managing apparatus 200 can only pass through order quick execution operations relevant to service, not only into The speed of row management service is faster, and easy to operate.In addition, bulk management, is by service management strategy setting with program Script (i.e. service management script) mode is presented, it is only necessary to which crowd can be realized in key operation on single server (i.e. terminal device) The setting of more complex services, script file (i.e. service management script) is template file, need to only be run on every server The configuration of service management strategy can be realized in script file, and the embodiment of the present invention realizes that the mode of bulk management is based on script File is template, is individually run on every server (i.e. terminal device), greatly improves carry out service management in this way With the efficiency of control.
Service managing apparatus provided in an embodiment of the present invention, receiving module are inputted by user from the input terminal of terminal device Order line receive service command, include service management script and instruction action in the service command;So that processing module root The management module of terminal device is called according to service management script, and executes instruction the indicated operation of movement, which is The management function being configured in the terminal device;Service managing apparatus provided in an embodiment of the present invention can be ordered by one It realizes relevant to the service operations of quick execution, to improve the speed of service management, easy to operate, and can remotely criticize Amount carries out service management, largely improves the efficiency for carrying out service management and control.
It can be the program foot write with Python that service management script is had been described above in the above embodiment of the present invention This, which can equally name are as follows: " ServiceControl.py ", the content of the procedure script is in above-described embodiment In detailed example go out, therefore details are not described herein.
Optionally, Fig. 4 is the structural schematic diagram of another service managing apparatus provided in an embodiment of the present invention.In Fig. 3 institute In the structure basis of showing device, service managing apparatus 200 provided in an embodiment of the present invention can also include:
Module 240 is installed, for installing the program language for operation service Manage Scripts on the terminal device;Wherein, It include: the function library of program language in the program language installed, the function packet in function library, and be configured in function packet Management module.
In embodiments of the present invention, equally with operating system for Windows system, program language is for Python It is explained.Receiving module 210 based on the embodiment of the present invention receives the way to manage of service command by the order line of input, Before carrying out first time service management, program language needed for installation module 240 installs service management script can be first passed through, In, it may include: the function library of program language in the program language installed, the function packet in function library, and it is configured at letter Management module 230 in number packet.
In practical applications, during installation module 240 installs Python, while Python can be installed Function library, multiple function packets, for example, pywin32 packet are generally included in function library, are configured with multiple pipes in each function packet Module 230 is managed, which is, for example, the win32serviceutil module in pywin32 packet, these in function packet Management module 230 has the function of managing the business service in Windows operating system, and multiple management moulds in a function Block 230 can have different management functions.Therefore, after the receiving module of terminal device 210 receives specific service command, Corresponding management module 230 (calling corresponding management function) can be called according to the content of service command, and combines instruction Movement indicated operation such as realizes the specific management project of service management, such as checks, starts, closes and restart at the operation.
On the basis of installation module 240 is mounted with above procedure language, receiving module 210 passes through input program language Order line receives service command, can pass through the management function in service management script caller language by processing module 220, Operation is managed and controlled accordingly to realize.The service managing apparatus provided using this hair embodiment is only inputted some simple Command statement energy quick execution service management and control, are easy to use, fast, without complicated operation interface and operation Mode.
Optionally, in embodiments of the present invention, the instruction action in the received service command of receiving module 210 includes following At least one of: check the version, application method, operating status of service, and starting service, closing service and the service of restarting.Together Sample is shown by taking Python as an example:
1), check instruction action used by the version of service for example are as follows:-v or -- version;
2), check instruction action used by the application method of service for example are as follows:-h or -- help;
3) instruction action used by the operating status of service, is checked for example are as follows: staus;
4) instruction action used by, starting services is for example are as follows: start;
5) instruction action used by servicing, is closed for example are as follows: stop;
6) instruction action used by the service of, restarting is for example are as follows: restart.
The operation item and corresponding program language of above-metioned instruction movement are only that one kind of the embodiment of the present invention is schematically said It is bright, it can also include other operation items to managing and controlling for service.
Optionally, the service command in the embodiment of the present invention can also include: the type and service name of program language.On Stating and having been described above program language in embodiment for example can be Python, naturally it is also possible to use other Languages, receive Service command in can identify used program language type, with accurately call function packet execute management operation.Separately Outside, the service of multinomial business is generally included in server, the title of service can usually be added in command statement, to carry out standard True positioning.
The format of service command may include following several in the embodiment of the present invention:
Format one: the type of service Manage Scripts service name service action of program language;
Format two: the type of service Manage Scripts service action service name of program language;
As can be seen that above-mentioned format one and in format two " service name " and " service action " (such as status, Start, stop and restart) position can be interchanged, i.e. service management script (such as procedure script) can identify different-format Service command, terminal can use the order of docopt analysis service parameter, for example including above procedure language Type, procedure script, service name and service action even exchange certain ginsengs as long as can parse to obtain the content of parameter Several positions still can execute corresponding operation, and therefore, user can be mentioned using a kind of format input command statement is not limited to The high operability of imperatival flexibility and service management.
Format three: the type of service Manage Scripts service name of program language.
It should be noted that above-mentioned format one is into format three, " " is merely to illustrate the format of service command, in input " " can be space in command statement.
Service managing apparatus 200 provided in an embodiment of the present invention, using used in procedure script (service management script) Programming language is managed and is controlled to the service in operating system (such as Windows system) by way of name row, example Such as using Python by the inquiry state for the service that manages and controls, unlatching, close and restart operation and all use program foot The mode of this execution replaces, which it is easy to operate, reduce the difficulty managed and controlled, and may be implemented to hold faster Scanning frequency degree, to solve the problems, such as that graphic interface is easy stuck and can not manage in the prior art.In addition, using order line The mode of service command is received, the service in terminal device that not only can be currently used to user is managed and controls, also Other servers of data center can remotely be managed and controlled in batches, further increase O&M efficiency.
Fig. 5 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.It is provided in an embodiment of the present invention Computer equipment 30 may include: memory 31 and processor 32.
Wherein, memory 31, for saving executable instruction;
Processor 32, for realizing any of the above-described embodiment of the present invention when executing the executable instruction that memory 31 saves The service management of offer.
The service that the embodiment and the above embodiment of the present invention of computer equipment 30 provided in an embodiment of the present invention provide Management method is essentially identical, and this will not be repeated here.
The embodiment of the present invention also provides a kind of computer readable storage medium, which has can It executes instruction, which may be implemented the service management that any of the above-described embodiment of the present invention provides when being executed by processor Method.The clothes that the embodiment and the above embodiment of the present invention of computer readable storage medium provided in an embodiment of the present invention provide Management method of being engaged in is essentially identical, and this will not be repeated here.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of service management characterized by comprising
Service command is received by the input terminal of terminal device, includes that service management script and instruction are dynamic in the service command Make;
The management module of the terminal device is called according to the service management script, and is executed indicated by described instruction movement Operation, the management module is the management function being configured in the terminal device.
2. service management according to claim 1, which is characterized in that the input terminal by terminal device receives Before service command, the method also includes:
Program language for running the service management script is installed on the terminal device, in the program language installed It include: the function library of described program language, the function packet in the function library, and the management mould being configured in the function packet Block.
3. service management according to claim 1, which is characterized in that
Described instruction acts the version, application method, operating status for including at least one of the following: the service of checking, and starting clothes Service and the service of restarting are closed in business.
4. service management described in any one of claim 1 to 3, which is characterized in that the service command is also wrapped It includes: the type and service name of described program language.
5. service management according to claim 4, which is characterized in that the format of the service command include with down toward One item missing:
Service action described in service name described in service management script described in the type of described program language;
Service name described in service action described in service management script described in the type of described program language;
Service action described in service management script described in the type of described program language.
6. a kind of service managing apparatus characterized by comprising
Receiving module receives service command for the input terminal by terminal device, includes service management in the service command Script and instruction action;
Processing module for calling the management module of the terminal device according to the service management script, and executes the finger The indicated operation of order movement, the management module is the management function being configured in the terminal device.
7. service managing apparatus according to claim 6, which is characterized in that further include:
Installation module is pacified for installing the program language for running the service management script on the terminal device It include: the function library of described program language in the program language of dress, the function packet in the function library, and it is configured at the letter Management module in number packet.
8. service managing apparatus according to claim 6, which is characterized in that
Described instruction acts the version, application method, operating status for including at least one of the following: the service of checking, and starting clothes Service and the service of restarting are closed in business.
9. a kind of computer equipment characterized by comprising memory and processor;
The memory, for saving executable instruction;
The processor, for being realized when executing the executable instruction that the memory saves as in Claims 1 to 5 Described in any item service managements.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has executable finger It enables, such as service management according to any one of claims 1 to 5 is realized when the executable instruction is executed by processor.
CN201810946365.1A 2018-08-20 2018-08-20 A kind of service management and device Pending CN109117126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810946365.1A CN109117126A (en) 2018-08-20 2018-08-20 A kind of service management and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810946365.1A CN109117126A (en) 2018-08-20 2018-08-20 A kind of service management and device

Publications (1)

Publication Number Publication Date
CN109117126A true CN109117126A (en) 2019-01-01

Family

ID=64852565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810946365.1A Pending CN109117126A (en) 2018-08-20 2018-08-20 A kind of service management and device

Country Status (1)

Country Link
CN (1) CN109117126A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695508A (en) * 2022-09-20 2023-02-03 重庆长安汽车股份有限公司 Configurable remote control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685568A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Platform service application deployment method and system of PAAS (Platform As A Service) platform under cloud computing environment
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN107911467A (en) * 2017-11-29 2018-04-13 郑州云海信息技术有限公司 A kind of the service operations management system and method for scripting operation
CN107947981A (en) * 2017-11-23 2018-04-20 锐捷网络股份有限公司 A kind of network device management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685568A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Platform service application deployment method and system of PAAS (Platform As A Service) platform under cloud computing environment
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN107947981A (en) * 2017-11-23 2018-04-20 锐捷网络股份有限公司 A kind of network device management method and device
CN107911467A (en) * 2017-11-29 2018-04-13 郑州云海信息技术有限公司 A kind of the service operations management system and method for scripting operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ICHAOBUSTER: "《https://www.zhihu.com/question/22698292》", 9 February 2014 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695508A (en) * 2022-09-20 2023-02-03 重庆长安汽车股份有限公司 Configurable remote control method and device, electronic equipment and storage medium
CN115695508B (en) * 2022-09-20 2024-05-14 重庆长安汽车股份有限公司 Configurable remote control method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
US9672140B1 (en) Processing special requests at dedicated application containers
CN110324169B (en) Interface management method and device
CN109753532A (en) Interface service system and its implementation method for browser end access database
JP2000132521A (en) Method and device for shifting data item between different sources and for hierarchical object-oriented expression
US8812429B2 (en) Decision tree creation and execution in an interactive voice response system
US8392921B2 (en) Apparatus and method of coordinating operation action of robot software component
US20190171433A1 (en) Methods for enabling a computer to migrate microservices and to perform microservice templating
US9733856B2 (en) Implicit coordination for deployment of computing systems using a data sharing service
US20240080354A1 (en) Providing bulk server-side custom actions for multiple rows of a client-side spread sheet
CN104021020A (en) Automatic software installation method
CN116893807A (en) System and method for designing a robotic flow automation robot using a browser
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment
Vanhove et al. Tengu: An experimentation platform for big data applications
CN109117126A (en) A kind of service management and device
CN110471716A (en) The non-embedded method using Office in OA system
US11262997B2 (en) Parallel software deployment system
CN112068879B (en) Method and device for constructing client application program development framework based on configuration
CN109255063A (en) A kind of method and apparatus crawling web page contents
Chowhan Hands-on Serverless Computing: Build, Run and Orchestrate Serverless Applications Using AWS Lambda, Microsoft Azure Functions, and Google Cloud Functions
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
US20130125110A1 (en) Software installation
CN116301763A (en) Network equipment capability open programming method and system
CN112612428B (en) Method and device for improving performance of Codeigniter frame
CN108563475A (en) Operation method, device and the storage medium of application program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190101

RJ01 Rejection of invention patent application after publication