WO2017161820A1 - 一种服务器分组管理方法、装置和电子设备 - Google Patents

一种服务器分组管理方法、装置和电子设备 Download PDF

Info

Publication number
WO2017161820A1
WO2017161820A1 PCT/CN2016/096498 CN2016096498W WO2017161820A1 WO 2017161820 A1 WO2017161820 A1 WO 2017161820A1 CN 2016096498 W CN2016096498 W CN 2016096498W WO 2017161820 A1 WO2017161820 A1 WO 2017161820A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
parameter
specified
server
information
Prior art date
Application number
PCT/CN2016/096498
Other languages
English (en)
French (fr)
Inventor
陈抒
檀会娟
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
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 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017161820A1 publication Critical patent/WO2017161820A1/zh

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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Definitions

  • the present invention relates to the field of network server technologies, and in particular, to a server group management method, apparatus, and electronic device.
  • an effective monitoring system can help operation and maintenance personnel to identify hidden dangers that cause system failures.
  • the functions of the monitoring system include the collection and display of indicator data and data analysis.
  • the design of each link should ensure high efficiency and stability, which is especially important in big data operation and maintenance systems.
  • the existing monitoring system is a single indicator corresponding to one server in a chart. It does not support users to group different servers according to requirements and view indicator data at the same time; and the existing monitoring system does not have the interaction function between different users, which is difficult View metric data for servers in a server cluster that other users are responsible for. It can be seen that the existing server management method lacks the design of the system from the perspective of the user, resulting in weak function scalability and weak interaction capability.
  • an object of the present invention is to provide a server group management method, apparatus, and electronic device, which are used to establish and share a server group according to user requirements, thereby improving the scalability of the management system and enhancing the interaction capability.
  • the present invention provides a server group management method, including:
  • Determining whether the group specified by the group information is an existing group if yes, adding the multiple servers to the existing group; if not, establishing a new group according to the group information and adding the multiple servers to the new group ;
  • the method further includes:
  • the parameter statistics table is periodically updated by monitoring the latest data of the server specified parameters in the group.
  • the monitoring obtains the latest data of the specified parameters of the server in the group, and periodically updates the parameter statistics table, including:
  • the method includes:
  • the updated parameter statistics table is sent to the user specified by the user information.
  • the group information includes a monitoring threshold for the at least one specified parameter; the method further includes:
  • the method further includes:
  • a link to the monitoring statistics table of the specified parameter is added to the parameter statistics table of the abnormal group.
  • the method further includes:
  • the present invention further provides a server group management apparatus, including:
  • An instruction obtaining unit configured to acquire a grouping instruction including group information and server information of a plurality of servers
  • a processing unit configured to determine whether the group specified by the group information is an existing group; if yes, add the multiple servers to the existing group, and if not, create a new group according to the group information and The server joins the new group;
  • a monitoring unit configured to acquire data of each server specified parameter in the group according to a specified parameter included in the group information, and establish a parameter statistics table
  • a sharing unit configured to acquire a sharing instruction including group information and user information, and send the parameter statistics table of the group information specifying group to a user specified by the user information.
  • the monitoring unit is configured to periodically update the parameter statistics table by monitoring the latest data of the server specified parameters in the group.
  • the monitoring unit is configured to periodically send a parameter obtaining request including the specified parameter to a server in the group at a preset first time interval, and receive the specified parameter returned by the server. Up-to-date data and updating the parameter statistics table using the latest data; the sharing unit is configured to send the updated parameter statistics table to a user specified by the user information.
  • the processing unit is further configured to establish an abnormal group, and set a parameter statistics table in the abnormal group; if the latest data of the specified parameter of the server exceeds the monitoring threshold of the specified parameter, join the server The abnormality group; the monitoring unit is configured to acquire data of the server specified parameter and join the parameter statistics table of the abnormal group.
  • the monitoring unit is further configured to monitor a specified parameter of the server in the abnormal group, establish a monitoring statistics table that changes the specified parameter over time, and is further used in the parameter statistics table of the abnormal group. Add a link to the monitoring statistics table for the specified parameter.
  • the instruction acquiring unit is further configured to acquire a sharing request that is sent by another user, including the group information and the user information of another user.
  • the processing unit is further configured to use the user information of the another user. Find a group that has been shared with the other user and feed back to the user.
  • Embodiments of the present invention also provide an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: acquire a grouping instruction including group information and server information of a plurality of servers; and determine whether the group specified by the group information is an existing group If yes, add the multiple servers to the existing group.
  • the parameter statistics table is periodically updated by monitoring the latest data of the server specified parameters in the group.
  • the above-mentioned electronic device wherein the monitoring of the latest data of the server specified parameters in the group, and periodically updating the parameter statistics table, including: periodically transmitting to the server in the group by using a preset first time interval as a period a parameter acquisition request of the specified parameter; receiving latest data of the specified parameter returned by the server and updating the parameter statistics table by using the latest data; the acquiring a sharing instruction including group information and user information, After the parameter statistics table of the group information designation group is sent to the user specified by the user information, the updated parameter statistics table is sent to the user specified by the user information.
  • the group information includes a monitoring threshold for at least one specified parameter; establishing an abnormal group, setting a parameter statistical table in the abnormal group; if the latest data of the specified parameter of the server exceeds the specified parameter The monitoring threshold is added to the abnormal group; the data of the specified parameter of the server is obtained and added to the parameter statistics table of the abnormal group.
  • the electronic device wherein the specified parameter of the server in the abnormal group is monitored, and a monitoring statistics table of the specified parameter changes with time is established; and monitoring of the specified parameter is added to the parameter statistics table of the abnormal group A link to the statistics table.
  • the electronic device wherein a sharing request sent by another user including group information and user information of another user is acquired; searching for a group shared by the another user according to the user information of the another user and feeding back user.
  • Embodiments of the present invention also provide a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable an electronic device to: acquire group information including And a grouping instruction of the server information of the plurality of servers; determining whether the group specified by the group information is an existing group; if yes, adding the plurality of servers to the existing group; if not, establishing a new group according to the group information And adding the plurality of servers to the new group; acquiring data of each server specified parameter in the group according to the specified parameter included in the group information, and establishing a parameter statistics table; acquiring a sharing instruction including group information and user information, Sending the parameter statistics table of the group information designation group to the user specified by the user information.
  • the above non-volatile computer storage medium wherein the parameter statistics table is periodically updated by monitoring the latest data of the server-specified parameters in the group.
  • the above-mentioned non-volatile computer storage medium wherein the monitoring, by monitoring the latest data of the server-specified parameter, periodically updating the parameter statistics table, including: scheduling the group at a preset first time interval
  • the server within the server sends a parameter acquisition request including the specified parameter; receives latest data of the specified parameter returned by the server and updates the parameter statistics table using the latest data; the obtaining includes group information and user information
  • the sharing instruction sends the updated parameter list to the user specified by the user information after the parameter statistics table of the group information specifying group is sent to the user specified by the user information.
  • the non-volatile computer storage medium wherein the group information includes a monitoring threshold for at least one specified parameter; establishing an abnormal group, setting a parameter statistics table in the abnormal group; and if the specified parameter of the server is the latest The data exceeds the monitoring threshold of the specified parameter, and the server is added to the abnormal group; the data of the specified parameter of the server is obtained and added to the parameter statistics table of the abnormal group.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of any of the preceding claims.
  • the server group management method, apparatus, and electronic device add the server to the server group according to the user's requirements, and set the specified parameters to be monitored, and the monitored data is parameterized.
  • the form of the table is easy to find and compare, so as to achieve a targeted management process and improve the scalability of the management system.
  • FIG. 1 is a schematic flowchart of an embodiment of a server group management method according to the present invention.
  • FIG. 2 is a schematic flowchart of an optional embodiment of a server group management method according to the present invention.
  • FIG. 3 is a schematic flowchart of an optional embodiment of a server group management method according to the present invention.
  • FIG. 4 is a block diagram of an embodiment of a server packet management apparatus according to the present invention.
  • FIG. 5 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection. It can be understood by a person of ordinary skill in the art The specific meaning of the above terms in the present invention.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a server group management method according to the present invention. As shown in the figure, an embodiment of a server group management method provided by the present invention includes:
  • the group information includes the main information used to establish the group, such as the group name, the group type, and the like.
  • the group information further includes at least one specified parameter, and the specified parameter is a parameter preset by the user to be monitored by the server in the group. .
  • joining means placing a label or a link of the server into the group.
  • the user can directly access the server's parameter interface to view the detailed parameters of the server by selecting the server's label or link.
  • This embodiment implements a process of personalizing groups of servers according to user requirements and sharing the groups to other users.
  • Users can personalize the specified parameters that need to be monitored by servers in different groups. That is, different groups can be used to monitor different parameters of the server.
  • This method is convenient for monitoring the specified parameters according to the function settings of different servers. For example, for a server that handles complex operations, it can mainly monitor its CPU usage; for a server that performs file backup storage, it can mainly monitor its memory capacity. Etc., and establish a parameter statistics table based on the monitoring results.
  • the parameter statistics table can be shared with other users, so that other users can conveniently view the main parameters of the server that the user is responsible for.
  • the method further includes:
  • step S20 the parameter statistics table is updated periodically; that is, the parameter statistics table is not static after being established, but is updated periodically at certain time intervals.
  • the user can obtain the latest value of the specified parameters of the server in the group, so as to grasp the latest state of the server.
  • the parameter statistics table is backed up, so that the history of the specified parameters of the server is queried as needed.
  • FIG. 2 is a schematic flowchart diagram of an optional embodiment of a server group management method according to the present invention.
  • S20 by monitoring the latest data of the server specified parameters in the group, periodically updating the parameter statistics table, including:
  • the parameter acquisition request including the specified parameter is periodically sent to the server in the group at a preset first time interval.
  • S31 Receive latest data of the specified parameter returned by the server and update the parameter statistics table by using the latest data.
  • Steps S30 and S31 further describe the method of acquiring the latest data of the specified parameter in step S20.
  • the first time interval is preset by the user and can be determined according to requirements. To ensure the timeliness of the server parameters, the first time interval should not be too large, and the setting range is usually 1s to 20s.
  • Step S32 is used to implement, after the parameter statistics table is updated locally, the parameter statistics table is sent to other users sharing the group in which the parameter statistics table is located, and the parameter statistics table of the users is updated, so that the users can also obtain the parameter statistics table. The latest specified parameter value to the server.
  • the first time interval is not a fixed value, but a value that periodically changes according to time; and the time of the day is divided into at least two types including the first time period and the second time period.
  • Type in the first time period, the first time interval takes a first value, and in the second time period, the first time interval takes a second value; the first value is greater than the second value.
  • the scenario that this embodiment is directed to is a situation in which the server load changes over time in a day; for example, in a valley time interval of 00:00-19:00, the number of users is small, the server load is low, and the specified parameters are abnormal.
  • the probability is very low, you can set the first time interval to a larger value; the peak at 19:00-24:00 In the time interval, the number of users is large, and the server load is high.
  • the status of the server specified parameters may exceed the standard at any time.
  • the first time interval can be set to a smaller value, so that the user can obtain the server status at any time, according to the server load.
  • Adopt a targeted management strategy.
  • FIG. 3 is a schematic flowchart diagram of an optional embodiment of a server group management method according to the present invention.
  • the group information includes a monitoring threshold for at least one specified parameter; the method further includes:
  • S40 Establish an abnormal group, and set a parameter statistics table in the abnormal group.
  • the time interval of the abnormal group parameter statistics table update is a second time interval, and the second time interval is smaller than the first time interval. Since the server specified parameters in the abnormal group have been determined to exceed the standard, it is more necessary to pay attention to it at any time, so the update frequency of the parameter statistics table is accelerated.
  • the abnormality group is configured, and the server whose specified parameter exceeds the monitoring threshold is added to the abnormal group, which is convenient for the user to view.
  • the exception group can also be shared. By sharing the exception groups of other users, you can view the abnormal status of other server clusters, and provide reference for handling the problem of the local server cluster.
  • the method further includes:
  • S50 Monitor a specified parameter of the server in the abnormal group, and establish a monitoring statistics table of the specified parameter as a function of time.
  • the monitoring statistics table is a table for counting the trend of changes of a single specified parameter, so that the user can deeply analyze the change of the specified parameter.
  • the parameter statistics table of each specified parameter is established, and the change trend of the specified parameter is recorded in the parameter statistics table, so that the user can view and view at any time.
  • the method further includes:
  • S60 Acquire a sharing request sent by another user, including group information and user information of another user.
  • the embodiment is configured to: after receiving the sharing request sent by another user, find a group that the user has shared with the other user, and feed back to the user for viewing, so that the user can know that the user has already shared Which groups are given to another user.
  • FIG. 4 is a block diagram of an embodiment of a server packet management apparatus provided by the present invention. As shown in the figure, in another embodiment of the present invention, a server group management apparatus is provided, including:
  • the instruction obtaining unit 70 is configured to acquire a grouping instruction including group information and server information of a plurality of servers.
  • the processing unit 71 is configured to determine whether the group specified by the group information is an existing group; if yes, add the multiple servers to the existing group, and if not, create a new group according to the group information and Servers join the new group.
  • the monitoring unit 72 is configured to acquire data of each server specified parameter in the group according to the specified parameter included in the group information, and establish a parameter statistics table.
  • the sharing unit 73 is configured to acquire a sharing instruction including group information and user information, and send the parameter statistics table of the group information specifying group to the user specified by the user information.
  • the apparatus provided in this embodiment implements a process of personalizing groups of servers according to user requirements and sharing the groups to other users.
  • Users can personalize the specified parameters that need to be monitored by servers in different groups. That is, different groups can be used to monitor different parameters of the server.
  • This method is convenient for monitoring the specified parameters according to the function settings of different servers. For example, for a server that handles complex operations, it can mainly monitor its CPU usage; for a server that performs file backup storage, it can mainly monitor its memory capacity. Etc., and establish a parameter statistics table based on the monitoring results.
  • the parameter statistics table can be shared with other users, so that other users can conveniently view the main parameters of the server that the user is responsible for.
  • the monitoring unit 72 is configured to periodically update the parameter statistics table by monitoring the latest data of the server specified parameters in the group.
  • the monitoring unit 72 is configured to periodically send a parameter acquisition request including the specified parameter to a server in the group at a preset first time interval; and receive the returned by the server. And updating the parameter statistics table by using the latest data of the specified parameter; the sharing unit 73 is configured to send the updated parameter statistics table to a user specified by the user information.
  • the processing unit 71 is further configured to establish an abnormal group, and set a parameter statistics table in the abnormal group; if the latest data of the specified parameter of the server exceeds the monitoring threshold of the specified parameter The server is added to the abnormal group; the monitoring unit 72 is configured to acquire data of the server specified parameter and join the parameter statistics table of the abnormal group.
  • the monitoring unit 72 is further configured to monitor a specified parameter of the server in the abnormal group, establish a monitoring statistics table of the specified parameter as a function of time, and also be used in the abnormal group. A link to the monitoring statistics table for the specified parameter is added to the parameter statistics table.
  • the instruction acquiring unit 70 is further configured to acquire a sharing request that is sent by another user, including group information and user information of another user; then, the processing unit 71 is further configured to The user information of another user finds a group that has been shared with the other user and feeds back to the user.
  • the server group management method and apparatus can monitor the specified parameters of the specified server by setting the server group according to the user requirements, thereby implementing a targeted control process and improving the management system.
  • Scalability by joining the group sharing mechanism, different users can obtain the specified parameter data of the intra-group servers set by each other and refer to each other, thereby planning a perfect management and control strategy and enhancing the interaction capability of the management system.
  • an embodiment of the present invention further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored An instruction executed by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: acquire a grouping instruction including group information and server information of a plurality of servers Determining whether the group specified by the group information is an existing group; if yes, adding the plurality of servers to the existing group; if not, establishing a new group according to the group information and adding the plurality of servers to the new group And acquiring a data of each server specified parameter in the group according to the specified parameter included in the group information, and establishing a parameter statistics table; acquiring a sharing instruction including the group information and the user information, and the group information is specified by the group
  • the parameter statistics table is sent to the user specified by the user information.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically
  • the parameter statistics table is periodically updated by monitoring the latest data of the server specified parameters in the group.
  • the step of updating the parameter statistics table by monitoring the latest data of the specified parameters of the server in the group includes: scheduling the time in the group with a preset first time interval
  • the server sends a parameter acquisition request including the specified parameter; receives latest data of the specified parameter returned by the server, and updates the parameter statistics table by using the latest data; the acquiring a sharing instruction including group information and user information
  • the updated parameter statistics table is sent to the user specified by the user information.
  • the group information includes a monitoring threshold for at least one specified parameter; establishing an abnormal group, setting a parameter statistical table in the abnormal group; if the latest data of the specified parameter of the server exceeds And the monitoring threshold of the specified parameter, adding the server to the abnormal group; acquiring data of the server specified parameter and adding the parameter statistics table of the abnormal group.
  • the electronic device of the embodiment preferably monitors a specified parameter of the server in the abnormal group, establishes a monitoring statistical table of the specified parameter as a function of time, and adds a pointing to the specified in the parameter statistics table of the abnormal group. A link to the monitoring statistics table for the parameter.
  • the electronic device of this embodiment preferably acquires a sharing request sent by another user, including group information and user information of another user; and searches for a group that has been shared with the other user according to the user information of the other user. And feedback to the user.
  • Embodiments of the present invention also disclose a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: acquire a group And a grouping instruction of the server information of the plurality of servers; determining whether the group specified by the group information is an existing group; if yes, adding the plurality of servers to the existing group; if not, establishing a new group according to the group information And adding the plurality of servers to the new group; acquiring data of each server specified parameter in the group according to the specified parameter included in the group information, and establishing a parameter statistics table; acquiring a sharing instruction including group information and user information And sending the parameter statistics table of the group information specifying group to the user specified by the user information.
  • the parameter statistics table is periodically updated by monitoring the latest data of the server-specified parameters in the group.
  • the step of updating the parameter statistics table by monitoring the latest data of the server-specified parameters in the group includes: presetting the first time Interval is a period, periodically sending a parameter acquisition request including the specified parameter to a server in the group; receiving latest data of the specified parameter returned by the server, and updating the parameter statistics table using the latest data; Obtaining a sharing instruction including the group information and the user information, and sending the parameter statistics table of the group information specifying group to the user specified by the user information, and sending the updated parameter statistics table to the user information The specified user.
  • the group information includes a monitoring threshold for at least one specified parameter; establishing an abnormal group, setting a parameter statistical table in the abnormal group; and if the server specifies a parameter The latest data exceeds the monitoring threshold of the specified parameter, and the server is added to the abnormal group; the data of the server specified parameter is acquired and added to the parameter statistics table of the abnormal group.
  • the non-volatile computer storage medium of the embodiment preferably, monitoring a specified parameter of the server in the abnormal group, establishing a monitoring statistical table of the specified parameter changing with time; and the parameter statistics table in the abnormal group Add a link to the monitoring statistics table for the specified parameter.
  • the non-volatile computer storage medium of the embodiment preferably acquires a sharing request sent by another user including group information and user information of another user; searching for the user information according to the other user has been shared Another user's group is fed back to the user.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method described in the above embodiments.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本发明公开了一种服务器分组管理方法、装置和电子设备,包括:获取包括组信息和多个服务器的服务器信息的分组指令;判断组信息指定的组是否为已有组;若是,将多个服务器加入该已有组,若不是,根据组信息建立新组并将多个服务器加入该新组;根据组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;获取包括组信息和用户信息的共享指令,将组信息指定组的参数统计表发送至用户信息指定的用户。所述服务器分组管理方法、装置和电子设备,通过根据用户需求设置服务器组,实现有针对性的管控过程,提高管理系统的扩展性;通过加入组分享机制,使得不同用户之间可以获取彼此设置的组内服务器的指定参数数据并相互参考,增强管理系统的交互能力。

