CN105554099A - Method and device for balancing load of acquisition servers - Google Patents

Method and device for balancing load of acquisition servers Download PDF

Info

Publication number
CN105554099A
CN105554099A CN201510925207.4A CN201510925207A CN105554099A CN 105554099 A CN105554099 A CN 105554099A CN 201510925207 A CN201510925207 A CN 201510925207A CN 105554099 A CN105554099 A CN 105554099A
Authority
CN
China
Prior art keywords
acquisition server
acquisition
network equipment
server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510925207.4A
Other languages
Chinese (zh)
Inventor
卢向辉
李建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CN201510925207.4A priority Critical patent/CN105554099A/en
Publication of CN105554099A publication Critical patent/CN105554099A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Abstract

The embodiment of the invention provides a method and a device for balancing load of acquisition servers, which relates to the technical field of computers for automatically balancing the load of acquisition servers, reducing manual participation of an administrator, improving the accuracy of a balancing result and improving the balancing efficiency. The method comprises steps: operation information of the at least one acquisition server is acquired, wherein the operation information comprises load information; the number of at least one network device is determined, and monitoring indexes for the at least one network device are acquired; according to the load information of the at least one acquisition server, the number of the at least one network device and the monitoring indexes for the at least one network device, a load balancing algorithm is used for determining the acquisition task for each acquisition server in a communication network system, wherein the acquisition task is used for indicating the information of a network device which needs to be acquired by the acquisition server; and the acquisition task is sent to a corresponding acquisition server respectively.

Description

