WO2018205730A1 - Method and device for obtaining smart contract interface in blockchain - Google Patents

Method and device for obtaining smart contract interface in blockchain Download PDF

Info

Publication number
WO2018205730A1
WO2018205730A1 PCT/CN2018/078517 CN2018078517W WO2018205730A1 WO 2018205730 A1 WO2018205730 A1 WO 2018205730A1 CN 2018078517 W CN2018078517 W CN 2018078517W WO 2018205730 A1 WO2018205730 A1 WO 2018205730A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart contract
interface
definition data
interface definition
information
Prior art date
Application number
PCT/CN2018/078517
Other languages
French (fr)
Chinese (zh)
Inventor
陈曦
Original Assignee
上海点融信息科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海点融信息科技有限责任公司 filed Critical 上海点融信息科技有限责任公司
Publication of WO2018205730A1 publication Critical patent/WO2018205730A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the invention relate to a method and device for obtaining a smart contract interface in a blockchain. The method comprises: creating a smart contract; analyzing the smart contract to extract information of a functional interface in the smart contract; on the basis of the information of the functional interface, generating interface definition data of the smart contract; and adding the interface definition data into the smart contract. Also disclosed is a corresponding equipment. In addition, the embodiments of the invention also provide a corresponding method and device for calling the smart contract. The embodiments of the invention put forward a scheme for obtaining a smart contract interface in a blockchain, effectively solve the problem that the smart contract interface cannot be directly obtained on the chain, and enhance user friendliness of the smart contract.

Description

