Search International and National Patent Collections

1. (WO2018000991) DATA BALANCING METHOD AND DEVICE

Pub. No.:    WO/2018/000991    International Application No.:    PCT/CN2017/085376
Publication Date: Fri Jan 05 00:59:59 CET 2018 International Filing Date: Tue May 23 01:59:59 CEST 2017
IPC: G06F 9/50
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: LU, Jingshi
陆敬石
TAO, Weizhong
陶维忠
WU, Gang
吴刚
Title: DATA BALANCING METHOD AND DEVICE
Abstract:
The embodiment of the present invention discloses a data balancing method, including: obtaining a load degree and an n number of weight values of an n number of weight factors of each virtual node on an m number of physical nodes in a distributed database system, wherein m and n are integers greater than 1; performing weighted averaging according to the load degree of the n number of weight factors of the n number of weight values to obtain a weight coefficient of each virtual node; obtaining a standard fragment number according to the weight coefficient of the virtual node associated with each physical node; determining whether the data distribution meets the data balancing condition or not according to the standard fragment number respectively corresponding to the m number of physical nodes; if not, performing a data balancing process on the m number of physical nodes. The present invention embodiment further discloses a data balancing device. The present invention is able to perform data balancing on the physical nodes in the distributed database system and optimize resource allocation.