CN111245883A - Control method and control system of Internet of things device - Google Patents

Control method and control system of Internet of things device Download PDF

Info

Publication number
CN111245883A
CN111245883A CN201811486652.5A CN201811486652A CN111245883A CN 111245883 A CN111245883 A CN 111245883A CN 201811486652 A CN201811486652 A CN 201811486652A CN 111245883 A CN111245883 A CN 111245883A
Authority
CN
China
Prior art keywords
cross
identification number
chain server
iot device
blockchain
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811486652.5A
Other languages
Chinese (zh)
Inventor
李耕维
王圣方
何丞尧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Publication of CN111245883A publication Critical patent/CN111245883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种物联网装置的控制方法及控制系统。此控制方法应用于多个物联网装置,每一物联网装置具有对应的装置识别号,此控制方法包含:透过跨链服务器接收并储存每一物联网装置对应的装置识别号,每一物联网装置并于第一区块链上注册其对应的该装置识别号;透过跨链服务器将装置识别号填入对应的智能合约;以及将智能合约部署至第二区块链以产生对应智能合约的合约识别号并储存对应的装置识别号;其中,跨链服务器根据合约识别号查询智能合约,产生对应智能合约的装置识别号的控制指令并传送到第一区块链,以供对应装置识别号的物联网装置连接至该第一区块链取得。借此,达到物联网装置即时互动,并降低物联网装置开发与部署成本的功效。

Figure 201811486652

A control method and control system for an Internet of Things device. This control method is applied to multiple IoT devices, and each IoT device has a corresponding device identification number. This control method includes: receiving and storing the device identification number corresponding to each IoT device through a cross-chain server. The networked device registers its corresponding device identification number on the first blockchain; fills the device identification number into the corresponding smart contract through the cross-chain server; and deploys the smart contract to the second blockchain to generate corresponding intelligence The contract identification number of the contract and stores the corresponding device identification number; among them, the cross-chain server queries the smart contract according to the contract identification number, generates a control instruction corresponding to the device identification number of the smart contract and transmits it to the first blockchain for the corresponding device The identification number of the IoT device is obtained by connecting to the first blockchain. This achieves real-time interaction with IoT devices and reduces development and deployment costs of IoT devices.

Figure 201811486652

Description

物联网装置的控制方法及控制系统Control method and control system of Internet of things device

技术领域technical field

本案是有关于一种控制方法及控制系统,且特别是有关于一种用于物联网装置的控制方法及控制系统。This case is about a control method and a control system, and especially about a control method and control system for an IoT device.

背景技术Background technique

随着物联网技术(Internet of Things,IoT)的蓬勃发展,让所有能行使独立功能的物体如车辆、机器、家用电器等,连接上网络,能够进行信息数据分析,统整物与物的数字信息。然而,管理物联网装置的管理正面临集中式管理的管理僵化问题与安全隐私争议,以及现有非集中式管理机制因区块链交易时间过长,无法即时与装置互动等问题。因此,如何与物联网装置互动并降低物联网装置的开发成本,是本领域待解决的问题。With the vigorous development of the Internet of Things (IoT) technology, all objects that can perform independent functions, such as vehicles, machines, household appliances, etc., can be connected to the network to perform information data analysis and integrate the digital information of objects and objects. . However, the management of IoT devices is facing the problems of rigid management and security and privacy disputes in centralized management, and the existing non-centralized management mechanism cannot interact with devices in real time due to the long transaction time of the blockchain. Therefore, how to interact with the IoT device and reduce the development cost of the IoT device is a problem to be solved in the art.

发明内容SUMMARY OF THE INVENTION

本发明的主要目的是在提供一种物联网装置的控制方法以及物联网装置的控制系统,其主要是改进以往集中式管理的管理僵化问题与安全隐私争议,以及现有非集中式管理机制如区块链因交易时间过长无法进行即时交易等问题。利用物联网装置合约管理服务,保留集中式管理弹性部署、数据安全可靠的特性,达到物联网装置即时互动,并降低物联网装置开发与部署成本的功效。The main purpose of the present invention is to provide a control method for an Internet of Things device and a control system for the Internet of Things device, which are mainly to improve the management rigidity and security and privacy disputes of the previous centralized management, and the existing non-centralized management mechanisms such as The blockchain cannot perform real-time transactions due to the long transaction time. The IoT device contract management service is used to retain the features of centralized management, flexible deployment, and data security and reliability, enabling instant interaction of IoT devices, and reducing the cost of IoT device development and deployment.

为达成上述目的,本案的第一态样是在提供一种物联网装置的控制方法,应用于多个物联网装置,每一物联网装置具有对应的装置识别号,此方法包含以下步骤:透过跨链服务器接收并储存每一物联网装置对应的装置识别号,每一物联网装置并于第一区块链上注册其对应的该装置识别号;透过跨链服务器将装置识别号填入对应的智能合约;以及将智能合约部署至第二区块链以产生对应智能合约的合约识别号并储存对应的装置识别号;其中,跨链服务器根据合约识别号查询智能合约,产生对应智能合约的装置识别号的控制指令并传送到第一区块链,以供对应装置识别号的物联网装置连接至该第一区块链取得。In order to achieve the above object, the first aspect of the present application is to provide a control method of an Internet of Things device, which is applied to a plurality of Internet of Things devices, and each Internet of Things device has a corresponding device identification number. The method includes the following steps: transparent The device identification number corresponding to each IoT device is received and stored by the cross-chain server, and the corresponding device identification number of each IoT device is registered on the first blockchain; the device identification number is filled in through the cross-chain server. enter the corresponding smart contract; and deploy the smart contract to the second blockchain to generate the contract identification number corresponding to the smart contract and store the corresponding device identification number; wherein, the cross-chain server queries the smart contract according to the contract identification number, and generates the corresponding smart contract The control command of the device identification number of the contract is transmitted to the first blockchain, so that the IoT device corresponding to the device identification number is connected to the first blockchain to obtain.

根据本案一实施例,还包含:该跨链服务器传送每一该物联网装置的该合约识别号至一商家服务器,由该商家服务器记录每一该物联网装置对应的状态。According to an embodiment of the present application, it further includes: the cross-chain server transmits the contract identification number of each IoT device to a merchant server, and the merchant server records the corresponding state of each IoT device.

根据本案一实施例,还包含:利用一电子装置透过该跨链服务器提出一预约请求。According to an embodiment of the present application, the method further includes: using an electronic device to make a reservation request through the cross-chain server.

根据本案一实施例,利用该电子装置透过该跨链服务器提出该预约请求,还包含:通过该电子装置传送对应的一身分识别号以及一查询请求至该跨链服务器;通过该跨链服务器依据该装置识别码向该第二区块链提出该查询请求,以查询每一该物联网装置对应的该智能合约的该使用信息;通过该跨链服务器传送每一该物联网装置对应的该使用信息至该电子装置;其中该使用信息包含该合约识别号、所述多个物联网装置的位置、所述多个物联网装置对应的状态;选择所述多个物联网装置的其中之一,并传送一预约信息至该跨链服务器;其中该预约信息包含该身分识别号、该合约识别号、被选择的物联网装置对应的该装置识别号;通过该跨链服务器传送该预约信息至该第二区块链,并更新被选择的物联网装置对应的状态;以及更新该商家服务器中被选择的物联网装置对应的状态。According to an embodiment of the present case, using the electronic device to submit the reservation request through the cross-chain server further includes: sending a corresponding ID number and a query request to the cross-chain server through the electronic device; sending the cross-chain server through the cross-chain server Submit the query request to the second blockchain according to the device identification code to query the usage information of the smart contract corresponding to each Internet of Things device; transmit the corresponding information of each Internet of Things device through the cross-chain server use information to the electronic device; wherein the use information includes the contract identification number, the locations of the plurality of IoT devices, and the corresponding status of the plurality of IoT devices; select one of the plurality of IoT devices , and send a reservation information to the cross-chain server; wherein the reservation information includes the identification number, the contract identification number, and the device identification number corresponding to the selected IoT device; the reservation information is sent through the cross-chain server to the second block chain, and update the state corresponding to the selected Internet of Things device; and update the state corresponding to the selected Internet of Things device in the merchant server.

根据本案一实施例,还包含:利用一电子装置透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置;以及透过该跨链服务器更新被控制的物联网装置对应的状态。According to an embodiment of the present case, it further includes: using an electronic device to execute the smart contract through the cross-chain server and control the IoT device corresponding to the smart contract; and updating the corresponding IoT device to be controlled through the cross-chain server status.

根据本案一实施例,利用该电子装置透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置,还包含:利用该电子装置读取所述多个物联网装置的其中之一对应的一条码,并取得被选择的物联网装置对应的该合约识别号;将该合约识别号以及一操作信息传送至该跨链服务器;根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约;该第二区块链回传该智能合约的一内容信息至该跨链服务器;其中,该内容信息包含被选择的物联网装置对应的该装置识别号以及被选择的物联网装置对应的状态;该跨链服务器根据该身分识别号以及被选择的物联网装置对应的状态验证该操作信息,并传送一控制指令至该第一区块链;被选择的物联网装置连接到该第一区块链取得该控制指令;被选择的物联网装置传送一操作记录至该第一区块链;该跨链服务器侦测到该操作记录后,更新被选择的物联网装置对应的该智能合约;以及该跨链服务器传送被选择的物联网装置对应的状态至该电子装置。According to an embodiment of the present application, using the electronic device to execute the smart contract and control the IoT device corresponding to the smart contract through the cross-chain server further includes: using the electronic device to read the information among the plurality of IoT devices. One corresponding barcode, and obtain the contract identification number corresponding to the selected IoT device; send the contract identification number and an operation information to the cross-chain server; according to the contract identification number in the second blockchain query the smart contract corresponding to the selected IoT device; the second blockchain returns a content information of the smart contract to the cross-chain server; wherein, the content information includes the selected IoT device corresponding to the smart contract; The device identification number and the state corresponding to the selected IoT device; the cross-chain server verifies the operation information according to the identification number and the state corresponding to the selected IoT device, and sends a control command to the first blockchain ; The selected IoT device is connected to the first blockchain to obtain the control command; the selected IoT device transmits an operation record to the first blockchain; after the cross-chain server detects the operation record, updating the smart contract corresponding to the selected IoT device; and the cross-chain server transmitting the state corresponding to the selected IoT device to the electronic device.