在区块链中获得智能合约接口的方法和设备Method and apparatus for obtaining a smart contract interface in a blockchain 技术领域Technical field
本公开的实施例总体上涉及区块链技术,并且具体地,涉及一种在区块链中获得智能合约接口的方法和设备。Embodiments of the present disclosure generally relate to blockchain techniques and, in particular, to a method and apparatus for obtaining a smart contract interface in a blockchain.
背景技术Background technique
区块链的快速发展与智能合约的提出和使用密切相关。智能合约是一套以数字形式定义的承诺,包括合约参与方约定的权利和义务。数字形式是指承诺需要以可读代码形式写入机器中,只要参与方达成协定,智能合约建立的权利和义务即由机器或网络系统执行得以保证。The rapid development of blockchain is closely related to the presentation and use of smart contracts. A smart contract is a set of commitments defined in digital form, including the rights and obligations agreed upon by the contract participants. The digital form means that the commitment needs to be written into the machine in readable code. As long as the parties reach an agreement, the rights and obligations established by the smart contract are guaranteed by the machine or network system.
基于区块链技术的智能合约不仅可以发挥智能合约在成本效率方面的优势,而且可以避免恶意行为对合约正常执行的干扰。将智能合约以数字化的形式写入区块链中,由区块链技术的特性保障存储、读取、执行整个过程透明可跟踪、不可攥改。同时,由区块链自带的共识算法构建出一套状态机系统,使得智能合约能够高效地运行。Smart contracts based on blockchain technology can not only take advantage of the cost-efficiency of smart contracts, but also avoid the interference of malicious behavior on the normal execution of contracts. The smart contract is written into the blockchain in a digitized form. The characteristics of the blockchain technology ensure that the entire process of storage, reading and execution is transparent and traceable and cannot be tampered with. At the same time, a set of state machine systems is built up by the consensus algorithm of the blockchain, so that the smart contract can run efficiently.
目前,智能合约的接口定义以及智能合约的区块链上代码是处于完全分离的状态。也就是说,智能合约的创建者需要在链下将智能合约的接口信息发送给智能合约的调用者,以便其能够实现智能合约的预期功能。另外,在智能合约接口出现升级的情况下,还需要额外告知调用者更新后的信息。由此,给智能合约的应用带来不便。Currently, the interface definition of smart contracts and the code on the blockchain of smart contracts are in a completely separate state. That is to say, the creator of the smart contract needs to send the interface information of the smart contract to the caller of the smart contract under the chain, so that it can realize the expected function of the smart contract. In addition, in the case of an upgrade of the smart contract interface, it is necessary to additionally inform the caller of the updated information. As a result, it is inconvenient for the application of smart contracts.
发明内容Summary of the invention
有鉴于此,期望的是提供一种解决方案用以获得区块链中的智能合约接口,从而促进智能合约的应用。In view of this, it is desirable to provide a solution to obtain a smart contract interface in a blockchain to facilitate the application of smart contracts.
总体上,本公开的实施例提出了在区块链中获得智能合约接口的方法和设备。In general, embodiments of the present disclosure propose methods and apparatus for obtaining a smart contract interface in a blockchain.
在本公开的第一方面,提供一种用于在区块链中获得智能合约接口的方法。该方法包括:创建智能合约;通过解析智能合约来提取智能合约中的功能接口的信息;基于功能接口的信息,生成智能合约的接口定义数据; 以及将接口定义数据添加到智能合约中。In a first aspect of the present disclosure, a method for obtaining a smart contract interface in a blockchain is provided. The method includes: creating a smart contract; extracting information of a functional interface in the smart contract by parsing the smart contract; generating interface definition data of the smart contract based on the information of the functional interface; and adding the interface definition data to the smart contract.
在某些实施例中,生成接口定义数据包括:基于功能接口的信息,以结构化数据交换格式表示接口定义数据。In some embodiments, generating the interface definition data includes representing the interface definition data in a structured data exchange format based on the information of the functional interface.
在某些实施例中,将接口定义数据添加到智能合约中包括:基于接口定义数据,生成用以获取接口定义数据的获取函数;以及将获取函数添加到智能合约中。In some embodiments, adding interface definition data to the smart contract includes: generating an acquisition function to obtain interface definition data based on the interface definition data; and adding the acquisition function to the smart contract.
在某些实施例中,在添加之后还包括:编译智能合约,以生成字节码而促进智能合约到区块链中的部署。In some embodiments, after adding, the smart contract is compiled to generate bytecode to facilitate deployment of the smart contract to the blockchain.
在本公开的第二方面,提供一种用于在区块链中获得智能合约接口的方法。该方法包括:基于智能合约的合约地址,调用用以获取智能合约的接口定义数据的获取函数;以及解析获取函数,以得到智能合约的接口定义数据。In a second aspect of the present disclosure, a method for obtaining a smart contract interface in a blockchain is provided. The method includes: calling an acquisition function of an interface definition data for acquiring a smart contract based on a contract address of the smart contract; and parsing the acquisition function to obtain interface definition data of the smart contract.
在某些实施例中,该方法还包括:从接口定义数据获取智能合约中的功能接口的信息;以及基于功能接口的信息,调用智能合约中的功能接口。In some embodiments, the method further comprises: obtaining information of the functional interface in the smart contract from the interface definition data; and invoking a functional interface in the smart contract based on the information of the functional interface.
在本公开的第三方面,提供一种电子设备。该电子设备包括:处理器;存储器,耦合至处理器并且存储有指令,指令在由处理器执行时使电子设备执行以下动作:创建智能合约;通过解析智能合约来提取智能合约中的功能接口的信息;基于功能接口的信息,生成智能合约的接口定义数据;以及将接口定义数据添加到智能合约中。In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a processor; a memory coupled to the processor and storing instructions that, when executed by the processor, cause the electronic device to perform the following actions: creating a smart contract; extracting a functional interface in the smart contract by parsing the smart contract Information; based on the information of the functional interface, generating interface definition data for the smart contract; and adding the interface definition data to the smart contract.
在本公开的第四方面,提供一种电子设备。该电子设备包括:处理器;存储器,耦合至处理器并且存储有指令,指令在由处理器执行时使电子设备执行以下动作:基于智能合约的合约地址,调用用以获取智能合约的接口定义数据的获取函数;以及解析获取函数,以得到智能合约的接口定义数据。In a fourth aspect of the present disclosure, an electronic device is provided. The electronic device includes a processor, a memory coupled to the processor and storing instructions that, when executed by the processor, cause the electronic device to perform an action of: calling interface definition data for acquiring a smart contract based on a contractual address of the smart contract; The get function; and the parse get function to get the interface definition data of the smart contract.
根据本发明的第五方面,提供一种计算机可读存储介质,其具有存储在其上的计算机可读程序指令,计算机可读程序指令用于执行根据本公开的第一方面和第二方面所描述的方法。According to a fifth aspect of the invention there is provided a computer readable storage medium having computer readable program instructions stored thereon for performing the first and second aspects of the present disclosure The method described.
本公开的实施例提出了在区块链中获得智能合约接口的方案,其有效解决了无法直接在链上获取智能合约接口的问题,并且增强了智能合约的 用户友好性。Embodiments of the present disclosure propose a scheme for obtaining a smart contract interface in a blockchain, which effectively solves the problem that the smart contract interface cannot be directly acquired on the chain, and enhances the user-friendliness of the smart contract.
附图说明DRAWINGS
结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. In the figures, the same or similar reference numerals indicate the same or similar elements, in which:
图1示出了根据本公开一个实施例的获得智能合约接口的方法的示例流程图;FIG. 1 illustrates an example flow diagram of a method of obtaining a smart contract interface in accordance with one embodiment of the present disclosure;
图2示出了根据本公开另一实施例的获得智能合约接口的方法的示例流程图;以及2 illustrates an example flow diagram of a method of obtaining a smart contract interface, in accordance with another embodiment of the present disclosure;
图3示出了根据本公开的一些实施例的设备的框图。FIG. 3 shows a block diagram of a device in accordance with some embodiments of the present disclosure.
具体实施方式detailed description
现将结合附图对本公开的实施例进行具体的描述。应当注意的是,附图中对相似的部件或者功能组件可能使用同样的数字标示。所附附图仅仅旨在说明本公开的实施例。本领字段的技术人员可以在不偏离本公开精神和保护范围的基础上从下述描述得到替代的实施方式。The embodiments of the present disclosure will now be specifically described in conjunction with the drawings. It should be noted that like reference numerals may be used in the drawings. The attached drawings are only intended to illustrate embodiments of the present disclosure. Alternative embodiments can be derived from the following description without departing from the spirit and scope of the disclosure.
如本文中所述,术语"包括"及其各种变体可以被理解为开放式术语,其意味着"包括但不限于"。术语"基于"可以被理解为"至少部分地基于"。术语"一个实施例"可以被理解为"至少一个实施例"。术语"另一实施例"可以被理解为"至少一个其它实施例"。As used herein, the term "comprise" and its various variants may be understood to mean an open term, which means "including but not limited to". The term "based on" can be understood to mean "based at least in part." The term "one embodiment" may be taken to mean "at least one embodiment." The term "another embodiment" may be understood to mean "at least one other embodiment."
基于区块链的智能合约包括事务处理和保存的机制以及一个完备的状态机,以用于接受和处理各种智能合约;并且事务的保存和状态处理都在区块链上完成。事务主要包含需要发送的数据;而事件则是对这些数据的描述信息。事务及事件信息传入智能合约后,合约资源集合中的资源状态会被更新,进而触发智能合约进行状态机判断。如果自动状态机中某个或某几个动作的触发条件满足,则由状态机根据预设信息选择合约动作自动执行。Blockchain-based smart contracts include transaction processing and preservation mechanisms and a complete state machine for accepting and processing various smart contracts; and transaction preservation and state processing are done on the blockchain. The transaction mainly contains the data that needs to be sent; the event is the description of the data. After the transaction and event information is passed into the smart contract, the resource status in the contract resource set is updated, which in turn triggers the smart contract for state machine judgment. If the trigger condition of one or several actions in the automatic state machine is satisfied, the state machine automatically executes the contract action according to the preset information.
如前所述,区块链中的智能合约应用日趋增多,但是智能合约的接口信息需要通过链下方式将智能合约的接口发送给智能合约的调用者。为促 进理解,示例(1)示出了区块链智能合约的一个示例性实例。As mentioned earlier, the smart contract application in the blockchain is increasing, but the interface information of the smart contract needs to send the interface of the smart contract to the caller of the smart contract through the chain. To promote understanding, Example (1) shows an illustrative example of a blockchain smart contract.
示例代码(1)Sample code (1)
Figure PCTCN2018078517-appb-000001
Figure PCTCN2018078517-appb-000001
作为示例,具体地,以上智能合约Coin由一组代码(智能合约的函数、调用的方法或称之为事务和事件)和数据(智能合约的状态)组成,其实现形式简单的加密货币。其中,被用户或者其他合约调用以用来完成该合约功能的函数包括mint和send。该示例代码表明,如果智能合约创建者之外的其他人调用函数mint,什么都不会发生;而函数send可以被拥有一定数量的代币的任何用户调用,以发送一些代币给其他用户。As an example, in particular, the above smart contract Coin consists of a set of code (a function of a smart contract, a called method or a transaction and an event) and data (a state of a smart contract) that implements a simple cryptocurrency. Among them, the functions called by the user or other contract to complete the contract function include mint and send. The sample code shows that nothing happens if someone other than the smart contract creator calls the function mint; the function send can be called by any user with a certain number of tokens to send some tokens to other users.
当智能合约的调用者需要调用智能合约Coin时,其需要知道智能合约的接口信息,例如调用函数的名称、参数等。如前所述,当前这些信息需要由智能合约的创建者在区块链之外通过其他途径传递给调用者。当智能合约的接口出现变化时,同样需要告知调用者更新后的接口信息。When the caller of a smart contract needs to call the smart contract Coin, it needs to know the interface information of the smart contract, such as the name of the calling function, parameters, and so on. As mentioned earlier, this information needs to be passed to the caller by the creator of the smart contract through other means outside the blockchain. When the interface of the smart contract changes, it is also necessary to inform the caller of the updated interface information.
本公开的实施例提出一种获得智能合约接口的方案,将智能合约的接 口定义和区块链上源码进行统一管理,从而避免链下传递智能合约接口到调用方。The embodiment of the present disclosure proposes a scheme for obtaining a smart contract interface, which manages the interface definition of the smart contract and the source code on the blockchain, thereby avoiding the delivery of the smart contract interface to the caller under the chain.
图1示出了根据本公开一个实施例的获得智能合约接口的方法100的示例流程图。可以理解,方法100可以由智能合约创建方执行。FIG. 1 illustrates an example flow diagram of a method 100 of obtaining a smart contract interface, in accordance with one embodiment of the present disclosure. It will be appreciated that the method 100 can be performed by a smart contract creator.
在110,创建智能合约。根据需要,智能合约创建方可以创建智能合约,例如以合适的语言编写智能合约,诸如Solidity、Serpent等。示例(1)为以当前最流行的智能合约语言Solidity创建的智能合约。At 110, create a smart contract. Smart contract creators can create smart contracts, such as writing smart contracts in the appropriate language, such as Solidity, Serpent, etc., as needed. Example (1) is a smart contract created with the current most popular smart contract language Solidity.
接下来,在120,通过解析智能合约来提取智能合约中的功能接口的信息。在一个实施例中,通过解析智能合约源码,提取智能合约中的功能接口或函数的相关信息,例如函数名称、函数参数等。例如在示例1中,用以调用send函数的相关信息。Next, at 120, the information of the functional interface in the smart contract is extracted by parsing the smart contract. In one embodiment, the relevant information of the functional interface or function in the smart contract, such as the function name, function parameters, etc., is extracted by parsing the smart contract source code. For example, in Example 1, the related information for calling the send function is called.
在130,基于功能接口的信息,生成智能合约的接口定义数据。在一个示例中,基于功能接口的信息,以结构化数据交换格式表示该接口定义数据。这些格式可以包括诸如基于JavaScript语言的轻量级的数据交换(JSON)、可扩展标记语言(XML)、另一种标记语言(YAML)等。At 130, based on the information of the functional interface, interface definition data of the smart contract is generated. In one example, the interface definition data is represented in a structured data exchange format based on information of the functional interface. These formats may include lightweight data exchange (JSON) based on the JavaScript language, Extensible Markup Language (XML), another markup language (YAML), and the like.
为了简化示例以促进理解,示例(2)给出了简单合约test用以进一步说明本公开的实施例。To simplify the example to facilitate understanding, Example (2) gives a simple contract test to further illustrate an embodiment of the present disclosure.
示例代码(2)Sample code (2)
contract test{Contract test{
function multiply(uint a)returns(uint d){return a*7;}Function multiply(uint a)returns(uint d){return a*7;}
}}
根据本公开的一个实施例,可以提取诸如示例合约test的接口信息,并生成接口定义数据。例如如下:According to one embodiment of the present disclosure, interface information such as an example contract test may be extracted and interface definition data generated. For example, as follows:
[{"constant":false,"inputs":[{"name":"a","type":"uint256"}],"name":"multiply","outputs":[{"name":"d","type":"uint256"}],"payable":false,"type":"function"}][{"constant":false,"inputs":[{"name":"a","type":"uint256"}],"name":"multiply","outputs":[{"name": "d", "type": "uint256"}], "payable": false, "type": "function"}]
在140,将接口定义数据添加到智能合约中。根据本公开的一个实施例,基于接口定义数据,生成用以获取接口定义数据的获取函数,并将该获取函数添加到智能合约中。At 140, interface definition data is added to the smart contract. According to an embodiment of the present disclosure, based on the interface definition data, an acquisition function to acquire interface definition data is generated, and the acquisition function is added to the smart contract.
例如,对于示例合约test,可以生成获取函数getABI,并将getABI添加到合约test中。示例代码如下:For example, for the example contract test, you can generate the get function getABI and add getABI to the contract test. The sample code is as follows:
Figure PCTCN2018078517-appb-000002
Figure PCTCN2018078517-appb-000002
以此方式,将智能合约的接口定义和链上源码进行统一管理。接下来即可进行原有字节码生成过程。编译智能合约,以生成字节码而促进智能合约到区块链中的部署。In this way, the interface definition of the smart contract and the source code on the chain are managed in a unified manner. The original bytecode generation process can then be performed. Compile smart contracts to generate bytecode to facilitate the deployment of smart contracts into the blockchain.
当智能合约部署到区块链中之后,调用者可以获知智能合约的区块链地址。相应地,调用者可以根据合约地址,在链上调用接口获取函数,从而能够在链上继续实现具体逻辑操作。After the smart contract is deployed in the blockchain, the caller can know the blockchain address of the smart contract. Correspondingly, the caller can call the interface fetch function on the chain according to the contract address, so that the specific logical operations can be continued on the chain.
图2示出了根据本公开另一实施例的获得智能合约接口的方法200的示例流程图。可以理解,方法200可以由智能合约调用方执行。FIG. 2 illustrates an example flow diagram of a method 200 of obtaining a smart contract interface in accordance with another embodiment of the present disclosure. It will be appreciated that the method 200 can be performed by a smart contract caller.
在210,基于智能合约的合约地址,调用用以获取所述智能合约的接口定义数据的获取函数。根据本公开的一个实施例,智能合约调用方可以直接在链上获取智能合约接口,这是通过以如上所述的方法100而部署智能合约实现的。At 210, based on the contractual address of the smart contract, an acquisition function to obtain interface definition data for the smart contract is invoked. According to one embodiment of the present disclosure, the smart contract caller can obtain the smart contract interface directly on the chain by deploying the smart contract in the method 100 as described above.
在220,解析获取函数,以得到智能合约的接口定义数据。作为示例,例如调用方可以如下获取智能合约test的地址并解析获取函数。At 220, the fetch function is parsed to obtain the interface definition data for the smart contract. As an example, for example, the caller can obtain the address of the smart contract test and parse the get function as follows.
contractEmpty=contract().address(address);contractEmpty=contract().address(address);
abi=json.parse(decode(contractEmpty.getABI))Abi=json.parse(decode(contractEmpty.getABI))
根据本公开的实施例,方法200还包括从接口定义数据获取智能合约中的功能接口的信息;以及基于功能接口的所述信息,调用智能合约中的功能接口。例如,可以如下来调用智能合约test中的功能接口。According to an embodiment of the present disclosure, the method 200 further includes obtaining information of a function interface in the smart contract from the interface definition data; and invoking a function interface in the smart contract based on the information of the function interface. For example, the functional interface in the smart contract test can be called as follows.
contractExample=contract(abi).address(address);contractExample=contract(abi).address(address);
contractExample.multiply(123);contractExample.multiply(123);
由此,智能合约调用方不需要从链下获得智能合约接口定义,而是根据合约地址,调用getABI接口,在获得返回结果后,再继续调用其它功能接口,从而实现具体逻辑操作。Therefore, the smart contract caller does not need to obtain the smart contract interface definition from the chain, but calls the getABI interface according to the contract address. After obtaining the return result, it continues to call other functional interfaces to implement specific logical operations.
通过以上所描述的本公开的实施例,提供了在区块链中获得智能合约接口的方案。该方案实现相对简捷,便于智能合约应用,并且提高了智能合约的用户友好性。Through the embodiments of the present disclosure described above, a scheme of obtaining a smart contract interface in a blockchain is provided. The solution is relatively simple, easy to use for smart contracts, and improves the user-friendliness of smart contracts.
图3图示了可以用来实施本公开的实施例的电子设备300的示意性框图。应当理解,电子设备300可以被实现为智能合约创建或调用设备,或者电子设备300也可以被实现为智能合约创建或调用设备中的任一个模块。如图3所示,设备300包括中央处理单元(CPU)301(例如处理器),其可以根据存储在只读存储器(ROM)302中的计算机程序指令或者从存储单元308加载到随机访问存储器(RAM)303中的计算机程序指令,来执行各种适当的动作和处理。在RAM 303中,还可存储设备300操作所需的各种程序和数据。CPU 301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。FIG. 3 illustrates a schematic block diagram of an electronic device 300 that can be used to implement embodiments of the present disclosure. It should be understood that the electronic device 300 can be implemented as a smart contract creation or calling device, or the electronic device 300 can also be implemented as any one of the smart contract creation or calling devices. As shown in FIG. 3, device 300 includes a central processing unit (CPU) 301 (e.g., a processor) that can be loaded into random access memory from computer program instructions stored in read only memory (ROM) 302 or from storage unit 308 ( Computer program instructions in RAM) 303 to perform various appropriate actions and processes. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input/output (I/O) interface 305 is also coupled to bus 304.
设备300中的多个部件连接至I/O接口305,包括:输入单元306,例如键盘、鼠标等;输出单元307,例如各种类型的显示器、扬声器等;存储单元308,例如磁盘、光盘等;以及通信单元309,例如网卡、调制解调器、无线通信收发机等。通信单元309允许设备300通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。A plurality of components in device 300 are coupled to I/O interface 305, including: input unit 306, such as a keyboard, mouse, etc.; output unit 307, such as various types of displays, speakers, etc.; storage unit 308, such as a magnetic disk, optical disk, etc. And a communication unit 309 such as a network card, a modem, a wireless communication transceiver, and the like. Communication unit 309 allows device 300 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
上文所描述的各种方法,例如方法100或200,可由处理单元301执行。例如,在一些实施例中,方法100或200可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元308。在一些实施例中,计算机程序的部分或者全部可以经由ROM 302和/或通信单元309而被载入和/或安装到设备300上。当计算机程序被加载到RAM 303并由CPU 301执行时,可以执行上文描述的方法100或200中的一个或多个动作或步骤。The various methods described above, such as method 100 or 200, may be performed by processing unit 301. For example, in some embodiments, method 100 or 200 can be implemented as a computer software program that is tangibly embodied in a machine readable medium, such as storage unit 308. In some embodiments, some or all of the computer program may be loaded and/or installed onto device 300 via ROM 302 and/or communication unit 309. When a computer program is loaded into RAM 303 and executed by CPU 301, one or more of the acts or steps of method 100 or 200 described above may be performed.
一般而言,本公开的各种示例实施例可以在硬件或专用电路、软件、固件、逻辑,或其任何组合中实施。某些方面可以在硬件中实施,而其他方面可以在可以由控制器、微处理器或其他计算设备执行的固件或软件中实施。当本公开的实施例的各方面被图示或描述为框图、流程图或使用某些其他图形表示时,将理解此处描述的方框、装置、系统、技术或方法可 以作为非限制性的示例在硬件、软件、固件、专用电路或逻辑、通用硬件或控制器或其他计算设备,或其某些组合中实施。In general, the various example embodiments of the present disclosure can be implemented in hardware or special purpose circuits, software, firmware, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which can be executed by a controller, microprocessor or other computing device. When the various aspects of the embodiments of the present disclosure are illustrated or described as a block diagram, a flowchart, or some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein may be non-limiting. Examples are implemented in hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof.
作为示例,可以用通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或者晶体管逻辑、分立硬件组件或用于执行本文所述的功能的任意组合来实现或执行结合本公开所描述的各种示例性的逻辑块、模块和电路。通用处理器可以是微处理器,或者,处理器也可以是任何普通的处理器、控制器、微控制器或者状态机。处理器也可以实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器与DSP内核的结合,或者任何其它此种结构。As an example, a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or The various exemplary logical blocks, modules, and circuits described in connection with the present disclosure are implemented or executed in any combination of the functions described herein. A general purpose processor may be a microprocessor, or the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, a combination of one or more microprocessors and a DSP core, or any other such structure.
作为示例,本公开的实施例可以在机器可执行指令的上下文中被描述,机器可执行指令诸如包括在目标的真实或者虚拟处理器上的器件中执行的程序模块中。一般而言,程序模块包括例程、程序、库、对象、类、组件、数据结构等,其执行特定的任务或者实现特定的抽象数据结构。在各实施例中,程序模块的功能可以在所描述的程序模块之间合并或者分割。用于程序模块的机器可执行指令可以在本地或者分布式设备内执行。在分布式设备中,程序模块可以位于本地和远程存储介质二者中。By way of example, embodiments of the present disclosure may be described in the context of machine-executable instructions, such as in a program module that is executed in a device on a real or virtual processor of a target. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, and the like that perform particular tasks or implement particular abstract data structures. In various embodiments, the functionality of the program modules may be combined or divided between the described program modules. Machine-executable instructions for program modules can be executed within a local or distributed device. In a distributed device, program modules can be located in both local and remote storage media.
用于实现本公开的方法的计算机程序代码可以用一种或多种编程语言编写。这些计算机程序代码可以提供给通用计算机、专用计算机或其他可编程的数据处理装置的处理器,使得程序代码在被计算机或其他可编程的数据处理装置执行的时候,引起在流程图和/或框图中规定的功能/操作被实施。程序代码可以完全在计算机上、部分在计算机上、作为独立的软件包、部分在计算机上且部分在远程计算机上或完全在远程计算机或服务器上执行。Computer program code for implementing the methods of the present disclosure can be written in one or more programming languages. The computer program code can be provided to a general purpose computer, a special purpose computer or a processor of other programmable data processing apparatus such that the program code, when executed by a computer or other programmable data processing apparatus, causes a flowchart and/or block diagram. The functions/operations specified in are implemented. The program code can execute entirely on the computer, partly on the computer, as a stand-alone software package, partly on the computer and partly on the remote computer or entirely on the remote computer or server.
在本公开的上下文中,机器可读介质可以是包含或存储用于或有关于指令执行系统、装置或设备的程序的任何有形介质。机器可读介质可以是机器可读信号介质或机器可读存储介质。机器可读介质可以包括但不限于电子的、磁的、光学的、电磁的、红外的或半导体系统、装置或设备,或其任意合适的组合。机器可读存储介质的更详细示例包括带有一根或多根导线的电气连接、便携式计算机磁盘、硬盘、随机存储存取器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或闪存)、光存 储设备、磁存储设备,或其任意合适的组合。In the context of the present disclosure, a machine-readable medium can be any tangible medium that contains or stores a program for or relating to an instruction execution system, apparatus, or device. The machine readable medium can be a machine readable signal medium or a machine readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of machine readable storage media include electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only Memory (EPROM or flash memory), optical storage device, magnetic storage device, or any suitable combination thereof.
另外,尽管操作以特定顺序被描绘,但这并不应该理解为要求此类操作以示出的特定顺序或以相继顺序完成,或者执行所有图示的操作以获取期望结果。在某些情况下,多任务或并行处理会是有益的。同样地,尽管上述讨论包含了某些特定的实施细节,但这并不应解释为限制任何发明或权利要求的范围,而应解释为对可以针对特定发明的特定实施例的描述。本说明书中在分开的实施例的上下文中描述的某些特征也可以整合实施在单个实施例中。反之,在单个实施例的上下文中描述的各种特征也可以分离地在多个实施例或在任意合适的子组合中实施。In addition, although the operations are depicted in a particular order, this should not be understood as requiring such operations to be performed in a particular order or in a sequential order, or all illustrated operations are performed to obtain the desired results. In some cases, multitasking or parallel processing can be beneficial. As such, the present invention is not to be construed as limiting the scope of the invention. Certain features that are described in this specification in the context of separate embodiments can also be implemented in a single embodiment. Conversely, various features that are described in the context of a single embodiment can be implemented in various embodiments or in any suitable sub-combination.
尽管已经以特定于结构特征和/或方法动作的语言描述了主题,但是应当理解,所附权利要求中限定的主题并不限于上文描述的特定特征或动作。相反,上文描述的特定特征和动作是作为实现权利要求的示例形式而被公开的。Although the subject matter has been described in language specific to structural features and/or methods, it is understood that the subject matter defined in the appended claims is not limited to the specific features or acts described. Instead, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (14)

  1. 一种用于在区块链中获得智能合约接口的方法,包括:A method for obtaining a smart contract interface in a blockchain, comprising:
    创建智能合约;Create a smart contract;
    通过解析所述智能合约来提取所述智能合约中的功能接口的信息;Extracting information of a functional interface in the smart contract by parsing the smart contract;
    基于所述功能接口的所述信息,生成所述智能合约的接口定义数据;以及Generating interface definition data of the smart contract based on the information of the function interface;
    将所述接口定义数据添加到所述智能合约中。Adding the interface definition data to the smart contract.
  2. 根据权利要求1所述的方法,其中生成所述接口定义数据包括:The method of claim 1 wherein generating the interface definition data comprises:
    基于所述功能接口的所述信息,以结构化数据交换格式表示所述接口定义数据。The interface definition data is represented in a structured data exchange format based on the information of the functional interface.
  3. 根据权利要求1所述的方法,其中将所述接口定义数据添加到所述智能合约中包括:The method of claim 1 wherein adding the interface definition data to the smart contract comprises:
    基于所述接口定义数据,生成用以获取所述接口定义数据的获取函数;以及Generating an acquisition function for acquiring the interface definition data based on the interface definition data;
    将所述获取函数添加到所述智能合约中。Adding the acquisition function to the smart contract.
  4. 根据权利要求1所述的方法,在所述添加之后还包括:The method of claim 1 further comprising, after said adding:
    编译所述智能合约,以生成字节码而促进所述智能合约到所述区块链中的部署。The smart contract is compiled to generate bytecode to facilitate deployment of the smart contract into the blockchain.
  5. 一种用于在区块链中获得智能合约接口的方法,包括:A method for obtaining a smart contract interface in a blockchain, comprising:
    基于智能合约的合约地址,调用用以获取所述智能合约的接口定义数据的获取函数;以及Retrieving an acquisition function for obtaining interface definition data of the smart contract based on a contractual address of the smart contract;
    解析所述获取函数,以得到所述智能合约的接口定义数据。The acquisition function is parsed to obtain interface definition data of the smart contract.
  6. 根据权利要求5所述的方法,还包括:The method of claim 5 further comprising:
    从所述接口定义数据获取所述智能合约中的功能接口的信息;以及Acquiring information of the functional interface in the smart contract from the interface definition data;
    基于所述功能接口的所述信息,调用所述智能合约中的功能接口。A function interface in the smart contract is invoked based on the information of the functional interface.
  7. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    存储器,耦合至所述处理器并且存储有指令,所述指令在由所述处理器执行时使所述电子设备执行以下动作:a memory coupled to the processor and storing instructions that, when executed by the processor, cause the electronic device to perform the following actions:
    创建智能合约;Create a smart contract;
    通过解析所述智能合约来提取所述智能合约中的功能接口的信息;Extracting information of a functional interface in the smart contract by parsing the smart contract;
    基于所述功能接口的所述信息,生成所述智能合约的接口定义数据;以及Generating interface definition data of the smart contract based on the information of the function interface;
    将所述接口定义数据添加到所述智能合约中。Adding the interface definition data to the smart contract.
  8. 根据权利要求7所述的电子设备,其中所述动作还包括:The electronic device of claim 7, wherein the action further comprises:
    基于所述功能接口的所述信息,以结构化数据交换格式表示所述接口定义数据。The interface definition data is represented in a structured data exchange format based on the information of the functional interface.
  9. 根据权利要求7所述的电子设备,其中所述动作还包括:The electronic device of claim 7, wherein the action further comprises:
    基于所述接口定义数据,生成用以获取所述接口定义数据的获取函数;以及Generating an acquisition function for acquiring the interface definition data based on the interface definition data;
    将所述获取函数添加到所述智能合约中。Adding the acquisition function to the smart contract.
  10. 根据权利要求7所述的电子设备,其中所述动作还包括:The electronic device of claim 7, wherein the action further comprises:
    在所述添加之后,编译所述智能合约,以生成字节码而促进所述智能合约到所述区块链中的部署。After the adding, the smart contract is compiled to generate a bytecode to facilitate deployment of the smart contract into the blockchain.
  11. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    存储器,耦合至所述处理器并且存储有指令,所述指令在由所述处理器执行时使所述电子设备执行以下动作:a memory coupled to the processor and storing instructions that, when executed by the processor, cause the electronic device to perform the following actions:
    基于智能合约的合约地址,调用用以获取所述智能合约的接口定义数据的获取函数;以及Retrieving an acquisition function for obtaining interface definition data of the smart contract based on a contractual address of the smart contract;
    解析所述获取函数,以得到所述智能合约的接口定义数据。The acquisition function is parsed to obtain interface definition data of the smart contract.
  12. 根据权利要求11所述的电子设备,其中所述动作还包括:The electronic device of claim 11 wherein said action further comprises:
    从所述接口定义数据获取所述智能合约中的功能接口的信息;以及Acquiring information of the functional interface in the smart contract from the interface definition data;
    基于所述功能接口的所述信息,调用所述智能合约中的功能接口。A function interface in the smart contract is invoked based on the information of the functional interface.
  13. 一种计算机可读存储介质,具有存储在其上的计算机可读程序指令,所述计算机可读程序指令用于执行根据权利要求1-4中任一项所述的方法。A computer readable storage medium having computer readable program instructions stored thereon for performing the method of any of claims 1-4.
  14. 一种计算机可读存储介质,具有存储在其上的计算机可读程序指令,所述计算机可读程序指令用于执行根据权利要求5-6中任一项所述的方法。A computer readable storage medium having computer readable program instructions stored thereon for performing the method of any of claims 5-6.