Description

一种服务器分组管理方法、装置和电子设备
交叉引用
本申请要求在2016年03月25日提交中国专利局、申请号为201610177593.8、发明名称为“一种服务器分组管理方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及网络服务器技术领域,特别是指一种服务器分组管理方法、装置和电子设备。
背景技术
在IT运维监控领域,一个有效的监控系统能帮助运维人员及时发现导致系统故障的隐患。监控系统的功能包括指标数据的采集、展示再到数据分析等,各个环节的设计要保障高效稳定,这在大数据运维系统中尤为重要。现有监控系统是一张图表对应一台服务器的单个指标,不支持用户将各种不同的服务器按需求分组,同时查看指标数据;并且现有监控系统不具备不同用户之间的交互功能,难以查看其他用户负责的服务器集群中服务器的指标数据。可见,现有的服务器管理方法缺乏从用户的角度考虑系统的设计,导致功能扩展性不强,交互能力弱。
发明内容
有鉴于此,本发明的目的在于提出一种服务器分组管理方法、装置和电子设备,用以实现根据用户需求建立和共享服务器组,从而提高管理系统的扩展性,增强交互能力。
基于上述目的本发明提供一种服务器分组管理方法,包括:
获取包括组信息和多个服务器的服务器信息的分组指令;
判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
可选的,所述方法还包括:
通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
可选的,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:
以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;
接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;
所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户后,包括:
将更新后的所述参数统计表发送至所述用户信息指定的用户。
可选的,所述组信息包括针对至少一个指定参数的监控阈值;所述方法还包括:
建立异常组,在所述异常组内设置参数统计表;
若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;
获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
可选的,所述方法还包括:
监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;
在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
可选的,所述方法还包括:
获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;
根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
基于上述目的本发明还提供一种服务器分组管理装置,包括:
指令获取单元,用于获取包括组信息和多个服务器的服务器信息的分组指令;
处理单元,用于判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
监测单元,用于根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
共享单元,用于获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
可选的,所述监测单元用于通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
可选的,所述监测单元具体用于以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述共享单元用于将更新后的所述参数统计表发送至所述用户信息指定的用户。
可选的,所述处理单元还用于建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;所述监测单元用于获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
可选的,所述监测单元还用于监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;还用于在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
可选的,所述指令获取单元还用于获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;则,所述处理单元还用于根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本发明实施例还提供一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取包括组信息和多个服务器的服务器信息的分组指令;判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组, 若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
上述的电子设备,其中,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
上述的电子设备,其中,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所述参数统计表发送至所述用户信息指定的用户。
上述的电子设备,其中,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
上述的电子设备,其中,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
上述的电子设备,其中,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本发明实施例还提供一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:获取包括组信息和多个服务器的服务器信息的分组指令;判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
上述的非易失性计算机存储介质,其中,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
上述的非易失性计算机存储介质,其中,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所述参数统计表发送至所述用户信息指定的用户。
上述的非易失性计算机存储介质,其中,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
上述的非易失性计算机存储介质,其中,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
上述的非易失性计算机存储介质,其中,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
从上面所述可以看出,本发明提供的一种服务器分组管理方法、装置和电子设备,通过根据用户需求将服务器加入服务器组,并设置需要监控的指定参数,将监控获取的数据以参数统计表的形式展示,便于查找和对比,从而实现有针对性的管控过程,提高管理系统的扩展性;通过加入组分享机制,不同用 户之间可以获取彼此组内服务器的指定参数数据并相互参考,从全局建立,从而规划完善的管控策略,增强管理系统的交互能力。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的一种服务器分组管理方法的实施例的流程示意图;
图2为本发明提供的一种服务器分组管理方法的可选实施例的流程示意图;
图3为本发明提供的一种服务器分组管理方法的可选实施例的流程示意图;
图4为本发明提供的一种服务器分组管理装置的实施例的框图;
图5为本发明实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解 上述术语在本发明中的具体含义。
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
图1为本发明提供的一种服务器分组管理方法的实施例的流程示意图。如图所示,本发明提供的一种服务器分组管理方法的实施例,包括:
S10,获取包括组信息和多个服务器的服务器信息的分组指令。
组信息包括用于建立组的主要信息,如组名称、组类型等;在后续实施例中,组信息内还包含至少一个指定参数,指定参数为用户预设的希望监控的组内服务器的参数。
S11,判断所述组信息指定的组是否为已有组;若是,执行步骤S12,若不是,执行步骤S13。
S12,将所述多个服务器加入该已有组。
S13,根据所述组信息建立新组并将所述多个服务器加入该新组。
步骤S12、S13中,“加入”表示:将服务器的标签或者链接置入该组。用户可以直接通过选取服务器的标签或链接,进入该服务器的参数界面查看该服务器的详细参数。
S14,根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表。
S15,获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
本实施例实现了根据用户需求对服务器进行个性化分组,并将组共享给其他用户的过程。用户可以对不同组内服务器需要监控的指定参数进行个性化设置,即对于不同的组而言可以着重监控其中服务器的不同参数。这一方式便于根据不同服务器的功能设置有针对性的指定参数进行监控,例如,对于处理复杂运算的服务器,可以主要监控其CPU使用量;对于执行文件备份存储的服务器,可以主要监控其存储器容量等等,并根据监控结果建立参数统计表。可以将参数统计表共享给其他用户,使其他用户可以方便地查看该用户负责的服务器的主要参数。
在可选的实施例中,方法还包括:
S20,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数 统计表。
步骤S20实现了将参数统计表进行定时更新;也就是说,参数统计表在建立后并非一成不变的,而是以一定时间间隔定期更新的。用户在查看组内的参数统计表时,可以获取到组内服务器指定参数的最新值,从而掌握服务器的最新状态。
在可选的实施方式中,每次更新参数统计表后,将参数统计表备份,以便需要时查询服务器指定参数的历史记录。
图2为本发明提供的一种服务器分组管理方法的可选实施例的流程示意图。如图所示,在可选的实施例中,S20,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:
S30,以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求。
S31,接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表。
步骤S30、S31对步骤S20中获取指定参数最新数据的方法进行了进一步说明。其中第一时间间隔是由用户预设的,可以根据需要确定;为了保障服务器参数的时效性,第一时间间隔不宜过大,通常设置范围是1s至20s。
S15,获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户后,包括:
S32,将更新后的所述参数统计表发送至所述用户信息指定的用户。
步骤S32用于实现,在本地更新参数统计表后,将这一参数统计表发送至其他共享有该参数统计表所在组的用户,并更新这些用户的参数统计表,从而使这些用户也可以获取到服务器的最新指定参数值。
在可选的实施方式中,所述第一时间间隔并非一个定值,而是根据时间周期性变化的数值;将一天中的时间划分为包括第一时间段、第二时间段的至少两种类型,在第一时间段内,所述第一时间间隔取第一数值,在第二时间段内,所述第一时间间隔取第二数值;所述第一数值大于第二数值。本实施方式针对的场景是服务器负载在一天中随时间变化而改变的情况;例如:在00:00-19:00的低谷时间区间内,用户量较少,服务器负载较低,指定参数出现异常的概率很低,此时可以将第一时间间隔设置为一个较大的值;在19:00-24:00的高峰 时间区间内,用户量较多,服务器负载较高,随时可能发生服务器指定参数超标的状况,此时可以将第一时间间隔设置为一个较小的值,便于用户随时获取服务器状态,根据服务器负载采取有针对性的管控策略。
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。
图3为本发明提供的一种服务器分组管理方法的可选实施例的流程示意图。如图所示,在可选的实施例中,所述组信息包括针对至少一个指定参数的监控阈值;方法还包括:
S40,建立异常组,在所述异常组内设置参数统计表。
S41,若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组。
S42,获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
在可选的实施方式中,所述异常组参数统计表更新的时间间隔为第二时间间隔,所述第二时间间隔小于第一时间间隔。由于异常组中的服务器指定参数已经确定超标,因此更加需要随时关注,所以将其参数统计表的更新频率加快。
本实施例通过设置异常组,将指定参数超出监控阈值的服务器加入异常组中,便于用户查看。并且,异常组同样可以进行共享,通过共享其他用户的异常组可以查看其他服务器集群的异常状态,为处理本地服务器集群的问题提供参考。
在可选的实施例中,方法还包括:
S50,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表。
区别于参数统计表,监控统计表是对于单一指定参数的变化趋势进行统计的表格,以便用户深入分析该指定参数的变化情况。
S51,在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
在使用时,如果需要对参数统计表中的指定参数进行进一步了解,可以通过选取(并点击)该参数的链接进入该参数的监控统计表进行查看。
本实施例通过建立每个指定参数的参数统计表,在参数统计表中记录该指定参数的变化趋势,便于用户随时调取查看。
在可选的实施例中,方法还包括:
S60,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求。
S61,根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本实施例用于实现当收到另一用户发送的共享请求后,查找本用户已经共享给所述另一用户的组,并反馈给该用户以供查看,从而使用户可以得知已经分享过哪些组给另一用户。
图4为本发明提供的一种服务器分组管理装置的实施例的框图。如图所示,在本发明的另一实施例中提供一种服务器分组管理装置,包括:
指令获取单元70,用于获取包括组信息和多个服务器的服务器信息的分组指令。
处理单元71,用于判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组。
监测单元72,用于根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表。
共享单元73,用于获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
本实施例提供的装置实现了根据用户需求对服务器进行个性化分组,并将组共享给其他用户的过程。用户可以对不同组内服务器需要监控的指定参数进行个性化设置,即对于不同的组而言可以着重监控其中服务器的不同参数。这一方式便于根据不同服务器的功能设置有针对性的指定参数进行监控,例如,对于处理复杂运算的服务器,可以主要监控其CPU使用量;对于执行文件备份存储的服务器,可以主要监控其存储器容量等等,并根据监控结果建立参数统计表。可以将参数统计表共享给其他用户,使其他用户可以方便地查看该用户负责的服务器的主要参数。
在可选的实施例中,所述监测单元72用于通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
在可选的实施例中,所述监测单元72具体用于以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述共享单元73用于将更新后的所述参数统计表发送至所述用户信息指定的用户。
在可选的实施例中,所述处理单元71还用于建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;所述监测单元72用于获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
在可选的实施例中,所述监测单元72还用于监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;还用于在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
在可选的实施例中,所述指令获取单元70还用于获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;则,所述处理单元71还用于根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
从上面所述可以看出,本发明提供的一种服务器分组管理方法和装置,通过根据用户需求设置服务器组,可以监控指定服务器的指定参数,从而实现有针对性的管控过程,提高管理系统的扩展性;通过加入组分享机制,使得不同用户之间可以获取彼此设置的组内服务器的指定参数数据并相互参考,从而规划完善的管控策略,增强管理系统的交互能力。
如图5所示,本发明实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:获取包括组信息和多个服务器的服务器信息的分组指令;判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。
本实施例的电子设备,优选地,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
本实施例的电子设备,优选地,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所述参数统计表发送至所述用户信息指定的用户。
本实施例的电子设备,优选地,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
本实施例的电子设备,优选地,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
本实施例的电子设备,优选地,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本发明实施例还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:获取包括组信息和多个服务器的服务器信息的分组指令;判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
本实施例的非易失性计算机存储介质,优选地,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
本实施例的非易失性计算机存储介质,优选地,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时 间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所述参数统计表发送至所述用户信息指定的用户。
本实施例的非易失性计算机存储介质,优选地,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
本实施例的非易失性计算机存储介质,优选地,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
本实施例的非易失性计算机存储介质,优选地,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一 个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。