根据本案一实施例,透过该跨链服务器更新被控制的物联网装置对应的状态,还包含:被选择的物联网装置传送一状态更新记录至该第一区块链;该电子装置传送被选择的物联网装置对应的该合约识别号以及一上锁信息至该跨链服务器;根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约;该第二区块链回传该智能合约的该内容信息至该跨链服务器;该跨链服务器侦测到该状态更新记录后,根据该身分识别号以及被选择的物联网装置对应的状态验证该上锁信息;该上锁信息验证成功后,该跨链服务器更新被选择的物联网装置对应的该智能合约;以及该跨链服务器传送被选择的物联网装置对应的状态至该电子装置,以及更新该商家服务器中被选择的物联网装置对应的状态。According to an embodiment of the present application, updating the state corresponding to the controlled IoT device through the cross-chain server further includes: the selected IoT device transmits a state update record to the first blockchain; the electronic device transmits the controlled IoT device to the first blockchain. The contract identification number corresponding to the selected IoT device and a lock information are sent to the cross-chain server; the smart contract corresponding to the selected IoT device is inquired on the second blockchain according to the contract identification number; the first The second blockchain returns the content information of the smart contract to the cross-chain server; after the cross-chain server detects the status update record, it verifies the above status according to the ID number and the status corresponding to the selected IoT device. lock information; after the verification of the lock information is successful, the cross-chain server updates the smart contract corresponding to the selected IoT device; and the cross-chain server transmits the status corresponding to the selected IoT device to the electronic device, and updates The state corresponding to the selected IoT device in the merchant server.

本案的第二态样是在提供一种物联网装置的控制系统,应用于区块链网络,区块链网络包含第一区块链以及第二区块链,物联网装置的控制系统包含:多个物联网装置以及跨链服务器。多个物联网装置,每一物联网装置具有对应的装置识别号。跨链服务器,与所述多个物联网装置及该区块链网络通讯连接,该跨链服务器更用以接收并储存每一物联网装置对应的装置识别号,每一物联网装置并于第一区块链上注册其对应的装置识别号,并将装置识别号填入对应的智能合约,以将智能合约部署至第二区块链以产生对应智能合约的合约识别号并储存对应的装置识别号,其中,跨链服务器根据合约识别号查询智能合约,产生对应智能合约的装置识别号的控制指令并传送到第一区块链,以供对应装置识别号的物联网装置连接至该第一区块链取得。The second aspect of this case is to provide a control system for an IoT device, which is applied to a blockchain network. The blockchain network includes a first blockchain and a second blockchain, and the control system for the IoT device includes: Multiple IoT devices and cross-chain servers. A plurality of IoT devices, each IoT device has a corresponding device identification number. The cross-chain server is in communication connection with the plurality of Internet of Things devices and the blockchain network, and the cross-chain server is further used to receive and store the device identification number corresponding to each Internet of Things device. Register its corresponding device identification number on one blockchain, and fill in the device identification number into the corresponding smart contract to deploy the smart contract to the second blockchain to generate the contract identification number corresponding to the smart contract and store the corresponding device Identification number, wherein the cross-chain server queries the smart contract according to the contract identification number, generates a control command corresponding to the device identification number of the smart contract and transmits it to the first blockchain, so that the IoT device corresponding to the device identification number can be connected to the first blockchain. A blockchain acquisition.

根据本案一实施例,每一该物联网装置还包含:一处理器,用以产生该装置识别号;一通讯模块,与该处理器电性连接,用以与该跨链服务器以及该第一区块链通讯连接并取得该控制指令;以及一电子锁头构件,与该处理器电性连接;其中,该处理器用以根据该控制指令控制该电子锁头构件的上锁及解锁。According to an embodiment of the present application, each of the IoT devices further includes: a processor for generating the device identification number; a communication module electrically connected to the processor for communicating with the cross-chain server and the first The block chain is communicatively connected to obtain the control command; and an electronic lock member is electrically connected with the processor; wherein the processor is used to control the locking and unlocking of the electronic lock member according to the control command.

根据本案一实施例,每一该物联网装置还包含有一条码以记录该装置识别码,且该控制系统还包含:一电子装置,与该跨链服务器通讯连接,用以读取该条码后透过该跨链服务器提出以查询对应该物联网装置的一使用信息。According to an embodiment of the present application, each of the IoT devices further includes a bar code to record the device identification code, and the control system further includes: an electronic device that is connected to the cross-chain server in communication for reading the bar code and then transparently The cross-chain server is used to query a usage information corresponding to the Internet of Things device.

根据本案一实施例,该控制系统还包含:一商家服务器,与该跨链服务器通讯连接,以接收每一该物联网装置的该合约识别号,并记录每一该物联网装置对应的状态;以及一电子装置,用以传送对应的一身分识别号以及一查询请求至该跨链服务器,该跨链服务器依据该装置识别码向该第二区块链提出该查询请求,以查询每一该物联网装置对应的该智能合约的该使用信息;其中,该跨链服务器用以传送每一该物联网装置对应的该使用信息至该电子装置;其中,该电子装置用以提供选择所述多个物联网装置的其中之一,并传送一预约信息至该跨链服务器;其中,该跨链服务器用以传送该预约信息至该第二区块链,并更新被选择的物联网装置对应的状态,以及更新该商家服务器中被选择的物联网装置对应的状态;其中,该使用信息包含该合约识别号、所述多个物联网装置的位置、所述多个物联网装置对应的状态;该预约信息包含该身分识别号、该合约识别号、被选择的物联网装置对应的该装置识别号。According to an embodiment of the present application, the control system further includes: a merchant server that is communicatively connected to the cross-chain server to receive the contract identification number of each of the IoT devices, and to record the state corresponding to each of the IoT devices; and an electronic device for sending a corresponding ID number and a query request to the cross-chain server, and the cross-chain server submits the query request to the second blockchain according to the device ID to query each of the The usage information of the smart contract corresponding to the IoT device; wherein, the cross-chain server is used to transmit the usage information corresponding to each IoT device to the electronic device; wherein, the electronic device is used to provide selection of the multiple One of the IoT devices, and transmits a reservation information to the cross-chain server; wherein, the cross-chain server is used to transmit the reservation information to the second blockchain, and update the corresponding Internet of Things device. status, and update the status corresponding to the selected IoT device in the merchant server; wherein, the usage information includes the contract identification number, the location of the multiple IoT devices, and the status corresponding to the multiple IoT devices; The reservation information includes the identification number, the contract identification number, and the device identification number corresponding to the selected IoT device.

根据本案一实施例,该电子装置更用以透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置,以及该跨链服务器用以更新被控制的物联网装置对应的状态。According to an embodiment of the present case, the electronic device is further configured to execute the smart contract and control the IoT device corresponding to the smart contract through the cross-chain server, and the cross-chain server is used to update the corresponding IoT device to be controlled. state.

根据本案一实施例,利用该电子装置选择所述多个物联网装置的其中之一,并取得被选择的物联网装置对应的该合约识别号,该电子装置用以将该合约识别号以及一操作信息传送至该跨链服务器,该跨链服务器用以根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约,并接收该第二区块链回传该智能合约的一内容信息;该跨链服务器根据该身分识别号以及被选择的物联网装置对应的状态验证该操作信息,并传送一控制指令至该第一区块链;接着,被选择的物联网装置用以连接到该第一区块链取得该控制指令,并传送一操作记录至该第一区块链;该跨链服务器用以侦测到该操作记录后,更新被选择的物联网装置对应的该智能合约,接着传送被选择的物联网装置对应的状态至该电子装置;以及其中,该内容信息包含被选择的物联网装置对应的该装置识别号以及被选择的物联网装置对应的状态。According to an embodiment of the present application, the electronic device is used to select one of the plurality of IoT devices, and the contract identification number corresponding to the selected IoT device is obtained, and the electronic device is used for the contract identification number and a The operation information is sent to the cross-chain server, and the cross-chain server is used to query the smart contract corresponding to the selected IoT device on the second blockchain according to the contract identification number, and receive a response from the second blockchain. A content information of the smart contract is transmitted; the cross-chain server verifies the operation information according to the ID number and the state corresponding to the selected IoT device, and transmits a control command to the first blockchain; then, the selected The Internet of Things device is used to connect to the first block chain to obtain the control command, and send an operation record to the first block chain; the cross-chain server is used to detect the operation record and update the selected The smart contract corresponding to the IoT device, and then transmitting the status corresponding to the selected IoT device to the electronic device; and wherein the content information includes the device identification number corresponding to the selected IoT device and the selected IoT device The corresponding state of the device.

根据本案一实施例,被选择的物联网装置用以传送一状态更新记录至该第一区块链,接着该电子装置用以传送被选择的物联网装置对应的该合约识别号以及一上锁信息至该跨链服务器;该跨链服务器用以根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约,接着接收该第二区块链回传的该智能合约的该内容信息;该跨链服务器用以侦测到该状态更新记录后,根据该身分识别号以及被选择的物联网装置对应的状态验证该上锁信息,该上锁信息验证成功后,该跨链服务器更新被选择的物联网装置对应的该智能合约,以及传送被选择的物联网装置对应的状态至该电子装置,并更新该商家服务器中被选择的物联网装置对应的状态。According to an embodiment of the present case, the selected IoT device is used to transmit a status update record to the first blockchain, and then the electronic device is used to transmit the contract identification number and a lock corresponding to the selected IoT device information to the cross-chain server; the cross-chain server is used to query the smart contract corresponding to the selected IoT device on the second blockchain according to the contract identification number, and then receive the returned data from the second blockchain. The content information of the smart contract; the cross-chain server is used to verify the lock information according to the ID number and the corresponding status of the selected IoT device after detecting the status update record, and the verification of the lock information is successful After that, the cross-chain server updates the smart contract corresponding to the selected IoT device, transmits the status corresponding to the selected IoT device to the electronic device, and updates the status corresponding to the selected IoT device in the merchant server .