PCT/CN2018/078517 2017-05-11 2018-03-09 Method and device for obtaining smart contract interface in blockchain WO2018205730A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710331253.0 2017-05-11
CN201710331253.0A CN107274186A (en) 2017-05-11 2017-05-11 The method and apparatus that intelligent contract-defined interface is obtained in block chain

Publications (1)

Publication Number Publication Date
WO2018205730A1 true WO2018205730A1 (en) 2018-11-15

Family

ID=60073935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078517 WO2018205730A1 (en) 2017-05-11 2018-03-09 Method and device for obtaining smart contract interface in blockchain

Country Status (2)

Country Link
CN (1) CN107274186A (en)
WO (1) WO2018205730A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220179651A1 (en) * 2019-09-16 2022-06-09 Hangzhou Qulian Technology Co., Ltd. Smart contract client program generation method, system and device, and medium
US11955491B2 (en) 2019-09-29 2024-04-09 Beijing Boe Display Technology Co., Ltd. Array substrate and manufacturing method thereof, motherboard and display device

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274186A (en) * 2017-05-11 2017-10-20 上海点融信息科技有限责任公司 The method and apparatus that intelligent contract-defined interface is obtained in block chain
US10839345B2 (en) * 2017-10-27 2020-11-17 BXB Digital Pty Limited Systems and methods for executing smart contracts using a block chain
CN107943691B (en) * 2017-11-17 2022-03-01 深圳圣马歌科技有限公司 Method and device for automatically generating function test page of intelligent contract
CN107943950B (en) * 2017-11-24 2020-07-10 中钞信用卡产业发展有限公司杭州区块链技术研究院 Method and system for generating intelligent contracts of data in block chain
CN108197913B (en) * 2017-12-18 2021-01-05 深圳前海微众银行股份有限公司 Payment method, system and computer readable storage medium based on block chain
WO2019127530A1 (en) * 2017-12-29 2019-07-04 深圳前海达闼云端智能科技有限公司 Account unifying method and device and storage medium
CN108509523B (en) * 2018-03-13 2021-06-25 深圳前海微众银行股份有限公司 Method and device for structured processing of block chain data and readable storage medium
CN109191287B (en) * 2018-06-27 2020-08-04 浙江超脑时空科技有限公司 Block chain intelligent contract fragmentation method and device and electronic equipment
CN108898390B (en) 2018-06-27 2021-01-12 创新先进技术有限公司 Intelligent contract calling method and device based on block chain and electronic equipment
CN109003078B (en) * 2018-06-27 2021-08-24 创新先进技术有限公司 Intelligent contract calling method and device based on block chain and electronic equipment
CN109242667A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Assets management method and device, computer equipment and readable storage medium storing program for executing
CN109040029B (en) * 2018-07-13 2021-03-12 上海点融信息科技有限责任公司 Method and apparatus for executing transactions in a blockchain
CN109117994B (en) * 2018-07-27 2020-04-14 阿里巴巴集团控股有限公司 Event prediction method and device and electronic equipment
CN108965468B (en) * 2018-08-16 2021-04-30 北京京东尚科信息技术有限公司 Block chain network service platform, chain code installation method thereof and storage medium
CN109316752B (en) * 2018-09-12 2021-12-10 杭州复杂美科技有限公司 Game deployment method, game method, device and storage medium
TWI684932B (en) * 2018-12-04 2020-02-11 鴻緯智慧科技股份有限公司 Token transaction system using blockchain technology and method thereof
CN110046023B (en) * 2018-12-12 2020-05-05 阿里巴巴集团控股有限公司 Data processing method and system based on intelligent contract of block chain
WO2019101236A2 (en) * 2019-03-04 2019-05-31 Alibaba Group Holding Limited Software interface for smart contracts
CN110264361A (en) * 2019-06-24 2019-09-20 深圳前海微众银行股份有限公司 A kind of data analysis method and device of block chain
CN110545316A (en) * 2019-08-19 2019-12-06 广州华旻信息科技有限公司 Internet of things information interaction device based on block chain technology
EP3776430B1 (en) * 2019-11-08 2022-04-27 Alipay (Hangzhou) Information Technology Co., Ltd. System and method for blockchain-based decentralized application development
WO2020035090A2 (en) 2019-11-08 2020-02-20 Alipay (Hangzhou) Information Technology Co., Ltd. Lightweight decentralized application platform
CN111930347B (en) * 2020-07-24 2022-05-31 联想(北京)有限公司 Network creation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533696A (en) * 2016-11-18 2017-03-22 江苏通付盾科技有限公司 Block chain-based identity authentication methods, authentication server and user terminal
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN106598549A (en) * 2016-12-08 2017-04-26 天津米游科技有限公司 Intelligent agreement system based on block chain and implementation method
CN107274186A (en) * 2017-05-11 2017-10-20 上海点融信息科技有限责任公司 The method and apparatus that intelligent contract-defined interface is obtained in block chain
US20170353309A1 (en) * 2016-06-06 2017-12-07 Microsoft Technology Licensing, Llc Cryptographic applications for a blockchain system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991731A (en) * 2015-02-13 2016-10-05 中兴通讯股份有限公司 Method for obtaining information, intelligent terminal and server side
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN106126248A (en) * 2016-06-29 2016-11-16 北京金山安全软件有限公司 Method and device for acquiring version information of operating system and electronic equipment
CN106598579B (en) * 2016-12-06 2020-12-25 北京果仁宝科技有限公司 Method and apparatus for integrating dynamic type programming language on blockchain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170353309A1 (en) * 2016-06-06 2017-12-07 Microsoft Technology Licensing, Llc Cryptographic applications for a blockchain system
CN106533696A (en) * 2016-11-18 2017-03-22 江苏通付盾科技有限公司 Block chain-based identity authentication methods, authentication server and user terminal
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN106598549A (en) * 2016-12-08 2017-04-26 天津米游科技有限公司 Intelligent agreement system based on block chain and implementation method
CN107274186A (en) * 2017-05-11 2017-10-20 上海点融信息科技有限责任公司 The method and apparatus that intelligent contract-defined interface is obtained in block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BAHGA, A. ET AL.: "Blockchain Platform for Industrial Internet of Things", JOURNAL OF SOFTWARE ENGINEERING AND APPLICATIONS, 28 October 2016 (2016-10-28), pages 543, XP055403465 *
ZHANG, YANING: "Initial Experience of Intelligent Contract https://ethfans.org>rubyu2>articles", DAPP PROCESS, III. CREATE INTELLIGENT CONTRACT SCHEMATIC DIAGRAM, 25 July 2016 (2016-07-25), Retrieved from the Internet <URL:https://ethlans.org>rubyu2>articles> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220179651A1 (en) * 2019-09-16 2022-06-09 Hangzhou Qulian Technology Co., Ltd. Smart contract client program generation method, system and device, and medium
US11955491B2 (en) 2019-09-29 2024-04-09 Beijing Boe Display Technology Co., Ltd. Array substrate and manufacturing method thereof, motherboard and display device