Claims (25)

  1. 一种服务器分组管理方法,其特征在于,包括:
    获取包括组信息和多个服务器的服务器信息的分组指令;
    判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
    根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
    获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
  3. 根据权利要求2所述的方法,其特征在于,所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:
    以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;
    接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;
    所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,还包括:
    将更新后的所述参数统计表发送至所述用户信息指定的用户。
  4. 根据权利要求1所述的方法,其特征在于,所述组信息包括针对至少一个指定参数的监控阈值;所述方法还包括:
    建立异常组,在所述异常组内设置参数统计表;
    若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;
    获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;
    在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的 链接。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;
    根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
  7. 一种服务器分组管理装置,其特征在于,包括:
    指令获取单元,用于获取包括组信息和多个服务器的服务器信息的分组指令;
    处理单元,用于判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
    监测单元,用于根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
    共享单元,用于获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
  8. 根据权利要求7所述的装置,其特征在于,所述监测单元用于通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
  9. 根据权利要求8所述的装置,其特征在于,所述监测单元具体用于以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;所述共享单元用于将更新后的所述参数统计表发送至所述用户信息指定的用户。
  10. 根据权利要求7所述的装置,其特征在于,所述处理单元还用于建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;所述监测单元用于获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
  11. 根据权利要求10所述的装置,其特征在于,所述监测单元还用于监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;还用于在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
  12. 根据权利要求7所述的装置,其特征在于,所述指令获取单元还用于获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;所述处理单元还用于根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
  13. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    获取包括组信息和多个服务器的服务器信息的分组指令;
    判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
    根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
    获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
  14. 根据权利要求13所述的电子设备,其特征在于,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
  15. 根据权利要求14所述的电子设备,其特征在于,
    所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;
    所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所述参数统计表发送至所述用户信息指定的用户。
  16. 根据权利要求13所述的电子设备,其特征在于,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的 数据并加入所述异常组的所述参数统计表。
  17. 根据权利要求16所述的电子设备,其特征在于,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
  18. 根据权利要求13所述的电子设备,其特征在于,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
  19. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:
    获取包括组信息和多个服务器的服务器信息的分组指令;
    判断所述组信息指定的组是否为已有组;若是,将所述多个服务器加入该已有组,若不是,根据所述组信息建立新组并将所述多个服务器加入该新组;
    根据所述组信息中所含有的指定参数获取组内每个服务器指定参数的数据并建立参数统计表;
    获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户。
  20. 根据权利要求19所述的非易失性计算机存储介质,其特征在于,通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表。
  21. 根据权利要求20所述的非易失性计算机存储介质,其特征在于,
    所述通过监测得到组内服务器指定参数的最新数据,定时更新所述参数统计表,包括:以预设的第一时间间隔为周期,定时向组内的服务器发送包括所述指定参数的参数获取请求;接收所述服务器返回的所述指定参数的最新数据并使用所述最新数据更新所述参数统计表;
    所述获取包括组信息和用户信息的共享指令,将所述组信息指定组的所述参数统计表发送至所述用户信息指定的用户之后,将更新后的所 述参数统计表发送至所述用户信息指定的用户。
  22. 根据权利要求19所述的非易失性计算机存储介质,其特征在于,所述组信息包括针对至少一个指定参数的监控阈值;建立异常组,在所述异常组内设置参数统计表;若服务器的指定参数的所述最新数据超出该指定参数的所述监控阈值,将该服务器加入所述异常组;获取该服务器指定参数的数据并加入所述异常组的所述参数统计表。
  23. 根据权利要求22所述的非易失性计算机存储介质,其特征在于,监控所述异常组中服务器的指定参数,建立所述指定参数随时间变化的监控统计表;在所述异常组的所述参数统计表中添加指向该指定参数的监控统计表的链接。
  24. 根据权利要求19所述的非易失性计算机存储介质,其特征在于,获取另一用户发送的包括组信息和另一用户的用户信息的共享请求;根据所述另一用户的用户信息查找已共享给所述另一用户的组并反馈给用户。
  25. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。