附图说明Description of drawings

为让本发明的上述和其他目的、特征、优点与实施例能更明显易懂,所附附图的说明如下:In order to make the above and other objects, features, advantages and embodiments of the present invention more clearly understood, the accompanying drawings are described as follows:

图1是根据本案的一些实施例所绘示的物联网装置的控制系统的示意图;FIG. 1 is a schematic diagram of a control system of an IoT device according to some embodiments of the present application;

图2是根据本案的一些实施例所绘示的物联网装置的示意图;FIG. 2 is a schematic diagram of an IoT device according to some embodiments of the present application;

图3是根据本案的一些实施例所绘示的物联网装置的控制方法的流程图;FIG. 3 is a flowchart of a control method of an IoT device according to some embodiments of the present application;

图4是根据本案的一些实施例所绘示的物联网装置的控制方法的流程图;FIG. 4 is a flowchart of a control method of an IoT device according to some embodiments of the present application;

图5是根据本案的一些实施例所绘示的步骤S410的流程图;FIG. 5 is a flowchart of step S410 according to some embodiments of the present application;

图6是根据本案的一些实施例所绘示的步骤S420的流程图;以及FIG. 6 is a flowchart of step S420 according to some embodiments of the present application; and

图7是根据本案的一些实施例所绘示的步骤S430的流程图。FIG. 7 is a flowchart of step S430 according to some embodiments of the present application.

具体实施方式Detailed ways

以下揭示提供许多不同实施例或例证用以实施本发明的不同特征。特殊例证中的元件及配置在以下讨论中被用来简化本揭示。所讨论的任何例证只用来作解说的用途,并不会以任何方式限制本发明或其例证的范围和意义。此外,本揭示在不同例证中可能重复引用数字符号且/或字母,这些重复皆为了简化及阐述,其本身并未指定以下讨论中不同实施例且/或配置之间的关系。The following disclosure provides many different embodiments or illustrations for implementing different features of the invention. The elements and configurations of the specific examples are used in the following discussion to simplify the disclosure. Any examples discussed are for illustrative purposes only and do not in any way limit the scope and meaning of the invention or its examples. In addition, the present disclosure may repeat references to numerals and/or letters in different instances, such repetition is for simplicity and clarification, and does not in itself specify the relationship between the different embodiments and/or configurations in the following discussion.

在全篇说明书与权利要求书所使用的用词(terms),除有特别注明外,通常具有每个用词使用在此领域中、在此揭露的内容中与特殊内容中的平常意义。某些用以描述本揭露的用词将于下或在此说明书的别处讨论,以提供本领域技术人员在有关本揭露的描述上额外的引导。Terms used throughout the specification and claims generally have their ordinary meanings used in the field, in the disclosure and in the specific content unless otherwise noted. Certain terms used to describe the present disclosure are discussed below or elsewhere in this specification to provide those skilled in the art with additional guidance in the description of the present disclosure.

关于本文中所使用的“耦接”或“连接”,均可指二或多个元件相互直接作实体或电性接触,或是相互间接作实体或电性接触,而“耦接”或“连接”还可指二或多个元件相互操作或动作。As used herein, "coupled" or "connected" may refer to two or more elements in direct physical or electrical contact with each other, or in indirect physical or electrical contact with each other, while "coupled" or " "Connected" can also refer to the mutual operation or action of two or more elements.

在本文中,使用第一、第二与第三等等的词汇,是用于描述各种元件、组件、区域、层与/或区块是可以被理解的。但是这些元件、组件、区域、层与/或区块不应该被这些术语所限制。这些词汇只限于用来辨别单一元件、组件、区域、层与/或区块。因此,在下文中的一第一元件、组件、区域、层与/或区块也可被称为第二元件、组件、区域、层与/或区块,而不脱离本发明的本意。如本文所用,词汇“与/或”包含了列出的关联项目中的一个或多个的任何组合。本案文件中提到的“及/或”是指表列元件的任一者、全部或至少一者的任意组合。It will be understood that the terms first, second, and third, etc., are used herein to describe various elements, components, regions, layers and/or blocks. However, these elements, components, regions, layers and/or blocks should not be limited by these terms. These terms are only used to identify a single element, component, region, layer and/or block. Thus, a first element, component, region, layer and/or block hereinafter could also be termed a second element, component, region, layer and/or block without departing from the scope of the present invention. As used herein, the word "and/or" includes any combination of one or more of the associated listed items. References to "and/or" in this document refer to any, all, or any combination of at least one of the listed elements.

请参阅图1。图1是根据本案的一些实施例所绘示的物联网装置的控制系统100的示意图。如图1所绘示,物联网装置的控制系统100应用于区块链网络110,区块链网络110包含第一区块链110a以及第二区块链110b。物联网装置的控制系统100包含跨链服务器120、多个物联网装置130-1~130-n、电子装置140以及商家服务器150。每一物联网装置130-1~130-n与区块链网络110以及跨链服务器120通讯连接,跨链服务器120与区块链网络110、电子装置140以及商家服务器150通讯连接。See Figure 1. FIG. 1 is a schematic diagram of a control system 100 of an IoT device according to some embodiments of the present application. As shown in FIG. 1 , the control system 100 of the IoT device is applied to a blockchain network 110 , and the blockchain network 110 includes a first blockchain 110 a and a second blockchain 110 b. The control system 100 for an IoT device includes a cross-chain server 120 , a plurality of IoT devices 130 - 1 to 130 - n , an electronic device 140 and a merchant server 150 . Each of the IoT devices 130 - 1 to 130 - n is in communication connection with the blockchain network 110 and the cross-chain server 120 , and the cross-chain server 120 is in communication connection with the blockchain network 110 , the electronic device 140 and the merchant server 150 .

请参阅图2。图2是根据本案的一些实施例所绘示的物联网装置130-1~130-n的示意图。每一物联网装置130-1~130-n具有对应的装置识别号,每一物联网装置130-1~130-n包含处理器131、通讯模块132以及电子锁头构件133。处理器131与通讯模块132以及电子锁头构件133电性连接。处理器131用以产生装置识别号,通讯模块132用以与跨链服务器120以及第一区块链110a通讯连接,以取得控制指令,处理器131用以根据控制指令控制电子锁头构件134的上锁及解锁。See Figure 2. FIG. 2 is a schematic diagram of IoT devices 130 - 1 to 130 - n according to some embodiments of the present application. Each IoT device 130 - 1 ˜ 130 - n has a corresponding device identification number, and each IoT device 130 - 1 ˜ 130 - n includes a processor 131 , a communication module 132 and an electronic lock member 133 . The processor 131 is electrically connected to the communication module 132 and the electronic lock member 133 . The processor 131 is used to generate the device identification number, the communication module 132 is used to communicate with the cross-chain server 120 and the first blockchain 110a to obtain control instructions, and the processor 131 is used to control the electronic lock member 134 according to the control instructions. Lock and unlock.

于本揭露各实施例中,在本案揭露说明书和附图中使用的元件编号和装置编号中的小写英文索引1~n,只是为了方便指称个别的元件和装置,并非有意将前述元件和装置的数量局限在特定数目。在本案说明书和附图中,若使用某一元件编号或装置编号时没有指明该元件编号或装置编号的索引,则代表该元件编号或装置编号是指称所属元件群组或装置群组中不特定的任一元件或装置。例如,元件编号130-1指称的对象是物联网装置130-1,而元件编号130指称的对象则是物联网装置130-1~130-n中的任一物联网装置。又例如,装置编号130-1指称的对象是物联网装置130-1,而装置编号130指称的对象则是物联网装置130-1~130-n中的任一物联网装置。In each embodiment of the present disclosure, the lowercase English indexes 1 to n in the element numbers and device numbers used in the description and drawings of the present disclosure are only for the convenience of referring to individual elements and devices, and are not intended to refer to the aforementioned elements and devices. The number is limited to a specific number. In the description and drawings of the present application, if an element number or device number is used without specifying the index of the element number or device number, it means that the element number or device number refers to an unspecified element group or device group to which it belongs. any element or device. For example, the object referred to by the component number 130-1 is the IoT device 130-1, and the object referred to by the component number 130 is any IoT device among the IoT devices 130-1 to 130-n. For another example, the object referred to by the device number 130-1 is the IoT device 130-1, and the object referred to by the device number 130 is any IoT device among the IoT devices 130-1 to 130-n.

于本揭露各实施例中,电子装置140可以实施为智能手机、穿戴式装置、专用移动装置或健身机台的控制器。物联网装置130可以实施为智能柜或是其他可连网的装置,处理器131可以实施为集成电路如微控制单元(microcontroller)、微处理器(microprocessor)、数字信号处理器(digital signal processor)、特殊应用集成电路(application specific integrated circuit,ASIC)、逻辑电路或其他类似元件或上述元件的组合。商家服务器150可以实施为提供物联网装置130的供应商服务器。In various embodiments of the present disclosure, the electronic device 140 may be implemented as a controller of a smart phone, a wearable device, a dedicated mobile device, or a fitness machine. The IoT device 130 can be implemented as a smart cabinet or other networkable devices, and the processor 131 can be implemented as an integrated circuit such as a microcontroller, a microprocessor, a digital signal processor , an application specific integrated circuit (ASIC), a logic circuit or other similar elements or a combination of the above elements. Merchant server 150 may be implemented as a provider server that provides IoT device 130 .

