Patent AU-2019204729-B2 (AU)
Title: Processing blockchain data based on smart contract operations executed in a trusted execution environment
Inventor: WEI CHANGZHENG
IPC: G06F21/62
Filed: 2019-04-03
Granted: 2021-03-11
Abstract: INTERNATIONAL APPLICATION PUBLISHED UNDER THE PATENT COOPERATION TREATY (PCT) 
(19) World Intellectual Property 
(1) Organization11111111111111111111111I1111111111111i1111liiiii 
International Bureau (10) International Publication Number 
(43) International Publication Date W O 2019/120327 A2 
27 June 2019 (27.06.2019) W IPO I PCT 
(51) International Patent Classification: West Wen Yi Road, Yu Hang District, Hangzhou, Zhejiang 
Not classified 311121 (CN).  
(21) International Application Number: (74) Agent: BEIJING BESTIPR INTELLECTUAL PROP
PCT/CN2019/081180 ERTY LAW CORPORATION; Room 409, Tower B, Ka 
(22) International Filing Date: Wal Building, No. 9 Shangdi 3rd Street, Haidian District, 
03 April 2019 (03.04.2019) Beijing 100085 (CN).  
(25) Filing Language: English (81) Designated States (unless otherwise 
indicated, for every 
kind of national protection available) AE, AG, AL, AM, 
(26) Publication Language: English AO, AT, AU, AZ, BA, BB, BG, BH, BN, BR, BW, BY, BZ, 
(71) Applicant: ALIBABA GROUP HOLDING LIMITED Z, C, EEEE ,F , BG DE, H, M, GTH , 
[-/CN]; Fourth Floor, One Capital Place, P.O. Box 847, HR, HU,I, , IN, IR, JO, JP, RE, KG, RH, KN, RP, 
GeorgeTown,GrandCayman(KY). KR, KW, KZ, LA, LC, LK, LR, LS, LU, LY, MA, MD, ME, 
(72) Inventors: WEI, Changzheng; Alibaba Group Legal De- MG, MK, MN, MW, MX, MY, MZ, NA, NG, NI, NO, NZ, 
partment 5/F, Building 3, No. 969 West Wen Yi Road, Yu OM, PA, PE, PG, PH, PL, PT, QA, RO, RS, RU, RW, SA, 
Hang District, Hangzhou, Zhejiang 311121 (CN). YAN, SC, SD, SE, SG, SK, SL, SM, ST, SV, SY, TH, TJ, TM, TN, 
Ying; Alibaba Group Legal Department 5/F, Building 3, TR, TT, TZ, UA, UG, US, UZ, VC, VN, ZA, ZM, ZW.  
No. 969 West Wen Yi Road, Yu Hang District, Hangzhou, (84) Designated States (unless otherwise indicated, for every 
Zhejiang 311121 (CN). ZHAO, Boran; Alibaba Group Le- kind of regional protection available): ARIPO (BW, GH, 
galDepartment5/F,Building3,No.969WestWenYi GM, KE, LR, LS, MW, MZ, NA, RW, SD, SL, ST, SZ, TZ, 
Road, Yu Hang District, Hangzhou, Zhejiang 311121 (CN). UG,ZM,ZW),Eurasian(AM,AZ,BY,KG,KZ,RU,TJ, 
SONG, Xuyang; Alibaba Group Legal Department 5/F' TM), European(AL,AT, BE,BG, CH, CY, CZ, DE, DK, 
Building 3, No. 969 West Wen Yi Road, Yu Hang Dis- EEESFIFRGBGRHRHUIEISITLTLULV 
trict, Hangzhou, Zhejiang 311121 (CN). DU, Huabing; Al- MC, MK, MT, NL, NO, PL, PT,RO, RS, SE,SI, SK, SM, 
ibaba Group Legal Department 5/F, Building 3, No. 969 
(54) Title: PROCESSING BLOCKCHAIN DATA BASED ON SMART CONTRACT OPERATIONS EXECUTED IN A TRUSTED 
EXECUTION ENVIRONMENT 
(57) Abstract: Disclosed herein are methods, systems, and apparatus, in
300 cluding computer programs encoded on computer storage media, forpro
302 cessing blockchain data under a trusted execution environment (TEE).  
2 One of the methods includes receiving, by a blockchain node, a request 
Trusted cmpuiN base(TcB) 306 to execute one or more software instructions in a TEE executing on the 
304e l blockchain node; determining, by a virtual machine in the TEE, data as
304-> - sociated with one or more blockchain accounts to execute the one or 
more software instructions based on the request; traversing, by the vir
308 wrldse tual machine, a global state of a blockchain stored in the TEE to locate 
-2the data; and executing, by the virtual machine, the one or more software 
- 312 
instructions based on the data.  
state state 
-314 316 318 320 
324 Bc 322 
326- 328 
Oc" -330 
FG332 .  
o FIG. 3
W O 2019/120327 A2||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
TR), OAPI (BF, BJ, CF, CG, CI, CM, GA, GN, GQ, GW, 
KM, ML, MR, NE, SN, TD, TG).  
Published: 
- upon request of the applicant, before the expiration of the 
time limit referred to in Article 2](2)(a) 
- without international search report and to be republished 
upon receipt of that report (Rule 48.2(g))