PCT/CN2016/096498 2016-03-25 2016-08-24 一种服务器分组管理方法、装置和电子设备 WO2017161820A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610177593.8A CN105847055A (zh) 2016-03-25 2016-03-25 一种服务器分组管理方法和装置
CN201610177593.8 2016-03-25

Publications (1)

Publication Number Publication Date
WO2017161820A1 true WO2017161820A1 (zh) 2017-09-28

Family

ID=56583570

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096498 WO2017161820A1 (zh) 2016-03-25 2016-08-24 一种服务器分组管理方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN105847055A (zh)
WO (1) WO2017161820A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609763A (zh) * 2018-06-15 2019-12-24 伊姆西Ip控股有限责任公司 管理和执行数据备份作业的方法、电子设备和计算机程序产品
WO2022062186A1 (zh) * 2020-09-25 2022-03-31 同程网络科技股份有限公司 通过定时任务实现服务器动态增减的方法、系统及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847055A (zh) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 一种服务器分组管理方法和装置
CN106487591A (zh) * 2016-10-20 2017-03-08 郑州云海信息技术有限公司 一种服务器自动上架统计装置及其系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974140A (zh) * 2013-02-06 2014-08-06 中国科学院声学研究所 一种基于tr069协议的大规模交互电视终端管理方法及系统
CN104184819A (zh) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 多层级负载均衡云资源监控方法
CN105337787A (zh) * 2014-07-29 2016-02-17 北京奇虎科技有限公司 一种多服务器监控方法、装置和系统
CN105847055A (zh) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 一种服务器分组管理方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019317B2 (en) * 2002-04-12 2011-09-13 Thomson Licensing Simultaneous nationwide update of database information on mobile communications devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974140A (zh) * 2013-02-06 2014-08-06 中国科学院声学研究所 一种基于tr069协议的大规模交互电视终端管理方法及系统
CN105337787A (zh) * 2014-07-29 2016-02-17 北京奇虎科技有限公司 一种多服务器监控方法、装置和系统
CN104184819A (zh) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 多层级负载均衡云资源监控方法
CN105847055A (zh) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 一种服务器分组管理方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609763A (zh) * 2018-06-15 2019-12-24 伊姆西Ip控股有限责任公司 管理和执行数据备份作业的方法、电子设备和计算机程序产品
CN110609763B (zh) * 2018-06-15 2023-05-05 伊姆西Ip控股有限责任公司 管理和执行数据备份作业的方法、电子设备和计算机可读介质
WO2022062186A1 (zh) * 2020-09-25 2022-03-31 同程网络科技股份有限公司 通过定时任务实现服务器动态增减的方法、系统及装置

