CN108390786B - Business operation and maintenance method and device and electronic equipment - Google Patents

Business operation and maintenance method and device and electronic equipment Download PDF

Info

Publication number
CN108390786B
CN108390786B CN201810161516.2A CN201810161516A CN108390786B CN 108390786 B CN108390786 B CN 108390786B CN 201810161516 A CN201810161516 A CN 201810161516A CN 108390786 B CN108390786 B CN 108390786B
Authority
CN
China
Prior art keywords
service
maintenance
target
work order
application work
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.)
Active
Application number
CN201810161516.2A
Other languages
Chinese (zh)
Other versions
CN108390786A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810161516.2A priority Critical patent/CN108390786B/en
Publication of CN108390786A publication Critical patent/CN108390786A/en
Application granted granted Critical
Publication of CN108390786B publication Critical patent/CN108390786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a service operation and maintenance method, a device and electronic equipment, wherein the method comprises the following steps: acquiring an operation and maintenance application work order aiming at a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; crawling the operation and maintenance parameters in the operation and maintenance application work order; setting a target node from the service cluster according to the operation and maintenance parameters; and sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service.

Description

Business operation and maintenance method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a service operation and maintenance method, an apparatus, and an electronic device.
Background
With the development of internet technology, internet companies can provide various business services to users. Specifically, when various business services are provided, daily and necessary operation and maintenance are required for the various businesses to ensure that normal business services can be provided for users.
For operation and maintenance Application of business services, in order to implement automatic processing of the operation and maintenance Application, an internet company generally needs to provide an Application Programming Interface (API) of the operation and maintenance Application through a management platform of the internet company, and obtain operation and maintenance parameters corresponding to the operation and maintenance Application through the API Interface, so as to further implement operation and maintenance for the business services.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: for operation and maintenance applications of different business services, different API interfaces need to be developed by a management platform of an internet company. And a large amount of labor cost and time cost are consumed for developing the API interface, so that the operation and maintenance efficiency for the business service is low.
Disclosure of Invention
The embodiment of the invention aims to provide a business operation and maintenance method, a business operation and maintenance device and electronic equipment, so as to improve operation and maintenance efficiency aiming at business services. The specific technical scheme is as follows:
in order to achieve the above object, in a first aspect, an embodiment of the present invention discloses a service operation and maintenance method applied to an operation and maintenance server, where the method includes:
acquiring an operation and maintenance application work order aiming at a target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to the target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application;
according to the operation and maintenance application work order, deploying the service cluster corresponding to the service type for the target service:
crawling the operation and maintenance parameters in the operation and maintenance application work order;
setting a target node from the service cluster according to the operation and maintenance parameters;
sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message; wherein the notification message carries the identifier of the target node.
Optionally, after the step of obtaining the operation and maintenance application work order for the target service, the method further includes:
checking the operation and maintenance application corresponding to the operation and maintenance application work order;
the deploying, according to the operation and maintenance application work order, the service cluster corresponding to the service category for the target service includes:
and under the condition that the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit, deploying the service cluster corresponding to the service type for the target service according to the operation and maintenance application work order.
Optionally, after the step of setting a target node from the service cluster according to the operation and maintenance parameter, the method further includes:
sending backup information to a data center; wherein the backup information includes: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node.
Optionally, the service category is: a ZooKeeper service; the service cluster is a ZooKeeper service cluster; the operation and maintenance parameters comprise: an Access Control List (ACL) username, an ACL password, and an identification of the target node.
Optionally, the identification of the target node comprises: the node name and the corresponding port number of the target node.
In a second aspect, an embodiment of the present invention provides a service operation and maintenance device, which is applied to an operation and maintenance server, and the device includes:
the acquisition module is used for acquiring an operation and maintenance application work order aiming at the target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to the target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application;
the deployment module is used for deploying the service cluster corresponding to the service type for the target service according to the operation and maintenance application work order;
the crawling module is used for crawling the operation and maintenance parameters in the operation and maintenance application work order;
the setting module is used for setting a target node from the service cluster according to the operation and maintenance parameters;
the first sending module is used for sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message; wherein the notification message carries the identifier of the target node.
Optionally, the apparatus further comprises:
the auditing module is used for auditing the operation and maintenance application corresponding to the operation and maintenance application work order after the operation and maintenance application work order aiming at the target service is acquired by the acquiring module;
the deployment module is specifically configured to deploy, for the target service, the service cluster corresponding to the service category according to the operation and maintenance application work order when the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit.
Optionally, the apparatus further comprises:
the second sending module is used for sending backup information to a data center after the setting module sets a target node from the service cluster according to the operation and maintenance parameters; wherein the backup information includes: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node.
Optionally, the service category is: a ZooKeeper service; the service cluster is a ZooKeeper service cluster; the operation and maintenance parameters comprise: an Access Control List (ACL) username, an ACL password, and an identification of the target node.
Optionally, the identification of the target node comprises: the node name and the corresponding port number of the target node.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the method steps of the business operation and maintenance as described in the first aspect when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method steps of the business operation and maintenance described in the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the method steps of the business operation and maintenance described in the first aspect.
According to the service operation and maintenance method, device and electronic equipment provided by the embodiment of the invention, an operation and maintenance server firstly obtains an operation and maintenance application work order aiming at a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then crawling the operation and maintenance parameters in the operation and maintenance application work order; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a service operation and maintenance method according to an embodiment of the present invention;
fig. 2 is a flowchart of another service operation and maintenance method according to an embodiment of the present invention;
fig. 3 is a flowchart of another service operation and maintenance method according to an embodiment of the present invention;
fig. 4 is a structural diagram of a service operation and maintenance device according to an embodiment of the present invention;
fig. 5 is a structural diagram of another service operation and maintenance device according to an embodiment of the present invention;
fig. 6 is a structural diagram of another service operation and maintenance device according to an embodiment of the present invention;
fig. 7 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The service operation and maintenance method provided by the embodiment of the invention can be applied to an operation and maintenance server. When a business party proposes an operation and maintenance service application for a certain business, the operation and maintenance server can execute the scheme provided by the embodiment of the invention to respond to the operation and maintenance service application proposed by the business party.
Fig. 1 is a flowchart of a service operation and maintenance method provided in an embodiment of the present invention, where the method includes the following steps:
s101, acquiring an operation and maintenance application work order aiming at the target service.
In order to facilitate development and operation of various services, a management platform of an internet company may preset a page for a service provider to submit an operation and maintenance service application. Specifically, the service party can access the preset page through the web and input the operation and maintenance parameters corresponding to the target service in the preset page. That is to say, the preset page is a public page, and each service party can submit an operation and maintenance service application in the preset page for each service.
The operation and maintenance parameters may include: one or more of service category, applicant name, applicant mailbox, applicant mobile phone number, project name, department name, Access Control List (ACL) user name, ACL password, service node information, and the like. The service category is a category of a service application submitted by a business party for a target business, and for example, the service category may be: ActiveMQ, Kafka, ZooKeeper, Elasticisearch, etc. Applicants are understood to be developers of business parties. The project name is the name of the project corresponding to the target service, and can also be understood as the name of the service itself. The department name is the name of the department where the business party is located. The ACL username and ACL password can be understood as a kind of authority configured for each service party in advance for submitting the operation and maintenance service application. The service node information is information for the service party to apply for using a certain service node for the target service, and specifically, the service node information may include a node name and the like for applying for using a certain service node.
After the business party inputs each operation and maintenance parameter corresponding to the target business in the preset page, an operation and maintenance application work order for the target business is formed. In this embodiment, the operation and maintenance application work order includes: the service class of the target service application.
In a specific embodiment, the service classes may be: ZooKeeper service. Accordingly, the operation and maintenance parameters may include: an ACL username, an ACL password, and an identification of the target node. In this embodiment, the identifier of the target node may include: the node name and corresponding port number of the target node.
And S102, deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order.
Specifically, the operation and maintenance server may deploy resources such as servers required by the service cluster according to the requirement of the target service. The service cluster may include a plurality of nodes, and when deployed, the port numbers and access paths of the nodes may be deployed accordingly.
In this embodiment, when the service type is the ZooKeeper service, the service cluster is correspondingly a ZooKeeper service cluster. Zookeeper is a distributed application coordination service, and can provide a consistency service for distributed applications, and the provided service includes: configuration maintenance, domain name service, distributed synchronization, group service, etc.
And S103, crawling the operation and maintenance parameters in the operation and maintenance application work order.
In this embodiment, the operation and maintenance parameters in the operation and maintenance application work order may be crawled by using a Python crawler technology to further deploy nodes for the target service. Of course, the method for crawling the operation and maintenance parameters in the operation and maintenance application work order is not limited to this.
And S104, setting a target node from the service cluster according to the operation and maintenance parameters.
In this embodiment, the target node is a node in the service cluster, and the target node may be understood as a logical node, which may correspond to one or more servers.
If the service party inputs the service node information in the operation and maintenance application work order, the operation and maintenance server can set a corresponding target node from the service cluster according to the service node information. Specifically, the operation and maintenance server may use a node corresponding to the node name in the service node information as the target node. In this embodiment, the node name may be an access path, such as/abc. Then, one or more servers corresponding to the node may be accessed through the path.
If the service party does not input the service node information in the operation and maintenance application work order, the operation and maintenance server can reasonably set the target node for the target service according to the current service condition of the service cluster and the requirement of the target service. Specifically, an access path and a port number of the target node, and a server corresponding to the target node may be set.
S105, sending a notification message to the service party so that the service party calls a target node to develop the target service according to the notification message; wherein, the notification message carries the identifier of the target node.
After the operation and maintenance server sets the target node for the target service from the service cluster, a notification message can be sent to the service party to inform the service party that the service party can use the service type applied in the operation and maintenance application work order to develop the target service. Specifically, the business party can use the server resource corresponding to the target node to develop the target business.
In one implementation, the operation and maintenance server can send a notification message to the mailbox of the applicant.
In the service operation and maintenance method provided by the embodiment of the invention, an operation and maintenance server firstly acquires an operation and maintenance application work order aiming at a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then, operation and maintenance parameters in the operation and maintenance application work order are crawled; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
Fig. 2 is a flowchart of another service operation and maintenance method provided in the embodiment of the present invention, where the method includes the following steps:
s201, acquiring an operation and maintenance application work order aiming at the target service.
In this embodiment, the step S201 may be completely the same as the step S101 in the embodiment shown in fig. 1, and is not described herein again.
And S202, checking the operation and maintenance application corresponding to the operation and maintenance application work order.
The operation and maintenance server may store a preconfigured ACL list, where the list specifically includes an ACL user name configured for each service party and a corresponding ACL password, so as to implement security authentication of the operation and maintenance application for the target service. After the operation and maintenance service application for the target service is submitted in the preset page by the service party, the operation and maintenance server can verify the authority of the operation and maintenance service application according to the preconfigured ACL list, the ACL user name in the operation and maintenance application work order and the ACL password. Specifically, the operation and maintenance server may determine whether an ACL user name and an ACL password in the operation and maintenance application work order are matched with an ACL user name and a corresponding ACL password in a preconfigured ACL list.
In this embodiment, in the operation and maintenance server, a script may be written, so as to implement auditing of the operation and maintenance application corresponding to the operation and maintenance application work order, deployment of a service cluster corresponding to a service category for a target service, and the like. Specifically, a preconfigured ACL list may be input into the written script to check the operation and maintenance application corresponding to the operation and maintenance application work order.
And S203, under the condition that the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit, deploying the service cluster corresponding to the service type for the target service according to the operation and maintenance application work order.
And if the ACL user name and the ACL password in the operation and maintenance application work order are matched with the ACL user name and the corresponding ACL password in the preconfigured ACL list, the operation and maintenance application corresponding to the operation and maintenance application work order passes the verification, and the operation and maintenance server can deploy the service cluster corresponding to the service type for the target service.
And S204, crawling the operation and maintenance parameters in the operation and maintenance application work order.
S205, according to the operation and maintenance parameters, a target node is set from the service cluster.
S206, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message.
In this embodiment, the steps S204 to S206 may be respectively identical to the steps S103 to S105 in the embodiment shown in fig. 1, and are not described herein again.
In the service operation and maintenance method provided by the embodiment of the invention, the operation and maintenance server checks the operation and maintenance application corresponding to the operation and maintenance application work order, and deploys the cluster for the target service when the operation and maintenance application passes the check. Therefore, the safety certification can be carried out on the operation and maintenance application for the target service submitted by the service party.
Fig. 3 is a flowchart of another service operation and maintenance method provided in the embodiment of the present invention, where the method includes the following steps:
s301, acquiring an operation and maintenance application work order aiming at the target service.
And S302, deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order.
And S303, crawling the operation and maintenance parameters in the operation and maintenance application work order.
S304, according to the operation and maintenance parameters, a target node is set from the service cluster.
In this embodiment, the steps S301 to S304 may be respectively identical to the steps S101 to S104 in the embodiment shown in fig. 1, and are not described herein again.
S305, backup information is sent to the data center.
The backup information includes: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node. After the backup information is sent to the data center, the data center can establish a corresponding relation between a service party, a target service, a service cluster configured for the target service and a target node. The operation and maintenance server can monitor the condition that the target node is used by the target service according to the corresponding relation.
S306, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message.
In this embodiment, the step S306 may be completely the same as the step S105 in the embodiment shown in fig. 1, and is not described herein again.
In the service operation and maintenance method provided by the embodiment of the invention, the operation and maintenance server sends the backup information to the data center. It is thus possible to monitor the situation in which the target is also using the target node.
Fig. 4 is a structural diagram of a service operation and maintenance device according to an embodiment of the present invention, where the device is applied to an operation and maintenance server, and the device includes:
an obtaining module 401, configured to obtain an operation and maintenance application work order for a target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to a target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application;
a deployment module 402, configured to deploy a service cluster corresponding to a service category for a target service according to an operation and maintenance application work order;
a crawling module 403, configured to crawl operation and maintenance parameters in the operation and maintenance application work order;
a setting module 404, configured to set a target node from the service cluster according to the operation and maintenance parameter;
a first sending module 405, configured to send a notification message to a service party, so that the service party invokes a target node to develop a target service according to the notification message; wherein, the notification message carries the identifier of the target node.
In the service operation and maintenance device provided by the embodiment of the invention, the operation and maintenance server firstly acquires an operation and maintenance application work order aiming at a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then, operation and maintenance parameters in the operation and maintenance application work order are crawled; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
In one implementation, the service classes are: a ZooKeeper service; the service cluster is a ZooKeeper service cluster; the operation and maintenance parameters comprise: the access control list ACL username, ACL password, and the identity of the target node.
In one implementation, the identification of the target node includes: the node name and corresponding port number of the target node.
Fig. 5 is a structural diagram of another service operation and maintenance device provided in an embodiment of the present invention, where the device is applied to an operation and maintenance server, and the device includes: the system comprises an acquisition module 501, an auditing module 502, a deployment module 503, a crawling module 504, a setting module 505 and a first sending module 506; the obtaining module 501, the crawling module 504, the setting module 505, and the first sending module 506 may be respectively identical to the obtaining module 401, the crawling module 403, the setting module 404, and the first sending module 405 in the embodiment shown in fig. 4, and are not repeated here.
In this embodiment, the auditing module 502 is configured to audit the operation and maintenance application corresponding to the operation and maintenance application work order after the obtaining module 501 obtains the operation and maintenance application work order for the target service.
The deployment module 503 is specifically configured to deploy, according to the operation and maintenance application work order, a service cluster corresponding to the service category for the target service when the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit.
In the service operation and maintenance device provided by the embodiment of the invention, the operation and maintenance server checks the operation and maintenance application corresponding to the operation and maintenance application work order, and deploys the cluster for the target service when the operation and maintenance application passes the check. Therefore, the safety certification can be carried out on the operation and maintenance application for the target service submitted by the service party.
Fig. 6 is a structural diagram of another service operation and maintenance device provided in an embodiment of the present invention, where the device is applied to an operation and maintenance server, and the device includes: the system comprises an acquisition module 601, a deployment module 602, a crawling module 603, a setting module 604, a second sending module 605 and a first sending module 606; the obtaining module 601, the deploying module 602, the crawling module 603, the setting module 604, and the first sending module 606 may be respectively identical to the obtaining module 401, the deploying module 402, the crawling module 403, the setting module 404, and the first sending module 405 in the embodiment shown in fig. 4, and are not repeated here.
In this embodiment, the second sending module 605 is configured to send backup information to the data center after the setting module 604 sets the target node from the service cluster according to the operation and maintenance parameter; wherein, the backup information comprises: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node.
In the service operation and maintenance device provided by the embodiment of the invention, the operation and maintenance server sends the backup information to the data center. It is thus possible to monitor the situation in which the target is also using the target node.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
acquiring an operation and maintenance application work order aiming at a target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to a target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application;
deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order;
crawling operation and maintenance parameters in an operation and maintenance application work order;
setting a target node from the service cluster according to the operation and maintenance parameters;
sending a notification message to a service party so that the service party calls a target node to develop a target service according to the notification message; wherein, the notification message carries the identifier of the target node.
In the electronic device provided by the embodiment of the invention, the processor enables the operation and maintenance server to firstly obtain the operation and maintenance application work order aiming at the target service by executing the program stored in the memory; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then, operation and maintenance parameters in the operation and maintenance application work order are crawled; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the business operation and maintenance method in any one of the above embodiments.
When the instruction stored in the computer-readable storage medium provided by the embodiment of the invention runs on a computer, firstly, an operation and maintenance server firstly obtains an operation and maintenance application work order for a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then, operation and maintenance parameters in the operation and maintenance application work order are crawled; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
In another embodiment of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the business operation and maintenance method described in any of the above embodiments.
When the computer program product containing the instructions provided by the embodiment of the invention runs on a computer, firstly, an operation and maintenance server firstly obtains an operation and maintenance application work order aiming at a target service; deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order; then, operation and maintenance parameters in the operation and maintenance application work order are crawled; setting a target node from the service cluster according to the operation and maintenance parameters; and finally, sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message. The embodiment of the invention does not need to develop an API for the operation and maintenance application of the business service, and can improve the operation and maintenance efficiency of the business service. In addition, the operation and maintenance parameters to be crawled can be set according to the needs so as to realize operation and maintenance aiming at different business services.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus/electronic device/storage medium/computer program product embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A service operation and maintenance method is applied to an operation and maintenance server and comprises the following steps:
acquiring an operation and maintenance application work order aiming at a target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to the target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application; the operation and maintenance parameters comprise an Access Control List (ACL) user name and an ACL password, and the ACL user name and the ACL password represent the authority which is configured for the business party in advance and used for submitting the operation and maintenance service application by the business party;
deploying a service cluster corresponding to the service type for the target service according to the operation and maintenance application work order;
crawling the operation and maintenance parameters in the operation and maintenance application work order;
setting a target node from the service cluster according to the operation and maintenance parameters;
sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message; wherein the notification message carries the identifier of the target node.
2. The method of claim 1, wherein after the step of obtaining the operation and maintenance application work order for the target service, the method further comprises:
checking the operation and maintenance application corresponding to the operation and maintenance application work order;
the deploying, according to the operation and maintenance application work order, the service cluster corresponding to the service category for the target service includes:
and under the condition that the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit, deploying the service cluster corresponding to the service type for the target service according to the operation and maintenance application work order.
3. The method of claim 1, wherein after the step of setting a target node from the service cluster according to the operation and maintenance parameter, the method further comprises:
sending backup information to a data center; wherein the backup information includes: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node.
4. A method according to any of claims 1-3, wherein the service classes are: a ZooKeeper service; the service cluster is a ZooKeeper service cluster; the operation and maintenance parameters further comprise: an identification of the target node.
5. The method according to any of claims 1-3, wherein the identification of the target node comprises: the node name and the corresponding port number of the target node.
6. A service operation and maintenance device is applied to an operation and maintenance server, and the device comprises:
the acquisition module is used for acquiring an operation and maintenance application work order aiming at the target service; the operation and maintenance application work order is generated after a business party inputs operation and maintenance parameters corresponding to the target business in a preset page, and the operation and maintenance application work order comprises the following steps: the service type of the target service application; the operation and maintenance parameters comprise an Access Control List (ACL) user name and an ACL password, and the ACL user name and the ACL password represent the authority which is configured for the business party in advance and used for submitting the operation and maintenance service application by the business party;
the deployment module is used for deploying the service cluster corresponding to the service type for the target service according to the operation and maintenance application work order;
the crawling module is used for crawling the operation and maintenance parameters in the operation and maintenance application work order;
the setting module is used for setting a target node from the service cluster according to the operation and maintenance parameters;
the first sending module is used for sending a notification message to the service party so that the service party calls the target node to develop the target service according to the notification message; wherein the notification message carries the identifier of the target node.
7. The apparatus of claim 6, further comprising:
the auditing module is used for auditing the operation and maintenance application corresponding to the operation and maintenance application work order after the operation and maintenance application work order aiming at the target service is acquired by the acquiring module;
the deployment module is specifically configured to deploy, for the target service, the service cluster corresponding to the service category according to the operation and maintenance application work order when the operation and maintenance application corresponding to the operation and maintenance application work order passes the audit.
8. The apparatus of claim 6, further comprising:
the second sending module is used for sending backup information to a data center after the setting module sets a target node from the service cluster according to the operation and maintenance parameters; wherein the backup information includes: the operation and maintenance parameters, the cluster information of the service cluster and the node information of the target node.
9. The apparatus according to any of claims 6-8, wherein the service class is: a ZooKeeper service; the service cluster is a ZooKeeper service cluster; the operation and maintenance parameters further comprise: an identification of the target node.
10. The apparatus according to any of claims 6-8, wherein the identification of the target node comprises: the node name and the corresponding port number of the target node.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
CN201810161516.2A 2018-02-27 2018-02-27 Business operation and maintenance method and device and electronic equipment Active CN108390786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810161516.2A CN108390786B (en) 2018-02-27 2018-02-27 Business operation and maintenance method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810161516.2A CN108390786B (en) 2018-02-27 2018-02-27 Business operation and maintenance method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108390786A CN108390786A (en) 2018-08-10
CN108390786B true CN108390786B (en) 2021-05-07