请参阅图3,图3是根据本案的一些实施例所绘示的物联网装置的控制方法300的流程图。于一实施例中,图3所示的物联网装置的控制方法300可以应用于图1的物联网装置的控制系统100以及图2的每一物联网装置130中,物联网装置的控制方法300首先执行步骤S310透过跨链服务器120接收并储存每一物联网装置130对应的装置识别号,每一物联网装置并于第一区块链110a上注册其对应的装置识别号。于一实施例中,第一区块链110a可以实施为IOTA区块链网络,第二区块链110b可以实施为以太坊(Ethereum)区块链网络。于一实施例中,物联网装置130的处理器131在挂载物联网的部属软件后即可设定对应每一物联网装置130的装置识别号,接着在跨链服务器120以及第一区块链110a(IOTA区块链网络)上注册装置识别号,如此一来,物联网装置130即可成为可与IOTA区块链网络连接的装置。接着,跨链服务器120会接收并储存每一物联网装置130对应的装置识别号,并且物联网装置130会在第一区块链110a上注册对应的装置识别号。Please refer to FIG. 3 , which is a flowchart of a control method 300 of an IoT device according to some embodiments of the present application. In one embodiment, the control method 300 of the IoT device shown in FIG. 3 can be applied to the control system 100 of the IoT device of FIG. 1 and each IoT device 130 of FIG. 2 , the control method 300 of the IoT device. First, step S310 is performed to receive and store the device ID corresponding to each IoT device 130 through the cross-chain server 120 , and each IoT device registers its corresponding device ID on the first blockchain 110a. In one embodiment, the first blockchain 110a may be implemented as an IOTA blockchain network, and the second blockchain 110b may be implemented as an Ethereum blockchain network. In one embodiment, the processor 131 of the IoT device 130 can set the device identification number corresponding to each IoT device 130 after the IoT subordinate software is mounted, and then the cross-chain server 120 and the first block The device identification number is registered on the chain 110a (IOTA blockchain network), so that the IoT device 130 can become a device that can be connected to the IOTA blockchain network. Next, the cross-chain server 120 will receive and store the device identification number corresponding to each IoT device 130, and the IoT device 130 will register the corresponding device identification number on the first blockchain 110a.

承上述,第一区块链110a(IOTA区块链网络)可以用来控制物联网装置130的状态,第二区块链110b(以太坊区块链网络)则是用来记录物联网装置的状态以及与电子装置140之间的交易。As mentioned above, the first blockchain 110a (IOTA blockchain network) can be used to control the state of the IoT device 130, and the second blockchain 110b (Ethereum blockchain network) is used to record the IoT device Status and transactions with electronic device 140 .

接着,物联网装置的控制方法300执行步骤S320,透过跨链服务器120将装置识别号填入对应的智能合约,以及执行步骤S330,将智能合约部署至第二区块链110b以产生对应智能合约的合约识别号并储存对应的装置识别号。接续上方实施例,物联网装置130连结到第一区块链110a并注册装置识别号后,会将装置识别号传送至跨链服务器120,跨链服务器120再将对应每一物联网装置130的装置识别号填入智能合约中,智能合约会储存每一物联网装置130的装置识别号,再将智能合约部署至第二区块链110b以产生合约识别号,合约识别号在此即为呼叫此智能合约的合约地址(Contract Address)。如此一来,每一物联网装置130都可以对应到一个智能合约以及智能合约对应的合约识别号。Next, the control method 300 of the IoT device executes step S320, fills the device identification number into the corresponding smart contract through the cross-chain server 120, and executes step S330, deploys the smart contract to the second blockchain 110b to generate the corresponding smart contract The contract ID of the contract and store the corresponding device ID. Continuing from the above embodiment, after the IoT device 130 is connected to the first blockchain 110 a and registers the device identification number, the device identification number is transmitted to the cross-chain server 120 . The device identification number is filled in the smart contract, and the smart contract will store the device identification number of each IoT device 130, and then deploy the smart contract to the second blockchain 110b to generate the contract identification number, which is the call here. The contract address of this smart contract. In this way, each IoT device 130 can correspond to a smart contract and a contract identification number corresponding to the smart contract.

接着,物联网装置的控制方法300执行步骤S340,跨链服务器120传送每一物联网装置的合约识别号至商家服务器150。接续上方实施例,跨链服务器120接收到合约识别号后表示物联网装置130已部署到第二区块链110b上,因此第二区块链110b可以透过跨链服务器120追踪物联网装置130,接着,将每一物联网装置130对应的合约识别号同步至商家服务器150,商家服务器150会记录每一物联网装置130对应的状态。执行完步骤S310~S340表示物联网装置130已经在第一区块链110a以及第二区块链110b注册完毕,表示“上链”成功。Next, the control method 300 of the IoT device executes step S340 , and the cross-chain server 120 transmits the contract identification number of each IoT device to the merchant server 150 . Continuing from the above embodiment, after the cross-chain server 120 receives the contract identification number, it indicates that the IoT device 130 has been deployed on the second blockchain 110b, so the second blockchain 110b can track the IoT device 130 through the cross-chain server 120 Then, the contract identification number corresponding to each IoT device 130 is synchronized to the merchant server 150 , and the merchant server 150 records the state corresponding to each IoT device 130 . After steps S310 to S340 are executed, it indicates that the IoT device 130 has been registered in the first blockchain 110a and the second blockchain 110b, indicating that the "on-chain" is successful.

请参阅图4,图4是根据本案的一些实施例所绘示的物联网装置的控制方法400的流程图,以及图5是根据本案的一些实施例所绘示的步骤S410的流程图。在执行完步骤S310~S340之后,可以接着执行图4所示的步骤,物联网装置的控制方法400执行步骤S410,利用电子装置140透过跨链服务器120提出预约请求。于一实施例中,步骤S410是用以透过电子装置140传送预约物联网装置130的请求,举例而言使用者可以预约智能柜A,步骤S410还包含步骤S411~S416。Please refer to FIG. 4 , FIG. 4 is a flowchart of a control method 400 of an IoT device according to some embodiments of the present application, and FIG. 5 is a flowchart of step S410 according to some embodiments of the present application. After steps S310 to S340 are performed, the steps shown in FIG. 4 can be performed next. The control method 400 of the IoT device performs step S410 , and uses the electronic device 140 to make a reservation request through the cross-chain server 120 . In one embodiment, step S410 is used to transmit a request for reserving the IoT device 130 through the electronic device 140, for example, the user can reserve the smart locker A, and step S410 further includes steps S411-S416.

承上述,物联网装置的控制方法400执行步骤S411,通过电子装置140传送对应的身分识别号以及查询请求至跨链服务器120。于一实施例中,使用者可以透过电子装置140预约物联网装置130,利用电子装置140发送查询请求至跨链服务器120,查询请求是指查询所有可使用的物联网装置130,在本揭露的实施例中即为查询所有可使用的智能柜,身分识别号为电子装置140的识别代码。Based on the above, the control method 400 of the IoT device executes step S411 , and transmits the corresponding identification number and the query request to the cross-chain server 120 through the electronic device 140 . In one embodiment, the user can reserve the IoT device 130 through the electronic device 140 , and use the electronic device 140 to send a query request to the cross-chain server 120 . The query request refers to querying all available IoT devices 130 . In the embodiment of , to query all available smart cabinets, the identification number is the identification code of the electronic device 140 .

承上述,物联网装置的控制方法400执行步骤S412,通过跨链服务器120依据装置识别码向第二区块链110b提出查询请求,以查询每一物联网装置130对应的智能合约的使用信息;步骤S413,通过跨链服务器120传送每一物联网装置130对应的使用信息至电子装置140。于一实施例中,跨链服务器120会根据电子装置140的装置识别码向第二区块链110b查询智能柜的使用信息,使用信息包含合约识别号、物联网装置130的位置、物联网装置130对应的状态等信息。跨链服务器120在接收到智能柜的使用信息后,会将每一智能柜的使用信息传送至电子装置140。Based on the above, the control method 400 of the IoT device executes step S412, and the cross-chain server 120 makes a query request to the second blockchain 110b according to the device identification code, so as to query the usage information of the smart contract corresponding to each IoT device 130; Step S413 , transmitting the usage information corresponding to each IoT device 130 to the electronic device 140 through the cross-chain server 120 . In one embodiment, the cross-chain server 120 queries the second blockchain 110b for usage information of the smart cabinet according to the device identification code of the electronic device 140 , and the usage information includes the contract identification number, the location of the IoT device 130 , and the IoT device. 130 corresponding status and other information. After receiving the usage information of the smart cabinets, the cross-chain server 120 transmits the usage information of each smart cabinet to the electronic device 140 .

接着,物联网装置的控制方法400执行步骤S414,选择物联网装置130的其中之一,并传送预约信息至跨链服务器120。于一实施例中,使用者可以透过电子装置140选择智能柜A,智能柜A被选择后由电子装置140传送预约信息至跨链服务器120,其中预约信息包含身分识别号、合约识别号、被选择的物联网装置130对应的装置识别号(在此即为智能柜A对应的装置识别号)。身分识别号对应于传送预约信息的电子装置140,合约识别号以及装置识别号都是对应于被选择的智能柜A。Next, the control method 400 of the IoT device executes step S414 , selects one of the IoT devices 130 , and transmits the reservation information to the cross-chain server 120 . In one embodiment, the user can select the smart locker A through the electronic device 140. After the smart locker A is selected, the electronic device 140 transmits the reservation information to the cross-chain server 120, wherein the reservation information includes the ID number, the contract identification number, The device identification number corresponding to the selected IoT device 130 (here, the device identification number corresponding to the smart cabinet A). The identification number corresponds to the electronic device 140 that transmits the reservation information, and both the contract identification number and the device identification number correspond to the selected smart cabinet A.

接着,物联网装置的控制方法400执行步骤S415,通过跨链服务器120传送预约信息至第二区块链110b,并更新被选择的物联网装置130对应的状态;以及步骤S416,更新商家服务器150中被选择的物联网装置130对应的状态。于一实施例中,透过跨链服务器120传送预约信息至第二区块链110b以将智能柜A的状态更新为“使用中”,接着再更新商家服务器150中智能柜A的状态。Next, the control method 400 of the IoT device executes step S415, transmits the reservation information to the second blockchain 110b through the cross-chain server 120, and updates the state corresponding to the selected IoT device 130; and step S416, updates the merchant server 150 The state corresponding to the selected IoT device 130 in . In one embodiment, the cross-chain server 120 transmits the reservation information to the second blockchain 110b to update the status of the smart locker A to “in use”, and then update the status of the smart locker A in the merchant server 150 .

