Patent AU-2019207311-B2 (AU)
Title: Securely executing smart contract operations in a trusted execution environment
Inventor: WEI CHANGZHENG
IPC: G06F21/53
Filed: 2019-04-26
Granted: 2020-10-29
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/137564 A2 
18 July 2019 (18.07.2019) W IPO I PCT 
(51) International Patent Classification: Ying; Alibaba Group Legal Department 5/F, Building 3, 
Not classified No.969 West Wen Yi Road, Yu Hang District, Hangzhou, 
(21) International Application Number: Zhejiang 311121 (CN). ZHAO, Boran; Alibaba 
Group 
PCT/CN2019/084523 Legal Department 5/F, Building 3, No.969 West 
Wen Yi 
Road, Yu Hang District, Hangzhou, Zhejiang 311121 (CN).  
(22) International Filing Date: SONG, Xuyang; Alibaba Group Legal Department 5/F, 
26 April 2019 (26.04.2019) Building 3, No.969 West Wen Yi Road, Yu Hang District, 
Hangzhou, Zhejiang 311121 (CN). DU, Huabing; Alibaba 
(25)FilingLanguage: English GroupLegal Department 5/F, Building 3, No.969 WestWen 
(26) Publication Language: English Yi Road, Yu Hang District, Hangzhou, Zhejiang 311121 
(71) Applicant: ALIBABA GROUP HOLDING LIMITED 
(CN).  
[-/CN]; Fourth Floor, One Capital Place, P.O. BOX 847, (74) Agent: BEIJING BESTIPR INTELLECTUAL PROP
George Town, Grand Cayman (KY). ERTY LAW CORPORATION; Room 409, Tower B, Ka 
Wah Building, No. 9Shangdi 3rd Street, Haidian District, 
(72) Inventors: WEI, Changzheng; Alibaba Group Legal De- Biing N.  
partment 5/F, Building 3, No.969 West Wen Yi Road, Yu Beijing100085(CN).  
Hang District, Hangzhou, Zhejiang 311121 (CN). YAN, (81) Designated States (unless otherwise indicated, for every 
kind of national protection available) AE, AG, AL, AM, 
(54) Title: SECURELY EXECUTING SMART CONTRACT OPERATIONS IN A TRUSTED EXECUTION ENVIRONMENT 
o304a46 
466 
456 ___i 
408 410 12 U4 6 
trip key r aciE 4 2 404 46 
E] Ro 40keyameeen 308 4d00g 
6-
FIG. 4 
(57) Abstract: Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage me
" dia, for securely executing smart contract operations in a trusted execution environment (TEE). One of the methods includes receiving, 
by a blockchain node participating in a blockchain network, a request to execute one or more software instructions in a service TEE 
hosted by the blockchain node, wherein the request is encrypted by a public key associated with the service TEE; decrypting the request 
enlwith a first private key associated with the service TEE, wherein the first private key is paired with the public key; in response to 
7 decrypting the request, executing the one or more software instructions to produce an execution result; encrypting the execution result 
with a client encryption key associated with the service TEE to produce an encrypted result; and signing the encrypted result using a 
second private key associated with the TEE to produce a signed encrypted result.
W O 20 19/137564 A 21||1||||||||||||||||||||||||||||||iii|||||||||||||||||||||||||||||||||||| 
AO, AT, AU, AZ, BA, BB, BG, BH, BN, BR, BW, BY, BZ, 
CA, CH, CL, CN, CO, CR, CU, CZ, DE, DJ, DK, DM, DO, 
DZ, EC, EE, EG, ES, Fl, GB, GD, GE, GH, GM, GT, HN, 
HR, HU, ID, IL, IN, IR, IS, JO, JP, KE, KG, KH, KN, KP, 
KR, KW, KZ, LA, LC, LK, LR, LS, LU, LY, MA, MD, ME, 
MG, MK, MN, MW, MX, MY, MZ, NA, NG, NI, NO, NZ, 
OM, PA, PE, PG, PH, PL, PT, QA, RO, RS, RU, RW, SA, 
SC, SD, SE, SG, SK, SL, SM, ST, SV, SY, TH, TJ, TM, TN, 
TR, TT, TZ, UA, UG, US, UZ, VC, VN, ZA, ZM, ZW.  
(84) Designated States (unless otherwise indicated, for every 
kind of regional protection available): ARIPO (BW, GH, 
GM, KE, LR, LS, MW, MZ, NA, RW, SD, SL, ST, SZ, TZ, 
UG, ZM, ZW), Eurasian (AM, AZ, BY, KG, KZ, RU, TJ, 
TM), European (AL, AT, BE, BG, CH, CY, CZ, DE, DK, 
EE, ES, Fl, FR, GB, GR, HR, HU, IE, IS, IT, LT, LU, LV, 
MC, MK, MT, NL, NO, PL, PT, RO, RS, SE, SI, SK, SM, 
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))