Patent AU-2019204730-B2 (AU)
Title: Processing and storing blockchain data under a trusted execution environment
Inventor: WEI CHANGZHENG
IPC: G06F21/53
Filed: 2019-04-03
Granted: 2020-10-15
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/120328 A2 
27 June 2019 (27.06.2019) W IPO I PCT 
(51) International Patent Classification: Yi Road, Yu Hang District, Hangzhou, Zhejiang 311121 
Not classified (CN).  
(21) International Application Number: (74) Agent: BEIJING BESTIPR INTELLECTUAL PROP
PCT/CN2019/081182 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 , B, D E, H, M B, , 
[-/CN]; Fourth Floor, One Capital Place, P.O. BOX 847, HR, HU, ID, IL,IN, IR, IS, JO, , E, 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 kind of regional protection available): ARIPO (BW, GH, 
LegalDepartment5/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 District, EEESFIFRGBGRHRHUlIEISITLTLULV 
Hangzhou, Zhejiang 311121 (CN). DU, Huabing; Alibaba 
Group Legal Department 5/F, Building 3, No.969 West Wen MC,MK,MT,NLNO,PL,PT,RO,RS,SE,SISK,SM, 
(54) Title: PROCESSING AND STORING BLOCKCHAIN DATA UNDER A TRUSTED EXECUTION ENVIRONMENT 
(57) Abstract: Disclosed herein are methods, systems, and apparatus, includ
300 ing computer programs encoded on computer storage media, for processing 
blockchain data under a trusted execution environment (TEE). One of the 
302 methods includes receiving, by a blockchain node, a request to execute one 
rusted Computing Base(TCB) 1 or more software instructions in a TEE executing on the blockchain node; de
termining, by a virtual machine in the TEE, data associated with one or more 
304>[____________maI_ blockchain accounts to execute the one or more software instructions based 
on the request; traversing, by the virtual machine, an internal cache hash table 
stored in the TEE to determine whether the data are included in the internal 
30O8 i I cahenashT Cache cache hashtable; and in response to determining that the data is included in the 
internal cache hash table, executing, by the virtual machine, the one or more 
software instructions by retrieving the data from the internal cache hash table.  
313-312 
ocal_- 1 
310 Extenal Cache Hash Table 
3120 
Database 
314 world state 
0 sa316-tte 318 2 
FI.0
W O 202019/120328 A2||||||||||||||||||||||||||||||||||||||||||||||||||11111||||||II 
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))