于一实施例中,当跨链服务器120根据合约识别号查询智能合约时,跨链服务器120产生对应智能合约的装置识别号的控制指令并传送到第一区块链110a,由对应装置识别号的物联网装置130连接至该第一区块链取得。举例而言,如果使用者透过电子装置140要求要解锁或上锁智能柜A,可以根据合约识别号透过跨链服务器120查询智能柜A对应的智能合约,接着跨链服务器120会产生对应的控制指令,送到第一区块链110a,控制智能柜A可连接至该第一区块链110a取得控制指令。In one embodiment, when the cross-chain server 120 queries the smart contract according to the contract ID, the cross-chain server 120 generates a control command corresponding to the device ID of the smart contract and transmits it to the first blockchain 110a, where the corresponding device ID is sent to the first blockchain 110a. The IoT device 130 is connected to the first blockchain to obtain. For example, if the user requests to unlock or lock the smart locker A through the electronic device 140, he can query the smart contract corresponding to the smart locker A through the cross-chain server 120 according to the contract identification number, and then the cross-chain server 120 will generate a corresponding smart contract The control instructions are sent to the first block chain 110a, and the control smart cabinet A can be connected to the first block chain 110a to obtain the control instructions.

承上述,物联网装置的控制方法400执行步骤S420,利用电子装置140透过跨链服务器120以执行智能合约并控制对应智能合约的物联网装置130。于一实施例中,步骤S420是用以利用电子装置140解锁智能柜A,步骤S420还包含步骤S421~S429。请进一步参考图6,图6是根据本案的一些实施例所绘示的步骤S420的流程图,如图6所示,物联网装置的控制方法400接着执行步骤S421,利用电子装置140读取物联网装置130的其中之一对应的条码,并取得被选择的物联网装置130对应的合约识别号。于一实施例中,使用者在步骤S411中预约了智能柜A,此时使用者可以透过电子装置140扫描智能柜A柜体上的条码或二维条码,以取得智能柜A的合约识别号。Based on the above, the control method 400 of the IoT device executes step S420, using the electronic device 140 to execute the smart contract through the cross-chain server 120 and control the IoT device 130 corresponding to the smart contract. In one embodiment, step S420 is used to unlock the smart cabinet A by using the electronic device 140 , and step S420 further includes steps S421 - S429 . Please refer to FIG. 6 . FIG. 6 is a flowchart of step S420 according to some embodiments of the present application. As shown in FIG. 6 , the control method 400 of the Internet of Things device then executes step S421 , using the electronic device 140 to read the object The barcode corresponding to one of the Internet-connected devices 130 is obtained, and the contract identification number corresponding to the selected Internet-of-Things device 130 is obtained. In one embodiment, the user has reserved the smart cabinet A in step S411, and at this time, the user can scan the barcode or 2D barcode on the cabinet body of the smart cabinet A through the electronic device 140 to obtain the contract identification of the smart cabinet A No.

接着,物联网装置的控制方法400接着执行步骤S422,将合约识别号以及操作信息传送至跨链服务器120。于一实施例中,操作信息包含电子装置140对应的身分识别号以及解锁请求等讯息。Next, the control method 400 of the Internet of Things device then executes step S422 to transmit the contract identification number and the operation information to the cross-chain server 120 . In one embodiment, the operation information includes information such as an identification number corresponding to the electronic device 140 and an unlock request.

接着,物联网装置的控制方法400接着执行步骤S423,根据合约识别号于第二区块链110b上查询被选择的物联网装置130对应的智能合约;以及步骤S424,第二区块链110b回传智能合约的内容信息至跨链服务器120。接续上方实施例,跨链服务器120接收到合约识别号以及解锁信息后会向第二区块链110b提出请求,以取得智能柜A对应的智能合约中的内容信息,内容信息包含被选择的物联网装置130对应的装置识别号以及被选择的物联网装置130对应的状态。举例而言,跨链服务器120可以取得智能柜A对应的装置识别号(第一区块链110a使用的识别号),智能柜A当前的使用状态,在步骤S410执行完毕后智能柜A的状态即更新为“使用中”,内容信息还可以包含电子装置140的身分识别号。Next, the control method 400 of the Internet of Things device then executes step S423 to query the smart contract corresponding to the selected Internet of Things device 130 on the second blockchain 110b according to the contract identification number; and in step S424, the second blockchain 110b returns The content information of the smart contract is transmitted to the cross-chain server 120 . Continuing from the above embodiment, after receiving the contract identification number and the unlocking information, the cross-chain server 120 will make a request to the second blockchain 110b to obtain the content information in the smart contract corresponding to the smart cabinet A, and the content information includes the selected object. The device identification number corresponding to the Internet-connected device 130 and the state corresponding to the selected IoT device 130 . For example, the cross-chain server 120 can obtain the device identification number corresponding to the smart cabinet A (the identification number used by the first blockchain 110a ), the current usage status of the smart cabinet A, and the status of the smart cabinet A after step S410 is completed. That is, it is updated to "in use", and the content information may further include the identification number of the electronic device 140 .

接着,物联网装置的控制方法400接着执行步骤S425,跨链服务器120根据身分识别号以及被选择的物联网装置130对应的状态验证操作信息,并传送控制请求至第一区块链110a。于一实施例中,跨链服务器120在根据智能柜A当前的使用状态以及电子装置140的身分识别号与操作信息比对后,将控制请求传送至第一区块链110a,等待智能柜A侦测到控制请求以解锁智能柜A。Next, the control method 400 of the IoT device then executes step S425, the cross-chain server 120 verifies the operation information according to the ID number and the state corresponding to the selected IoT device 130, and transmits a control request to the first blockchain 110a. In one embodiment, the cross-chain server 120 transmits the control request to the first blockchain 110a according to the current usage status of the smart cabinet A and the identification number of the electronic device 140 and the operation information, and waits for the smart cabinet A A control request is detected to unlock smart cabinet A.

接着,物联网装置的控制方法400接着执行步骤S426,选择的物联网装置130可连接到第一区块链110a取得控制指令,以及步骤S427,被选择的物联网装置130传送操作记录至第一区块链110a。于一实施例中,第一区块链110a接收到跨链服务器120传送的控制指令后于以储存,智能柜A的处理器131可连接到第一区块链110取得控制指令,处理器131会根据控制指令控制电子锁头构件134解锁,接着,处理器131会回传操作记录至第一区块链110a。Next, the control method 400 of the IoT device then executes step S426, the selected IoT device 130 can be connected to the first blockchain 110a to obtain a control command, and step S427, the selected IoT device 130 transmits the operation record to the first Blockchain 110a. In one embodiment, after the first blockchain 110a receives the control command sent by the cross-chain server 120 and stores it, the processor 131 of the smart cabinet A can be connected to the first blockchain 110 to obtain the control command, and the processor 131 The electronic lock member 134 is controlled to be unlocked according to the control instruction, and then, the processor 131 returns the operation record to the first blockchain 110a.

接着,物联网装置的控制方法400接着执行步骤S428,跨链服务器120侦测到操作记录后,更新被选择的物联网装置130对应的智能合约;以及步骤S429,跨链服务器120传送被选择的物联网装置130对应的状态至电子装置140。接续上方实施例,当第一区块链110a接收到操作记录后,跨链服务器120会侦测到操作记录并更新智能柜A于第二区块链110b上的智能合约,并再回传智能柜A对应的状态至使用者的电子装置140以及商家服务器150。举例而言,如果智能柜A解锁后并且是在使用中的状态可以为“使用中已解锁”。Next, the control method 400 of the IoT device then executes step S428, after the cross-chain server 120 detects the operation record, updates the smart contract corresponding to the selected IoT device 130; and step S429, the cross-chain server 120 transmits the selected The state corresponding to the IoT device 130 is sent to the electronic device 140 . Continuing from the above embodiment, when the first blockchain 110a receives the operation record, the cross-chain server 120 will detect the operation record and update the smart contract of the smart cabinet A on the second blockchain 110b, and then send back the smart contract. The state corresponding to the cabinet A is sent to the user's electronic device 140 and the merchant server 150 . For example, if the smart cabinet A is unlocked and in use, the status can be "unlocked in use".

接着,物联网装置的控制方法400执行步骤S430,透过跨链服务器120更新被控制的物联网装置130对应的状态。于一实施例中,步骤S430是用以利用电子装置140更新智能柜A的状态,步骤S430还包含步骤S431~S436。请进一步参考图7,图7是根据本案的一些实施例所绘示的步骤S430的流程图,如图7所示,物联网装置的控制方法400接着执行步骤S431,被选择的物联网装置130传送状态更新记录至第一区块链110a。于一实施例中,当使用者将智能柜A上锁后,智能柜A会传送状态更新记录至第一区块链110a。Next, the control method 400 of the IoT device executes step S430 , and the state corresponding to the controlled IoT device 130 is updated through the cross-chain server 120 . In one embodiment, step S430 is used to update the state of the smart cabinet A by using the electronic device 140, and step S430 further includes steps S431-S436. Please refer to FIG. 7 . FIG. 7 is a flowchart of step S430 according to some embodiments of the present application. As shown in FIG. 7 , the control method 400 of an IoT device then executes step S431 , and the selected IoT device 130 The status update record is transmitted to the first blockchain 110a. In one embodiment, after the user locks the smart locker A, the smart locker A transmits a status update record to the first blockchain 110a.