A kind of method of acquisition server load balancing and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and device of acquisition server load balancing.
Background technology
Along with the development of science and technology, network communication services has penetrated into each industry and business scope as the main thoroughfare of information transmission, becomes important productivity factor.Network communication services is provided by a large amount of underlay network device such as switch, router etc., and the quality of the operating state of these network equipments directly affects network communication services quality.So in order to promote network service service quality or other traffic use, often need to carry out data acquisition and monitoring management to the network equipment.And in the face of being distributed in the network equipments a large amount of in IP (InternetProtocol, the agreement interconnected between network) network, need to carry out data acquisition and monitoring management by multiple acquisition server to the network equipment.The data that need gather due to each network equipment and the index of monitoring variant, cause the actual loading of acquisition server also variant, make in synchronization, the operation of some acquisition server excess load, some acquisition server is in idle condition again.In prior art, in order to solve the problem, need manual the distributing the different network equipments to each acquisition server and carry out data acquisition and monitoring of keeper.Be, need keeper manually to carry out load balancing to each acquisition server.
State in the process of the equally loaded of acquisition server in realization, inventor finds that in prior art, at least there are the following problems: in the prior art, need the load balancing of carrying out acquisition server that keeper is manual, distribute difficulty large, and keeper manual carry out the load balancing of acquisition server time, balanced result is inaccurate, and equalization efficiency is low.
Summary of the invention
Embodiments of the invention provide a kind of method and device of acquisition server load balancing, in order to the load of automatic equalization acquisition server, reduce the artificial participation of keeper, improve the accuracy of equilibrium result, improve equalization efficiency.
For achieving the above object, embodiments of the invention adopt following technical scheme:
Embodiments provide a kind of method of acquisition server load balancing, be applied in communications network system, described communications network system includes at least one acquisition server and at least one network equipment, and described method comprises: the operation information obtaining at least one acquisition server described; Described operation information comprises load information; Determine the number of at least one network equipment described, and obtain the monitor control index of at least one network equipment described; According to the load information of at least one acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server in described communications network system; Described acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown; Described acquisition tasks is sent to respectively in corresponding described acquisition server.
Alternatively, also state information is comprised in described operation information, described state information is used in reference to the information illustrating whether described acquisition server breaks down, the load information of at least one acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize before equally loaded algorithm determines the acquisition tasks of each acquisition server in described communications network system, also comprise: according to the operation information of at least one acquisition server described, determine available acquisition server, described available acquisition server is the acquisition server that state information indicates it and do not break down, the load information of at least one acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in described communications network system comprises: according to the load information of at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each available acquisition server in described communications network system, the described described acquisition server described acquisition tasks being sent to respectively correspondence comprises: described acquisition tasks be sent to respectively in corresponding described available acquisition server.
Alternatively, before the operation information of at least one acquisition server described in described acquisition, also comprise: the communication connection between foundation and at least one acquisition server described; Described in described acquisition, the operation information of at least one acquisition server comprises: periodically obtain the operation information establishing at least one acquisition server described of communication connection.
Alternatively, also comprise: the communication connection request message receiving newly-increased acquisition server; According to described communication connection request message, set up the communication connection with described newly-increased acquisition server.
Alternatively, the load information of at least one available acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, before determining the acquisition tasks of each available acquisition server in described communications network system, also comprise: determine the newly-increased network equipment in communication network and newly-increased acquisition server, the load information of at least one available acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in described communications network system comprises: according to the load information of at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in described communications network system, described default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
Further, embodiments provide a kind of device of load balancing, be applied in communications network system, described communications network system includes at least one acquisition server and at least one network equipment, the device of described load balancing comprises: acquiring unit, for obtaining the operation information of at least one acquisition server described; Described operation information comprises load information; Processing unit, for determining the number of at least one network equipment described, and obtains the monitor control index of at least one network equipment described; Described processing unit, also for the load information according at least one acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server in described communications network system; Described acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown; Transmitting element, for being sent to described acquisition tasks respectively in corresponding described acquisition server.
Alternatively, also comprise: in described operation information, also comprise state information; Described state information is used in reference to the information illustrating whether described acquisition server breaks down; Determining unit, for the operation information according at least one acquisition server described, determines available acquisition server; Described available acquisition server is the acquisition server that state information indicates it and do not break down; Described processing unit, specifically for the load information according at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each available acquisition server in described communications network system; Described transmitting element, specifically for being sent to described acquisition tasks respectively in corresponding described available acquisition server.
Alternatively, also comprise: set up unit, for the communication connection of setting up and between at least one acquisition server described; Described acquiring unit, specifically for periodically obtaining the operation information establishing at least one acquisition server described in communication connection.
Alternatively, also comprise: receiving element, for receiving the communication connection request message of newly-increased acquisition server; Describedly setting up unit, the described communication connection request message also for receiving according to described receiving element, setting up the communication connection with described newly-increased acquisition server.
Alternatively, described determining unit, also for determining the newly-increased network equipment in communication network and newly-increased acquisition server; Described processing unit, also for the load information according at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in described communications network system; Described default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
Embodiments provide a kind of method and device of acquisition server load balancing, be applied in communications network system, communications network system includes at least one acquisition server and at least one network equipment, and said method comprises: the operation information obtaining at least one acquisition server; Determine the number of at least one network equipment, and obtain the monitor control index of at least one network equipment; According to the load information of at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each acquisition server in communications network system; Acquisition tasks is sent to respectively in corresponding acquisition server.Like this, load balancing apparatus in a communication network, the operation information of acquisition server can be obtained, the number of the network equipment and the monitor control index of each network equipment in communication network, and then can according to the operation information of acquisition server, in communication network, the number of the network equipment and the monitor control index of each network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server, and acquisition tasks is sent to corresponding acquisition server.So, load balancing apparatus can realize the load balancing of acquisition server automatically, without the need to manual intervention, thus achieve the load of automatic equalization acquisition server, reduce the artificial participation of keeper, improve the accuracy of equilibrium result, improve the object of equalization efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method for a kind of acquisition server load balancing that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of acquisition server load balancing that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of acquisition server load balancing that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of acquisition server load balancing that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 provides the structural representation of the device of a kind of load balancing shown for the embodiment of the present invention;
Fig. 6 provides the structural representation of the device of the another kind of load balancing shown for the embodiment of the present invention;
Fig. 7 provides the structural representation of the device of the another kind of load balancing shown for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of method of acquisition server load balancing, be applied in communications network system, wherein, communications network system includes at least one acquisition server and at least one network equipment.As shown in Figure 1, said method comprises:
Step 101, obtain the operation information of at least one acquisition server.
Wherein, operation information comprises load information.
Concrete, load balancing apparatus, when needing the load of balanced acquisition server, needs the operation information obtaining each acquisition server.Be, obtain the load information of each acquisition server, now load balancing apparatus can be by operation information the current load situation that load information knows each acquisition server.
Optionally, communications network system can be the performance management system of field of telecommunications summation network management.Wherein, performance management system be for carrying communication network the whole network network load management based on management system.
Step 102, determine the number of at least one network equipment, and obtain the monitor control index of at least one network equipment.
Concrete, the acquisition list of the network equipment can be stored in the device of load balancing.The unit type of the network equipment can be recorded in the acquisition list of the network equipment.Like this, in communications network system, the device of load balancing according to the acquisition list of the network equipment, can determine the number of the network equipment, and according to the unit type of each network equipment recorded in the acquisition list of the network equipment, determine the monitor control index of the network equipment.
It should be noted that, the unit type of the network equipment is different, and it needs the monitor control index of monitoring to be also different.In embodiments of the present invention, the need that keeper can pre-set distinct device model carry out the monitor control index monitored.Be, keeper according to the unit type of the network equipment, can pre-set the monitor control index of the network equipment.
So, load balancing apparatus, can according to the unit type of the network equipment after obtaining the unit type of the network equipment, and the monitor control index of the network equipment corresponding to the distinct device model preset of keeper, determine in communications network system, the monitor control index of heterogeneous networks equipment.
Further, keeper can preset and arrange monitor control index table, have recorded the corresponding relation between the unit type of the network equipment and monitor control index in monitor control index table.So, load balancing apparatus can first obtain monitor control index table, thus can after the unit type determining each network equipment in communications network system, can checking monitoring index table, and then determine in communications network system, the monitor control index of each network equipment.
It should be noted that, the acquisition list of the network equipment stored in the device of load balancing can be that keeper pre-sets.Also can be that the device of load balancing oneself obtains.
Further, the method of the acquisition list of the device automatic acquisition network equipment of load balancing can be, the network equipment in communications network system is when adding communication network, corresponding remarks can be carried out in load balancing apparatus, be load balancing apparatus when the network equipment adds communication network, can establish a communications link with the network equipment, and then load balancing apparatus can by this communication connection, with network device communications, obtain the unit type of each network equipment, the unit type of the network equipment is stored in the acquisition list of the network equipment.Certainly, the method of the acquisition list of the device automatic acquisition network equipment of load balancing can also be other modes, the device of such as load balancing is without the need to establishing a communications link with the network equipment, but the unit type of each network equipment is obtained by the mode of broadcast request message, and then the unit type of the network equipment of acquisition be stored in the acquisition list of the network equipment, and then the acquisition list of the network equipment can be got.Or other modes obtain the acquisition list of the network equipment, the present invention does not limit this.
Step 103, load information according at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each acquisition server in communications network system.
Wherein, acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown.
Concrete, the device of load balancing is at the load information obtaining each acquisition server in communications network system, the monitor control index of each network equipment, after determining the number of the network equipment comprised in communications network system, can according to equally loaded algorithm, determine that each acquisition server need carry out the network equipment of data acquisition and monitoring management, and then generate the acquisition tasks of each acquisition server.
It should be noted that, equally loaded algorithm pre-sets, and can be equally loaded algorithm of the prior art.Such as, proportion algorithm, sequentially algorithm, flow-rate ratio algorithm etc.The present invention is not restricted this.
So in this step, the device of load balancing can, according to acquisition server current load situation, be acquisition server distribution network equipment again, makes the duty ratio of each acquisition server in communications network system more balanced.
Step 104, acquisition tasks to be sent to respectively in corresponding acquisition server.
Concrete, the device of load balancing is after determining the acquisition tasks of each acquisition server, the acquisition tasks of each acquisition server can be sent to respectively the acquisition server of its correspondence, so that after acquisition server receives acquisition tasks, acquisition tasks can be resolved, and then the network equipment needing separately to carry out data acquisition and monitoring management can be known, like this, the network equipment that acquisition server can indicate acquisition tasks carries out collection and the monitoring management of data, make in communications network system, the load of each acquisition server is comparatively balanced.
Embodiments provide a kind of method of acquisition server load balancing, be applied in communications network system, communications network system includes at least one acquisition server and at least one network equipment, and said method comprises: the operation information obtaining at least one acquisition server; Determine the number of at least one network equipment, and obtain the monitor control index of at least one network equipment; According to the load information of at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each acquisition server in communications network system; Acquisition tasks is sent to respectively in corresponding acquisition server.Like this, load balancing apparatus in a communication network, the operation information of acquisition server can be obtained, the number of the network equipment and the monitor control index of each network equipment in communication network, and then can according to the operation information of acquisition server, in communication network, the number of the network equipment and the monitor control index of each network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server, and acquisition tasks is sent to corresponding acquisition server.So, load balancing apparatus can realize the load balancing of acquisition server automatically, without the need to manual intervention, thus achieve the load of automatic equalization acquisition server, reduce the artificial participation of keeper, improve the accuracy of equilibrium result, improve the object of equalization efficiency.
Further, also comprise in operation information: state information.
Wherein, state information is used in reference to the information illustrating whether acquisition server breaks down.
Before above-mentioned steps 103, as shown in Figure 2, also comprise:
Step 105, operation information according at least one acquisition server, determine available acquisition server.
Wherein, available acquisition server is the acquisition server that state information indicates it and do not break down.
Concrete, due to the situation that acquisition server may break down, now the device of load balancing is when carrying out the distribution of the network equipment, the network equipment can not be dispensed in the acquisition server of fault, and need the acquisition server monitoring management of fault and the network equipment of data acquisition to be dispensed in other acquisition servers.Therefore, a part of content indicating its state information whether broken down as operation information can be sent to the device of load balancing by acquisition server.The state information of acquisition server is contained in the operation information of acquisition server that now device of load balancing obtains.The device of load balancing is after receiving operation information, the state information comprised in operation information can be parsed, and then the state information of each acquisition server can be resolved, know in communications network system, whether each acquisition server breaks down, and the acquisition server do not broken down is defined as available acquisition server.
Further, the device of load balancing is in order to manage available acquisition server more easily, can according to the available acquisition server determined, generate the available acquisition server list for recording acquisition server and the load information thereof do not broken down, so only with safeguarding available acquisition server list.The device of load balancing can determine the acquisition server do not broken down in communications network system and load information thereof in available acquisition server list.If after certain acquisition server fault, this acquisition server and load information thereof can be deleted by the device of load balancing from available acquisition server list.
Now, step 103 according to the load information of at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in communications network system is:
According to the load information of at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each available acquisition server in communications network system.
Acquisition tasks is sent to corresponding acquisition server and comprises by step 104 respectively: acquisition tasks be sent to respectively in corresponding available acquisition server.
That is, after the device of load balancing determines available acquisition server in step 105, the device of load balancing is in the number of at least one network equipment of load information according at least one available acquisition server, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, during for each acquisition server distribution network equipment, need only to available acquisition server distribution network equipment.Be, the device of load balancing needs to the acquisition server distribution network equipment do not broken down, so that the acquisition server do not broken down carries out data acquisition and monitoring management to the network equipment distributed, and no longer to the acquisition server distribution network equipment broken down.Like this, the device of load balancing in step 103, determines the acquisition tasks of each available acquisition server.And at step 104, the acquisition tasks of each available acquisition server determined is sent in each available acquisition server respectively.Be, acquisition tasks is sent in the acquisition server do not broken down respectively, so that the acquisition server do not broken down is according to the network equipment information indicated in acquisition tasks, data acquisition and monitoring management are carried out to the corresponding network equipment.
It should be noted that, in the embodiment of the present invention, the execution sequence between step 102 and step 105 is not limited.First can perform step 102, in execution step 105; Also first step 105 can be performed, in execution step 102; Step 102 and step 105 can also be performed simultaneously.A kind of situation is only indicated in diagram.
By above-mentioned steps, the device of the load balancing in the present invention can, no longer to the acquisition server distribution network equipment of fault, make it carry out data acquisition and monitoring management to the network equipment.And the network equipment of the acquisition server process of fault can be dispensed in other acquisition servers do not broken down by the device of the load balancing in the present invention, data acquisition and monitoring management is carried out by the network equipment of other acquisition servers to the acquisition server process of fault, ensure that the normal execution of data acquisition to each network equipment in communications network system and monitoring management, achieve the function gathering disaster tolerance.
Further, before step 101, as shown in Figure 3, also comprise:
Step 106, set up and at least one acquisition server between communication connection.
Concrete, the device of load balancing needs to communicate with between acquisition server, therefore needs each acquisition server in the device of load balancing and communications network system to establish a communications link.Wherein, the concrete mode that each acquisition server in the device of load balancing and communications network system establishes a communications link can be:
Acquisition server sends communication connection request message to the device of load balancing, the device of load balancing after receiving communication connection request message, can set up and load balancing device between communication connection.
Now, the operation information that step 101 obtains at least one acquisition server comprises: periodically obtain the operation information establishing at least one acquisition server of communication connection.
Concrete, the device of load balancing is establishing and after communication connection between acquisition server, can communicate, obtaining the operation information of each acquisition server by communicating to connect with acquisition server.
Further, in order to prevent occurring in communications network system that some acquisition server overloads, and the situation of certain server free time, need periodically to carry out load balancing to the acquisition server of communications network system, be, the device of load balancing needs the load of periodically each acquisition server of adjustment, and therefore the device of load balancing periodically can obtain the operation information of each acquisition server.Be, the device of load balancing can periodically obtain by each communication connection the operation information establishing at least one acquisition server of communication connection.
It should be noted that, the cycle that the device of load balancing obtains the operation information of each acquisition server is that keeper pre-sets according to actual needs.
Further, when communications network system carries out network size dilatation, in communications network system, acquisition server and the network equipment may be increased.Therefore the device of load balancing can be newly-increased acquisition server distribution network equipment.Now as shown in Figure 4, also comprise:
The communication connection request message of step 107, the newly-increased acquisition server of reception.
Concrete, newly-increased acquisition server is when adding communications network system, and the communication connection between the device of needs foundation and load balancing, so that the device of load balancing can be its distribution network equipment.Now, newly-increased acquisition server can send communication connection request message to the device of load balancing, and the device of load balancing can received communication connection request message.
Step 108, according to communication connection request message, to set up and the communication connection of newly-increased acquisition server.
Concrete, the device of load balancing, after receiving communication connection request message, can send the response message of communication connection foundation to newly-increased acquisition server, and then the communication connection of foundation and newly-increased acquisition server.
It should be noted that, when the device of newly-increased acquisition server and load balancing establishes communication connection, the device of load balancing can obtain the operation information of newly-increased acquisition server immediately by this communication connection.Also according to the cycle of the operation information of acquisition acquisition server, newly-increased acquisition server can be obtained.Be, when the device of load balancing establishes the operation information of the acquisition server of communication connection in periodicity obtaining communication network system, the operation information of newly-increased acquisition server can be got.
Further, before step 103, shown in figure 4, also comprise:
Step 109, determine the newly-increased network equipment in communication network and newly-increased acquisition server.
Concrete, when having newly increased acquisition server and the network equipment in communication network device, the device of load balancing can with newly increase acquisition server establish a communications link time, determine newly-increased acquisition server.Be, the acquisition server that the device of load balancing sends communication connection request message to it is defined as newly-increased acquisition server.
When the device of the network equipment and load balancing establishes a communications link, the network equipment sending communication connection request message to it can be defined as the newly-increased network equipment by the device of load balancing.When the device of the network equipment and load balancing does not establish a communications link, the network equipment to its broadcasting equipment model can be defined as the newly-increased network equipment by the device of load balancing.
When the device of load balancing determines newly-increased collecting device and the newly-increased network equipment, preferentially the newly-increased network equipment can be dispensed to newly-increased collecting device and carry out data acquisition and monitoring management.
Now step 103 is according to the load information of at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in communications network system comprises: according to the load information of at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in communications network system.
Wherein, default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
That is, the device of load balancing is at the load information according at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, to each acquisition server distribution network equipment, when being the acquisition tasks determining acquisition server, newly-increased network equipment priority allocation can be carried out data acquisition and monitoring management to newly-increased collecting device.So, when determining the acquisition tasks of newly-increased acquisition server, the information of newly-increased network can be added in the acquisition tasks of newly-increased acquisition server.
Further, if the load of newly-increased acquisition server still relatively under, then the load of acquisition server larger for other loads can be distributed a part in newly-increased acquisition server.
Like this, by above-mentioned steps, can in network size dilatation, when increasing new acquisition server, the dynamic assignment of carrying out the network equipment that the device of load balancing can be unified, being dynamic is each acquisition server distribution load, and the load that each acquisition server is distributed is comparatively balanced.Like this, can be implemented as newly-increased acquisition server and distribute load, without the need to manual intervention, with making the device quickness and high efficiency of load balancing for each acquisition server distributes load.
Embodiments provide a kind of method of acquisition server load balancing, be applied in communications network system, communications network system includes at least one acquisition server and at least one network equipment, and said method comprises: the operation information obtaining at least one acquisition server; Determine the number of at least one network equipment, and obtain the monitor control index of at least one network equipment; According to the load information of at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each acquisition server in communications network system; Acquisition tasks is sent to respectively in corresponding acquisition server.Like this, load balancing apparatus in a communication network, the operation information of acquisition server can be obtained, the number of the network equipment and the monitor control index of each network equipment in communication network, and then can according to the operation information of acquisition server, in communication network, the number of the network equipment and the monitor control index of each network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server, and acquisition tasks is sent to corresponding acquisition server.So, load balancing apparatus can realize the load balancing of acquisition server automatically, without the need to manual intervention, thus achieve the load of automatic equalization acquisition server, reduce the artificial participation of keeper, improve the accuracy of equilibrium result, improve the object of equalization efficiency.
Embodiments provide a kind of device of load balancing, be applied in communications network system, described communications network system includes at least one acquisition server and at least one network equipment.The device of above-mentioned load balancing, as shown in Figure 5, comprising:
Acquiring unit 501, for obtaining the operation information of at least one acquisition server.
Wherein, operation information comprises load information.
Processing unit 502, for determining the number of at least one network equipment, and obtains the monitor control index of at least one network equipment.
Processing unit 502, also for the load information according at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server in communications network system.
Wherein, acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown.
Transmitting element 503, for being sent to acquisition tasks respectively in corresponding acquisition server.
Further, also state information is comprised in operation information.
State information is used in reference to the information illustrating whether described acquisition server breaks down.
The device of above-mentioned load balancing, as shown in Figure 6, also comprises:
Determining unit 504, for the operation information according at least one acquisition server, determines available acquisition server.
Wherein, available acquisition server is the acquisition server that state information indicates it and do not break down.
Now, processing unit 502, specifically for the load information according at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each available acquisition server in communications network system.
Transmitting element 503, specifically for being sent to acquisition tasks respectively in corresponding available acquisition server.
Further, the device of above-mentioned load balancing, as shown in Figure 7, also comprises:
Set up unit 505, for the communication connection of setting up and between at least one acquisition server.
Now acquiring unit 501, specifically for periodically obtaining the operation information establishing at least one acquisition server of communication connection.
Further, the device of above-mentioned load balancing, reference as shown in Figure 7, also comprises:
Receiving element 506, for receiving the communication connection request message of newly-increased acquisition server.
Now, setting up unit 505, the communication connection request message also for receiving according to receiving element 506, setting up the communication connection with newly-increased acquisition server.
Further, determining unit 504, also for determining the newly-increased network equipment in communication network and newly-increased acquisition server.
Processing unit 502, also for the load information according at least one available acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in communications network system.
Wherein, default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
Embodiments provide a kind of device of load balancing, be applied in communications network system, communications network system includes at least one acquisition server and at least one network equipment, and said method comprises: the operation information obtaining at least one acquisition server; Determine the number of at least one network equipment, and obtain the monitor control index of at least one network equipment; According to the load information of at least one acquisition server, the number of at least one network equipment, and the monitor control index of at least one network equipment, utilize equally loaded algorithm, determines the acquisition tasks of each acquisition server in communications network system; Acquisition tasks is sent to respectively in corresponding acquisition server.Like this, load balancing apparatus in a communication network, the operation information of acquisition server can be obtained, the number of the network equipment and the monitor control index of each network equipment in communication network, and then can according to the operation information of acquisition server, in communication network, the number of the network equipment and the monitor control index of each network equipment, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server, and acquisition tasks is sent to corresponding acquisition server.So, load balancing apparatus can realize the load balancing of acquisition server automatically, without the need to manual intervention, thus achieve the load of automatic equalization acquisition server, reduce the artificial participation of keeper, improve the accuracy of equilibrium result, improve the object of equalization efficiency.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for acquisition server load balancing, is characterized in that, is applied in communications network system, and described communications network system includes at least one acquisition server and at least one network equipment, and described method comprises:
Obtain the operation information of at least one acquisition server described; Described operation information comprises load information;
Determine the number of at least one network equipment described, and obtain the monitor control index of at least one network equipment described;
According to the load information of at least one acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server in described communications network system; Described acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown;
Described acquisition tasks is sent to respectively in corresponding described acquisition server.
2. method according to claim 1, is characterized in that,
Also state information is comprised in described operation information; Described state information is used in reference to the information illustrating whether described acquisition server breaks down;
The load information of at least one acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize before equally loaded algorithm determines the acquisition tasks of each acquisition server in described communications network system, also comprise:
According to the operation information of at least one acquisition server described, determine available acquisition server; Described available acquisition server is the acquisition server that state information indicates it and do not break down;
The load information of at least one acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in described communications network system comprises:
According to the load information of at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each available acquisition server in described communications network system;
The described described acquisition server described acquisition tasks being sent to respectively correspondence comprises:
Described acquisition tasks is sent to respectively in corresponding described available acquisition server.
3. method according to claim 1, is characterized in that, before the operation information of at least one acquisition server described in described acquisition, also comprises:
Communication connection between foundation and at least one acquisition server described;
Described in described acquisition, the operation information of at least one acquisition server comprises:
Periodically obtain the operation information establishing at least one acquisition server described of communication connection.
4. method according to claim 3, is characterized in that, also comprises:
Receive the communication connection request message of newly-increased acquisition server;
According to described communication connection request message, set up the communication connection with described newly-increased acquisition server.
5. method according to claim 4, is characterized in that,
The load information of at least one available acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, before determining the acquisition tasks of each available acquisition server in described communications network system, also comprise:
Determine the newly-increased network equipment in communication network and newly-increased acquisition server;
The load information of at least one available acquisition server described in described basis, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine that the acquisition tasks of each available acquisition server in described communications network system comprises:
According to the load information of at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in described communications network system; Described default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
6. a device for load balancing, is characterized in that, is applied in communications network system, and described communications network system includes at least one acquisition server and at least one network equipment, and the device of described load balancing comprises:
Acquiring unit, for obtaining the operation information of at least one acquisition server described; Described operation information comprises load information;
Processing unit, for determining the number of at least one network equipment described, and obtains the monitor control index of at least one network equipment described;
Described processing unit, also for the load information according at least one acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each acquisition server in described communications network system; Described acquisition tasks is used in reference to the information that the network equipment that acquisition server need gather is shown;
Transmitting element, for being sent to described acquisition tasks respectively in corresponding described acquisition server.
7. device according to claim 6, is characterized in that, also comprises:
Also state information is comprised in described operation information; Described state information is used in reference to the information illustrating whether described acquisition server breaks down;
Determining unit, for the operation information according at least one acquisition server described, determines available acquisition server; Described available acquisition server is the acquisition server that state information indicates it and do not break down;
Described processing unit, specifically for the load information according at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, determine the acquisition tasks of each available acquisition server in described communications network system;
Described transmitting element, specifically for being sent to described acquisition tasks respectively in corresponding described available acquisition server.
8. device according to claim 6, is characterized in that, also comprises:
Set up unit, for the communication connection of setting up and between at least one acquisition server described;
Described acquiring unit, specifically for periodically obtaining the operation information establishing at least one acquisition server described in communication connection.
9. device according to claim 8, is characterized in that, also comprises:
Receiving element, for receiving the communication connection request message of newly-increased acquisition server;
Describedly setting up unit, the described communication connection request message also for receiving according to described receiving element, setting up the communication connection with described newly-increased acquisition server.
10. device according to claim 9, is characterized in that,
Described determining unit, also for determining the newly-increased network equipment in communication network and newly-increased acquisition server;
Described processing unit, also for the load information according at least one available acquisition server described, the number of at least one network equipment described, and the monitor control index of at least one network equipment described, utilize equally loaded algorithm, according to default priority principle, determine the acquisition tasks of each available acquisition server in described communications network system; Described default priority principle is to increasing acquisition server newly to the principle of carrying out data acquisition process by newly-increased network equipment priority allocation.
CN201510925207.4A 2015-12-10 2015-12-10 Method and device for balancing load of acquisition servers Pending CN105554099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510925207.4A CN105554099A (en) 2015-12-10 2015-12-10 Method and device for balancing load of acquisition servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510925207.4A CN105554099A (en) 2015-12-10 2015-12-10 Method and device for balancing load of acquisition servers