Also Published As

Publication number Publication date
CN105847055A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
US20220263727A1 (en) Systems and methods for enhanced monitoring of a distributed computing system
CN105074698B (zh) 并行地执行连续事件处理(cep)查询
US8504733B1 (en) Subtree for an aggregation system
WO2017161820A1 (zh) 一种服务器分组管理方法、装置和电子设备
US20210034620A1 (en) Systems and methods for querying time series data
US20120330915A1 (en) Streaming transaction notifications
US10133779B2 (en) Query hint management for a database management system
US20160344582A1 (en) Call home cluster
US11956335B1 (en) Automated mapping of multi-tier applications in a distributed system
CN104580284A (zh) 业务分配装置和业务分配方法
CN103118130A (zh) 一种用于分布式服务的集群管理方法和系统
CN108183971B (zh) 一种分布式系统中的节点选举方法
CN110543512B (zh) 一种信息同步方法,装置及系统
US20200106683A1 (en) Task extension for service level agreement state management
US20200311637A1 (en) Monitoring and verification system for end-to-end distribution of messages
US10419304B2 (en) Indicator value aggregation in a multi-instance computing environment
CN104765641A (zh) 一种作业调度方法及系统
CN103150241A (zh) 多服务器状态监控管理系统和方法
CN108632106A (zh) 监控服务设备的系统
CN105787300B (zh) 一种控制软件使用的方法及系统
CN104731062A (zh) 一种用于仪表状态监控及调度的智能网络管理系统及方法
US10659289B2 (en) System and method for event processing order guarantee
US20150079966A1 (en) Methods for facilitating telecommunication network administration and devices thereof
CN104954505B (zh) Dns数据更新全过程的监测方法及系统
CN111353671A (zh) 供应链管理方法、装置及系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16895169

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895169

Country of ref document: EP

Kind code of ref document: A1