WO2010072085A1 - Distributed system as well as method and apparatus for managing service data of distributed system - Google Patents

Distributed system as well as method and apparatus for managing service data of distributed system Download PDF

Info

Publication number
WO2010072085A1
WO2010072085A1 PCT/CN2009/073936 CN2009073936W WO2010072085A1 WO 2010072085 A1 WO2010072085 A1 WO 2010072085A1 CN 2009073936 W CN2009073936 W CN 2009073936W WO 2010072085 A1 WO2010072085 A1 WO 2010072085A1
Authority
WO
WIPO (PCT)
Prior art keywords
service node
load
service
node
service data
Prior art date
Application number
PCT/CN2009/073936
Other languages
French (fr)
Chinese (zh)
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 WO2010072085A1 publication Critical patent/WO2010072085A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • 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
    • H04L43/091Measuring contribution of individual network components to actual service level

Definitions

  • the present invention relates to the field of distributed technologies, and in particular, to a distributed system, a method and apparatus for processing a system when the load is too heavy. Background technique
  • Every device in a distributed system can be seen as a node that is equal in processing and control capabilities, and these nodes often work together to complete a high-level business data. deal with.
  • the process is as follows: When one of the nodes receives a high-level business data, it can divide the business data into several parts and distribute the parts to other nodes for processing, that is, each node processes the high-level Part of the business data to speed up the completion of this high-level business data.
  • each node For each node, it has its own resource configuration, which results in the processing of the processed business data, some nodes processing fast, some nodes processing slow; and according to the processed business data Features: Some nodes process a large amount of business data, heavy load, and some nodes process less business data and load.
  • Embodiments of the present invention provide a method and apparatus for processing a system when the load is too heavy. Make distributed The system automatically balances the load in each node to reduce the burden on the heavy-duty nodes.
  • a business data management method for a distributed system comprising:
  • a business data management method for a distributed system comprising:
  • the migration control signal includes at least address information of the light service node and an identifier of part of the service data that needs to be migrated;
  • a service data management device for a distributed system comprising:
  • a receiving module configured to receive current load information of the service node periodically sent by the service node; a reload search module, configured to search for a heavy load service node according to the load information received by the receiving module; and a light load search module, configured to receive the module according to the receiving module
  • the received load information is used to find a light load service node; the determining module is configured to determine whether part of the service data in the overloaded service node found by the overloaded search module can be migrated;
  • a service data management device for a distributed system comprising:
  • a management module configured to periodically obtain current load information of the service node
  • a sending module configured to send the load information acquired by the management module to the central management node, where the first receiving module is configured to receive a migration control signal sent by the central management node, where the migration control signal includes at least an address of the light load service node Information and the identification of part of the business data that needs to be migrated;
  • a cutting module configured to cut part of the service data corresponding to the identifier in the service node to a light load service node corresponding to the address information.
  • a distributed system including:
  • a service node entity configured to periodically acquire current load information of the service node and send the load information to a central management node
  • a central management entity configured to receive current load information of the service node periodically sent by the service node; search for the overloaded service node and the light load service node according to the load information, and determine whether the part of the discovered overloaded service node can be migrated Data, when it is determined that the service data in the overloaded service node can be migrated, sending, to the heavy-duty service node, a migration control signal, where the migration control signal controls the heavy-duty service node to migrate part of the service data to find the light-load service On the node;
  • the service node entity is further configured to: when receiving the migration control signal, cut part of the service data in the service node to the light load service node according to the migration control signal.
  • the service data management method, apparatus, and distributed system of the distributed system have the following beneficial effects: when a heavy-duty service node occurs, the load on the overloaded service node can be dynamically adjusted, and part of the service data is migrated. On the light-duty service node, the beneficial effect of dynamically utilizing the resource configuration on each service node and dynamically balancing the load on each service node is achieved.
  • each service node in the distributed system processes a high-level service data together, it can avoid the situation that the entire high-level business cannot be successfully completed because the load of a single service node is too heavy.
  • FIG. 1 is a flowchart of a service data management method of a distributed system on a central management node according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for managing service data of a distributed system on a service node according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a service data management method of a distributed system according to Embodiment 2 of the present invention
  • FIG. 4 is a block diagram of a service data management apparatus of a distributed system on a central management node according to Embodiment 3 of the present invention
  • FIG. 5 is a block diagram of a service data management apparatus of a distributed system on a service node according to Embodiment 4 of the present invention.
  • Figure 6 is a block diagram of a distributed system according to Embodiment 5 of the present invention.
  • This embodiment discloses a service data management method for a distributed system.
  • the method is applicable to a central management node in a distributed system. As shown in FIG. 1, the method includes the following steps:
  • the central management node be A; a, b, and c be the service nodes.
  • the current load information of the service node may be that each service node periodically manages the section to the central node. The point is sent in the past, or it can be collected periodically by the central management node.
  • the specific execution may be:
  • the central management node A receives the current load information al, bl, cl periodically sent from the a service node, the b service node, and the c service node.
  • the central management node searches for overloaded heavy-duty service nodes in each service node of the distributed system according to the received load information.
  • the specific execution may be as follows: When the central management node A reads the information in al, it is learned that the a service node is currently overloaded and the a service node is classified into the overloaded service node.
  • the central management node searches for light-loaded light-duty service nodes in each service node of the distributed system according to the received load information.
  • the specific execution may be: When the central management node A reads the information in b 1 and c 1 , it is learned that the b service node and the c service node are currently lightly loaded and the b service node and the c service node are classified into the light load service node. Within the scope.
  • the central management node determines, according to the received load information, whether part of the service data on the searched heavy load node can be migrated to the found light load service node, if the central management node determines part of the service data on the overloaded service node. If the central management node determines that part of the service data on the overloaded service node cannot be migrated to the light load node, step 106 is performed.
  • the specific executable can be: When the central management node A reads the a, it knows that part of the service data currently occupied by the service node on the a service node is X, and the central management node A judges according to the load information learned when reading the bl information. If the load corresponding to part of the service data X is migrated to the b service node, whether the b service node becomes heavily loaded, and if the b service node becomes heavily loaded, the load learned from reading the cl information is continued. If the load corresponding to the service data X is changed to the c service node, whether the c service node becomes heavily loaded, if the c service node is not heavily loaded, step 105 is performed; otherwise, step 106 is performed. .
  • the central management node sends a migration signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to the light load service node.
  • the specific execution may be:
  • the central management node A sends a migration control signal to the a service node, where the migration control signal instructs the a service node to migrate part of the data X to the c service node.
  • the 102, 103 in the foregoing embodiment does not limit the order of execution, and may even be performed simultaneously.
  • the invention described in the above embodiments solves the technical solution of the central management node that can periodically understand the current load information of each service node, and solves the problem in the prior art that the service nodes in the distributed system are in an equal position. Knowing the technical problems of the load information of other service nodes in time, and obtaining the beneficial effect of reducing the load for the heavy-duty service nodes in time according to the information received periodically.
  • This embodiment continues to disclose a service data management method for a distributed system.
  • the method is suitable for a service node in a distributed system. As shown in FIG. 2, the method includes:
  • the central management node be A; aO be the management unit of a service node, bO be the management unit of the b service node, and cO be the management node of the c service node.
  • the specific execution may be: aO periodically collects the current load information of a service node. al, bO periodically collects the current load information of the service node bl, and cO periodically collects the current load information cl of the c service node.
  • the management unit sends the current load information of the service node that is periodically acquired to the central management node.
  • the specific execution may be: aO sends the current load information a of the service node that is periodically collected to the central management node A, and the bO sends the current load information b of the b service node that is periodically collected to the central management node A, and the cO will collect periodically.
  • c The current load information cl of the service node is sent to the central management node A.
  • the sending process of the load information may be periodically sent by the management unit to the central management node, or the central management node may periodically request the management unit.
  • the service node receives the migration control signal sent by the central management node, where the migration control signal includes at least the address information of the light-duty service node and the identifier of the part of the service data that needs to be migrated, for example: The IP address and the identifier of part of the service data that can be transferred in the overloaded service node.
  • the specific execution may be: a service node receives the migration control signal sent by the central management node A.
  • the migration control signal indicates that the a service node migrates part of the service data X to the c service node and also contains the address of the c service node in the migration signal.
  • the heavy-duty service node cuts part of the service data corresponding to the identifier to a light-load service node corresponding to the address information according to the migration control signal sent by the central management node.
  • the specific execution may be: a service node cuts part of the service data X to the c service node according to the indication of the migration control signal.
  • the service data management method of the distributed system provided in this embodiment has the following beneficial effects: migrating part of the service data on the overloaded service node to the light load service node, and reducing the load of the heavy load service node, effective
  • migrating part of the service data on the overloaded service node to the light load service node and reducing the load of the heavy load service node, effective
  • the use of resources for light-duty business nodes for each service node that is involved in processing a high-level service data, timely migration reduces the load of the heavy-duty service node, which is beneficial to improving the processing speed of the entire high-level service data and reducing the processing of the high-level service data. Time spent.
  • This embodiment specifically describes the service data management method of the foregoing distributed system. As shown in FIG. 3, the method includes:
  • the central management node is set up in the distributed system, and the management unit is set on each service node.
  • the management unit on each node periodically obtains current load information of the node.
  • the load information includes a current total load of the service node and a partial load corresponding to each current service data type.
  • the sub-load corresponding to each service data type is: load information of a service component that processes the service data.
  • the management unit sends the current load information of the service node that is periodically acquired to the central management node.
  • the sending process of the load information may be periodically sent by the management unit to the central management node, or the central management node may periodically request the management unit.
  • the central management node receives current load information of the service node periodically sent by each service node.
  • the current load information of the service node may be that each service node periodically sends the past to the central management node, or may be collected periodically by the central management node.
  • the total load of each service node has a preset first reload threshold, and the service node that exceeds the first reload threshold preset by the service node is a heavy load service node;
  • the service component may also have a preset second reload threshold, which is a reload threshold for the service component running on the service node.
  • the service node where the service component with the second reload threshold is located is also a heavy load service node, that is, the load exceeds the preset second weight.
  • the service node with the threshold is also the overloaded service node.
  • the central management node searches for the overloaded service node that meets the above description based on the received load information including the total load and the divided load. For the discovered overloaded service node, some of its business data can be migrated.
  • the total load of each service node may have a preset first light load threshold, and the service node that does not exceed the first light load threshold preset by the service node is a light load node;
  • the service component may also have a preset second light load threshold. For the service node where the service component with the second light load threshold is located, the service component on the service node does not exceed the preset second light load.
  • Threshold the service node service whose total load does not exceed the preset first light load threshold is a light load node, that is, the load does not exceed the preset second light load threshold, and the total load does not exceed the preset first light load.
  • the service node of the threshold is a light load service node.
  • the central management node searches for the light load service node that meets the above description according to the received load information including the total load and the divided load.
  • the preset first light load threshold may be equal to the preset first overload threshold
  • the light load service node is: the service node whose total load does not exceed the preset first overload threshold
  • the preset second light load threshold may also be equal to the preset second heavy load threshold.
  • the light load service node is: the service node whose load does not exceed the preset second reload threshold, and the total load does not exceed the preset first reload threshold.
  • the overloaded service node may be a heavy-duty service node whose total load exceeds a preset first re-load threshold, or may be a heavy-duty service node whose load exceeds a preset second re-load threshold.
  • the part of the service data that needs to be transferred may be a service group that has the most resources occupied by the overloaded service node, and may also be a service group that exceeds the second overload threshold.
  • Step 313 Part of the business data and perform step 313; if a light load service node is found, then Determining whether the load corresponding to the part of the service data in the step 306 exceeds the preset second reload threshold and the total load plus the load corresponding to the part of the service data in the step 306 exceeds the preset first weight a load threshold, if the load corresponding to the part of the service data does not exceed the preset second reload threshold and the total load plus the load corresponding to the part of the service data does not exceed the preset number a load threshold, determining that the part of the service data can be migrated to the light load service node and performing step 308; otherwise, determining that the part of the service data cannot be migrated to the light load service node and executing Step 313.
  • the central management node sends a migration signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to the light load service node.
  • the migration control signal includes at least the address information of the light load service node and the identifier of the part of the service data that needs to be migrated.
  • the central management node modifies the address of the part of the service data to determine the address of the target light-load service node that can be migrated.
  • Modifying the address of part of the migrated service data to the address of the target light-load service node can obtain the part of the service data that cannot be lost because the part of the service data cannot be found when the part of the service data needs to be called for calculation.
  • the benefits of its usability can obtain the part of the service data that cannot be lost because the part of the service data cannot be found when the part of the service data needs to be called for calculation.
  • the overload service node receives the migration control signal sent by the central management node, where the signal includes at least an address of the light load node and part of the service data information that needs to be transferred in the overload service node.
  • the overloaded service node cuts part of the service data corresponding to the identifier to the light load service node corresponding to the address information, and performs step 316. 312.
  • the overloaded service node does not receive the migration control signal sent by the central management node, the overloaded service node automatically enters a backpressure state.
  • the service component running on the overloaded service node in the back pressure state sends a "please later" signal to the request for the service data processing sent.
  • the service component running on the overloaded service node discards the unimportant or unreliable service data currently being processed, for example: some service data that is temporarily unused and can be re-acquired from other places when needed. The resources occupied by the discarded business data are recycled.
  • Step 315 Determine whether the load of the overloaded service node where the service component after discarding the unimportant or unreliable service data still exceeds the preset first reload threshold, if the preset first reload threshold is no longer exceeded. Step 316 is performed; if the preset first reload threshold is still exceeded, step 314 is performed.
  • the service component running on the overloaded service node has a preset second reload threshold. In this case, it is first determined whether the service component after discarding the unimportant or unreliable service data still exceeds the preset second weight. If the threshold is still exceeded, step 314 is performed if the preset second reload threshold is still exceeded. If the preset second reload threshold is no longer exceeded, the method described in step 315 is performed.
  • each service node since each service node is in the same position in processing and control capabilities, when they jointly process a high-level service data, the load of other service nodes cannot be known in time. Information, so that a heavy-duty service node, that is, a heavy-duty node, cannot process it in time when it processes some of the high-level business data that it should complete. As a result, the high-level business data of the main item cannot be completed on time.
  • the distributed system provided by this embodiment
  • the service data management method because the technical solution of the central management node that can periodically understand the load information of each service node is adopted, the obtained part of the service data on the overloaded service node can be timely when the overloaded service node appears.
  • the technical effect of migrating to a light-duty service node While effectively utilizing the resources of the light-duty service node, the beneficial effects of speeding up the high-level business data processed by each service node are also obtained.
  • the embodiment of the present invention discloses a service data management device for a distributed system, which may be a central management node. As shown in FIG. 4, the device includes: a receiving module 41, a reload search module 42, and a light load searching module 43. Module 44, migration control module 45.
  • the receiving module 41 is configured to receive the current load information of the service node periodically sent by the service node; the overload search module 42 is configured to search for the overloaded service node according to the load information sent by the receiving module 41; The load information sent by the module 41 is used to find the light load service node; the determining module 44 is configured to determine whether the part of the service data in the overloaded service node can be migrated after the overloaded search module 42 finds the overloaded service node; 45. When the determining module 44 determines that part of the service data in the overloaded service node can be migrated, sending a migration control signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to The light load service node.
  • the overload search module 42 uses the service node whose total load exceeds the preset first reload threshold as the overload service node, and the light load search module 43 A service node whose total load does not exceed the preset first light load threshold is used as a light load service node.
  • the reload search module 42 takes the service node whose load exceeds the preset second reload threshold as the weight.
  • the service node the light load search module 43 uses the service node whose load does not exceed the preset second light load threshold and whose total load does not exceed the preset first light load threshold as the light load service node.
  • the device further includes: a modifying module 46, configured to: after the migration module 45 sends the migration control signal to the overloaded service node, the address of the service node where the service data is located is changed to The address of the light load service node.
  • the determining module 44 includes: a first determining unit 441, a first determining unit 442, and a second determining unit 443.
  • the first determining unit 441 is configured to determine part of the service data that needs to be migrated in the overloaded service node that is searched by the reloading search module 42.
  • the first determining unit 442 is configured to determine whether the light load searching module 43 finds the light load service node. When the light load service node is not found, it is determined that the part of the service data in the overloaded service node cannot be migrated.
  • the second determining unit 443 is configured to determine the total load when the light load search module 43 finds the light load service node.
  • the determining module 44 further includes: a second determining unit 444, a third determining unit 445, and a fourth determining unit 446.
  • the second determining unit 444 is configured to determine part of the service data that needs to be migrated in the overloaded service node that is searched by the reloading search module 42.
  • the third determining unit 445 is configured to determine whether the light load searching module 43 finds the light load service node. When the light load finding module 43 does not find the light load service node, it is determined that the part of the service data in the overloaded service node cannot be migrated.
  • the fourth determining unit 446 is configured to when the light load search module 43 finds the light load service node.
  • each service node is It is a technical problem that it is in an equal position and cannot know the load information of other business nodes in time.
  • the embodiment of the present invention discloses a service data management device for a distributed system.
  • the device is suitable for being deployed on a service node.
  • the device includes: a management module 51, a sending module 52, and a first receiving module 53.
  • Module 54 is included in the device.
  • the management module 51 is configured to periodically obtain the current load information of the service node; the sending module 52 is configured to send the information periodically acquired by the management module 51 to the central management node, and the first receiving module 53 is configured to receive the central management node. And a migration control signal, where the migration control signal includes at least address information of the light load service node and an identifier of the part of the service data that needs to be migrated; the cutting module 54 is configured to: use the migration control signal received by the first receiving module 53 to send the service node The part of the service data corresponding to the identifier is cut to a light load service node corresponding to the address information.
  • the apparatus suitable for deployment on the service node in this implementation further includes: a later module 55, a discarding module 56.
  • the module 55 is later used to send a later signal to the service data request; the discarding module 56 is used to discard the unimportant or unreliable traffic data currently being processed.
  • the service data management apparatus of the distributed system facilitates the implementation of the service data management method of the distributed system.
  • the distributed system it is possible to dynamically balance the load of each service node and provide the beneficial effect of the self-regulation capability of the entire distributed system.
  • This embodiment specifically provides a distributed system.
  • the system includes: a service node entity 61 and a central management entity 62.
  • the service node entity 61 is configured to periodically obtain current load information of the service node and send the load information to the central management node.
  • the central management entity 62 is configured to receive current load information of the service node periodically sent by the service node, and search for the overloaded service node and the light load service node according to the load information, and determine whether part of the searched overloaded service node can be migrated. Data, when the service data in the overloaded service node can be migrated, sending a migration control signal to the overloaded service node, the migration control signal controlling the overloaded service node to migrate part of the service data to the found light load service On the node.
  • the service node entity 61 is further configured to: when receiving the migration control signal, cut part of the service data in the service node to the light load service node according to the migration control signal.
  • the distributed system of the solution has the following beneficial effects: dynamically balancing the load between the various service nodes, effectively utilizing the resources of each service node in the distributed system, and timely reducing the burden on the heavy-duty service nodes.
  • the central management entity 62 in this embodiment is further configured to modify an address of the service node where the partial service data is located to an address of the light load service node, and when the service in the overloaded service node cannot be migrated When the data is not transmitted, the migration control signal is not sent to the overloaded service node.
  • the service node entity 61 is further configured to send a later signal to the service data request and discard the unimportant or unreliable service data currently being processed when the migration control signal sent by the central management node is not received.
  • the embodiments of the present invention are mainly applied to a distributed system to implement load balancing of service nodes in a distributed system. It is of course also possible to use embodiments of the invention in other systems or fields that contain distributed technology and, with the development of network technology, it is possible to apply to other scenarios in the field or to similar or similar technical fields.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, through hardware. But in many cases the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , a hard disk or an optical disk, etc., including instructions for causing a device (which may be a router, or a computer, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

A distributed system as well as a method and an apparatus for managing service data of the distributed system are disclosed, which solve the problem that the distributed system couldn't balance the load of each service node dynamically in the existing technology. The method comprises obtaining the current load information of service nodes; sending the load information to a central management unit; the central management node receiving the load information sent periodically by the service nodes; searching the overloaded node and the light-load node according to the load information; determining whether the part of the service data in the overloaded service node can be transferred or not; if it can be transferred, sending the transfer controlling signal to the overloaded service node, in which the transfer control signal controls that the overloaded-service node transfers the part of service data to the proper light-load service node.

Description

分布式系统的业务数据管理方法、 装置及分布式系统 本申请要求了 2008年 12月 25 日提交的, 申请号为 200810189103. 1 ,发 明名称为 "分布式系统的业务数据管理方法、 装置及分布式系统" 的中国申 请的优先权, 其全部内容通过引用结合在本申请中。  Business data management method, device and distributed system for distributed system This application claims a service data management method, device and distribution filed on December 25, 2008, with the application number of 200810189103. The priority of the Chinese application of the "System" is incorporated herein by reference.
技术领域 Technical field
本发明涉及分布式技术领域, 尤其涉及在分布式系统中, 一种负载过重 时系统的处理方法及装置。 背景技术  The present invention relates to the field of distributed technologies, and in particular, to a distributed system, a method and apparatus for processing a system when the load is too heavy. Background technique
在分布式系统中的每一个设备都可以被看作是一个节点, 这些节点之间 在处理和控制能力上是处于平等地位的, 并且这些节点经常会相互合作, 共 同完成一项高层业务数据的处理。 其过程为: 当其中某一个节点接收到一项 高层业务数据时, 它都可以把这项业务数据分成几个部分, 并把这些部分分 发到其它节点上去处理, 即每个节点处理这项高层业务数据的一部分, 以便 加快这项高层业务数据的完成速度。  Every device in a distributed system can be seen as a node that is equal in processing and control capabilities, and these nodes often work together to complete a high-level business data. deal with. The process is as follows: When one of the nodes receives a high-level business data, it can divide the business data into several parts and distribute the parts to other nodes for processing, that is, each node processes the high-level Part of the business data to speed up the completion of this high-level business data.
对于每个节点来说, 它都有着自己的资源配置, 这就产生了对于所处理 的业务数据, 有的节点处理的速度快, 有的节点处理的速度慢; 而且根据所 处理的业务数据的特点, 有的节点处理的业务数据量多, 负载重, 有的节点 处理的业务数据量少, 负载轻。  For each node, it has its own resource configuration, which results in the processing of the processed business data, some nodes processing fast, some nodes processing slow; and according to the processed business data Features: Some nodes process a large amount of business data, heavy load, and some nodes process less business data and load.
当这些节点在相互合作, 共同完成一项高层业务数据的处理的过程中, 发明人发现现有技术当中至少存在如下问题: 当其中的某个节点因为资源配 置不够或者处理的业务数据量较多, 而处于负载过重的状态时, 所述节点应 该完成的那一部分高层业务数据就会受到影响, 以至于整项高层业务数据无 法顺利完成。 即是说: 某个负载过重的节点 (即重载节点)会成为分布式系 统处理业务性能的一个障碍。 发明内容  When these nodes cooperate with each other to complete the processing of a high-level business data, the inventors found that at least the following problems exist in the prior art: When one of the nodes is insufficiently configured due to resources or has a large amount of processed business data When the load is too heavy, the part of the high-level business data that the node should complete will be affected, so that the entire high-level business data cannot be successfully completed. That is to say: A heavily loaded node (ie, a heavy-duty node) becomes an obstacle to the distributed system's ability to handle business performance. Summary of the invention
本发明的实施例提供一种负载过重时系统的处理方法及装置。 使分布式 系统能够自动平衡各节点中的负载, 以减轻重载节点的负担。 Embodiments of the present invention provide a method and apparatus for processing a system when the load is too heavy. Make distributed The system automatically balances the load in each node to reduce the burden on the heavy-duty nodes.
本发明的实施例采用如下技术方案:  Embodiments of the present invention adopt the following technical solutions:
一种分布式系统的业务数据管理方法, 包括:  A business data management method for a distributed system, comprising:
接收业务节点定期发送的该业务节点当前的负载信息;  Receiving current load information of the service node periodically sent by the service node;
才艮据负载信息查找重载业务节点和轻载业务节点;  Finding the overloaded service node and the light load service node according to the load information;
判断是否能够迁移查找到的重载业务节点中的部分业务数据;  Determining whether part of the service data in the discovered overloaded service node can be migrated;
若判定能够迁移所述重载业务节点中的部分业务数据, 则向所述重载业 务节点发送迁移控制信号, 该迁移控制信号控制重载业务节点将部分业务数 据迁移到查找到的所述轻载业务节点上。  And if it is determined that part of the service data in the overloaded service node can be migrated, sending, to the overloaded service node, a migration control signal, where the migration control signal controls the overloaded service node to migrate part of the service data to the discovered light On the service node.
一种分布式系统的业务数据管理方法, 包括:  A business data management method for a distributed system, comprising:
定期获取业务节点当前的负载信息;  Regularly obtain the current load information of the service node;
向中央管理节点发送所述负载信息;  Sending the load information to a central management node;
接收中央管理节点发来的迁移控制信号, 该迁移控制信号中至少包括轻 载业务节点的地址信息和需要迁移的部分业务数据的标识;  Receiving a migration control signal sent by the central management node, where the migration control signal includes at least address information of the light service node and an identifier of part of the service data that needs to be migrated;
将业务节点中对应所述标识的部分业务数据剪切到对应所述地址信息的 轻载业务节点。  And cutting part of the service data corresponding to the identifier in the service node to a light load service node corresponding to the address information.
一种分布式系统的业务数据管理装置, 包括:  A service data management device for a distributed system, comprising:
接收模块, 用于接收业务节点定期发送的该业务节点当前的负载信息; 重载查找模块, 用于根据接收模块接收到的负载信息查找重载业务节点; 轻载查找模块, 用于根据接收模块接收到的负载信息查找轻载业务节点; 判断模块, 用于判断是否能够迁移所述重载查找模块查找到的重载业务 节点中的部分业务数据;  a receiving module, configured to receive current load information of the service node periodically sent by the service node; a reload search module, configured to search for a heavy load service node according to the load information received by the receiving module; and a light load search module, configured to receive the module according to the receiving module The received load information is used to find a light load service node; the determining module is configured to determine whether part of the service data in the overloaded service node found by the overloaded search module can be migrated;
迁移控制模块, 用于当判断模块判定能够迁移所述重载业务节点中的部 分业务数据时, 向所述重载业务节点发送迁移控制信号, 该迁移控制信号控 制重载业务节点将部分业务数据迁移到轻载查找模块查找到的轻载业务节点 上。 一种分布式系统的业务数据管理装置, 包括: a migration control module, configured to: when the determining module determines that part of the service data in the overloaded service node can be migrated, send a migration control signal to the overloaded service node, where the migration control signal controls the overloaded service node to part of the service data Migrate to the light load service node found by the light load lookup module. A service data management device for a distributed system, comprising:
管理模块, 用于定期获取业务节点当前的负载信息;  a management module, configured to periodically obtain current load information of the service node;
发送模块, 用于向中央管理节点发送所述管理模块获取的负载信息; 第一接收模块, 用于接收中央管理节点发来的迁移控制信号, 该迁移控 制信号中至少包括轻载业务节点的地址信息和需要迁移的部分业务数据的标 识;  a sending module, configured to send the load information acquired by the management module to the central management node, where the first receiving module is configured to receive a migration control signal sent by the central management node, where the migration control signal includes at least an address of the light load service node Information and the identification of part of the business data that needs to be migrated;
剪切模块, 用于将业务节点中的对应所述标识的部分业务数据剪切到对 应所述地址信息的轻载业务节点。  And a cutting module, configured to cut part of the service data corresponding to the identifier in the service node to a light load service node corresponding to the address information.
一种分布式系统, 包括:  A distributed system, including:
业务节点实体, 用于定期获取业务节点当前的负载信息并向中央管理节 点发送所述负载信息;  a service node entity, configured to periodically acquire current load information of the service node and send the load information to a central management node;
中央管理实体, 用于接收业务节点定期发送的该业务节点当前的负载信 息; 根据负载信息查找重载业务节点和轻载业务节点, 并判断是否能够迁移 查找到的重载业务节点中的部分业务数据, 当判定能够迁移所述重载业务节 点中的业务数据时, 向所述重载业务节点发送迁移控制信号, 该迁移控制信 号控制重载业务节点将部分业务数据迁移查找到的轻载业务节点上;  a central management entity, configured to receive current load information of the service node periodically sent by the service node; search for the overloaded service node and the light load service node according to the load information, and determine whether the part of the discovered overloaded service node can be migrated Data, when it is determined that the service data in the overloaded service node can be migrated, sending, to the heavy-duty service node, a migration control signal, where the migration control signal controls the heavy-duty service node to migrate part of the service data to find the light-load service On the node;
所述业务节点实体还用于在接收所述迁移控制信号时, 根据所述迁移控 制信号将业务节点中的部分业务数据剪切到轻载业务节点。  The service node entity is further configured to: when receiving the migration control signal, cut part of the service data in the service node to the light load service node according to the migration control signal.
本发明实施例提供的分布式系统的业务数据管理方法、 装置及分布式系 统具有如下有益效果:当出现重载业务节点是可以动态的调整该重载业务节 点上的负载, 使部分业务数据迁移到轻载业务节点上, 达到了能够有效利用 各个业务节点上的资源配置, 动态平衡各个业务节点上的负载的有益效果。 当分发式系统中的各个业务节点共同处理一项高层业务数据时, 可避免因为 单个业务节点负载过重导致整个高层业务无法顺利完成的情况发生。  The service data management method, apparatus, and distributed system of the distributed system provided by the embodiments of the present invention have the following beneficial effects: when a heavy-duty service node occurs, the load on the overloaded service node can be dynamically adjusted, and part of the service data is migrated. On the light-duty service node, the beneficial effect of dynamically utilizing the resource configuration on each service node and dynamically balancing the load on each service node is achieved. When each service node in the distributed system processes a high-level service data together, it can avoid the situation that the entire high-level business cannot be successfully completed because the load of a single service node is too heavy.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will be true. The drawings used in the examples or the description of the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and are not creative to those skilled in the art. Other drawings can also be obtained from these drawings on the premise of labor.
图 1为本发明实施例 1在中央管理节点上分布式系统的业务数据管理方 法的流程图;  1 is a flowchart of a service data management method of a distributed system on a central management node according to Embodiment 1 of the present invention;
图 2为本发明实施例 1在业务节点上分布式系统的业务数据管理方法的 流程图;  2 is a flowchart of a method for managing service data of a distributed system on a service node according to Embodiment 1 of the present invention;
图 3为本发明实施例 2分布式系统的业务数据管理方法的流程图; 图 4为本发明实施例 3在中央管理节点上分布式系统的业务数据管理装 置的框图;  3 is a flowchart of a service data management method of a distributed system according to Embodiment 2 of the present invention; FIG. 4 is a block diagram of a service data management apparatus of a distributed system on a central management node according to Embodiment 3 of the present invention;
图 5为本发明实施例 4在业务节点上分布式系统的业务数据管理装置的 框图;  5 is a block diagram of a service data management apparatus of a distributed system on a service node according to Embodiment 4 of the present invention;
图 6为本发明实施例 5分布式系统的框图。  Figure 6 is a block diagram of a distributed system according to Embodiment 5 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例 1  Example 1
本实施例公开一种分布式系统的业务数据管理方法, 该方法适用于分布 式系统中的中央管理节点, 如图 1所示, 该方法包括如下步骤:  This embodiment discloses a service data management method for a distributed system. The method is applicable to a central management node in a distributed system. As shown in FIG. 1, the method includes the following steps:
设中央管理节点为 A; a、 b、 c为业务节点。  Let the central management node be A; a, b, and c be the service nodes.
101 , 在分布式系统中设置中央管理节点, 该中央管理节点接收到各个业 务节点定期发送过来的该业务节点当前的负载信息。  101. Set a central management node in a distributed system, where the central management node receives current load information of the service node periodically sent by each service node.
所述该业务节点当前的负载信息可以是各个业务节点定期向中央管理节 点发送过去, 也可以是中央管理节点定期收集过来。 The current load information of the service node may be that each service node periodically manages the section to the central node. The point is sent in the past, or it can be collected periodically by the central management node.
具体执行可为: 中央管理节点 A接收到来自 a业务节点, b业务节点, c 业务节点定期发送过来的当前的负载信息 al , bl , cl。  The specific execution may be: The central management node A receives the current load information al, bl, cl periodically sent from the a service node, the b service node, and the c service node.
102 , 中央管理节点根据接收到的负载信息在分布式系统的各个业务节点 中查找负载过重的重载业务节点。  102. The central management node searches for overloaded heavy-duty service nodes in each service node of the distributed system according to the received load information.
具体执行可为: 中央管理节点 A在读取 al里的信息时, 了解到 a业务节 点目前负载过重并将 a业务节点归入重载业务节点范围内。  The specific execution may be as follows: When the central management node A reads the information in al, it is learned that the a service node is currently overloaded and the a service node is classified into the overloaded service node.
103 , 中央管理节点根据接收到的负载信息在分布式系统的各个业务节点 中查找负载较轻的轻载业务节点。  103. The central management node searches for light-loaded light-duty service nodes in each service node of the distributed system according to the received load information.
具体执行可为: 中央管理节点 A在读取 b 1、 c 1里的信息时, 了解到 b业 务节点和 c业务节点目前负载较轻并将 b业务节点和 c业务节点归入轻载业 务节点范围内。  The specific execution may be: When the central management node A reads the information in b 1 and c 1 , it is learned that the b service node and the c service node are currently lightly loaded and the b service node and the c service node are classified into the light load service node. Within the scope.
104 , 中央管理节点根据接收到负载信息判断查找到的重载节点上的部分 业务数据是否能够迁移到查找到的轻载业务节点上去, 如果中央管理节点判 定该重载业务节点上的部分业务数据可以迁移到该轻载节点上则执行步骤 105; 如果中央管理节点判定该重载业务节点上的部分业务数据不可以迁移到 该轻载节点上则执行步骤 106。  104. The central management node determines, according to the received load information, whether part of the service data on the searched heavy load node can be migrated to the found light load service node, if the central management node determines part of the service data on the overloaded service node. If the central management node determines that part of the service data on the overloaded service node cannot be migrated to the light load node, step 106 is performed.
具体可执行可为: 中央管理节点 A在读取 al时, 了解到 a业务节点上目 前占用资源最多的部分业务数据是 X, 则中央管理节点 A根据读取 bl信息时 了解到的负载信息判断部分业务数据 X对应的负载如果迁移到 b业务节点上 是否会使 b业务节点变得负载较重, 如果会使 b业务节点变得负载较重, 则 继续根据读取 cl信息时了解到的负载信息判断部分业务数据 X对应的负载如 果迁移到 c业务节点上是否会使 c业务节点变得负载较重, 如果不会使 c业 务节点变得负载较重, 则执行步骤 105 , 否则执行步骤 106。  The specific executable can be: When the central management node A reads the a, it knows that part of the service data currently occupied by the service node on the a service node is X, and the central management node A judges according to the load information learned when reading the bl information. If the load corresponding to part of the service data X is migrated to the b service node, whether the b service node becomes heavily loaded, and if the b service node becomes heavily loaded, the load learned from reading the cl information is continued. If the load corresponding to the service data X is changed to the c service node, whether the c service node becomes heavily loaded, if the c service node is not heavily loaded, step 105 is performed; otherwise, step 106 is performed. .
105 , 中央管理节点向该重载业务节点发送迁移信号, 该迁移控制信号控 制重载业务节点将部分业务数据迁移到该轻载业务节点上。 具体执行可为: 中央管理节点 A向 a业务节点发送迁移控制信号, 该迁 移控制信号指示 a业务节点将部分数据 X迁移到 c业务节点上。 105. The central management node sends a migration signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to the light load service node. The specific execution may be: The central management node A sends a migration control signal to the a service node, where the migration control signal instructs the a service node to migrate part of the data X to the c service node.
106 , 结束流程。  106, the process ends.
其中, 上述实施例中的 102、 103不限定执行的先后顺序, 甚至可以同时 执行。  The 102, 103 in the foregoing embodiment does not limit the order of execution, and may even be performed simultaneously.
上述实施例所描述的本发明, 通过采用设置可以定期了解各个业务节点 当前负载信息的中央管理节点的技术方案, 解决了现有技术当中由于分布式 系统中各个业务节点是处于平等地位, 而无法及时了解到其它业务节点的负 载信息的技术问题, 从而取得了可以根据定期接收到的信息及时为重载业务 节点减轻负载的有益效果。  The invention described in the above embodiments solves the technical solution of the central management node that can periodically understand the current load information of each service node, and solves the problem in the prior art that the service nodes in the distributed system are in an equal position. Knowing the technical problems of the load information of other service nodes in time, and obtaining the beneficial effect of reducing the load for the heavy-duty service nodes in time according to the information received periodically.
本实施例继续公开一种分布式系统的业务数据管理方法, 该方法适合分 布式系统中的业务节点, 如图 2所示, 该方法包括:  This embodiment continues to disclose a service data management method for a distributed system. The method is suitable for a service node in a distributed system. As shown in FIG. 2, the method includes:
设中央管理节点为 A; aO为 a业务节点的管理单元, bO为 b业务节点的 管理单元, cO为 c业务节点的管理节点。  Let the central management node be A; aO be the management unit of a service node, bO be the management unit of the b service node, and cO be the management node of the c service node.
201 , 在分布式系统中每个业务节点上设置管理单元, 该管理单元定期获 取所在业务节点当前的负载信息。  201. Set a management unit on each service node in the distributed system, where the management unit periodically obtains current load information of the service node.
具体执行可为: aO定期收集 a业务节点当前的负载信息 al , bO定期收集 b业务节点当前的负载信息 bl , cO定期收集 c业务节点当前的负载信息 cl。  The specific execution may be: aO periodically collects the current load information of a service node. al, bO periodically collects the current load information of the service node bl, and cO periodically collects the current load information cl of the c service node.
202 , 管理单元将定期获取的所在业务节点当前的负载信息向中央管理节 点发送。  202. The management unit sends the current load information of the service node that is periodically acquired to the central management node.
具体执行可为: aO将定期收集的 a业务节点当前的负载信息 al向中央管 理节点 A发送, bO将定期收集的 b业务节点当前的负载信息 bl向中央管理节 点 A发送, cO将定期收集的 c业务节点当前的负载信息 cl向中央管理节点 A 发送。  The specific execution may be: aO sends the current load information a of the service node that is periodically collected to the central management node A, and the bO sends the current load information b of the b service node that is periodically collected to the central management node A, and the cO will collect periodically. c The current load information cl of the service node is sent to the central management node A.
该负载信息的发送过程可以是由管理单元定期主动发送给中央管理节 点, 也可以是中央管理节点定期向管理单元索取。 203 , 业务节点接收到中中央管理节点发送过来的迁移控制信号, 在该迁 移控制信号中至少包含有轻载业务节点的地址信息和需要迁移的部分业务数 据的标识, 例如: 轻载业务节点的 IP地址和重载业务节点中可以转移的部分 业务数据的标识。 The sending process of the load information may be periodically sent by the management unit to the central management node, or the central management node may periodically request the management unit. 203. The service node receives the migration control signal sent by the central management node, where the migration control signal includes at least the address information of the light-duty service node and the identifier of the part of the service data that needs to be migrated, for example: The IP address and the identifier of part of the service data that can be transferred in the overloaded service node.
具体执行可为: a业务节点接收到中央管理节点 A发来的迁移控制信号。 该迁移控制信号指示 a业务节点将部分业务数据 X迁移到 c业务节点上并且 在迁移信号中还含有 c业务节点的地址。  The specific execution may be: a service node receives the migration control signal sent by the central management node A. The migration control signal indicates that the a service node migrates part of the service data X to the c service node and also contains the address of the c service node in the migration signal.
204 , 根据中央管理节点发来的迁移控制信号, 重载业务节点将对应所述 标识的部分业务数据剪切到对应所述地址信息的轻载业务节点上。  204. The heavy-duty service node cuts part of the service data corresponding to the identifier to a light-load service node corresponding to the address information according to the migration control signal sent by the central management node.
具体执行可为: a业务节点根据迁移控制信号的指示将部分业务数据 X剪 切到 c业务节点上。  The specific execution may be: a service node cuts part of the service data X to the c service node according to the indication of the migration control signal.
本实施例所提供的分布式系统的业务数据管理方法具有如下有益效果: 将重载业务节点上的部分业务数据迁移到轻载业务节点上, 在减轻重载 业务节点的负载量的同时, 有效的利用了轻载业务节点的资源。 在分布式系 统中, 对于共同参与处理一项高层业务数据的各个业务节点来说, 及时迁移 减轻重载业务节点的负载量, 有利于提高整个高层业务数据处理的速度, 减 少处理该高层业务数据时所消耗的时间。  The service data management method of the distributed system provided in this embodiment has the following beneficial effects: migrating part of the service data on the overloaded service node to the light load service node, and reducing the load of the heavy load service node, effective The use of resources for light-duty business nodes. In a distributed system, for each service node that is involved in processing a high-level service data, timely migration reduces the load of the heavy-duty service node, which is beneficial to improving the processing speed of the entire high-level service data and reducing the processing of the high-level service data. Time spent.
实施例 2  Example 2
本实施例具体地对上述一种分布式系统的业务数据管理方法进行描述, 如图 3所示, 该方法包括:  This embodiment specifically describes the service data management method of the foregoing distributed system. As shown in FIG. 3, the method includes:
在分布式系统中设置中央管理节点, 同时在每个业务节点上设置管理单 元。  The central management node is set up in the distributed system, and the management unit is set on each service node.
301 , 每个节点上的管理单元定期获取所在节点当前的负载信息。 该负载 信息中包括该业务节点的当前总负载以及当前的各个业务数据类型对应的分 负载。 所述各个业务数据类型对应的分负载为: 处理该业务数据的业务组件 的负载信息。 302 , 管理单元将定期获取的所在业务节点当前的负载信息向中央管理节 点发送。 301. The management unit on each node periodically obtains current load information of the node. The load information includes a current total load of the service node and a partial load corresponding to each current service data type. The sub-load corresponding to each service data type is: load information of a service component that processes the service data. 302. The management unit sends the current load information of the service node that is periodically acquired to the central management node.
该负载信息的发送过程可以是由管理单元定期主动发送给中央管理节 点, 也可以是中央管理节点定期向管理单元索取。  The sending process of the load information may be periodically sent by the management unit to the central management node, or the central management node may periodically request the management unit.
303 , 中央管理节点接收到各个业务节点定期发送过来的该业务节点当前 的负载信息。  303. The central management node receives current load information of the service node periodically sent by each service node.
所述该业务节点当前的负载信息可以是各个业务节点定期向中央管理节 点发送过去, 也可以是中央管理节点定期收集过来。  The current load information of the service node may be that each service node periodically sends the past to the central management node, or may be collected periodically by the central management node.
在现有技术当中的分布式系统里由于各个业务节点在处理和控制能力上 是处于平等地位的, 所以无法及时的了解其它业务节点的负载信息。 本实施 例提供的方案因为采用了可以定期了解各个业务节点当前负载信息的中央管 理节点的技术方案, 所以取得了可以根据了解到的负载信息由中央管理节点 及时采取措施, 以便平衡各个业务节点的负载的有益效果。  In the distributed system in the prior art, since each service node is in an equal position in processing and control capabilities, it is impossible to timely understand the load information of other service nodes. The solution provided by this embodiment adopts the technical solution of the central management node that can periodically learn the current load information of each service node, so that the central management node can take timely measures according to the learned load information, so as to balance the service nodes. The beneficial effects of the load.
304 , 每个业务节点的总负载都有预设的第一重载门限, 则超过该业务节 点预设的第一重载门限的业务节点为重载业务节点; 每个业务节点上所运行 的业务组件有时也可有预设的第二重载门限, 该第二重载门限即为运行在业 务节点上的业务组建的重载门限。 对于有第二重载门限的业务组件所在的业 务节点来说, 超过该预设的第二重载门限的业务组件所在的业务节点也是重 载业务节点, 即分负载超过预设的第二重载门限的业务节点也是重载业务节 点。 中央管理节点根据接收到的包含总负载和分负载的负载信息里查找符合 上述描述的重载业务节点。 对于查找到的重载业务节点可将其部分业务数据 进行迁移。  304. The total load of each service node has a preset first reload threshold, and the service node that exceeds the first reload threshold preset by the service node is a heavy load service node; The service component may also have a preset second reload threshold, which is a reload threshold for the service component running on the service node. For the service node where the service component with the second reload threshold is located, the service node where the service component exceeding the preset second reload threshold is located is also a heavy load service node, that is, the load exceeds the preset second weight. The service node with the threshold is also the overloaded service node. The central management node searches for the overloaded service node that meets the above description based on the received load information including the total load and the divided load. For the discovered overloaded service node, some of its business data can be migrated.
305 , 每个业务节点的总负载可能有预设的第一轻载门限, 则不超过该业 务节点预设的第一轻载门限的业务节点为轻载节点; 每个业务节点上所运行 的业务组件有时也可能有预设的第二轻载门限, 对于有第二轻载门限的业务 组件所在的业务节点来说, 该业务节点上业务组件不超过该预设的第二轻载 门限, 同时总负载不超过预设的第一轻载门限的业务节点业务为轻载节点, 即分负载不超过预设的第二轻载门限, 同时总负载不超过预设的第一轻载门 限的业务节点为轻载业务节点。 中央管理节点根据接收到的包含总负载和分 负载的负载信息里查找符合上述描述的轻载业务节点。 305. The total load of each service node may have a preset first light load threshold, and the service node that does not exceed the first light load threshold preset by the service node is a light load node; The service component may also have a preset second light load threshold. For the service node where the service component with the second light load threshold is located, the service component on the service node does not exceed the preset second light load. Threshold, the service node service whose total load does not exceed the preset first light load threshold is a light load node, that is, the load does not exceed the preset second light load threshold, and the total load does not exceed the preset first light load. The service node of the threshold is a light load service node. The central management node searches for the light load service node that meets the above description according to the received load information including the total load and the divided load.
在 305 步骤中, 预设的第一轻载门限可以等于预设的第一重载门限, 此 时轻载业务节点为: 总负载再不超过预设的第一重载门限的业务节点; 同时 在 305 步骤中, 预设的第二轻载门限也可以等于预设的第二重载门限。 此时 轻载业务节点为: 分负载不超过预设的第二重载门限, 且总负载也不超过预 设的第一重载门限的业务节点。  In step 305, the preset first light load threshold may be equal to the preset first overload threshold, and the light load service node is: the service node whose total load does not exceed the preset first overload threshold; In step 305, the preset second light load threshold may also be equal to the preset second heavy load threshold. At this time, the light load service node is: the service node whose load does not exceed the preset second reload threshold, and the total load does not exceed the preset first reload threshold.
306 , 确定查找到的重载业务节点上需要转移的部分业务数据。 所述重载 业务节点, 可能是总负载超过预设的第一重载门限的重载业务节点, 也可能 是分负载超过预设的第二重载门限的重载业务节点。 所述需要转移的部分业 务数据可为重载业务节点当前占用资源最多的业务组建, 也可以为超过第二 重载门限的业务组建。  306. Determine, on the discovered overloaded service node, part of the service data that needs to be transferred. The overloaded service node may be a heavy-duty service node whose total load exceeds a preset first re-load threshold, or may be a heavy-duty service node whose load exceeds a preset second re-load threshold. The part of the service data that needs to be transferred may be a service group that has the most resources occupied by the overloaded service node, and may also be a service group that exceeds the second overload threshold.
307 , 当是总负载超过预设的第一重载门限的重载业务节点的情况时, 判 断是否查找到轻载业务节点, 如果没有查找到轻载业务节点, 则判定不能够 迁移所述重载业务节点中的部分业务数据并执行步骤 313;如果查找到轻载业 务节点, 则判断该轻载业务节点的总负载加上 306 步骤中部分业务数据对应 的负载后, 是否超过该轻载业务节点的预设的第一重载门限, 如果判断的结 果为超过预设的第一重载门限, 则判定该重载业务节点的部分业务数据不能 够迁移所述轻载业务节点中并执行步骤 313;如果判断的结果为不超过预设的 第一重载门限, 则判定该重载业务节点的部分业务数据能够迁移所述轻载业 务节点并执行步骤 308;  307. When it is the case that the total load exceeds the preset first reload threshold of the overloaded service node, determine whether the light load service node is found, and if the light load service node is not found, determine that the heavy load cannot be migrated. And carrying out part of the service data in the service node and executing step 313; if the light load service node is found, determining whether the total load of the light load service node plus the load corresponding to part of the service data in step 306 exceeds the light load service The preset first reload threshold of the node, if the result of the determination is that the preset first reload threshold is exceeded, determining that part of the service data of the reload service node cannot be migrated in the light load service node and performing steps 313; If the result of the determination is not to exceed the preset first reload threshold, it is determined that part of the service data of the overloaded service node can migrate the light load service node and perform step 308;
当是分负载超过预设的第二重载门限的重载业务节点时, 判断是否查找 到轻载业务节点, 当没有查找到轻载业务节点时, 则判定不能够迁移所述重 载业务节点中的部分业务数据并执行步骤 313; 如果查找到轻载业务节点, 则 判断分负载加上 306 步骤中部分业务数据对应的负载是否超过所述预设的第 二重载门限且总负载加上 306 步骤中部分业务数据对应的负载是否超过所述 预设的第一重载门限, 如果分负载加上所述部分业务数据对应的负载不超过 所述预设的第二重载门限并且总负载加上所述部分业务数据对应的负载也不 超过所述预设的第一重载门限则, 则判定所述部分业务数据能够迁移到所述 轻载业务节点上并执行步骤 308; 否则, 则判定所述部分业务数据不能够迁移 到所述轻载业务节点上并执行步骤 313。 When it is a heavy-duty service node whose load exceeds the preset second re-load threshold, it is determined whether the light-duty service node is found, and when the light-duty service node is not found, it is determined that the heavy-duty service node cannot be migrated. Part of the business data and perform step 313; if a light load service node is found, then Determining whether the load corresponding to the part of the service data in the step 306 exceeds the preset second reload threshold and the total load plus the load corresponding to the part of the service data in the step 306 exceeds the preset first weight a load threshold, if the load corresponding to the part of the service data does not exceed the preset second reload threshold and the total load plus the load corresponding to the part of the service data does not exceed the preset number a load threshold, determining that the part of the service data can be migrated to the light load service node and performing step 308; otherwise, determining that the part of the service data cannot be migrated to the light load service node and executing Step 313.
308 , 中央管理节点向该重载业务节点发送迁移信号, 该迁移控制信号控 制重载业务节点将部分业务数据迁移到该轻载业务节点上。 其中, 该迁移控 制信号中至少包括了该轻载业务节点的地址信息和需要迁移的部分业务数据 的标识。  308. The central management node sends a migration signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to the light load service node. The migration control signal includes at least the address information of the light load service node and the identifier of the part of the service data that needs to be migrated.
通过上述步骤中所提供的对重载业务节点和轻载业务节点的查找以及判 定的技术方案, 可以取得在将重载业务节点的部分业务进行迁移时, 不会使 目标轻载业务节点在接收所述部分业务数据对应的负载后变成重载业务节点 的有益效果。  Through the technical solution for searching and determining the heavy load service node and the light load service node provided in the above steps, it is possible to obtain that the target light load service node is not received when the part of the service of the overloaded service node is migrated. The load corresponding to the part of the service data becomes a beneficial effect of the overloaded service node.
309 , 中央管理节点将该部分业务数据的地址修改为判定可以进行迁移的 目标轻载业务节点的地址。  309. The central management node modifies the address of the part of the service data to determine the address of the target light-load service node that can be migrated.
将迁移的部分业务数据的地址修改为目标轻载业务节点的地址可以取得 当需要调用被迁移的部分业务数据进行计算时, 不会因为找不到该部分业务 数据, 而使该部分业务数据丧失其可用性的有益效果。  Modifying the address of part of the migrated service data to the address of the target light-load service node can obtain the part of the service data that cannot be lost because the part of the service data cannot be found when the part of the service data needs to be called for calculation. The benefits of its usability.
310 , 重载业务节点接收到中央管理节点发送过来的迁移控制信号, 在该 信号中至少包含有轻载节点的地址和在重载业务节点中需要转移的部分业务 数据信息。  310. The overload service node receives the migration control signal sent by the central management node, where the signal includes at least an address of the light load node and part of the service data information that needs to be transferred in the overload service node.
311 , 根据中央管理节点发来的迁移控制信号, 重载业务节点将对应所述 标识的部分业务数据剪切到对应所述地址信息的轻载业务节点上, 并执行步 骤 316。 312 , 当该重载业务节点未接收到中央管理节点发送过来的迁移控制信号 时, 重载业务节点自动进入反压状态。 311. According to the migration control signal sent by the central management node, the overloaded service node cuts part of the service data corresponding to the identifier to the light load service node corresponding to the address information, and performs step 316. 312. When the overloaded service node does not receive the migration control signal sent by the central management node, the overloaded service node automatically enters a backpressure state.
31 3 , 运行在处于反压状态的重载业务节点上的业务组件对发送过来的业 务数据处理的请求发送 "请稍后" 信号。  31 3 . The service component running on the overloaded service node in the back pressure state sends a "please later" signal to the request for the service data processing sent.
314 , 该重载业务节点上所运行的业务组件丟弃当前正在处理的不重要或 者不可靠的业务数据, 例如: 一些暂时不用并且在需要时可以从其它地方再 次获取的业务数据。 并将丟弃的业务数据所占用的资源进行回收。  314. The service component running on the overloaded service node discards the unimportant or unreliable service data currently being processed, for example: some service data that is temporarily unused and can be re-acquired from other places when needed. The resources occupied by the discarded business data are recycled.
本实施例通过采用丟弃不可靠 (如用户数据报协议)或者不重要(如可 再次从其它地方获取或者优先级别较低) 的业务数据的技术方案, 取得了在 不能进行迁移的情况下, 仍旧可以通过回收资源的方式来到达减轻重载业务 节点的负载的有益效果。  In this embodiment, by adopting a technical solution of discarding unreliable (such as a user datagram protocol) or unimportant (such as being re-acquired from other places or having a lower priority), it is achieved that migration cannot be performed. The benefits of mitigating the load of the heavy-duty service node can still be achieved by reclaiming resources.
315 , 判断丟弃不重要或者不可靠的业务数据后的业务组件所在的重载业 务节点的负载是否仍超过预设的第一重载门限, 如果不再超过预设的第一重 载门限则执行步骤 316 ; 如果仍超过预设的第一重载门限则执行步骤 314。  315. Determine whether the load of the overloaded service node where the service component after discarding the unimportant or unreliable service data still exceeds the preset first reload threshold, if the preset first reload threshold is no longer exceeded. Step 316 is performed; if the preset first reload threshold is still exceeded, step 314 is performed.
有的重载业务节点上所运行的业务组件有预设的第二重载门限, 此时先 判断在丟弃不重要或者不可靠的业务数据后的业务组件是否仍超过预设的第 二重载门限, 如果仍超过预设的第二重载门限则执行步骤 314 , 如果不再超过 预设的第二重载门限则再按照 315步骤所描述的去执行。  The service component running on the overloaded service node has a preset second reload threshold. In this case, it is first determined whether the service component after discarding the unimportant or unreliable service data still exceeds the preset second weight. If the threshold is still exceeded, step 314 is performed if the preset second reload threshold is still exceeded. If the preset second reload threshold is no longer exceeded, the method described in step 315 is performed.
316 , 停止反压状态并优先发送 "可服务" 信号给优先级别高并且发送过 业务数据处理请求的业务组件。  316. Stop the backpressure state and preferentially send a "serviceable" signal to the service component with a high priority and sent a service data processing request.
317 , 结束反压流程或者迁移流程。  317, end the back pressure process or migration process.
在现有的分布式系统中, 由于每个业务节点在处理和控制能力上都是处 于同等地位的, 所以当它们共同处理一项高层业务数据时, 因为无法及时的 得知其它业务节点的负载信息, 所以导致了某个负载较重的业务节点即重载 节点在处理自己应该完成的部分高层业务数据时, 无法及时对其进行处理。 以至于正项高层业务数据无法按时完成。 而本实施例所提供的分布式系统的 业务数据管理方法, 因为采用了可以定期了解各个业务节点负载信息的中央 管理节点的技术方案, 所述取得了当有重载业务节点出现时, 可以及时将该 重载业务节点上的部分业务数据迁移到轻载业务节点的技术效果。 在有效的 利用了轻载业务节点的资源的同时还取得了加快各个业务节点共同处理的高 层业务数据速度的有益效果。 In the existing distributed system, since each service node is in the same position in processing and control capabilities, when they jointly process a high-level service data, the load of other service nodes cannot be known in time. Information, so that a heavy-duty service node, that is, a heavy-duty node, cannot process it in time when it processes some of the high-level business data that it should complete. As a result, the high-level business data of the main item cannot be completed on time. The distributed system provided by this embodiment The service data management method, because the technical solution of the central management node that can periodically understand the load information of each service node is adopted, the obtained part of the service data on the overloaded service node can be timely when the overloaded service node appears. The technical effect of migrating to a light-duty service node. While effectively utilizing the resources of the light-duty service node, the beneficial effects of speeding up the high-level business data processed by each service node are also obtained.
实施例 3  Example 3
本实施例公开一种分布式系统的业务数据管理装置, 该装置可以为中央 管理节点, 如图 4所示, 该装置包括: 接收模块 41 , 重载查找模块 42 , 轻载 查找模块 43 , 判断模块 44 , 迁移控制模块 45。  The embodiment of the present invention discloses a service data management device for a distributed system, which may be a central management node. As shown in FIG. 4, the device includes: a receiving module 41, a reload search module 42, and a light load searching module 43. Module 44, migration control module 45.
接收模块 41用于接收业务节点定期发送的该业务节点当前的负载信息; 重载查找模块 42用于根据接收模块 41发送过来的负载信息查找重载业务节 点; 轻载查找模块 43用于根据接收模块 41发送过来的负载信息查找轻载业 务节点; 判断模块 44用于在重载查找模块 42查找到重载业务节点后判断是 否能够迁移所述重载业务节点中的部分业务数据; 迁移控制模块 45用于当判 断模块 44判定能够迁移所述重载业务节点中的部分业务数据时, 向所述重载 业务节点发送迁移控制信号, 该迁移控制信号控制重载业务节点将部分业务 数据迁移到所述轻载业务节点上。  The receiving module 41 is configured to receive the current load information of the service node periodically sent by the service node; the overload search module 42 is configured to search for the overloaded service node according to the load information sent by the receiving module 41; The load information sent by the module 41 is used to find the light load service node; the determining module 44 is configured to determine whether the part of the service data in the overloaded service node can be migrated after the overloaded search module 42 finds the overloaded service node; 45. When the determining module 44 determines that part of the service data in the overloaded service node can be migrated, sending a migration control signal to the overloaded service node, where the migration control signal controls the overloaded service node to migrate part of the service data to The light load service node.
根据接收模块 41接收的负载信息中包括的业务节点的总负载信息, 重载 查找模块 42 将总负载超过预设的第一重载门限的业务节点作为重载业务节 点, 轻载查找模块 43将总负载不超过预设的第一轻载门限的业务节点作为轻 载业务节点。  According to the total load information of the service node included in the load information received by the receiving module 41, the overload search module 42 uses the service node whose total load exceeds the preset first reload threshold as the overload service node, and the light load search module 43 A service node whose total load does not exceed the preset first light load threshold is used as a light load service node.
根据接收模块 41接收的负载信息中包括的业务节点的总负载信息及各个 业务数据类型对应的分负载信息, 重载查找模块 42将分负载超过预设的第二 重载门限的业务节点作为重载业务节点, 轻载查找模块 43将分负载不超过预 设的第二轻载门限、 且总负载不超过预设的第一轻载门限的业务节点作为轻 载业务节点。 进一步地, 该装置中还包括: 修改模块 46用于在迁移模块 45向所述重 载业务节点发送迁移控制信号后, 用于将所述业务数据所在的业务节点的地 址^ ί'爹改为所述轻载业务节点的地址。 According to the total load information of the service node included in the load information received by the receiving module 41 and the load sharing information corresponding to each service data type, the reload search module 42 takes the service node whose load exceeds the preset second reload threshold as the weight. The service node, the light load search module 43 uses the service node whose load does not exceed the preset second light load threshold and whose total load does not exceed the preset first light load threshold as the light load service node. Further, the device further includes: a modifying module 46, configured to: after the migration module 45 sends the migration control signal to the overloaded service node, the address of the service node where the service data is located is changed to The address of the light load service node.
在本实施例中判断模块 44包括: 第一确定单元 441 , 第一判断单元 442 , 第二判断单元 443。  In the embodiment, the determining module 44 includes: a first determining unit 441, a first determining unit 442, and a second determining unit 443.
第一确定单元 441用于确定重载查找模块 42查找到的重载业务节点中需 要迁移的部分业务数据; 第一判断单元 442用于判断轻载查找模块 43是否查 找到轻载业务节点, 当没有查找到轻载业务节点时, 判定不能够迁移所述重 载业务节点中的部分业务数据; 第二判断单元 443用于当轻载查找模块 43查 找到轻载业务节点时, 判断总负载加上所述部分业务数据对应的负载是否超 过所述预设的第一重载门限; 如果总负载加上所述部分业务数据对应的负载 不超过所述预设的第一重载门限, 则判定能够迁移所述重载业务节点中的部 分业务数据到所述轻载业务节点上; 如果总负载加上所述部分业务数据对应 的负载超过所述预设的第一重载门限, 则判定不能够迁移所述重载业务节点 中的部分业务数据到所述轻载业务节点上。  The first determining unit 441 is configured to determine part of the service data that needs to be migrated in the overloaded service node that is searched by the reloading search module 42. The first determining unit 442 is configured to determine whether the light load searching module 43 finds the light load service node. When the light load service node is not found, it is determined that the part of the service data in the overloaded service node cannot be migrated. The second determining unit 443 is configured to determine the total load when the light load search module 43 finds the light load service node. Whether the load corresponding to the part of the service data exceeds the preset first reload threshold; if the total load plus the load corresponding to the part of the service data does not exceed the preset first reload threshold, then determining And locating a part of the service data of the overloaded service node to the light load service node; if the total load plus the load corresponding to the part of the service data exceeds the preset first reload threshold, determining not A portion of the service data in the overloaded service node can be migrated to the light load service node.
进一步地, 在本实施例中判断模块 44还包括: 第二确定单元 444 , 第三 判断单元 445 , 第四判断单元 446。  Further, in the embodiment, the determining module 44 further includes: a second determining unit 444, a third determining unit 445, and a fourth determining unit 446.
第二确定单元 444用于确定重载查找模块 42查找到的重载业务节点中需 要迁移的部分业务数据; 第三判断单元 445用于判断轻载查找模块 43是否查 找到轻载业务节点, 当轻载查找模块 43没有查找到轻载业务节点时, 判定不 能够迁移所述重载业务节点中的部分业务数据; 第四判断单元 446 用于当轻 载查找模块 43查找到轻载业务节点时, 判断分负载加上所述部分业务数据对 应的负载是否超过所述预设的第二重载门限, 同时总负载加上所述部分业务 数据对应的负载是否超过所述预设的第一重载门限; 如果分负载加上所述部 分业务数据对应的负载不超过所述预设的第二重载门限, 同时总负载加上所 述部分业务数据对应的负载也不超过所述预设的第一重载门限则, 则判定能 够迁移所述重载业务节点中的部分业务数据到所述轻载业务节点上; 否则, 则判定不能够迁移所述重载业务节点中的部分业务数据到所述轻载业务节点 上。 The second determining unit 444 is configured to determine part of the service data that needs to be migrated in the overloaded service node that is searched by the reloading search module 42. The third determining unit 445 is configured to determine whether the light load searching module 43 finds the light load service node. When the light load finding module 43 does not find the light load service node, it is determined that the part of the service data in the overloaded service node cannot be migrated. The fourth determining unit 446 is configured to when the light load search module 43 finds the light load service node. Determining whether the load corresponding to the part of the service data exceeds the preset second reload threshold, and whether the total load plus the load corresponding to the part of the service data exceeds the preset first weight a load threshold; if the load corresponding to the part of the service data does not exceed the preset second reload threshold, and the total load plus the load corresponding to the part of the service data does not exceed the preset If the first reload threshold is And migrating part of the service data of the overloaded service node to the light load service node; otherwise, determining that part of the service data of the overloaded service node cannot be migrated to the light load service node.
上述实施例提供的分布式系统的业务数据管理装置, 因为有了接收模块 The service data management device of the distributed system provided by the above embodiment, because of the receiving module
41接收到的负载信息, 所以方便了重载查找模块 42和轻载查找模块 43查找 重载业务节点和轻载业务节点的过程, 解决了现有技术当中, 在分布式系统 里由于各个业务节点是处于平等的地位而无法及时了解到其它业务节点负载 信息的技术问题。 41 The received load information, so that the process of searching for the overloaded service node and the light load service node by the reload search module 42 and the light load search module 43 is facilitated, and in the prior art, in the distributed system, each service node is It is a technical problem that it is in an equal position and cannot know the load information of other business nodes in time.
实施例 5  Example 5
本实施例公开一种分布式系统的业务数据管理装置, 该装置适合部署在 业务节点上, 如图 5所示, 该装置包括: 管理模块 51 , 发送模块 52 , 第一接 收模块 53 , 剪切模块 54。  The embodiment of the present invention discloses a service data management device for a distributed system. The device is suitable for being deployed on a service node. As shown in FIG. 5, the device includes: a management module 51, a sending module 52, and a first receiving module 53. Module 54.
管理模块 51用于定期获取业务节点当前的负载信息; 发送模块 52用于 将管理模块 51定期获取的信息向中央管理节点发送所述负载信息; 第一接收 模块 53用于接收中央管理节点发来的迁移控制信号, 该迁移控制信号中至少 包括轻载业务节点的地址信息和需要迁移的部分业务数据的标识; 剪切模块 54用于根据第一接收模块 53接收到的迁移控制信号将业务节点中对应所述标 识的部分业务数据剪切到对应所述地址信息的轻载业务节点。  The management module 51 is configured to periodically obtain the current load information of the service node; the sending module 52 is configured to send the information periodically acquired by the management module 51 to the central management node, and the first receiving module 53 is configured to receive the central management node. And a migration control signal, where the migration control signal includes at least address information of the light load service node and an identifier of the part of the service data that needs to be migrated; the cutting module 54 is configured to: use the migration control signal received by the first receiving module 53 to send the service node The part of the service data corresponding to the identifier is cut to a light load service node corresponding to the address information.
进一步地, 本实施中适合部署在业务节点上的装置还包括: 稍后模块 55 , 丟弃模块 56。  Further, the apparatus suitable for deployment on the service node in this implementation further includes: a later module 55, a discarding module 56.
当第一接收模块 53没有接收到迁移控制信号时, 稍后模块 55用于对业 务数据请求发送稍后信号; 丟弃模块 56用于丟弃当前正在处理的不重要或者 不可靠的业务数据。  When the first receiving module 53 does not receive the migration control signal, the module 55 is later used to send a later signal to the service data request; the discarding module 56 is used to discard the unimportant or unreliable traffic data currently being processed.
本实施例提供的分布式系统的业务数据管理装置, 有利于分布式系统的 业务数据管理方法的实现。 取得了在分布式系统中, 能够动态的平衡各个业 务节点负载量, 提供整个分布式系统自我调节能力的有益效果。 实施例 6 The service data management apparatus of the distributed system provided by this embodiment facilitates the implementation of the service data management method of the distributed system. In the distributed system, it is possible to dynamically balance the load of each service node and provide the beneficial effect of the self-regulation capability of the entire distributed system. Example 6
本实施例具体提供一种分布式系统, 如图 6 所示, 该系统包括: 业务节 点实体 61 , 中央管理实体 62。  This embodiment specifically provides a distributed system. As shown in FIG. 6, the system includes: a service node entity 61 and a central management entity 62.
其中, 业务节点实体 61用于定期获取业务节点当前的负载信息并向中央 管理节点发送所述负载信息。 中央管理实体 62用于接收业务节点定期发送的 该业务节点当前的负载信息; 根据负载信息查找重载业务节点和轻载业务节 点, 并判断是否能够迁移查找到的重载业务节点中的部分业务数据, 当能够 迁移所述重载业务节点中的业务数据时, 向所述重载业务节点发送迁移控制 信号, 该迁移控制信号控制重载业务节点将部分业务数据迁移到查找到的轻 载业务节点上。  The service node entity 61 is configured to periodically obtain current load information of the service node and send the load information to the central management node. The central management entity 62 is configured to receive current load information of the service node periodically sent by the service node, and search for the overloaded service node and the light load service node according to the load information, and determine whether part of the searched overloaded service node can be migrated. Data, when the service data in the overloaded service node can be migrated, sending a migration control signal to the overloaded service node, the migration control signal controlling the overloaded service node to migrate part of the service data to the found light load service On the node.
并且该业务节点实体 61还用于在接收所述迁移控制信号时, 根据所述迁 移控制信号将业务节点中的部分业务数据剪切到所述轻载业务节点。  And the service node entity 61 is further configured to: when receiving the migration control signal, cut part of the service data in the service node to the light load service node according to the migration control signal.
本方案的分布式系统具有如下有益效果: 动态平衡各个业务节点之间的 负载, 有效利用分布式系统中各个业务节点的资源, 并及时的可减轻重载业 务节点负担。  The distributed system of the solution has the following beneficial effects: dynamically balancing the load between the various service nodes, effectively utilizing the resources of each service node in the distributed system, and timely reducing the burden on the heavy-duty service nodes.
在本实施例中的中央管理实体 62还用于将所述部分业务数据所在的业务 节点的地址修改为所述轻载业务节点的地址, 并且当不能够迁移所述重载业 务节点中的业务数据时, 不向所述重载业务节点发送迁移控制信号。 业务节 点实体 61还用于当未接收到中央管理节点发来的迁移控制信号时, 对业务数 据请求发送稍后信号并丟弃当前正在处理的不重要或者不可靠的业务数据。  The central management entity 62 in this embodiment is further configured to modify an address of the service node where the partial service data is located to an address of the light load service node, and when the service in the overloaded service node cannot be migrated When the data is not transmitted, the migration control signal is not sent to the overloaded service node. The service node entity 61 is further configured to send a later signal to the service data request and discard the unimportant or unreliable service data currently being processed when the migration control signal sent by the central management node is not received.
本发明实施例主要运用于分布式系统中, 实现在分布式系统中的业务节 点的负载平衡。 当然在含有分布式技术的其它系统或者领域中也有可能运用 本发明实施例并且随着网络技术的发展有可能应用到本领域的其它场景或者 转用到类似或者相近的技术领域上去。  The embodiments of the present invention are mainly applied to a distributed system to implement load balancing of service nodes in a distributed system. It is of course also possible to use embodiments of the invention in other systems or fields that contain distributed technology and, with the development of network technology, it is possible to apply to other scenarios in the field or to similar or similar technical fields.
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件 , 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案 本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光 盘等, 包括若干指令用以使得一台设备(可以是路由器、 也可以是计算机等) 执行本发明各个实施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, through hardware. But in many cases the former is a better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , a hard disk or an optical disk, etc., including instructions for causing a device (which may be a router, or a computer, etc.) to perform the methods described in various embodiments of the present invention.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变 化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 所述以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利 要求 书 Claim
1、 一种分布式系统的业务数据管理方法, 其特征在于, 包括:  A method for managing a service data of a distributed system, comprising:
接收业务节点定期发送的该业务节点当前的负载信息;  Receiving current load information of the service node periodically sent by the service node;
才艮据负载信息查找重载业务节点和轻载业务节点;  Finding the overloaded service node and the light load service node according to the load information;
判断是否能够迁移查找到的重载业务节点中的部分业务数据;  Determining whether part of the service data in the discovered overloaded service node can be migrated;
若判定能够迁移所述重载业务节点中的部分业务数据, 则向所述重载业务 节点发送迁移控制信号, 该迁移控制信号控制重载业务节点将部分业务数据迁 移到查找到的轻载业务节点上。  And if it is determined that part of the service data in the overloaded service node can be migrated, sending, to the overloaded service node, a migration control signal, where the migration control signal controls the overloaded service node to migrate part of the service data to the found light load service. On the node.
2、 根据权利要求 1所述的分布式系统的业务数据管理方法, 其特征在于, 在所述若能够迁移所述重载业务节点中的业务数据, 则向所述重载业务节点发 送迁移控制信号之后, 该方法还包括:  The service data management method for a distributed system according to claim 1, wherein, if the service data in the overloaded service node can be migrated, the migration control is sent to the overloaded service node. After the signal, the method further includes:
将所述部分业务数据所在的业务节点的地址修改为所述轻载业务节点的地 址。  Modifying the address of the service node where the part of the service data is located to the address of the light load service node.
3、 根据权利要求 1所述的分布式系统的业务数据管理方法, 其特征在于, 所述负载信息包括该业务节点的总负载;  The service data management method for a distributed system according to claim 1, wherein the load information includes a total load of the service node;
所述根据负载信息查找重载业务节点为: 将总负载超过预设的第一重载门 限的业务节点作为重载业务节点;  The searching for the overloaded service node according to the load information is: using a service node whose total load exceeds a preset first reload threshold as a heavy load service node;
所述根据负载信息查找轻载业务节点为: 将总负载不超过预设的第一轻载 门限的业务节点作为轻载业务节点。  The searching for the light load service node according to the load information is: using a service node whose total load does not exceed a preset first light load threshold as a light load service node.
4、 根据权利要求 1所述的分布式系统的业务数据管理方法, 其特征在于, 述负载信息包括该业务节点的总负载及各个业务数据类型对应的分负载;  The service data management method of the distributed system according to claim 1, wherein the load information includes a total load of the service node and a partial load corresponding to each service data type;
所述根据负载信息查找重载业务节点为: 将分负载超过预设的第二重载门 限的业务节点作为重载业务节点;  The searching for the overloaded service node according to the load information is: using a service node whose load exceeds a preset second reload threshold as a heavy load service node;
所述根据负载信息查找轻载业务节点为: 将分负载不超过预设的第二轻载 门限、 且总负载不超过预设的第一轻载门限的业务节点作为轻载业务节点。  The searching for the light load service node according to the load information is as follows: the service node whose load is not more than the preset second light load threshold and whose total load does not exceed the preset first light load threshold is used as the light load service node.
5、 根据权利要求 3所述的分布式系统的业务数据管理方法, 其特征在于, 判断是否能够迁移所述重载业务节点中的部分业务数据包括: 5. The service data management method of a distributed system according to claim 3, wherein: Determining whether part of the service data in the overloaded service node can be migrated includes:
确定查找到的重载业务节点中需要迁移的部分业务数据;  Determining part of the service data that needs to be migrated in the discovered overloaded service node;
判断是否查找到轻载业务节点;  Determine whether the light load service node is found;
如果没有查找到轻载业务节点, 则判定不能够迁移所述重载业务节点中的 部分业务数据;  If no light load service node is found, determining that part of the service data in the overloaded service node cannot be migrated;
如果查找到轻载业务节点, 则判断总负载加上所述部分业务数据对应的负 载是否超过所述预设的第一重载门限;  If the light load service node is found, it is determined whether the total load plus the load corresponding to the part of the service data exceeds the preset first reload threshold;
如果总负载加上所述部分业务数据对应的负载不超过所述预设的第一重载 门限, 则判定能够迁移所述重载业务节点中的部分业务数据;  If the total load plus the load corresponding to the part of the service data does not exceed the preset first reload threshold, determining that part of the service data in the overloaded service node can be migrated;
如果总负载加上所述部分业务数据对应的负载超过所述预设的第一重载门 限, 则判定不能够迁移所述重载业务节点中的部分业务数据。  If the total load plus the load corresponding to the part of the service data exceeds the preset first reload threshold, it is determined that part of the service data in the overloaded service node cannot be migrated.
6、 根据权利要求 4所述的分布式系统的业务数据管理方法, 其特征在于, 判断是否能够迁移所述重载业务节点中的部分业务数据包括:  The service data management method of the distributed system according to claim 4, wherein determining whether the part of the service data in the overloaded service node can be migrated comprises:
确定查找到的重载业务节点中需要迁移的部分业务数据;  Determining part of the service data that needs to be migrated in the discovered overloaded service node;
判断是否查找到轻载业务节点;  Determine whether the light load service node is found;
如果没有查找到轻载业务节点, 则判定不能够迁移所述重载业务节点中的 部分业务数据;  If no light load service node is found, determining that part of the service data in the overloaded service node cannot be migrated;
如果查找到轻载业务节点, 则判断分负载加上所述部分业务数据对应的负 载是否超过所述预设的第二重载门限, 同时总负载加上所述部分业务数据对应 的负载是否超过所述预设的第一重载门限;  If the light load service node is found, it is determined whether the load corresponding to the part of the service data exceeds the preset second reload threshold, and the total load plus the load corresponding to the part of the service data exceeds The preset first reload threshold;
如果分负载加上所述部分业务数据对应的负载不超过所述预设的第二重载 门限, 同时总负载加上所述部分业务数据对应的负载也不超过所述预设的第一 重载门限, 则判定能够迁移所述重载业务节点中的部分业务数据;  If the load corresponding to the part of the service data does not exceed the preset second reload threshold, the total load plus the load corresponding to the part of the service data does not exceed the preset first weight. Carrying a threshold, determining that part of the service data in the overloaded service node can be migrated;
否则, 则判定不能够迁移所述重载业务节点中的部分业务数据。  Otherwise, it is determined that part of the service data in the overloaded service node cannot be migrated.
7、 一种分布式系统的业务数据管理方法, 其特征在于, 包括:  A method for managing a business data of a distributed system, comprising:
定期获取业务节点当前的负载信息; 向中央管理节点发送所述负载信息; Regularly obtain the current load information of the service node; Sending the load information to a central management node;
接收中央管理节点发来的迁移控制信号, 该迁移控制信号中至少包括轻载 业务节点的地址信息和需要迁移的部分业务数据的标识;  Receiving, by the central management node, a migration control signal, where the migration control signal includes at least an address information of the light-duty service node and an identifier of a part of the service data that needs to be migrated;
将业务节点中对应所述标识的部分业务数据剪切到对应所述地址信息的轻 载业务节点。  Cutting part of the service data corresponding to the identifier in the service node to a light service node corresponding to the address information.
8、 根据权利要求 7分布式系统的业务数据管理方法, 其特征在于, 当未接 收到中央管理节点发来的迁移控制信号时, 该方法还包括:  The service data management method of the distributed system according to claim 7, wherein when the migration control signal sent by the central management node is not received, the method further includes:
对业务数据请求发送稍后信号;  Sending a later signal to the service data request;
丟弃当前正在处理的不重要或者不可靠的业务数据。  Discard unimportant or unreliable business data that is currently being processed.
9、 一种分布式系统的业务数据管理装置, 其特征在于, 包括:  9. A service data management apparatus for a distributed system, comprising:
接收模块, 用于接收业务节点定期发送的该业务节点当前的负载信息; 重载查找模块, 用于根据接收模块接收到的负载信息查找重载业务节点; 轻载查找模块, 用于根据接收模块接收到的负载信息查找轻载业务节点; 判断模块, 用于判断是否能够迁移所述重载查找模块查找到的重载业务节 点中的部分业务数据;  a receiving module, configured to receive current load information of the service node periodically sent by the service node; a reload search module, configured to search for a heavy load service node according to the load information received by the receiving module; and a light load search module, configured to receive the module according to the receiving module The received load information is used to find a light load service node; the determining module is configured to determine whether part of the service data in the overloaded service node found by the overloaded search module can be migrated;
迁移控制模块, 用于当判断模块判定能够迁移所述重载业务节点中的部分 业务数据时, 向所述重载业务节点发送迁移控制信号, 该迁移控制信号控制重 载业务节点将部分业务数据迁移到轻载查找模块查找到的轻载业务节点上。  a migration control module, configured to: when the determining module determines that part of the service data in the overloaded service node can be migrated, send a migration control signal to the overloaded service node, where the migration control signal controls the overloaded service node to part of the service data Migrate to the light load service node found by the light load lookup module.
10、 根据权利要求 9所述的分布式系统的业务数据管理装置, 其特征在于, 该装置还包括:  The service data management device of the distributed system according to claim 9, wherein the device further comprises:
修改模块, 用于将所述业务数据所在的业务节点的地址修改为所述轻载业 务节点的地址。  And a modification module, configured to modify an address of the service node where the service data is located to an address of the light load service node.
11、 根据权利要求 9所述的分布式系统的业务数据管理装置, 其特征在于, 接收模块接收的所述负载信息包括该业务节点的总负载,  The service data management apparatus of the distributed system according to claim 9, wherein the load information received by the receiving module includes a total load of the service node,
则重载查找模块将总负载超过预设的第一重载门限的业务节点作为重载业 务节点; 则轻载查找模块将总负载不超过预设的第一轻载门限的业务节点作为轻载 业务节点。 The reloading search module uses the service node whose total load exceeds the preset first reload threshold as the overloaded service node; The light load search module uses the service node whose total load does not exceed the preset first light load threshold as the light load service node.
12、 根据权利要求 9所述的分布式系统的业务数据管理装置, 其特征在于, 接收模块接收的所述负载信息包括该业务节点的总负载及各个业务数据类型对 应的分负载;  The service data management apparatus of the distributed system according to claim 9, wherein the load information received by the receiving module includes a total load of the service node and a load corresponding to each service data type;
则重载查找模块将分负载超过预设的第二重载门限的业务节点作为重载业 务节点;  The reloading search module uses the service node whose load exceeds the preset second reload threshold as the heavy load service node;
则轻载查找模块将分负载不超过预设的第二轻载门限、 且总负载不超过预 设的第一轻载门限的业务节点作为轻载业务节点。  The light load search module uses the service node whose load does not exceed the preset second light load threshold and whose total load does not exceed the preset first light load threshold as the light load service node.
1 3、根据权利要求 11所述的分布式系统的业务数据管理装置,其特征在于, 所述判断模块包括:  The service data management device of the distributed system according to claim 11, wherein the determining module comprises:
第一确定单元, 用于确定重载查找模块查找到的重载业务节点中需要迁移 的部分业务数据;  a first determining unit, configured to determine part of the service data that needs to be migrated in the overloaded service node found by the overloaded search module;
第一判断单元, 用于判断轻载查找模块是否查找到轻载业务节点, 当轻载 查找模块没有查找到轻载业务节点时, 判定不能够迁移所述重载业务节点中的 部分业务数据;  a first determining unit, configured to determine whether the light load search module finds a light load service node, and when the light load search module does not find the light load service node, determine that part of the service data in the overloaded service node cannot be migrated;
第二判断单元, 用于当轻载查找模块查找到轻载业务节点时, 判断总负载 加上所述部分业务数据对应的负载是否超过所述预设的第一重载门限; 如果总 负载加上所述部分业务数据对应的负载不超过所述预设的第一重载门限, 则判 定能够迁移所述重载业务节点中的部分业务数据; 如果总负载加上所述部分业 务数据对应的负载超过所述预设的第一重载门限, 则判定不能够迁移所述重载 业务节点中的部分业务数据。  a second determining unit, configured to: when the light load searching module finds the light load service node, determine whether the total load plus the load corresponding to the part of the service data exceeds the preset first reload threshold; If the load corresponding to the part of the service data does not exceed the preset first reload threshold, it is determined that part of the service data in the overloaded service node can be migrated; if the total load is added to the part of the service data If the load exceeds the preset first reload threshold, it is determined that part of the service data in the overloaded service node cannot be migrated.
14、根据权利要求 12所述的分布式系统的业务数据管理装置,其特征在于, 所述判断模块包括:  The service data management device of the distributed system according to claim 12, wherein the determining module comprises:
第二确定单元, 用于确定重载查找模块查找到的重载业务节点中需要迁移 的部分业务数据; 第三判断单元, 用于判断轻载查找模块是否查找到轻载业务节点; 当轻载 查找模块没有查找到轻载业务节点时, 判定不能够迁移所述重载业务节点中的 部分业务数据; a second determining unit, configured to determine part of the service data that needs to be migrated in the overloaded service node found by the overloaded search module; a third determining unit, configured to determine whether the light load search module finds the light load service node; when the light load search module does not find the light load service node, determine that part of the service data in the overloaded service node cannot be migrated;
第四判断单元, 用于当轻载查找模块查找到轻载业务节点时, 判断分负载 加上所述部分业务数据对应的负载是否超过所述预设的第二重载门限, 同时总 负载加上所述部分业务数据对应的负载是否超过所述预设的第一重载门限; 如 果分负载加上所述部分业务数据对应的负载不超过所述预设的第二重载门限, 同时总负载加上所述部分业务数据对应的负载也不超过所述预设的第一重载门 限则, 则判定能够迁移所述重载业务节点中的部分业务数据; 否则, 则判定不 能够迁移所述重载业务节点中部分业务数据。  a fourth determining unit, configured to: when the light load searching module finds the light load service node, determine whether the load corresponding to the partial service data exceeds the preset second overload threshold, and the total load is added Whether the load corresponding to the part of the service data exceeds the preset first reload threshold; if the load plus the load corresponding to the part of the service data does not exceed the preset second reload threshold, If the load corresponding to the part of the service data does not exceed the preset first reload threshold, it is determined that part of the service data in the overloaded service node can be migrated; otherwise, it is determined that the load cannot be migrated. Describe some of the service data in the service node.
15、 一种分布式系统的业务数据管理装置, 其特征在于, 包括:  15. A service data management apparatus for a distributed system, comprising:
管理模块, 用于定期获取业务节点当前的负载信息;  a management module, configured to periodically obtain current load information of the service node;
发送模块, 用于向中央管理节点发送所述管理模块获取的负载信息; 第一接收模块, 用于接收中央管理节点发来的迁移控制信号, 该迁移控制 信号中至少包括轻载业务节点的地址信息和需要迁移的部分业务数据的标识; 剪切模块, 用于将业务节点中的对应所述标识的部分业务数据剪切到对应 所述地址信息的轻载业务节点。  a sending module, configured to send the load information acquired by the management module to the central management node; the first receiving module is configured to receive a migration control signal sent by the central management node, where the migration control signal includes at least an address of the light-load service node The information and the identifier of the part of the service data that needs to be migrated; the cutting module is configured to cut part of the service data corresponding to the identifier in the service node to the light load service node corresponding to the address information.
16、 根据权利要求 15分布式系统的业务数据管理装置, 其特征在于, 该装 置还包括:  The service data management device of the distributed system according to claim 15, wherein the device further comprises:
稍后模块, 用于对业务数据请求发送稍后信号;  a module later, for transmitting a later signal to the service data request;
丟弃模块, 用于丟弃当前正在处理的不重要或者不可靠的业务数据。  A discarding module is used to discard unimportant or unreliable business data that is currently being processed.
17、 一种分布式系统, 其特征在于, 包括:  17. A distributed system, comprising:
业务节点实体, 用于定期获取业务节点当前的负载信息并向中央管理节点 发送所述负载信息;  a service node entity, configured to periodically acquire current load information of the service node and send the load information to the central management node;
中央管理实体, 用于接收业务节点定期发送的该业务节点当前的负载信息; 根据负载信息查找重载业务节点和轻载业务节点, 并判断是否能够迁移查找到 的重载业务节点中的部分业务数据, 当判定能够迁移所述重载业务节点中的部 分业务数据时, 向所述重载业务节点发送迁移控制信号, 该迁移控制信号控制 重载业务节点将部分业务数据迁移到查找到的轻载业务节点上; a central management entity, configured to receive current load information of the service node periodically sent by the service node; search for the overloaded service node and the light load service node according to the load information, and determine whether the migration can be found Part of the service data in the overloaded service node, when it is determined that part of the service data in the overloaded service node can be migrated, sending a migration control signal to the overloaded service node, the migration control signal controlling the overloaded service node to Part of the business data is migrated to the discovered light load service node;
所述业务节点实体还用于在接收所述迁移控制信号时, 根据所述迁移控制 信号将业务节点中的部分业务数据剪切到轻载业务节点。  The service node entity is further configured to, when receiving the migration control signal, cut part of the service data in the service node to the light load service node according to the migration control signal.
18、 根据权利要求 17所述的分布式系统, 其特征在于, 包括:  The distributed system according to claim 17, comprising:
所述中央管理实体还用于将所述业务数据的地址修改为所述轻载业务节点 的地址, 并且当不能够迁移所述重载业务节点中的业务数据时, 不向所述重载 业务节点发送迁移控制信号。  The central management entity is further configured to modify an address of the service data to an address of the light load service node, and not to the heavy load service when the service data in the overloaded service node cannot be migrated The node sends a migration control signal.
19、 根据权利要求 17所述的分布式系统, 其特征在于, 包括:  The distributed system according to claim 17, comprising:
所述业务节点实体还用于当未接收到中央管理节点发来的迁移控制信号 时, 对业务数据请求发送稍后信号并丟弃当前正在处理的不重要或者不可靠的 业务数据。  The service node entity is further configured to: when the migration control signal sent by the central management node is not received, send a later signal to the service data request and discard the unimportant or unreliable service data currently being processed.
PCT/CN2009/073936 2008-12-25 2009-09-15 Distributed system as well as method and apparatus for managing service data of distributed system WO2010072085A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101891031A CN101442435B (en) 2008-12-25 2008-12-25 Method and apparatus for managing business data of distributed system and distributed system
CN200810189103.1 2008-12-25

Publications (1)

Publication Number Publication Date
WO2010072085A1 true WO2010072085A1 (en) 2010-07-01

Family

ID=40726688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073936 WO2010072085A1 (en) 2008-12-25 2009-09-15 Distributed system as well as method and apparatus for managing service data of distributed system

Country Status (2)

Country Link
CN (1) CN101442435B (en)
WO (1) WO2010072085A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997911A (en) * 2010-10-21 2011-03-30 中兴通讯股份有限公司 Data migration method and system
US8892728B2 (en) 2011-07-21 2014-11-18 Hewlett-Packard Development Company, L.P. Automatic zone-based management of a data center

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442435B (en) * 2008-12-25 2012-04-04 华为技术有限公司 Method and apparatus for managing business data of distributed system and distributed system
CN101945353B (en) * 2009-07-07 2012-10-31 中国移动通信集团山东有限公司 Method and system for remote adjustment of system resources
EP3694235A1 (en) 2010-04-22 2020-08-12 Huawei Technologies Co. Ltd. Congestion/overload control method and apparatus
CN101873680B (en) * 2010-06-25 2014-07-30 华为技术有限公司 Dynamic energy consumption control method, system and related equipment
CN102387024B (en) * 2010-09-06 2014-09-03 联想(北京)有限公司 Power consumption control method, management node and data processing center
CN102014169B (en) * 2010-12-22 2013-03-20 国家电网公司 Distributed service system as well as distributed service system task execution method and device
US9703610B2 (en) * 2011-05-16 2017-07-11 Oracle International Corporation Extensible centralized dynamic resource distribution in a clustered data grid
WO2014101044A1 (en) * 2012-12-27 2014-07-03 华为技术有限公司 Partition balancing method, device and server in distributed storage system
CN104580322B (en) * 2013-10-25 2019-02-12 华为技术有限公司 A kind of distributed traffic processing method and processing device
CN103716253A (en) * 2013-12-27 2014-04-09 广州华多网络科技有限公司 Method and device for requesting data
CN103763740B (en) * 2014-01-26 2017-04-12 上海大唐移动通信设备有限公司 Method and device for balancing loads of single boards
CN104283951B (en) * 2014-09-29 2018-03-27 华为技术有限公司 The method, apparatus and system of a kind of instance migration
CN105991458B (en) * 2015-02-02 2019-12-17 中兴通讯股份有限公司 Load balancing method and load balancing device
CN106776613A (en) * 2015-11-20 2017-05-31 北大方正集团有限公司 Data migration method and device
CN106776985A (en) * 2016-12-02 2017-05-31 深圳市前海安测信息技术有限公司 Electronic health record data dynamic migration system and method
CN108243225B (en) * 2016-12-26 2021-06-29 阿里巴巴集团控股有限公司 Distributed system, management method and access method
CN108259583B (en) * 2017-12-29 2020-05-26 广州云达信息技术有限公司 Data dynamic migration method and device
CN108834177B (en) * 2018-06-08 2020-07-07 京信通信系统(中国)有限公司 Load balancing method and device, computer equipment and storage medium
CN111385328B (en) * 2018-12-29 2024-04-05 三六零科技集团有限公司 Service request processing method, system and electronic equipment
CN110417903B (en) * 2019-08-01 2020-06-23 深圳风月科技有限公司 Information processing method and system based on cloud computing
CN111225241B (en) * 2019-12-30 2023-07-28 视联动力信息技术股份有限公司 Communication method and device
CN111787060B (en) * 2020-05-28 2022-01-07 网宿科技股份有限公司 Traffic scheduling method, system and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777120A (en) * 2005-12-07 2006-05-24 中国科学院计算技术研究所 Distributed load equalizing method for structured P2P system
CN1791113A (en) * 2005-12-26 2006-06-21 北京航空航天大学 Method for balancing gridding load
CN101299198A (en) * 2008-06-13 2008-11-05 南京邮电大学 Dynamic self-adapting graticule data migration method
CN101442435A (en) * 2008-12-25 2009-05-27 华为技术有限公司 Method and apparatus for managing business data of distributed system and distributed system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8140695B2 (en) * 2005-12-12 2012-03-20 International Business Machines Corporation Load balancing and failover of distributed media resources in a media server
CN100476742C (en) * 2007-02-09 2009-04-08 华中科技大学 Load balancing method based on object storage device
CN101252546B (en) * 2008-04-15 2012-02-29 中国科学技术大学 Method and apparatus for migrating medium stream online service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777120A (en) * 2005-12-07 2006-05-24 中国科学院计算技术研究所 Distributed load equalizing method for structured P2P system
CN1791113A (en) * 2005-12-26 2006-06-21 北京航空航天大学 Method for balancing gridding load
CN101299198A (en) * 2008-06-13 2008-11-05 南京邮电大学 Dynamic self-adapting graticule data migration method
CN101442435A (en) * 2008-12-25 2009-05-27 华为技术有限公司 Method and apparatus for managing business data of distributed system and distributed system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997911A (en) * 2010-10-21 2011-03-30 中兴通讯股份有限公司 Data migration method and system
CN101997911B (en) * 2010-10-21 2015-07-22 中兴通讯股份有限公司 Data migration method and system
US8892728B2 (en) 2011-07-21 2014-11-18 Hewlett-Packard Development Company, L.P. Automatic zone-based management of a data center

Also Published As

Publication number Publication date
CN101442435A (en) 2009-05-27
CN101442435B (en) 2012-04-04

Similar Documents

Publication Publication Date Title
WO2010072085A1 (en) Distributed system as well as method and apparatus for managing service data of distributed system
EP2690552B1 (en) Method and device for migrating virtual machine parameters and virtual machine server
US10333835B2 (en) Packet transmission method, apparatus, and system
US9426072B2 (en) Traffic flow classification
US9143452B2 (en) Data processing
US8745204B2 (en) Minimizing latency in live virtual server migration
CN104750541B (en) A kind of virtual machine migration method
CN111447155B (en) Data transmission method, device, equipment and storage medium
US9712374B1 (en) Network services resource management
US20060020598A1 (en) System and method for managing multiple connections to a server
US20170223035A1 (en) Scaling method and management device
WO2011100900A2 (en) Method for adjusting resources dynamically and scheduling device
WO2017166136A1 (en) Vnf resource allocation method and device
US20160241482A1 (en) Packet communication apparatus and packet communication method
US9571379B2 (en) Computer system, communication control server, communication control method, and program
US20240069977A1 (en) Data transmission method and data transmission server
WO2012095053A9 (en) Data migration method and device
US11438271B2 (en) Method, electronic device and computer program product of load balancing
WO2012119436A1 (en) Method, device and system for migrating resources
CN116233018A (en) Message processing method and device, electronic equipment and storage medium
JP2011203810A (en) Server, computer system, and virtual computer management method
WO2019033891A1 (en) Rdma-based network traffic determination method and device
JP6056857B2 (en) Communication control device and communication control method
JP2020005051A (en) Control program, control device, and control method
WO2020235055A1 (en) Virtual machine monitoring device, virtual machine monitoring method, and program

Legal Events

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

Ref document number: 09834038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09834038

Country of ref document: EP

Kind code of ref document: A1