Publications (1)

Publication Number Publication Date
CN105554099A true CN105554099A (en) 2016-05-04

Family

ID=55833031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510925207.4A Pending CN105554099A (en) 2015-12-10 2015-12-10 Method and device for balancing load of acquisition servers

Country Status (1)

Country Link
CN (1) CN105554099A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101175A (en) * 2016-05-25 2016-11-09 腾讯科技(深圳)有限公司 Apparatus management/control methods, devices and systems
CN106911495A (en) * 2016-11-16 2017-06-30 上海艾融软件股份有限公司 Communication load balance control system and method between a kind of each system of bank
CN108241528A (en) * 2017-01-19 2018-07-03 上海直真君智科技有限公司 A kind of User Defined mass network secure data dynamic collecting method
CN108494622A (en) * 2018-03-13 2018-09-04 新华三云计算技术有限公司 Monitoring rules configuration method, device and server
CN110457182A (en) * 2019-08-12 2019-11-15 首约科技(北京)有限公司 A kind of load balancing cluster example operating index monitoring system
CN111984420A (en) * 2020-09-02 2020-11-24 深圳市玄羽科技有限公司 Data acquisition method and system and cloud platform
CN112799931A (en) * 2021-03-15 2021-05-14 北京视界云天科技有限公司 Log collection method, device, system, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873005A (en) * 2010-06-17 2010-10-27 深圳市科陆电子科技股份有限公司 Method for realizing balanced acquisition of electric energy
CN102510403A (en) * 2011-11-15 2012-06-20 江苏大为科技股份有限公司 Cluster distributed system for vehicle data receiving and real-time analysis and method therefor
CN102739775A (en) * 2012-05-29 2012-10-17 宁波东冠科技有限公司 Method for monitoring and managing Internet of Things data acquisition server cluster
CN103246592A (en) * 2013-05-13 2013-08-14 北京搜狐新媒体信息技术有限公司 Monitoring acquisition system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873005A (en) * 2010-06-17 2010-10-27 深圳市科陆电子科技股份有限公司 Method for realizing balanced acquisition of electric energy
CN102510403A (en) * 2011-11-15 2012-06-20 江苏大为科技股份有限公司 Cluster distributed system for vehicle data receiving and real-time analysis and method therefor
CN102739775A (en) * 2012-05-29 2012-10-17 宁波东冠科技有限公司 Method for monitoring and managing Internet of Things data acquisition server cluster
CN103246592A (en) * 2013-05-13 2013-08-14 北京搜狐新媒体信息技术有限公司 Monitoring acquisition system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101175A (en) * 2016-05-25 2016-11-09 腾讯科技(深圳)有限公司 Apparatus management/control methods, devices and systems
CN106101175B (en) * 2016-05-25 2019-08-23 腾讯科技(深圳)有限公司 Apparatus management/control methods, devices and systems
CN106911495A (en) * 2016-11-16 2017-06-30 上海艾融软件股份有限公司 Communication load balance control system and method between a kind of each system of bank
CN108241528A (en) * 2017-01-19 2018-07-03 上海直真君智科技有限公司 A kind of User Defined mass network secure data dynamic collecting method
CN108241528B (en) * 2017-01-19 2020-10-09 上海直真君智科技有限公司 Dynamic acquisition method for mass network security data customized by user
CN108494622A (en) * 2018-03-13 2018-09-04 新华三云计算技术有限公司 Monitoring rules configuration method, device and server
CN110457182A (en) * 2019-08-12 2019-11-15 首约科技(北京)有限公司 A kind of load balancing cluster example operating index monitoring system
CN111984420A (en) * 2020-09-02 2020-11-24 深圳市玄羽科技有限公司 Data acquisition method and system and cloud platform
CN112799931A (en) * 2021-03-15 2021-05-14 北京视界云天科技有限公司 Log collection method, device, system, medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105554099A (en) Method and device for balancing load of acquisition servers
US8427943B2 (en) Bandwidth-aware multicast load balancing on a multi-interface host
CN102710554B (en) The service state detection method of distributed information system and distributed information system
CN109040178B (en) Configuration information sending method and device
CN103312593B (en) A kind of message distributing system and method
US11251981B2 (en) Communication method and apparatus
US20160344582A1 (en) Call home cluster
CN107135548B (en) Method and device for updating BSSID and connecting network
WO2018103665A1 (en) L2tp-based device management method, apparatus and system
EP3742786A1 (en) Network alarm method, device, system and terminal
CN113438129B (en) Data acquisition method and device
CN110417595B (en) Business service disaster tolerance method, device, system, management server and electronic equipment
WO2016173280A1 (en) Monitoring management method and apparatus
CN102307194B (en) Graceful restarting method and device for universal protocol process
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN104935614B (en) Data transmission method and device
CN112671813B (en) Server determination method, device, equipment and storage medium
CN112260946A (en) Link fault processing method and device, terminal equipment and storage medium
CN106534758B (en) Conference backup method and device
CN108243050B (en) Method and equipment for configuring routing table
CN105429823A (en) Method and device for detecting multicast traffic in distributed communication equipment
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN113595894B (en) Communication method, device, equipment and medium between service nodes and client nodes
CN112437146B (en) Equipment state synchronization method, device and system
CN112671914B (en) IOT (Internet of things) equipment communication method and system based on actor model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504