接着,物联网装置的控制方法400接着执行步骤S432,电子装置140传送被选择的物联网装置130对应的合约识别号以及上锁信息至跨链服务器120。于一实施例中,使用者的电子装置140在使用者关上智能柜A的柜门后,会传送智能柜A对应的合约识别号以及上锁信息至跨链服务器120,以确认智能柜A已完成上锁。Next, the control method 400 of the IoT device then executes step S432 , the electronic device 140 transmits the contract identification number and the lock information corresponding to the selected IoT device 130 to the cross-chain server 120 . In one embodiment, after the user closes the door of the smart cabinet A, the user's electronic device 140 will transmit the contract identification number and the lock information corresponding to the smart cabinet A to the cross-chain server 120 to confirm that the smart cabinet A has Complete locking.

接着,物联网装置的控制方法400接着执行步骤S433,根据合约识别号于第二区块链110b上查询被选择的物联网装置130对应的智能合约,以及步骤S434,第二区块链110b回传智能合约的内容信息至跨链服务器120。于一实施例中,步骤S433~S434的操作方式与步骤S423~S424类似,都是跨链服务器120提出查询智能合约的请求,第二区块链110b会回传智能柜A的智能合约的内容信息,在此不再赘述。Next, the control method 400 for the IoT device then executes step S433, in which the smart contract corresponding to the selected IoT device 130 is queried on the second blockchain 110b according to the contract identification number, and in step S434, the second blockchain 110b returns The content information of the smart contract is transmitted to the cross-chain server 120 . In one embodiment, the operations of steps S433-S434 are similar to steps S423-S424, in that the cross-chain server 120 makes a request to query the smart contract, and the second blockchain 110b will return the content of the smart contract of the smart cabinet A information, which will not be repeated here.

接着,物联网装置的控制方法400接着执行步骤S435,跨链服务器120侦测到状态更新记录后,根据身分识别号以及被选择的物联网装置130对应的状态验证上锁信息。于一实施例中,跨链服务器120会侦测到智能柜A的状态更新记录后,会根据智能柜A当前的使用状态以及电子装置140的身分识别号与上锁信息比对,以确认智能柜A已经上锁。Next, the control method 400 of the IoT device then executes step S435 , after the cross-chain server 120 detects the status update record, it verifies the lock information according to the ID number and the status corresponding to the selected IoT device 130 . In one embodiment, after detecting the status update record of the smart cabinet A, the cross-chain server 120 will compare the current usage status of the smart cabinet A and the identification number of the electronic device 140 with the lock information to confirm the smart lock. Cabinet A is locked.

接着,物联网装置的控制方法400接着执行步骤S436,上锁信息验证成功后,跨链服务器120更新被选择的物联网装置130对应的该智能合约。于一实施例中,当确认智能柜A已经上锁后,跨链服务器120会更新智能柜A对应的智能合约,以更新智能柜A的状态,举例而言,如果智能柜A上锁后并且是在使用中的状态可以为“使用中已上锁”。Next, the control method 400 of the IoT device then executes step S436 , after the verification of the lock information is successful, the cross-chain server 120 updates the smart contract corresponding to the selected IoT device 130 . In one embodiment, after confirming that the smart cabinet A has been locked, the cross-chain server 120 will update the smart contract corresponding to the smart cabinet A to update the status of the smart cabinet A. For example, if the smart cabinet A is locked and The status that is in use can be "locked in use".

接着,物联网装置的控制方法400接着执行步骤S437,跨链服务器120传送被选择的物联网装置130对应的状态至电子装置140,以及更新商家服务器150中被选择的物联网装置130对应的状态。于一实施例中,更新完智能合约后,跨链服务器120会再传送智能柜A对应的状态至电子装置140,以及更新商家服务器150中智能柜A对应的状态。Next, the control method 400 for the IoT device then executes step S437 , the cross-chain server 120 transmits the status corresponding to the selected IoT device 130 to the electronic device 140 , and updates the status corresponding to the selected IoT device 130 in the merchant server 150 . In one embodiment, after updating the smart contract, the cross-chain server 120 will transmit the status corresponding to the smart cabinet A to the electronic device 140 , and update the status corresponding to the smart cabinet A in the merchant server 150 .

于另一实施例中,使用者也可以选择不预约物联网装置130,也就是不执行步骤S410的流程,仅执行步骤S420~S430的流程,由于步骤S420是解锁物联网装置130以及步骤S430是上锁物联网装置130,因此在一般情况下步骤S430的流程通常会与步骤S420的流程一起发生,仅有在特殊的异常状况下步骤S420才会与步骤S430独立发生,例如使用者未关上柜门,或是解锁柜门发生异常等情况。In another embodiment, the user may also choose not to reserve the IoT device 130, that is, the process of step S410 is not performed, and only the processes of steps S420-S430 are performed, since step S420 is to unlock the IoT device 130 and step S430 is to The IoT device 130 is locked. Therefore, in general, the process of step S430 usually occurs together with the process of step S420. Only in special abnormal situations, step S420 will occur independently of step S430, for example, the user does not close the cabinet. The door, or the unlocking of the cabinet door is abnormal, etc.

由上述本案的实施方式可知,本案主要是改进以往集中式管理的管理僵化问题与安全隐私争议,以及现有非集中式管理机制因区块链交易时间过长无法进行即时交易等问题。利用物联网装置合约管理服务,保留集中式管理弹性部署、数据安全可靠的特性,达到物联网装置即时互动,并降低物联网装置开发与部署成本的功效。From the implementation of the above case, it can be seen that this case is mainly to improve the management rigidity and security and privacy disputes of the previous centralized management, and the existing non-centralized management mechanism cannot conduct real-time transactions due to the long blockchain transaction time. The IoT device contract management service is used to retain the features of centralized management, flexible deployment, and data security and reliability, enabling instant interaction of IoT devices, and reducing the cost of IoT device development and deployment.

另外,上述例示包含依序的示范步骤,但这些步骤不必依所显示的顺序被执行。以不同顺序执行该些步骤皆在本揭示内容的考量范围内。在本揭示内容的实施例的精神与范围内,可视情况增加、取代、变更顺序及/或省略这些步骤。Additionally, the above illustrations contain sequential exemplary steps, but the steps do not have to be performed in the order shown. It is within the contemplation of this disclosure to perform the steps in a different order. These steps may be added, replaced, changed order and/or omitted as appropriate within the spirit and scope of the embodiments of the present disclosure.

虽然本案已以实施方式揭示如上,然其并非用以限定本案,任何熟悉此技艺者,在不脱离本案的精神和范围内,当可作各种的更动与润饰,因此本案的保护范围当视所附的权利要求书所界定的范围为准。Although this case has been disclosed above in terms of implementation, it is not intended to limit this case. Anyone who is familiar with this technique can make various changes and modifications without departing from the spirit and scope of this case. Therefore, the protection scope of this case shall be The scope as defined by the appended claims shall prevail.

Claims (14)

