Patent AU-2015316450-B2 (AU)
Title: Method for updating data table of KeyValue database and apparatus for updating table data
Inventor: GUO YIJUN
IPC: G06F3/00
Filed: 2015-02-17
Granted: 2016-11-03
Abstract: (12) tflIA*&PieSA IW (10) (43)E~# WO 2016/074370 A1 2016 * 5,T] 19 H (19.05.2016) W I p O 1 P C T (51) 04#"*&I9 (74) 1EA UWT W9~l X1 W$4f? (TfE G06F 17/30 (2006.01) 15k) (SHENPAT INTELLECTUAL PROPERTY 1521 r, Guangdong 518014 (CN) o (22) 04$ 4$ f: 2015 $ 2 A9 17 H (17.02.2015) (81) M flhn N* (25) $4# : JP): AE, AG, AL, AM, AO, AT, AU, AZ, BA, BB, BG, (26) $ $ BH, BN, BR, BW, BY, BZ, CA, CH, CL, CN, CO, CR, (26) $n. CU, CZ, DE, DK, DM, DO, DZ, EC, EE, EG, ES, Fl, GB, (30) $$M% GD, GE, GH, GM, GT, HN, HR, HU, ID, IL, IN, IR, IS, PCT/CN2014/090934 2014 T I I9 12 H (12.11.2014) JP, KE, KG, KN, KP, KR, KZ, LA, LC, LK, LR, LS, LU, CN LY, MA, MD, ME, MG, MK, MN, MW, MX, MY, MZ, NA, NG, NI, NO, NZ, OM, PA, PE, PG, PH, PL, PT, QA, (71) $iA | l (HUAWEI TECHNO- RO, RS, RU, RW, SA, SC, SD, SE, SG, SK, SL, SM, ST, LOGIES CO., LTD.) [CN/CN]; FP N )[[ SV, SY, TH, TJ, TM, TN, TR, TT, TZ, UA, UG, US, UZ, M E N it] Guangdong 518129 VC, VN, ZA, ZM, ZWo (CN) (84) (72) 2 A : W|9t9 (GUO, Yijun); F @P N S [[t tf) ARIPO (BW, GH, GM, KE, LR, LS, MW, MZ, NA, 1 -M Ex N it] Fin t & Guangdong 518129 RW, SD, SL, ST, SZ, TZ, UG, ZM, ZW), rk A (AM, AZ, (CN)o $AdI (BI, Jieshan); + @I's [[1i BY, KG, KZ, RU, TJ, TM), rVtjII (AL, AT, BE, BG, CH, Ex X it] H ~ t , Guangdong 518129 CY, CZ, DE, DK, EE, ES, Fl, FR, GB, GR, HR, HU, IE, (CN)o IS, IT, LT, LU, LV, MC, MK, MT, NL, NO, PL, PT, RO, [_)qIJ, (54) Title: KEYVALUE DATABASE DATA TABLE UPDATING METHOD AND DATA TABLE UPDATING DEVICE (54) KUS#: KeyValue )) g~-~-~4 ~ ~ L ~hU# A 102 101 RECEIVE AADATA TOTAL UPDATING INSTRUCTION D DTA TOTAL UPDATING INSTRUCT ON, AND GENERATE AGDATA, TAL UPDATING FILE ACCORDING TO THE Nk-k{4L 46 ~ kT h#-dtt, MM47 M &, Wi 3 103 3 ACQUIRE M ROWS OF OLD DATA OF THE DATA TABLE M4t ia , t t INSTRUCTION AND ENERA ADATATOTAL ELECTION FILE ACCORDING TO M ROWKEYS OF M ROWS OF OLD 104 IMPORT THE DATA TOTAL UPDATING FILE INTO THE DATA 4r iWK PON At 105 IMPORT THE DATA TOTAL DELETION FILE INTO THE DATA (57) Abstract: Provided in an embodiment of the present invention is a KeyValue database data table updating method, comprising: receiving a data total updating instruction, acquiring data to be imported according to the data total updating instruction, and gener ating a data total updating file according to the imported data; acquiring M rows of old data of the data table corresponding to the data total updating instruction, and generating a data total deletion file according to M RowKeys of M rows of old data; importing the data total updating file into the data table; importing the data total deletion file into the data table. The KeyValue database data table updating method provided in an embodiment of the present invention realizes complete updating of the KeyValue database 'II data table with a high updating speed and good atomicity. Also provided in an embodiment of the present invention is a related data N table updating device. B (5 7) R~ HA9 fiI T)9 fAT - I KeyValue V Fn V flA t n' TOt)Y4M, 'R1tM: ±Ttt t t tk H'VATOIH , N sltt~ltM IHTUVA 4M4AM IHtVflt Mt I'RowKey, M-1~ft~~X t M-1t tt 4t-Xktt~ ~~A Tht~ltKeyValueV M AM O W )FKeyValueVA M tVA t Kn' t fI~tTAAk', ,-,#[ k4o W O 20 16/07 43 70 A 1|lII |III ||1III llI ||I|1I ||||||||1 ||||IIV|IIII||||II||II||||||||||||||||I| RS, SE, SI, SK, SM, TR), OAPI (BF, BJ, CF, CG, CI, 4C kJ CM, GA, GN, GQ, GW, KM, ML, MR, NE, SN, TD, _ iRMTrtA (z T j 21 N(3))o TG)o