Patent SG-11201811008R-A (SG)
Title: A blockchain-implemented control method and system for controlling an external process or system
Inventor: CHAN YING
IPC: G06F21/30
Filed: 2017-06-30
Abstract: vinIP n mion rir ti nSequ • n Set to 0 hr.sh scriptSiglvm scri ptSig Sequeu Set to 0 vin[1] vin [2] scriptSig) ri p7 Sie nSe uvn nVa lue Set to 0 Set to 0 vout[0] scrip PubKeyLen scrip PubKey LOCkTime (12) INTERNATIONAL APPLICATION PUBLISHED UNDER THE PATENT COOPERATION TREATY (PCT) (19) World Intellectual Property Organization International Bureau (43) International Publication Date 11 January 2018 (11.01.2018) WIP0 I PCT 0111111010 0111 °nolo olonmin VIII oimIE (10) International Publication Number WO 2018/007916 Al (51) International Patent Classification: G06Q 20/06 (2012.01) G06F 21/30 (2013.01) G06Q 20/36 (2012.01) G06Q 10/06 (2012.01) (21) International Application Number: PCT/IB2017/053957 (22) International Filing Date: 30 June 2017 (30.06.2017) (25) Filing Language: English (26) Publication Language: English (30) Priority Data: 1611698.0 05 July 2016 (05.07.2016) GB (71) Applicant: NCHAIN HOLDINGS LIMITED [AG/AG]; Fitzgerald House, 44 Church Street, St. John's (AG). (72) Inventor: CHAN, Ying; c/o Urquhart-Dykes & Lord LLP, 7th Floor Churchill House, Churchill Way, Cardiff CF10 2HH (GB). (81) Designated States (unless otherwise indicated, for every kind of national protection available): AE, AG, AL, AM, 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, FI, 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, (54) Title: A BLOCKCHAIN-IMPLEMENTED CONTROL METHOD AND SYSTEM FOR CONTROLLING AN EXTERNAL PROCESS OR SYSTEM Figure 1 Transaction nVersion #vin hash n vin [0] scriptSigLen scriptSig nSequence hash n vin[1] scriptSigLen scriptSig nSequence hash n vin [2] scriptSigLen scriptSig nSequence #vout nValue vout[0] scriptPubKeyLen script Pub Key nLockTime SIGHASH_ALL 4iVgision \ ‘ 4Vii t is bash vin[0] kr.ri pt .',Igl.r:n <cri r,[ Cll , i . i kg.;,equence Liksh vin[1] scri ptSigLen scriptSig nSei men, e bash k vin[21 kr.riptSigLen ii <cri r,[ Cll , M.,$ ,- rquence 'a/aloe. vout[0] sere pLF ul, IC' yl,r) t cn pt F uk lc ••,,, 111 ol ',Tim ... SIGHASH_NONE Input by Owner SIGHASH_ALL Input by Alice SIGHASH_NONE Input by Bob SIGHASH_NONE Output can only be modified by Owner N O O 00 O N C Included in Signature Hash Not included in Signature Hash (57) : The invention provides a computer-implemented method and corresponding system which is implemented using an electronic ledger such as a blockchain. This may or may not be the Bitcoin blockchain. The invention can be used to implement, execute and/or control the performance of a task or process. A method according to the invention comprises the steps of generating a blockchain Transaction which comprises: at least one signed input which comprises a value; and at least one modifiable output. It further comprises the step of extracting the value from the signed input and providing it to a portion of logic to obtain a result; and using the result to modify the output of the Transaction. The transaction provides a record and/or representation of the execution of the portion of logic and/or the result. The signed input is provided to the Transaction using an unlocking script. The at least one input is signed using a signature hash type which renders the input as non-modifiable. This may be the signature hash type SIGHASH_NONE. The Transaction may further comprise at least one unsigned input. The unsigned input may be signed after the output has been modified. The unsigned input can be signed using a signature hash type which prevents modification of the whole Transaction, and may be the signature hash [Continued on next page] WO 2018/007916 Al MIDEDIMOMOIDEIREEMOOVIMHOIROMEHMIE UG, ZM, ZW), Eurasian (AM, AZ, BY, KG, KZ, RU, TJ, TM), European (AL, AT, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, 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: — with international search report (Art. 21(3)) type is SIGHASH_ALL. Further the value can be embedded in a public key associated with the signed input; and extracted from the public key so as to provide it to the portion of logic. The portion of logic can be arranged to implement the functionality of a logic gate or combination of gates, such as an AND, NOT, OR, NOR, XOR, IMPLY, NAND, NONIMPLY or XNOR gate. Thus, the invention provides a highly versatile and useful technical approach for implementing tasks using a blockchain.