1.一种物联网装置的控制方法,其特征在于,应用于多个物联网装置,每一该物联网装置具有对应的一装置识别号,该物联网装置的控制方法包含:1. A control method for an Internet of Things device, characterized in that, applied to a plurality of Internet of Things devices, each of the Internet of Things devices has a corresponding device identification number, and the control method of the Internet of Things device comprises: 透过一跨链服务器接收并储存每一该物联网装置对应的该装置识别号,每一物联网装置并于一第一区块链上注册其对应的该装置识别号;Receive and store the device ID corresponding to each IoT device through a cross-chain server, and each IoT device registers its corresponding device ID on a first blockchain; 透过该跨链服务器将该装置识别号填入对应的一智能合约;以及Filling the device identification number into a corresponding smart contract through the cross-chain server; and 将该智能合约部署至一第二区块链以产生对应该智能合约的一合约识别号并储存对应的该装置识别号;deploying the smart contract to a second blockchain to generate a contract identification number corresponding to the smart contract and store the corresponding device identification number; 其中,该跨链服务器根据该合约识别号查询该智能合约,产生对应该智能合约的该装置识别号的一控制指令并传送到该第一区块链,以供对应该装置识别号的物联网装置连接到该第一区块链取得。Wherein, the cross-chain server queries the smart contract according to the contract identification number, generates a control command corresponding to the device identification number of the smart contract, and transmits it to the first blockchain for the Internet of Things corresponding to the device identification number. The device is connected to this first blockchain acquisition. 2.根据权利要求1所述的物联网装置的控制方法,其特征在于,还包含:2. The method for controlling an Internet of Things device according to claim 1, further comprising: 该跨链服务器传送每一该物联网装置的该合约识别号至一商家服务器,由该商家服务器记录每一该物联网装置对应的状态。The cross-chain server transmits the contract identification number of each IoT device to a merchant server, and the merchant server records the corresponding state of each IoT device. 3.根据权利要求1所述的物联网装置的控制方法,其特征在于,还包含:3. The method for controlling an Internet of Things device according to claim 1, further comprising: 利用一电子装置透过该跨链服务器提出一预约请求。An electronic device is used to make a reservation request through the cross-chain server. 4.根据权利要求3所述的物联网装置的控制方法,其特征在于,利用该电子装置透过该跨链服务器提出该预约请求,还包含:4 . The control method of the Internet of Things device according to claim 3 , wherein using the electronic device to make the reservation request through the cross-chain server further comprises: 4 . 通过该电子装置传送对应的一身分识别号以及一查询请求至该跨链服务器;Send a corresponding ID number and a query request to the cross-chain server through the electronic device; 通过该跨链服务器依据该装置识别码向该第二区块链提出该查询请求,以查询每一该物联网装置对应的该智能合约的该使用信息;Submit the query request to the second blockchain through the cross-chain server according to the device identification code to query the usage information of the smart contract corresponding to each IoT device; 通过该跨链服务器传送每一该物联网装置对应的该使用信息至该电子装置;其中该使用信息包含该合约识别号、所述多个物联网装置的位置、所述多个物联网装置对应的状态;The usage information corresponding to each IoT device is transmitted to the electronic device through the cross-chain server; wherein the usage information includes the contract identification number, the locations of the IoT devices, and the corresponding IoT devices. status; 选择所述多个物联网装置的其中之一,并传送一预约信息至该跨链服务器;其中该预约信息包含该身分识别号、该合约识别号、被选择的物联网装置对应的该装置识别号;Selecting one of the plurality of IoT devices, and sending a reservation information to the cross-chain server; wherein the reservation information includes the identity identification number, the contract identification number, and the device identification corresponding to the selected Internet of Things device No; 通过该跨链服务器传送该预约信息至该第二区块链,并更新被选择的物联网装置对应的状态;以及Send the reservation information to the second blockchain through the cross-chain server, and update the status corresponding to the selected IoT device; and 更新该商家服务器中被选择的物联网装置对应的状态。Update the status corresponding to the selected IoT device in the merchant server. 5.根据权利要求1所述的物联网装置的控制方法,其特征在于,还包含:5. The method for controlling an Internet of Things device according to claim 1, further comprising: 利用一电子装置透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置;以及Utilize an electronic device to execute the smart contract through the cross-chain server and control the IoT device corresponding to the smart contract; and 透过该跨链服务器更新被控制的物联网装置对应的状态。The state corresponding to the controlled IoT device is updated through the cross-chain server. 6.根据权利要求5所述的物联网装置的控制方法,其特征在于,利用该电子装置透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置,还包含:6. The control method of an Internet of Things device according to claim 5, wherein the electronic device is used to execute the smart contract and control the Internet of Things device corresponding to the smart contract through the cross-chain server, further comprising: 利用该电子装置读取所述多个物联网装置的其中之一对应的一条码,并取得被选择的物联网装置对应的该合约识别号;Use the electronic device to read a barcode corresponding to one of the plurality of IoT devices, and obtain the contract identification number corresponding to the selected IoT device; 将该合约识别号以及一操作信息传送至该跨链服务器;Send the contract identification number and an operation information to the cross-chain server; 根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约;Query the smart contract corresponding to the selected IoT device on the second blockchain according to the contract identification number; 该第二区块链回传该智能合约的一内容信息至该跨链服务器;其中,该内容信息包含被选择的物联网装置对应的该装置识别号以及被选择的物联网装置对应的状态;The second blockchain returns a content information of the smart contract to the cross-chain server; wherein, the content information includes the device identification number corresponding to the selected IoT device and the state corresponding to the selected IoT device; 该跨链服务器根据该身分识别号以及被选择的物联网装置对应的状态验证该操作信息,并传送一控制指令至该第一区块链;The cross-chain server verifies the operation information according to the ID number and the state corresponding to the selected IoT device, and sends a control command to the first blockchain; 被选择的物联网装置连接到该第一区块链取得该控制指令;The selected IoT device is connected to the first blockchain to obtain the control instruction; 被选择的物联网装置传送一操作记录至该第一区块链;The selected IoT device transmits an operation record to the first blockchain; 该跨链服务器侦测到该操作记录后,更新被选择的物联网装置对应的该智能合约;以及After the cross-chain server detects the operation record, it updates the smart contract corresponding to the selected IoT device; and 该跨链服务器传送被选择的物联网装置对应的状态至该电子装置。The cross-chain server transmits the state corresponding to the selected IoT device to the electronic device. 7.根据权利要求5所述的物联网装置的控制方法,其特征在于,透过该跨链服务器更新被控制的物联网装置对应的状态,还包含:7. The method for controlling an IoT device according to claim 5, wherein updating the state corresponding to the controlled IoT device through the cross-chain server further comprises: 被选择的物联网装置传送一状态更新记录至该第一区块链;The selected IoT device transmits a status update record to the first blockchain; 该电子装置传送被选择的物联网装置对应的该合约识别号以及一上锁信息至该跨链服务器;The electronic device transmits the contract identification number and a lock information corresponding to the selected IoT device to the cross-chain server; 根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约;Query the smart contract corresponding to the selected IoT device on the second blockchain according to the contract identification number; 该第二区块链回传该智能合约的该内容信息至该跨链服务器;The second blockchain returns the content information of the smart contract to the cross-chain server; 该跨链服务器侦测到该状态更新记录后,根据该身分识别号以及被选择的物联网装置对应的状态验证该上锁信息;After the cross-chain server detects the status update record, it verifies the lock information according to the ID number and the status corresponding to the selected IoT device; 该上锁信息验证成功后,该跨链服务器更新被选择的物联网装置对应的该智能合约;以及After the verification of the locking information is successful, the cross-chain server updates the smart contract corresponding to the selected IoT device; and 该跨链服务器传送被选择的物联网装置对应的状态至该电子装置,以及更新该商家服务器中被选择的物联网装置对应的状态。The cross-chain server transmits the status corresponding to the selected IoT device to the electronic device, and updates the status corresponding to the selected IoT device in the merchant server. 8.一种物联网装置的控制系统,其特征在于,应用于一区块链网络,该区块链网络包含一第一区块链以及一第二区块链,该物联网装置的控制系统包含:8. A control system for an Internet of Things device, characterized in that it is applied to a block chain network comprising a first block chain and a second block chain, and the control system of the Internet of Things device Include: 多个物联网装置,每一该物联网装置具有对应的一装置识别号;以及a plurality of IoT devices, each of which has a corresponding device identification number; and 一跨链服务器,与所述多个物联网装置与该区块链网络通讯连接,该跨链服务器更用以接收并储存每一该物联网装置对应的该装置识别号,每一物联网装置并于该第一区块链上注册其对应的该装置识别号,并将该装置识别号填入对应的一智能合约,以将该智能合约部署至该第二区块链以产生对应该智能合约的一合约识别号并储存对应的该装置识别号,其中,该跨链服务器根据该合约识别号查询该智能合约,产生对应该智能合约的该装置识别号的一控制指令并传送到该第一区块链,以供对应该装置识别号的物联网装置连接到第一区块链取得。A cross-chain server, communicating with the plurality of IoT devices and the blockchain network, the cross-chain server is further used for receiving and storing the device identification number corresponding to each IoT device, and each IoT device And register the corresponding device identification number on the first blockchain, and fill the device identification number into a corresponding smart contract, so as to deploy the smart contract to the second blockchain to generate the corresponding smart contract A contract identification number of the contract and store the corresponding device identification number, wherein the cross-chain server queries the smart contract according to the contract identification number, generates a control command corresponding to the device identification number of the smart contract and transmits it to the first A block chain, for the IoT device corresponding to the device identification number to be connected to the first block chain to obtain. 9.根据权利要求8所述的物联网装置的控制系统,其特征在于,每一该物联网装置还包含:9. The control system of the Internet of Things device according to claim 8, wherein each of the Internet of Things devices further comprises: 一处理器,用以产生该装置识别号;a processor for generating the device identification number; 一通讯模块,与该处理器电性连接,用以与该跨链服务器以及该第一区块链通讯连接并取得该控制指令;以及a communication module electrically connected to the processor for communicating with the cross-chain server and the first blockchain to obtain the control command; and 一电子锁头构件,与该处理器电性连接;an electronic lock member electrically connected with the processor; 其中,该处理器用以根据该控制指令控制该电子锁头构件的上锁及解锁。Wherein, the processor is used for controlling the locking and unlocking of the electronic lock member according to the control instruction. 10.根据权利要求8所述的物联网装置的控制系统,其特征在于,每一该物联网装置还包含有一条码以记录该装置识别码,且该控制系统还包含:10. The control system of the Internet of Things device according to claim 8, wherein each of the Internet of Things devices further comprises a barcode to record the device identification code, and the control system further comprises: 一电子装置,与该跨链服务器通讯连接,用以读取该条码后透过该跨链服务器提出以查询对应该物联网装置的一使用信息。An electronic device is communicated and connected with the cross-chain server, and is used to read the barcode and ask for a usage information corresponding to the Internet of Things device through the cross-chain server. 11.根据权利要求8所述的物联网装置的控制系统,其特征在于,该控制系统还包含:11. The control system of the Internet of Things device according to claim 8, wherein the control system further comprises: 一商家服务器,与该跨链服务器通讯连接,以接收每一该物联网装置的该合约识别号,并记录每一该物联网装置对应的状态;以及a merchant server, communicating with the cross-chain server, to receive the contract identification number of each of the IoT devices, and to record the corresponding status of each of the IoT devices; and 一电子装置,用以传送对应的一身分识别号以及一查询请求至该跨链服务器,该跨链服务器依据该装置识别码向该第二区块链提出该查询请求,以查询每一该物联网装置对应的该智能合约的该使用信息;An electronic device for sending a corresponding ID number and a query request to the cross-chain server, and the cross-chain server submits the query request to the second blockchain according to the device ID to query each of the objects The usage information of the smart contract corresponding to the connected device; 其中,该跨链服务器用以传送每一该物联网装置对应的该使用信息至该电子装置;Wherein, the cross-chain server is used to transmit the usage information corresponding to each IoT device to the electronic device; 其中,该电子装置用以提供选择所述多个物联网装置的其中之一,并传送一预约信息至该跨链服务器;Wherein, the electronic device is used to select one of the plurality of IoT devices, and transmit a reservation information to the cross-chain server; 其中,该跨链服务器用以传送该预约信息至该第二区块链,并更新被选择的物联网装置对应的状态,以及更新该商家服务器中被选择的物联网装置对应的状态;Wherein, the cross-chain server is used to transmit the reservation information to the second blockchain, update the status corresponding to the selected IoT device, and update the status corresponding to the selected IoT device in the merchant server; 其中,该使用信息包含该合约识别号、所述多个物联网装置的位置、所述多个物联网装置对应的状态;该预约信息包含该身分识别号、该合约识别号、被选择的物联网装置对应的该装置识别号。Wherein, the usage information includes the contract identification number, the locations of the multiple IoT devices, and the corresponding states of the multiple IoT devices; the reservation information includes the identification number, the contract identification number, the selected object The device identification number corresponding to the networked device. 12.根据权利要求8所述的物联网装置的控制系统,其特征在于,该电子装置更用以透过该跨链服务器以执行该智能合约并控制对应该智能合约的物联网装置,以及该跨链服务器用以更新被控制的物联网装置对应的状态。12. The control system of an IoT device according to claim 8, wherein the electronic device is further configured to execute the smart contract and control the IoT device corresponding to the smart contract through the cross-chain server, and the The cross-chain server is used to update the state corresponding to the controlled IoT device. 13.根据权利要求12所述的物联网装置的控制系统,其特征在于,利用该电子装置选择所述多个物联网装置的其中之一,并取得被选择的物联网装置对应的该合约识别号,该电子装置用以将该合约识别号以及一操作信息传送至该跨链服务器,该跨链服务器用以根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约,并接收该第二区块链回传该智能合约的一内容信息;该跨链服务器根据该身分识别号以及被选择的物联网装置对应的状态验证该操作信息,并传送一控制指令至该第一区块链;接着,被选择的物联网装置用以连接到该第一区块链取得该控制指令,并传送一操作记录至该第一区块链;该跨链服务器用以侦测到该操作记录后,更新被选择的物联网装置对应的该智能合约,接着传送被选择的物联网装置对应的状态至该电子装置;以及13 . The control system of claim 12 , wherein the electronic device is used to select one of the plurality of IoT devices, and the contract identification corresponding to the selected IoT device is obtained. 14 . number, the electronic device is used to transmit the contract identification number and an operation information to the cross-chain server, and the cross-chain server is used to query the selected IoT device on the second blockchain according to the contract identification number. the smart contract, and receives a content information of the smart contract returned by the second blockchain; the cross-chain server verifies the operation information according to the ID number and the state corresponding to the selected IoT device, and transmits a sending a control command to the first blockchain; then, the selected IoT device is used to connect to the first blockchain to obtain the control command, and transmit an operation record to the first blockchain; the cross-chain server After detecting the operation record, update the smart contract corresponding to the selected IoT device, and then transmit the status corresponding to the selected IoT device to the electronic device; and 其中,该内容信息包含被选择的物联网装置对应的该装置识别号以及被选择的物联网装置对应的状态。The content information includes the device identification number corresponding to the selected IoT device and the state corresponding to the selected IoT device. 14.根据权利要求12所述的物联网装置的控制系统,其特征在于,被选择的物联网装置用以传送一状态更新记录至该第一区块链,接着该电子装置用以传送被选择的物联网装置对应的该合约识别号以及一上锁信息至该跨链服务器;该跨链服务器用以根据该合约识别号于该第二区块链上查询被选择的物联网装置对应的该智能合约,接着接收该第二区块链回传的该智能合约的该内容信息;该跨链服务器用以侦测到该状态更新记录后,根据该身分识别号以及被选择的物联网装置对应的状态验证该上锁信息,该上锁信息验证成功后,该跨链服务器更新被选择的物联网装置对应的该智能合约,以及传送被选择的物联网装置对应的状态至该电子装置,并更新该商家服务器中被选择的物联网装置对应的状态。14. The control system of claim 12, wherein the selected IoT device is used to transmit a status update record to the first blockchain, and then the electronic device is used to transmit the selected The contract identification number corresponding to the IoT device and a lock information are sent to the cross-chain server; the cross-chain server is used to query the selected IoT device on the second blockchain according to the contract identification number. The smart contract, and then receives the content information of the smart contract returned by the second blockchain; the cross-chain server is used to detect the status update record, according to the identification number and the selected IoT device corresponding After the verification of the lock information is successful, the cross-chain server updates the smart contract corresponding to the selected IoT device, and transmits the status corresponding to the selected IoT device to the electronic device, and Update the status corresponding to the selected IoT device in the merchant server.
CN201811486652.5A 2018-11-28 2018-12-06 Control method and control system of Internet of things device Pending CN111245883A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW107142538 2018-11-28
TW107142538A TWI683590B (en) 2018-11-28 2018-11-28 Control method and control system for internet of things device