Family

ID=63069908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810161516.2A Active CN108390786B (en) 2018-02-27 2018-02-27 Business operation and maintenance method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108390786B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753491B (en) * 2018-12-29 2021-03-26 北京世纪互联宽带数据中心有限公司 Data operation and maintenance system and method, electronic equipment and storage medium
CN110288104A (en) * 2019-07-04 2019-09-27 北京百佑科技有限公司 O&M flow system, O&M workflow management method and device
CN111818305B (en) * 2020-07-09 2021-12-10 杭州海康威视数字技术股份有限公司 Distributed system, service control method and device
CN112990890B (en) * 2021-05-10 2021-08-27 鹏城实验室 Notification message sending method, server and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016480A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Method for scheduling task, apparatus and system
CN107491937A (en) * 2017-08-14 2017-12-19 郑州云海信息技术有限公司 A kind of cloud resource application approval management method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882699B (en) * 2011-07-14 2015-07-29 华为技术有限公司 The distribution method of fringe node and device and fringe node controller
CN105915633B (en) * 2016-06-02 2019-12-10 北京百度网讯科技有限公司 Automatic operation and maintenance system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016480A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Method for scheduling task, apparatus and system
CN107491937A (en) * 2017-08-14 2017-12-19 郑州云海信息技术有限公司 A kind of cloud resource application approval management method and system

