WO2014044130A1 - 业务巡检方法和系统、计算机存储介质 - Google Patents
业务巡检方法和系统、计算机存储介质 Download PDFInfo
- Publication number
- WO2014044130A1 WO2014044130A1 PCT/CN2013/083198 CN2013083198W WO2014044130A1 WO 2014044130 A1 WO2014044130 A1 WO 2014044130A1 CN 2013083198 W CN2013083198 W CN 2013083198W WO 2014044130 A1 WO2014044130 A1 WO 2014044130A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- server
- service
- service inspection
- inspection item
- item
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/508—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
- H04L41/5096—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to distributed or central networked applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/006—Identification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/161—Computing infrastructure, e.g. computer clusters, blade chassis or hardware partitioning
Definitions
- the present invention relates to computer network technologies, and in particular, to a service inspection method and system, and a computer storage medium.
- a business is a service that performs a certain function. If the service is deployed on the server, the maintenance personnel are required to perform maintenance. For example, if the service is deployed on the server, the operation and maintenance personnel will deploy the monitoring program at the same time. The service will be uninstalled from a server. The operation and maintenance personnel will stop the service and stop the monitoring. Procedure, when a server is to be retired, the operation and maintenance personnel need to stop all business services and stop all monitoring procedures.
- a service inspection method includes the following steps:
- the changing operation is a new operation, a modification operation, or a deletion operation.
- the method further includes the steps of:
- the relationship between the service inspection item and the server is updated according to the traversal result.
- the step of updating the association relationship between the service inspection item and the server according to the traversal result includes:
- the server port is not matched with the service patrol item, or the service process is not matched with the service patrol item, the association between the server and the corresponding service patrol item is deleted.
- the association relationship between the newly added server and the corresponding service inspection item is established.
- the method before the step of periodically traversing the service inspection item information, the server information, and the relationship between the service inspection item and the server, the method further includes the following steps:
- the association between the server and the corresponding service inspection item is moved to the server. Deleting the queue;
- the association relationship between the newly added server and the corresponding service inspection item is moved into the new queue.
- the traversal of the newly added queue increases the association between the server in the newly added queue and the service inspection item.
- the method before the step of obtaining a change operation on the service inspection item, the method further includes the steps of:
- the relationship between the service inspection item information, the server information, and the service inspection item and the server is stored in the service inspection database.
- the method before the obtaining the change operation on the service inspection item, the method further includes the following steps:
- the steps to update the results include:
- the method further includes the steps of:
- a business inspection system comprising:
- An interaction module configured to acquire a change operation on a service inspection item
- a processing module configured to acquire a service process or port bound to the service inspection item according to the change operation, and find a corresponding server according to the service process or port, and update an association relationship between the service inspection item and the server. , get the corresponding update results;
- a publishing module for publishing the update result
- the changing operation is a new operation, a modification operation, or a deletion operation.
- the service inspection system further includes:
- the scanning module is configured to periodically traverse the relationship between the service inspection item information, the server information, and the service inspection item and the server;
- the processing module is further configured to update an association relationship between the service inspection item and the server according to the traversal result.
- the processing module is further configured to: if the server is invalid or cannot find the server, delete the association relationship related to the server, if the server port is not matched with the port of the service inspection item or the server If the service process is not matched with the service process, the association between the server and the corresponding service inspection item is deleted, and if the server is added and the new server does not exist, the corresponding server does not exist.
- the association relationship between the service inspection item and the corresponding service inspection item is established.
- the service inspection system further includes:
- the processing module is further configured to: if the server is invalid or cannot find the server, move the association relationship related to the server into the delete queue, if the port that the server port is bound to the service inspection item does not match or the service on the server If the process is not matched with the service process, the association between the server and the corresponding service inspection item is moved to the deletion queue, and if the server is added and the new server does not exist. And the associated relationship between the newly added server and the corresponding service inspection item is moved into the new queue;
- the scanning module is further configured to traverse the deletion queue, and the processing module is further configured to delete an association relationship between the server in the deletion queue and a service inspection item;
- the scanning module is further configured to traverse the newly added queue, and the processing module is further configured to increase an association relationship between the server and the service inspection item in the newly added queue.
- the service inspection system further includes:
- the service inspection database is used to store the relationship between the service inspection item information, the server information, and the service inspection item and the server.
- the service inspection system further includes:
- a classification module for classifying servers
- Tag module for marking each type of server
- the processing module is further configured to: obtain a service process or a port bound to the newly added service inspection item according to the change operation, and find a server of the corresponding class according to the service process or port, and update the service inspection item and each class. The relationship between the servers is updated accordingly.
- the switching module is further configured to obtain a query request, and view an association relationship between the updated service inspection item and the server according to the query request.
- One or more computer storage media containing computer executable instructions for performing a service inspection method comprising the steps of:
- the service inspection method and system, and the computer storage medium obtain the port or service process bound to the service inspection item according to the change operation, automatically find the corresponding server according to the port or the service process, and update the service inspection item and the server. Correlation relationship, release update results, automatically update maintenance business, release operation and maintenance personnel from repetitive labor, and reduce manual investment.
- FIG. 1 is a flow chart of a method for service inspection in an embodiment
- FIG. 2 is a flowchart of querying a relationship between a service inspection item and a server in an embodiment
- FIG. 3 is a schematic diagram showing the internal structure of a service inspection system in an embodiment
- FIG. 4 is a schematic diagram showing the internal structure of a service inspection system in another embodiment
- FIG. 5 is a schematic diagram showing the internal structure of a service inspection system in another embodiment
- Figure 6 is a timing diagram of the operation of the business inspection system.
- a service inspection method includes the following steps:
- Step S110 obtaining a change operation on the service inspection item.
- the change operation of the service inspection item is obtained on the configuration interface of the service inspection.
- the business inspection item is the smallest business monitoring program unit, which is bound to a business process or an open port, and then is responsible for monitoring the business process or the port.
- the change operation can be a new operation, a modification operation, or a delete operation.
- the method before step S110, further includes the step of: storing the relationship between the service inspection item information, the server information, and the service inspection item and the server in the service inspection database.
- the service inspection item information includes the CPU of the device (Central Processing Unit, central processing unit, hard disk, network status, monitoring service running status, etc., for example, Mysql (Associated Database Management System) connection number and other custom monitoring services.
- the server information includes the service process information registered on the server, the port information, and the operation status of the server itself.
- the service process information includes the name of the service process.
- the port information includes an open port number.
- the operation status of the server itself includes the status of running or decommissioning.
- the relationship between the service inspection item and the server can be represented by the association between the service inspection item identifier and the server identifier.
- the service patrol item identifier is used to distinguish the identity of the service patrol item.
- the server ID is used to distinguish the identity of the service patrol item.
- step S120 the service process or port bound to the service inspection item is obtained according to the change operation, and the corresponding server is found according to the service process or port, and the relationship between the service inspection item and the server is updated, and the corresponding relationship is obtained. Update the results.
- the association relationship refers to a mapping relationship between the service inspection item and the server.
- a server or a service process is configured on the server.
- the service inspection item is bound to a service process or port.
- the corresponding server can be found according to the service process or port.
- Server uses IP (Internet Protocol, the protocol for interconnection between networks) is distinguished.
- step S130 the update result is released.
- Zookeeper is a distributed, open source distributed application coordination service, including a simple primitive set, is an important component of Hadoop and Hbase, mainly used to solve the consistency problem of application systems in distributed clusters. It provides data storage based on a directory node tree similar to a file system and maintains and monitors the state changes of stored data.
- the ZooKeeper's script program contains the relationship between the service patrol item and the server. The running program searches for the corresponding server according to the server ID of the service patrol item identifier, and then publishes the service patrol item to the server.
- the change operation is a new operation
- first register the new service inspection item obtain the service process or port bound to the newly added service inspection item, find the corresponding server according to the service process or port, and then create a new one.
- the relationship between the added service inspection items and the corresponding server is released, and the new service inspection items are released to the corresponding server through Zookeeper.
- the change operation is a modification operation, that is, when the service inspection item itself is upgraded, the service process or port bound to the service inspection item is obtained, and the corresponding server is found according to the service process or port, and the upgraded service inspection item is updated.
- the relationship between the servers is used to deploy the upgraded service inspection items to all the servers associated with them through Zookeeper, and replace the original service inspection items (that is, the monitoring program).
- the change operation is the delete operation
- the service inspection item is deleted, the service process or port bound to the service inspection item is obtained, and the corresponding server is found according to the service process or port, and all the servers associated with the service inspection item are selected. Perform the uninstall operation so that the service inspection item no longer works.
- the foregoing service patrol method further includes the steps of: periodically traversing the service patrol item information, the server information, and the relationship between the two; according to the traversal result Update the relationship between the business inspection item and the server.
- the traversal period may be set periodically according to requirements, such as traversing once a day. After traversing, you can scan the status of the server and whether the relationship between the service inspection item and the server is valid.
- the step of updating the association relationship between the service inspection item and the server according to the traversal result includes:
- the state of the server is maintained in the server configuration system.
- the server is configured to be invalid in the server configuration system, all associations related to the server are deleted. If the server is not found, it means that the server (indicating that the server's IP does not exist) is retired.
- the server configuration system records a server port and service process information
- the service inspection item monitors the port and the service process information
- the service inspection item is bound with a port or a service process, thereby obtaining a server and service tour.
- the association between the check items is deleted when the server port is not matched with the port to which the service patrol is bound, or when the service process on the server does not match the service process bound to the service patrol item. The relationship between items.
- the association relationship between the server and the corresponding service inspection item is automatically established.
- the service patrol method further includes the steps of: setting a delete queue and adding a queue before the step of periodically traversing the service patrol item information, the server information, and the relationship between the two.
- association relationship in (111) and (112) may be added to the deletion queue, the association relationship in (113) is added to the new queue, and then the association relationship in the deletion queue is deleted by traversing the deletion queue. By traversing the newly added queue, the associations in the newly added queue are added together.
- the association relationship related to the server is moved into the deletion queue; if the port that the server port is bound to the service inspection item does not match or the service process and service inspection on the server are performed, If the service process is not matched, the association between the server and the corresponding service inspection item is moved to the deletion queue. If the server is added, the association between the new server and the corresponding service inspection item does not exist. Relationship, the association relationship between the newly added server and the corresponding service inspection item is moved into the new queue; then the deletion queue is traversed, and the association between the server in the deletion queue and the service inspection item is deleted. Relationship; traverse the new queue to increase the association between the server and the service inspection item in the new queue.
- the foregoing service inspection method further includes the steps of: classifying the server and marking each type of server before the obtaining the change operation on the service inspection item. Specifically, the servers are classified according to similar properties or functions, and then the corresponding types of servers are assigned corresponding tags. Establish the association between the same type of server and service inspection items, that is, manage the servers by category.
- Step 120 includes: obtaining a service process or port bound to the service inspection item according to the change operation, and searching for a corresponding server according to the service process or port, and updating an association relationship between the service inspection item and each type of server. , get the corresponding update results.
- the update relationship between the server and the service inspection item is updated according to the change operation, that is, the service inspection item changes, and the relationship between the service inspection item and the mark of the type server is changed. For example, if the marking of a type of server is 01, the relationship between the marking 01 and the business inspection item is established. When the business inspection item is updated, the relationship between the marking 01 and the business inspection item is also updated.
- the foregoing service inspection method further includes the following steps after the step of publishing the update result:
- Step S210 obtaining a query request.
- the relationship between the query service inspection item and the server can be obtained.
- Step S220 View an association relationship between the updated service inspection item and the server according to the query request.
- the relationship between the updated service inspection item and the server may be viewed from the service inspection database according to the query request.
- the method before step S130, further includes the step of: storing the update result in the service inspection database. Stored in the business inspection database for subsequent queries.
- the method further includes the step of: reporting the information detected by the inspection item to the visualization system and/or the early warning system.
- a service inspection system includes an interaction module 110, a processing module 120, and a distribution module 130. among them:
- the interaction module 110 is configured to acquire a change operation on the service inspection item. Specifically, the change operation of the service inspection item is obtained on the configuration interface of the service inspection. Among them, the business inspection item is the smallest business monitoring program unit, which is bound to a business process or an open port, and then is responsible for monitoring the service or the port.
- the change operation can be a new operation, a modification operation, or a delete operation.
- the interaction module 110 is located on the configuration system of the service inspection.
- the processing module 120 is configured to obtain a service process or port bound to the service inspection item according to the change operation, and find a corresponding server according to the service process or port, and update an association relationship between the service inspection item and the server, and obtain The corresponding update results.
- the association relationship refers to a mapping relationship between the service inspection item and the server.
- the relationship between the service inspection item and the server can be represented by the association between the service inspection item identifier and the server identifier.
- the service patrol item identifier is used to distinguish the identity of the service patrol item.
- the server ID is used to distinguish the identity of the service patrol item.
- a server or a service process is configured on the server.
- the service inspection item is bound to a service process or port.
- the corresponding server can be found according to the service process or port.
- IP Internet Protocol, the protocol for interconnection between networks
- the processing module 120 is located on the configuration system of the service inspection.
- the publishing module 130 is configured to publish the update result.
- the publishing module 130 is a Zookeeper publishing system.
- Zookeeper is a distributed, open source distributed application coordination service, including a simple primitive set, is an important component of Hadoop and Hbase, mainly used to solve the consistency problem of application systems in distributed clusters. It provides data storage based on a directory node tree similar to a file system and maintains and monitors the state changes of stored data.
- the ZooKeeper's script program contains the relationship between the service patrol item and the server. The running program searches for the corresponding server according to the server ID of the service patrol item identifier, and then publishes the service patrol item to the server.
- the processing module 120 When the change operation is a new operation, the processing module 120 first registers the newly added service inspection item, obtains a service process or port bound to the newly added service inspection item, and finds the corresponding server according to the service process or port. Then, the relationship between the newly added service inspection item and the corresponding server is established, and the new service inspection item is released to the corresponding server through Zookeeper.
- the processing module 120 acquires the service process or port bound to the newly added service inspection item, and finds the server of the corresponding class according to the service process or port, and updates and upgrades. After the relationship between the service inspection item and the server, the upgraded service inspection item is deployed to all the servers associated with it through Zookeeper, and the original service inspection item (ie, the monitoring program) is replaced.
- the change operation is the delete operation
- the service patrol item is deleted, and the processing module 120 obtains the service process or port bound to the newly added service patrol item, and finds the corresponding server according to the service process or port, and all the services are
- the server associated with the patrol item performs an uninstall operation, so that the service patrol item no longer works.
- the service inspection system includes an interaction module 110, a processing module 120, and a distribution module 130, and further includes a scanning module 140, a setting module 150, and a service inspection database 160. among them:
- the scanning module 140 is configured to periodically traverse the service inspection item information, the server information, and the relationship between the two.
- the service inspection item information includes the CPU of the device (Central) Processing Unit, central processing unit, hard disk, network status, monitoring service running status, etc., for example, Mysql (Associated Database Management System) connection number and other custom monitoring services.
- the server information includes the service process information registered on the server, the port information, and the operation status of the server itself.
- the service process information includes the name of the service process.
- the port information includes an open port number.
- the operation status of the server itself includes the status of running or decommissioning. Periodically, you can set the traversal period as needed, such as traversing once a day. After traversing, you can scan the status of the server and whether the relationship between the service inspection item and the server is valid.
- the processing module 130 is further configured to update an association relationship between the service inspection item and the server according to the traversal result.
- the processing module 130 is further configured to delete an association relationship related to the server if the server is invalid or the server is not found.
- the state of the server is maintained in the server configuration system.
- the server is configured to be invalid in the server configuration system, all associations related to the server are deleted. If the server is not found, it means that the server (indicating that the server's IP does not exist) is retired.
- processing module 130 is further configured to: if the server port is not matched with the service patrol item, or the service process bound to the service patrol item does not match, the server and the corresponding service patrol are deleted. The relationship between the items.
- the server configuration system records a server port and service process information
- the service inspection item monitors the port and the service process information
- the service inspection item is bound with a port or a service process, thereby obtaining a server and service tour.
- the association between the check items is deleted when the server port is not matched with the port to which the service patrol is bound, or when the service process on the server does not match the service process bound to the service patrol item. The relationship between items.
- processing module 130 is further configured to establish an association relationship between the newly added server and the corresponding service inspection item if the server is added and the association relationship between the newly added server and the corresponding service inspection item does not exist.
- the association relationship between the server and the corresponding service inspection item is automatically established.
- the setting module 150 is used to set a delete queue and a new queue.
- the processing module 130 is further configured to: if the server is invalid or cannot find the server, move the association relationship related to the server into the delete queue, if the port that the server port is bound to the service inspection item does not match or the service process and service on the server The service process bound to the patrol item does not match. The association between the server and the corresponding service inspection item is moved to the deletion queue. If the server is added and the server does not have an association with the corresponding service inspection item. Relationship, the association relationship between the server and the corresponding service inspection item is moved into the new queue.
- the scanning module 140 is further configured to traverse the deletion queue, and the processing module 130 is further configured to delete an association relationship between the server and the service inspection item in the deletion queue; the scanning module 140 is further configured to traverse the new queue, and the processing module The 130 is further configured to increase an association between the server and the service inspection item in the newly added queue.
- the delete queue By traversing the delete queue, the associations in the delete queue are deleted together.
- the associations in the newly added queues are increased together, which improves the operation efficiency.
- the scanning module 140 and the setting module 150 are all disposed on the configuration system of the business inspection.
- the service inspection database 160 is configured to store the relationship between the service inspection item information, the server information, and the service inspection item and the server before the interaction module 110 acquires the change operation of the service inspection item.
- the processing module 130 updates the stored relationship between the service inspection item information, the server information, and the service inspection item and the server according to the change request.
- the service inspection database 160 is further configured to store updated service inspection item information, server information, and an association relationship between the service inspection item and the server.
- the switching module 110 is further configured to obtain a query request, and view an association relationship between the updated service inspection item and the server according to the query request. On the service inspection configuration page, you can obtain the association between the query service inspection item and the server.
- the service inspection system includes the interaction module 110, the processing module 120, and the distribution module 130, the scan module 140 or the setup module 150 or the service inspection database 160 may be further included.
- the service inspection system includes an interaction module 110, a processing module 120, and a distribution module 130, and further includes a classification module 170 and a marking module 180. among them:
- Classification module 170 is used to classify servers. Classify servers by similar nature or function.
- the tagging module 180 is used to tag each type of server. Assign the appropriate tags to the same type of server.
- the classification module 170 and the marking module 180 are provided on the configuration system of the business inspection.
- the processing module 130 is further configured to obtain a service process or port bound to the service inspection item according to the change operation, and find a corresponding server according to the service process or port, and update the service inspection item with each type of server. Correlation relationship, get the corresponding update results.
- the update relationship between the server and the service inspection item is updated according to the change operation, that is, the service inspection item changes, and the relationship between the service inspection item and the mark of the type server is changed. For example, if the marking of a type of server is 01, the relationship between the marking 01 and the business inspection item is established. When the business inspection item is updated, the relationship between the marking 01 and the business inspection item is also updated.
- the service inspection system may include an interaction module 110, a processing module 120 and a distribution module 130, a scanning module 140, a setting module 150, a service inspection database 160, a classification module 170, and a marking module 180.
- the service inspection system After the service inspection system releases the update result, the service inspection system starts monitoring the service and reports the monitoring information to other systems, such as a visualization system or an early warning system.
- the interaction module 110 and the processing module 120 are placed in the configuration system of the service inspection, and the interaction between the service inspection configuration system, the service inspection database, and the Zookeeper distribution system is described. As shown in Figure 6, the specific process is as follows:
- New business inspection items including:
- the newly created service inspection item is registered and saved in the business inspection database.
- the service inspection database transmits the registration status to the configuration system of the business inspection.
- the status of the registration success is returned to the configuration system of the service inspection for the user to understand.
- the IP of the associated service inspection item to the specific server includes:
- the server uses an IP identifier to establish an association relationship between the service inspection item and the IP of the server.
- the release status describes the relationship between the service inspection item and the IP of the server, and the operation status of the server.
- the service inspection item is a program for monitoring the service, which is used to monitor a certain service, that is, a task, and the ZooKeeper release system deploys the service inspection item to the associated server, that is, the task is released to a specific IP. .
- the identifier of the feedback task is recorded in the service inspection database.
- the service inspection configuration system periodically traverses the task status through the service inspection database.
- the service inspection configuration system queries the service inspection database for the release status.
- the service inspection method and system are configured to obtain the port or service process bound to the service inspection item according to the change operation, and automatically find the corresponding server according to the port or the service process, and update the relationship between the service inspection item and the server, and release the relationship. Update the results, automatically update the maintenance business, release the operation and maintenance personnel from the repetitive work, and reduce the labor input.
- the change operation may be to add, modify, or delete the service, or the server is automatically renewed and automatically maintained; the service patrol item information, the server information, and the relationship between the two may be traversed periodically to further correct the possible existence.
- the relationship between the service inspection item and the server is correct or missing; the association between the service inspection item and the server can be queried to facilitate the operation and maintenance personnel to understand.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (17)
- 一种业务巡检方法,包括以下步骤:获取对业务巡检项的变更操作;根据所述变更操作获取该业务巡检项绑定的业务进程或端口,根据该业务进程或端口查找到相应的服务器,更新业务巡检项与服务器之间的关联关系,得到相应的更新结果;发布所述更新结果。
- 根据权利要求1所述的业务巡检方法,其特征在于,所述变更操作为新增操作、修改操作或删除操作。
- 根据权利要求1所述的业务巡检方法,其特征在于,在所述发布所述更新结果的步骤之后,还包括步骤:定期遍历业务巡检项信息、服务器信息及业务巡检项与服务器之间的关联关系;根据遍历结果更新业务巡检项与服务器之间的关联关系。
- 根据权利要求3所述的业务巡检方法,其特征在于,所述根据遍历结果更新业务巡检项与服务器之间的关联关系的步骤包括:若服务器无效或查找不到服务器,则删除与所述服务器相关的关联关系;若服务器端口与业务巡检项绑定的端口不匹配或服务器上业务进程与业务巡检项绑定的业务进程不匹配,则删除所述服务器与对应的业务巡检项之间的关联关系;若新增服务器且不存在所述新增服务器与对应的业务巡检项的关联关系,则建立所述新增服务器与对应的业务巡检项之间的关联关系。
- 根据权利要求4所述的业务巡检方法,其特征在于,在所述定期遍历业务巡检项信息、服务器信息及业务巡检项与服务器之间的关联关系的步骤之前,还包括步骤:设置删除队列和新增队列;若服务器无效或查找不到服务器,将与所述服务器相关的关联关系移入所述删除队列中;若服务器端口与业务巡检项绑定的端口不匹配或服务器上业务进程与业务巡检项绑定的业务进程不匹配,将所述服务器与对应的业务巡检项之间的关联关系移入所述删除队列中;若新增服务器且不存在所述新增服务器与对应的业务巡检项的关联关系,则将所述新增服务器与对应的业务巡检项之间的关联关系移入所述新增队列中;遍历所述删除队列,删除所述删除队列中的服务器与业务巡检项之间的关联关系;遍历所述新增队列,增加所述新增队列中的服务器与业务巡检项之间的关联关系。
- 根据权利要求1所述的业务巡检方法,其特征在于,在所述获取对业务巡检项的变更操作的步骤之前,还包括步骤:将业务巡检项信息、服务器信息及业务巡检项与服务器之间的关联关系存入业务巡检数据库中。
- 根据权利要求1所述的业务巡检方法,其特征在于,在所述获取对业务巡检项的变更操作之前,还包括步骤:将服务器进行分类,并标记每类服务器;根据所述变更操作获取新增的业务巡检项绑定的业务进程或端口,根据业务进程或端口查找到相应的服务器,更新所述业务巡检项与服务器之间的关联关系,得到相应的更新结果的步骤包括:根据所述变更操作获取新增的业务巡检项绑定的业务进程或端口,根据业务进程或端口查找到相应类的服务器,更新所述业务巡检项与每类服务器之间的关联关系,得到相应的更新结果。
- 根据权利要求1所述的业务巡检方法,其特征在于,在所述发布所述更新结果的步骤之后,还包括步骤:获取查询请求;根据所述查询请求查看所述更新后的业务巡检项与服务器之间的关联关系。
- 一种业务巡检系统,其特征在于,包括:交互模块,用于获取对业务巡检项的变更操作;处理模块,用于根据所述变更操作获取该业务巡检项绑定的业务进程或端口,根据该业务进程或端口查找到相应的服务器,更新所述业务巡检项与服务器之间的关联关系,得到相应的更新结果;发布模块,用于发布所述更新结果。
- 根据权利要求9所述的业务巡检系统,其特征在于,所述变更操作为新增操作、修改操作或删除操作。
- 根据权利要求9所述的业务巡检系统,其特征在于,所述业务巡检系统还包括:扫描模块,用于定期遍历业务巡检项信息、服务器信息及业务巡检项与服务器之间的关联关系;所述处理模块还用于根据遍历结果更新业务巡检项与服务器之间的关联关系。
- 根据权利要求11所述的业务巡检系统,其特征在于,所述处理模块还用于若服务器无效或查找不到服务器,则删除与所述服务器相关的关联关系,若服务器端口与业务巡检项绑定的端口不匹配或服务器上业务进程与业务巡检项绑定的业务进程不匹配,则删除所述服务器与对应的业务巡检项之间的关联关系,以及若新增服务器且不存在所述新增服务器与对应的业务巡检项的关联关系,则建立所述新增服务器与对应的业务巡检项之间的关联关系。
- 根据权利要求12所述的业务巡检系统,其特征在于,所述业务巡检系统还包括:设置模块,用于设置删除队列和新增队列;所述处理模块还用于若服务器无效或查找不到服务器,将与所述服务器相关的关联关系移入所述删除队列中,若服务器端口与业务巡检项绑定的端口不匹配或服务器上业务进程与业务巡检项绑定的业务进程不匹配,将所述服务器与对应的业务巡检项之间的关联关系移入所述删除队列中,以及若新增服务器且不存在所述新增服务器与对应的业务巡检项的关联关系,则将所述新增服务器与对应的业务巡检项之间的关联关系移入所述新增队列中;所述扫描模块还用于遍历所述删除队列,所述处理模块还用于删除所述删除队列中的服务器与业务巡检项之间的关联关系;所述扫描模块还用于遍历所述新增队列,所述处理模块还用于增加所述新增队列中的服务器与业务巡检项之间的关联关系。
- 根据权利要求9所述的业务巡检系统,其特征在于,所述业务巡检系统还包括:业务巡检数据库,用于存储业务巡检项信息、服务器信息及业务巡检项与服务器之间的关联关系。
- 根据权利要求9所述的业务巡检系统,其特征在于,所述业务巡检系统还包括:分类模块,用于将服务器进行分类;标记模块,用于标记每类服务器;所述处理模块还用于根据所述变更操作获取新增的业务巡检项绑定的业务进程或端口,根据业务进程或端口查找到相应类的服务器,更新所述业务巡检项与每类服务器之间的关联关系,得到相应的更新结果。
- 根据权利要求9所述的业务巡检系统,其特征在于,所述交换模块还用于获取查询请求,以及根据所述查询请求查看所述更新后的业务巡检项与服务器之间的关联关系。
- 一个或多个包含计算机可执行指令的计算机存储介质,所述计算机可执行指令用于执行一种业务巡检方法,其特征在于,所述方法包括以下步骤:获取对业务巡检项的变更操作;根据所述变更操作获取该业务巡检项绑定的业务进程或端口,根据该业务进程或端口查找到相应的服务器,更新业务巡检项与服务器之间的关联关系,得到相应的更新结果;发布所述更新结果。
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
IN1263DEN2015 IN2015DN01263A (zh) | 2012-09-19 | 2013-09-10 | |
RU2014136486A RU2607991C2 (ru) | 2012-09-19 | 2013-09-10 | Способ и система технического осмотра и соответствующий им машиночитаемый носитель данных |
KR1020147033870A KR101482651B1 (ko) | 2012-09-19 | 2013-09-10 | 서비스 폴링 방법 및 시스템, 그리고 컴퓨터 기억 매체 |
CA 2866308 CA2866308A1 (en) | 2012-09-19 | 2013-09-10 | Method and system for service inspection and computer-readable storage medium thereof |
US14/395,667 US20150081625A1 (en) | 2012-09-19 | 2013-09-10 | Service polling method and system, and computer storage medium |
JP2015523409A JP5782585B1 (ja) | 2012-09-19 | 2013-09-10 | サービスインスペクションの方法及びシステム、及びそのコンピュータ読取可能な記憶媒体 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210349218.9A CN103684900B (zh) | 2012-09-19 | 2012-09-19 | 业务巡检方法和系统 |
CN201210349218.9 | 2012-09-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014044130A1 true WO2014044130A1 (zh) | 2014-03-27 |
Family
ID=50321280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/083198 WO2014044130A1 (zh) | 2012-09-19 | 2013-09-10 | 业务巡检方法和系统、计算机存储介质 |
Country Status (9)
Country | Link |
---|---|
US (1) | US20150081625A1 (zh) |
JP (1) | JP5782585B1 (zh) |
KR (1) | KR101482651B1 (zh) |
CN (1) | CN103684900B (zh) |
BR (1) | BR112015003276A2 (zh) |
CA (1) | CA2866308A1 (zh) |
IN (1) | IN2015DN01263A (zh) |
RU (1) | RU2607991C2 (zh) |
WO (1) | WO2014044130A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104518903B (zh) * | 2013-09-30 | 2019-01-08 | 腾讯科技(北京)有限公司 | 线上业务巡检方法、系统及装置 |
CN106911739B (zh) * | 2015-12-23 | 2020-02-07 | 北京奇虎科技有限公司 | 一种信息分发方法及装置 |
CN107665119B (zh) * | 2016-07-27 | 2020-06-26 | 北京金山云网络技术有限公司 | 一种分布式数据系统 |
CN106990992A (zh) * | 2017-04-10 | 2017-07-28 | 深圳乐信软件技术有限公司 | 服务配置方法、装置、服务器及存储介质 |
CN109104302A (zh) * | 2018-07-18 | 2018-12-28 | 杭州鑫合汇互联网金融服务有限公司 | 一种全链路追踪监控方法 |
CN109118607A (zh) * | 2018-07-26 | 2019-01-01 | 郑州云海信息技术有限公司 | 设备巡检方法和巡检装置 |
CN111026702B (zh) * | 2019-11-22 | 2023-05-16 | 安徽三实信息技术服务有限公司 | 一种windows或linux主机文件的快速巡检方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043692A (zh) * | 2007-04-30 | 2007-09-26 | 华为技术有限公司 | 巡检方法及巡检服务器 |
CN101216797A (zh) * | 2008-01-11 | 2008-07-09 | 中国移动通信集团四川有限公司 | 大型数据中心it系统基础软硬件平台的深度巡检系统和方法 |
CN102521099A (zh) * | 2011-11-24 | 2012-06-27 | 深圳市同洲视讯传媒有限公司 | 一种进程监控方法及进程监控系统 |
CN102591765A (zh) * | 2011-12-31 | 2012-07-18 | 珠海市君天电子科技有限公司 | 一种进程自动管理系统 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7017162B2 (en) * | 2001-07-10 | 2006-03-21 | Microsoft Corporation | Application program interface for network software platform |
GB0306971D0 (en) * | 2003-03-26 | 2003-04-30 | British Telecomm | Client server model |
US7443867B2 (en) * | 2003-08-15 | 2008-10-28 | Nortel Networks Limited | Method for performing network services |
US20060271552A1 (en) * | 2005-05-26 | 2006-11-30 | Venture Capital & Consulting Group, Llc. | Targeted delivery of content |
CA2627073A1 (en) * | 2005-10-24 | 2007-05-03 | Accenture Global Services Gmbh | Dynamic server consolidation and configuration |
US7330882B2 (en) * | 2005-12-28 | 2008-02-12 | Matsushita Electric Works, Ltd. | Systems and methods for discovering and interacting with services |
JP4891722B2 (ja) * | 2006-09-29 | 2012-03-07 | 株式会社日立製作所 | 検疫システムおよび検疫方法 |
US20080208806A1 (en) * | 2007-02-28 | 2008-08-28 | Microsoft Corporation | Techniques for a web services data access layer |
CN101217400B (zh) * | 2007-12-29 | 2010-11-03 | 北京亿阳信通软件研究院有限公司 | 一种综合智能巡检方法和系统 |
US8775624B2 (en) * | 2008-12-31 | 2014-07-08 | Cerner Innovation, Inc. | Load-balancing and technology sharing using Lempel-Ziv complexity to select optimal client-sets |
CN102201934A (zh) * | 2011-05-05 | 2011-09-28 | 中国联合网络通信集团有限公司 | 集中管理分布式自动测试巡检方法及系统 |
KR20130048094A (ko) * | 2011-11-01 | 2013-05-09 | 한국전자통신연구원 | 콘텐츠 스트리밍 중계를 위한 노드 장치 및 그 방법 |
US9444884B2 (en) * | 2011-12-31 | 2016-09-13 | Level 3 Communications, Llc | Load-aware load-balancing cluster without a central load balancer |
CN102546796B (zh) * | 2011-12-31 | 2014-08-06 | 重庆新媒农信科技有限公司 | 业务服务器数据更新处理系统及方法 |
US8955041B2 (en) * | 2012-02-17 | 2015-02-10 | Kabushiki Kaisha Toshiba | Authentication collaboration system, ID provider device, and program |
-
2012
- 2012-09-19 CN CN201210349218.9A patent/CN103684900B/zh active Active
-
2013
- 2013-04-10 BR BR112015003276A patent/BR112015003276A2/pt not_active Application Discontinuation
- 2013-09-10 IN IN1263DEN2015 patent/IN2015DN01263A/en unknown
- 2013-09-10 WO PCT/CN2013/083198 patent/WO2014044130A1/zh active Application Filing
- 2013-09-10 KR KR1020147033870A patent/KR101482651B1/ko active IP Right Grant
- 2013-09-10 RU RU2014136486A patent/RU2607991C2/ru active
- 2013-09-10 US US14/395,667 patent/US20150081625A1/en not_active Abandoned
- 2013-09-10 JP JP2015523409A patent/JP5782585B1/ja active Active
- 2013-09-10 CA CA 2866308 patent/CA2866308A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043692A (zh) * | 2007-04-30 | 2007-09-26 | 华为技术有限公司 | 巡检方法及巡检服务器 |
CN101216797A (zh) * | 2008-01-11 | 2008-07-09 | 中国移动通信集团四川有限公司 | 大型数据中心it系统基础软硬件平台的深度巡检系统和方法 |
CN102521099A (zh) * | 2011-11-24 | 2012-06-27 | 深圳市同洲视讯传媒有限公司 | 一种进程监控方法及进程监控系统 |
CN102591765A (zh) * | 2011-12-31 | 2012-07-18 | 珠海市君天电子科技有限公司 | 一种进程自动管理系统 |
Also Published As
Publication number | Publication date |
---|---|
KR101482651B1 (ko) | 2015-01-14 |
KR20140144313A (ko) | 2014-12-18 |
CA2866308A1 (en) | 2014-03-27 |
RU2014136486A (ru) | 2016-11-10 |
US20150081625A1 (en) | 2015-03-19 |
IN2015DN01263A (zh) | 2015-07-03 |
CN103684900B (zh) | 2018-03-16 |
CN103684900A (zh) | 2014-03-26 |
JP5782585B1 (ja) | 2015-09-24 |
BR112015003276A2 (pt) | 2017-07-04 |
JP2015529893A (ja) | 2015-10-08 |
RU2607991C2 (ru) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014044130A1 (zh) | 业务巡检方法和系统、计算机存储介质 | |
WO2018214320A1 (zh) | 数据库业务逻辑监控方法、系统、及存储介质 | |
WO2020224246A1 (zh) | 基于区块链的数据管理方法、装置、设备和存储介质 | |
WO2018103315A1 (zh) | 监控数据的处理方法、装置、服务器及存储设备 | |
WO2014044136A1 (zh) | 基于分布式数据的并发处理方法、系统和计算机存储介质 | |
WO2021012481A1 (zh) | 系统性能监控方法、装置、设备及存储介质 | |
WO2018058959A1 (zh) | Sql审核方法、装置、服务器及存储设备 | |
WO2018014580A1 (zh) | 数据接口测试方法、装置、服务器和存储介质 | |
WO2020233077A1 (zh) | 系统服务的监控方法、装置、设备及存储介质 | |
WO2020147385A1 (zh) | 数据录入方法、装置、终端及计算机可读存储介质 | |
WO2020253135A1 (zh) | 自动化分析方法、用户设备、存储介质及装置 | |
WO2020253125A1 (zh) | 日志管理方法、装置、设备及存储介质 | |
WO2018076841A1 (zh) | 数据分享方法、装置、存储介质及服务器 | |
WO2018201774A1 (zh) | 数据审批方法、装置、设备和计算机可读存储介质 | |
WO2021051492A1 (zh) | 数据库服务节点切换方法、装置、设备及计算机存储介质 | |
WO2016101441A1 (zh) | 一种进行文件同步的方法及系统 | |
WO2010123168A1 (ko) | 데이터베이스 관리 방법 및 시스템 | |
WO2010147362A2 (en) | Widget activation and communication method | |
WO2020077832A1 (zh) | 云桌面的访问方法、装置、设备及存储介质 | |
WO2020177376A1 (zh) | 数据的提取方法、装置、终端及计算机可读存储介质 | |
WO2015144012A1 (zh) | 一种软件开发事务的实现方法及电子设备 | |
WO2009136740A2 (ko) | OSGi 서비스 플랫폼에 원격으로 설치된 번들에 대한 바인딩 정보를 관리하는 방법 및 장치 | |
WO2015024167A1 (zh) | 一种处理用户报文的方法及转发面设备 | |
WO2020220412A1 (zh) | 基于零知识证明的公民隐私保护的方法、系统及存储介质 | |
WO2020062658A1 (zh) | 合同生成方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13839216 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2015523409 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2866308 Country of ref document: CA |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14395667 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 20147033870 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2014136486 Country of ref document: RU Kind code of ref document: A |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 290715 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13839216 Country of ref document: EP Kind code of ref document: A1 |
|
ENPC | Correction to former announcement of entry into national phase, pct application did not enter into the national phase |
Ref document number: 112015003276 Country of ref document: BR Kind code of ref document: A2 Free format text: ANULADA A PUBLICACAO CODIGO 1.3 NA RPI NO 2426 DE 04/07/2017 POR TER SIDO INDEVIDA. |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01E Ref document number: 112015003276 Country of ref document: BR Kind code of ref document: A2 |
|
ENP | Entry into the national phase |
Ref document number: 112015003276 Country of ref document: BR Kind code of ref document: A2 Effective date: 20150212 |