Publications (1)

Publication Number Publication Date
CN111245883A true CN111245883A (en) 2020-06-05

Family

ID=69942381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811486652.5A Pending CN111245883A (en) 2018-11-28 2018-12-06 Control method and control system of Internet of things device

Country Status (2)

Country Link
CN (1) CN111245883A (en)
TW (1) TWI683590B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631803A (en) * 2020-12-21 2021-04-09 杭州趣链科技有限公司 Intelligent contract calling method, device, server and storage medium for block chain
CN113518103A (en) * 2021-03-01 2021-10-19 唐芮 Industrial Internet of things networking control method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI850379B (en) * 2020-05-13 2024-08-01 微星科技股份有限公司 Payment method and system
TWI849928B (en) * 2023-05-24 2024-07-21 樺緯物聯股份有限公司 Network group control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392618A (en) * 2017-07-28 2017-11-24 中链科技有限公司 It is implanted into the method and apparatus of intelligent contract
CN107819848A (en) * 2017-11-08 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of internet of things equipment autonomy interconnected method based on block chain
CN107819829A (en) * 2017-10-17 2018-03-20 上海点融信息科技有限责任公司 Access method, system, block chain node device and the user terminal of block chain
CN108009878A (en) * 2017-11-24 2018-05-08 深圳市轱辘车联数据技术有限公司 A kind of information processing method and its device
CN108073829A (en) * 2017-12-29 2018-05-25 上海唯链信息科技有限公司 For recording the method for the transportation data of object, medium, internet of things equipment, block platform chain and Internet of things system
US20180302222A1 (en) * 2017-04-18 2018-10-18 Samsung Electronics Co., Ltd. Method and apparatus for access control in distributed blockchain-based internet of things (iot) network
CN108737348A (en) * 2017-04-21 2018-11-02 中国科学院信息工程研究所 A kind of internet of things equipment access control method of the intelligent contract based on block chain
CN108880797A (en) * 2018-06-27 2018-11-23 京信通信系统(中国)有限公司 A kind of authentication method and internet of things equipment of internet of things equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201613176D0 (en) * 2016-07-29 2016-09-14 Eitc Holdings Ltd Computer-implemented method and system
EP4064167A1 (en) * 2016-07-29 2022-09-28 nChain Licensing AG Blockchain-implemented method and system
EP3367289A1 (en) * 2017-02-27 2018-08-29 Nokia Solutions and Networks Oy Internet connection setup between computing devices using blockchains
US10102265B1 (en) * 2017-04-12 2018-10-16 Vijay K. Madisetti Method and system for tuning blockchain scalability for fast and low-cost payment and transaction processing
CN108881187B (en) * 2018-05-31 2021-01-29 杭州溪塔科技有限公司 Cross-link data transmission method and device suitable for permission link scene
CN113095822A (en) * 2018-06-27 2021-07-09 创新先进技术有限公司 Intelligent contract calling method and device based on block chain and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180302222A1 (en) * 2017-04-18 2018-10-18 Samsung Electronics Co., Ltd. Method and apparatus for access control in distributed blockchain-based internet of things (iot) network
CN108737348A (en) * 2017-04-21 2018-11-02 中国科学院信息工程研究所 A kind of internet of things equipment access control method of the intelligent contract based on block chain
CN107392618A (en) * 2017-07-28 2017-11-24 中链科技有限公司 It is implanted into the method and apparatus of intelligent contract
CN107819829A (en) * 2017-10-17 2018-03-20 上海点融信息科技有限责任公司 Access method, system, block chain node device and the user terminal of block chain
CN107819848A (en) * 2017-11-08 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of internet of things equipment autonomy interconnected method based on block chain
CN108009878A (en) * 2017-11-24 2018-05-08 深圳市轱辘车联数据技术有限公司 A kind of information processing method and its device
CN108073829A (en) * 2017-12-29 2018-05-25 上海唯链信息科技有限公司 For recording the method for the transportation data of object, medium, internet of things equipment, block platform chain and Internet of things system
CN108880797A (en) * 2018-06-27 2018-11-23 京信通信系统(中国)有限公司 A kind of authentication method and internet of things equipment of internet of things equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贺毅: "面向物联网应用的区块链支撑平台的研究与设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631803A (en) * 2020-12-21 2021-04-09 杭州趣链科技有限公司 Intelligent contract calling method, device, server and storage medium for block chain
CN113518103A (en) * 2021-03-01 2021-10-19 唐芮 Industrial Internet of things networking control method and system

Also Published As

Publication number Publication date
TW202021414A (en) 2020-06-01
TWI683590B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN111245883A (en) Control method and control system of Internet of things device
US10682981B2 (en) Systems and methods for networked device security
EP3639465B1 (en) Improved hardware security module management
CN109146679A (en) Intelligent contract call method and device, electronic equipment based on block chain
CN107767267B (en) Virtual resource transfer method and device
CN110427785A (en) Acquisition methods and device, the storage medium and electronic device of device-fingerprint
EP3852040A2 (en) Blockchain transfer processing method and apparatus, device, and medium
CN109379336A (en) A kind of uniform authentication method, distributed system and computer readable storage medium
CN106846580A (en) Intelligent unlocking method and system
CN113098861B (en) Active identification carrier, authentication method thereof and service platform
WO2017030958A1 (en) Method, apparatus, and system for secure authentication
TW202016828A (en) Transaction processing method and device based on block chain and electronic equipment
CN107078806B (en) The programmed method and operating method and electric interfaces equipment of optical transceiver
CN108471395A (en) Realize method, apparatus, cloud computing system and the computer system of certification/mandate
US20240275600A1 (en) Secure element, method for registering tokens, and token reference register
CN110866740A (en) Processing method and device for block chain transaction request, electronic equipment and medium
CN107735802A (en) Electronic unit and the method performed in the electronic unit
CN110163658A (en) Virtual resource data processing method, device, computer equipment and storage medium
CN114240409A (en) Cross-chain asset interaction method based on improved Hash time lock
CN117834717A (en) Service realization and management method for financial equipment internet of things sharing use
TW201349005A (en) Security information interactive system, security information interactive device and security information interactive method based on spreading parameter set
CN109313761A (en) Application on selection card
CN101777979A (en) Operating method and system for intelligent key device
CN103634780B (en) A kind of terminal unlock method
CN101465011B (en) Lock control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200605

WD01 Invention patent application deemed withdrawn after publication