Also Published As

Publication number Publication date
CN107274186A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
WO2018205730A1 (en) Method and device for obtaining smart contract interface in blockchain
US10705942B1 (en) Simulated testing of API
US10207190B2 (en) Technologies for native game experience in web rendering engine
US8347272B2 (en) Call graph dependency extraction by static source code analysis
WO2018228211A1 (en) Application conversion method, apparatus and device
WO2017162024A1 (en) Method of developing component and template using visual expression, storage medium, and apparatus
US10019298B2 (en) Middleware interface and middleware interface generator
KR102225768B1 (en) Instruction execution method and device
CN111124906A (en) Tracking method, compiling method and device based on dynamic embedded points and electronic equipment
US9304762B2 (en) Automatically customizing a computer-executable application at runtime
CN109582317B (en) Method and apparatus for debugging hosted applications
US10496423B2 (en) Method for opening up data and functions of terminal application based on reconstruction technology
CN109408101A (en) A kind of code development maintaining method and electronic equipment for programming
US8578352B1 (en) Optimizing object oriented programs using limited customization
US10318612B2 (en) System and method for implementing screen capture
US20110276983A1 (en) Automatic return to synchronization context for asynchronous computations
CN111797020A (en) Mock data method and device based on dynamic bytecode
US7966562B1 (en) System and method for providing domain-sensitive help
CN113778897A (en) Automatic test method, device, equipment and storage medium of interface
US7844978B2 (en) Artifact management for an extensible runtime environment
CN114911541B (en) Processing method and device of configuration information, electronic equipment and storage medium
CN116360735A (en) Form generation method, device, equipment and medium
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN112764802A (en) Business logic customization method and device, electronic equipment and storage medium
CN113157360B (en) Method, apparatus, device, medium, and article for processing an API

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18798540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/02/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18798540

Country of ref document: EP

Kind code of ref document: A1