Also Published As

Publication number Publication date
CN108390786A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN108322351B (en) Method and device for generating topological graph and method and device for determining faults
CN108390786B (en) Business operation and maintenance method and device and electronic equipment
Suryotrisongko et al. Design and development of backend application for public complaint systems using microservice spring boot
US10033604B2 (en) Providing compliance/monitoring service based on content of a service controller
US10572240B2 (en) Operating system update management for enrolled devices
CN110661658B (en) Node management method and device of block chain network and computer storage medium
US20160197947A1 (en) System for detecting abnormal behavior by analyzing personalized use behavior pattern during entire access period
CN111108733B (en) System, method and computer program for providing security in Network Function Virtualization (NFV) -based communication networks and Software Defined Networks (SDNS)
CN110569035A (en) Code compiling method, device, equipment and storage medium of software development project
US20170118647A1 (en) Transmitting Management Commands to a Client Device
CN110400217B (en) Rule change processing method and device for intelligent contract
CN112714158B (en) Transaction processing method, relay network, cross-link gateway, system, medium and equipment
US10891357B2 (en) Managing the display of hidden proprietary software code to authorized licensed users
CN110677453A (en) ZooKeeper-based distributed lock service implementation method, device, equipment and storage medium
CN111260475A (en) Data processing method, block chain node point equipment and storage medium
CN114546837A (en) Interface test method, device, equipment and storage medium
CN107341059A (en) A kind of wechat public number concurrent message treatment mechanism
Pecka et al. Privilege escalation attack scenarios on the devops pipeline within a kubernetes environment
CN112650954B (en) Block chain data sharing method, device, equipment and storage medium
CN114237821A (en) Self-discovery method and device for Kubernetes container cluster, electronic device and storage medium
Kang et al. A strengthening plan for enterprise information security based on cloud computing
CN109992298B (en) Examination and approval platform expansion method and device, examination and approval platform and readable storage medium
CN114567678B (en) Resource calling method and device for cloud security service and electronic equipment
CN116011590A (en) Federal learning method, device and system
CN113419952B (en) Cloud service management scene testing device and method

Legal Events

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