Trusted startup methods and apparatuses of blockchain integrated station

SG10202106947YBActive Publication Date: 2026-10-02ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SG10202106947Y
Authority / Receiving Office
SG · SG
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-08
Filing Date
2021-06-24
Publication Date
2026-10-02
Estimated Expiration
2041-06-24

AI Technical Summary

Technical Problem

The existing blockchain network architecture faces challenges in privatization deployment, leading to high technical interfaces and maintenance costs, and there is a need for a trusted startup method to ensure data reliability and security in a decentralized environment.

Method used

A trusted startup method for a blockchain integrated station involves computing a hash value of a locally-deployed disk image and comparing it with a pre-stored standard hash value using a cryptographic acceleration card, ensuring the disk image is trusted before execution to form a blockchain node.

Benefits of technology

This method ensures the trusted startup of a blockchain node by verifying the integrity of the disk image, reducing maintenance costs and enhancing security and reliability in privatization deployment scenarios.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

One or more examples of the present disclosure provide a trusted startup method and apparatus of a blockchain integrated station. The method includes: computing, by the blockchain integrated station, a current hash value of a locally-deployed disk image in response to receiving a startup instruction; providing, by the blockchain integrated station, the current hash value to a cryptographic acceleration card assembled on the blockchain integrated station, and receiving a comparison result between the current hash value and a pre-stored standard hash value returned by the cryptographic acceleration card, wherein the standard hash value corresponds to a pre-defined standard disk image; in response to that the comparison result indicates that the current hash value is identical to the standard hash value, executing, by the blockchain integrated station, the locally-deployed disk image to form a blockchain node.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] One or more embodiments of the present disclosure relates to the field of blockchaintechnologies, and in particular to trusted startup methods and apparatuses of a blockchainintegrated station.BACKGROUND

[0002] Blockchain technology (also called distributed ledger technology) is a decentralizeddistributed database technology having many characteristics such as decentralization,openness, transparency, tamper-resistance, and trustworthiness and the like, and thus it isapplicable to many application scenarios with high demands for data reliability.SUMMARY

[0003] In view of this, one or more embodiments of the present disclosure provide trustedstartup methods and apparatuses of a blockchain integrated station.

[0004] To achieve the above-mentioned object, one or more embodiments of the presentdisclosure provide the following technical solution:

[0005] According to a first aspect of one or more embodiments of the present disclosure,provided is a trusted startup method of a blockchain integrated station, including:

[0006] computing, by the blockchain integrated station, a current hash value of alocally-deployed disk image in response to receiving a startup instruction;

[0007] providing, by the blockchain integrated station, the current hash value to acryptographic acceleration card assembled on the blockchain integrated station, and receivinga comparison result between the current hash value and a pre-stored standard hash valuereturned by the cryptographic acceleration card, wherein the standard hash value correspondsto a pre-defined standard disk image; and

[0008] in response to that the comparison result indicates that the current hash value isidentical to the standard hash value, executing, by the blockchain integrated station, thelocally-deployed disk image to form a blockchain node.

[0009] According to a second aspect of one or more embodiments of the present disclosure,provided is a trusted startup method of a blockchain integrated station, including:

[0010] receiving, by a cryptographic acceleration card assembled on the blockchainintegrated station, a current hash value sent from the blockchain integrated station, whereinthe current hash value is obtained by the blockchain integrated station by computing alocally-deployed disk image in response to receiving a startup instruction; the cryptographicacceleration card pre-stores a standard hash value corresponding to a pre-defined standarddisk image; and

[0011] comparing, by the cryptographic acceleration card, the current hash value and thestandard hash value, and returning a comparison result to the blockchain integrated station,such that the blockchain integrated station executes the locally-deployed disk image to form ablockchain node in response to that the comparison result indicates that the current hash valueis identical to the standard hash value.

[0012] According to a third aspect of one or more embodiments of the present disclosure,provided is a trusted startup apparatus of a blockchain integrated station, including:

[0013] an instruction receiving module, configured to enable the blockchain integratedstation to compute a current hash value of a locally-deployed disk image in response toreceiving a startup instruction;

[0014] a hash providing module, configured to enable the blockchain integrated station toprovide the current hash value to a cryptographic acceleration card assembled on theblockchain integrated station, and receive a comparison result between the current hash valueand a pre-stored standard hash value returned by the cryptographic acceleration card, whereinthe standard hash value corresponds to a predefined standard disk image; and

[0015] a disk image executing module, configured to enable the blockchain integratedstation to execute the locally-deployed disk image to form a blockchain node in response tothat the comparison result indicates that the current hash value is identical to the standardhash value.

[0016] According to a fourth aspect of one or more embodiments of the present disclosure,provided is a trusted startup apparatus of a blockchain integrated station, including:

[0017] a hash receiving module, configured to enable a cryptographic acceleration cardassembled on the blockchain integrated station to receive a current hash value sent from theblockchain integrated station, wherein the current hash value is obtained by the blockchainintegrated station by computing a locally-deployed disk image in response to receiving astartup instruction; and the cryptographic acceleration card pre-stores a standard hash valuecorresponding to a pre-defined standard disk image; and

[0018] a hash comparing module, configured to enable the cryptographic acceleration cardto compare the current hash value and the standard hash value and return a comparison resultto the blockchain integrated station, such that the blockchain integrated station executes thelocally-deployed disk image to form a blockchain node in response to that the comparisonresult indicates that the current hash value is identical to the standard hash value.

[0019] According to a fifth aspect of one or more embodiments of the present disclosure,provided is a blockchain integrated station, including:

[0020] a processor;

[0021] a memory for storing instructions executable by the processor;

[0022] where the processor implements the method according to the first aspect by runningthe executable instructions.

[0023] According to a sixth aspect of one or more embodiments of the present disclosure,provided is a cryptographic acceleration card, including:

[0024] a processor;

[0025] a memory for storing instructions executable by the processor;

[0026] where the processor implements the method according to the second aspect byrunning the executable instructions.

[0027] According to a seventh aspect of one or more embodiments of the present disclosure,provided is a computer readable storage medium for storing computer instructions thereon,where the instructions are executed by a processor to implement steps of the methodaccording to the first or second aspect.BRIEF DESCRIPTION OF THE DRAWINGS

[0028] FIG. 1 is a flowchart of a trusted startup method of a blockchain integrated stationaccording to example embodiments of the present disclosure.

[0029] FIG. 2 is a flowchart of another trusted startup method of a blockchain integratedstation according to example embodiments of the present disclosure.

[0030] FIG. 3 is an interaction flowchart of a trusted startup method of a blockchainintegrated station according to example embodiments of the present disclosure.

[0031] FIG. 4 is a structural schematic diagram of a blockchain integrated station accordingto example embodiments of the present disclosure.

[0032] FIG. 5 is a block diagram of a trusted startup apparatus of a blockchain integratedstation according to example embodiments of the present disclosure.

[0033] FIG. 6 is a structural schematic diagram of a cryptographic acceleration cardaccording to example embodiments of the present disclosure.

[0034] FIG. 7 is a block diagram of another trusted startup apparatus of a blockchainintegrated station according to example embodiments of the present disclosure.DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] Example embodiments will be described in detail herein with the exampleembodiments thereof expressed in the drawings. When the following descriptions involve thedrawings, same numbers in different drawings represent same or similar elements unlessstated otherwise. The implementations described in the following example embodiments donot represent all implementations consistent with one or more embodiments of the presentdisclosure. On the contrary, they are merely embodiments of apparatuses and methodsconsistent with some aspects of one or more embodiments of the present disclosure describedin detail in the appended claims.

[0036] It should be noted that the steps of corresponding method are not necessarilyperformed according to the sequence shown in the present disclosure in other embodiments.In some other embodiments, the steps included in the corresponding method can be more orless than described in the specification. Further, a single step described in the specificationcan be divided into several steps for descriptions in other embodiments while several stepsdescribed in the specification can be combined into a single step for descriptions in otherembodiments.

[0037] In the early stage of development of the blockchain technology, users mostly addtheir own personal computer (PC) and laptop computer and the like into a blockchain networkto become a blockchain node in the blockchain network. At this time, the stage can be called1.0 architecture era of blockchain network, in which the behaviors of users to participate inthe blockchain network are autonomous and the users also need to perform autonomousmaintenance, for example, perform maintenance and configuration and so on for their devices(for example, PC) participating in the blockchain network. Along with continuousdevelopment of the blockchain technology, especially along with increasing needs of users forinfrastructures with high performance and high availability, the blockchain network developsinto 2.0 architecture era based on cloud service. In the 2.0 architecture era,Blockchain-as-a-Service (BaaS) provides fast and convenient solutions for fast blockchaindeployment and technical implementation and supports a large number of blockchain serviceprojects. Generally, BaaS is built on infrastructures such as public cloud or private cloud,which introduces heavy dependence on infrastructure as well as providing strong deploymentcapability. However, because blockchain is a typical distributed computing technology, not allnodes can be migrated to clouds but privatization deployment is needed. The additionaltechnical migration and maintenance costs brought by the privatization deployment causeinconsistent technical interfaces and high deployment and maintenance costs during an actualimplementation. Therefore, to satisfy the needs of users for privatization and security and thelike of the blockchain network, it is necessary to perform further architecture upgrade to theblockchain network, thereby realizing 3.0 architecture era based on blockchain integratedstation .

[0038] Software and hardware integration can be realized for the blockchain integratedstation. When providing a blockchain integrated station, a provider will not only providehardware devices of the blockchain integrated station to users but also provide softwareconfigurations for realizing deep optimizations of the hardware devices integrated into theblockchain integrated station, thereby realizing the above-mentioned software-hardwareintegration.

[0039] Hardware optimization can be realized for the blockchain integrated station. Forexample, a dedicated smart contract processing chip can be deployed on the blockchainintegrated station. For example, the smart contract processing chip can be FieldProgrammable Gate Array (FPGA) chip, or another type of chip to increase the processingefficiency for a smart contract. A hardware root-of-trust key can be deployed on the smartcontract processing chip, for example, the hardware root-of-trust key can be pre-programmedby the provider into the smart contract processing chip and the provider can also know apublic key corresponding to the hardware root-of-trust key (for example, the key is disclosed).Therefore, the smart contract processing chip can send negotiation information to the providerand sign the negotiation information by using the hardware root-of-trust key, so that theprovider can verify the signature based on the corresponding public key; and, after successfulsignature verification, it is ensured that the smart contract processing chip and the providerobtain the same key through negotiation based on the above-mentioned negotiationinformation. The negotiated key can include an image deployment key, and thus the providercan encrypt and transmit a binary disk image needed by the blockchain node to the smartcontract processing chip based on the image deployment key, and the smart contractprocessing chip can decrypt and deploy the binary disk image based on the image deploymentkey. The negotiated key can include a service secret deployment key, and thus the providercan encrypt and transmit a node private key of the blockchain node, a service root key of theblockchain node, etc., to the smart contract processing chip based on the service secretdeployment key, and the smart contract processing chip can acquire and deploy the nodeprivate key and the service root key and the like based on the service secret deployment key tosatisfy the privacy transaction needs in a blockchain scenario. For example, the node privatekey corresponds to a node public key, and thus a client device can encrypt and transmit ablockchain transaction by using the node public key, and the blockchain node can performdecryption by using the node private key. The service root key is a symmetric key which canbe used to perform encrypted storage for service data such as contract codes and value ofcontract status and the like. The service root key may not be directly used, and the smartcontract processing chip can perform encryption and decryption through a derivation key ofthe service root key to reduce the security risk of the service root key. Through reliablemanagement for the node private key and the service root key (or its derivation key), data willbe always in encrypted state unless processed by the smart contract processing chip.Therefore, the smart contract processing chip actually forms a Trusted ExecutionEnvironment (TEE) of hardware on the blockchain integrated station, so as to ensure the datarequiring privacy protection such as transactions, contract codes, and contract status will notbe leaked.

[0040] For another example, a smart network card can be deployed on the blockchainintegrated station. In addition to realizing a traditional network card function, the smartnetwork card also can replace or assist a CPU of the blockchain integrated station to performpartial functions so as to offload computation of the CPU. Especially, the operations withintensive network I / O can be transferred from CPU to the smart network card to perform, sothat the CPU can process more computation-intensive operations, for example, transactionprocessing, and storage processing and the like. Compared with other components (forexample, CPU) on the blockchain integrated station, the smart network card is closer to thenetwork regardless of physical level or logical level, so the smart network card can alwaysfetch data transmitted in the network preferentially. Therefore, with no storage access or asmall amount of storage access is involved, the smart network card can process these datawith a relatively higher processing efficiency and a relatively smaller delay, and a relativelylarger throughput, so as to achieve a higher performance benefit with a lower cost. Forexample, in consensus algorithm, there is almost no need to access storage except in the casesof change of network status, addition and deletion of node, change of consensus configurationand the like. Therefore, the consensus operation can be completed by the smart network cardand only need to inform the CPU of a consensus result. Therefore, the CPU is not required todirectly participate in the consensus process, thereby significantly improving the consensusefficiency. Similarly, the same effect can be achieved in forwarding transactions by the smartnetwork card and achieving block synchronization by the smart network card on anewly-added blockchain node and the like and will not be repeated herein. Furthermore, afterreceiving transactions, the smart network card can identify or filter out a replay transaction bycomparing the received transaction with historical transactions, for example, comparing datafields of sender information of transaction, destination address, time stamp, and hash valueand the like. The smart network card can also perform content analysis for those receivedtransactions, so as to filter out illegal transactions or predefined undesired transactions and thelike as a supplementation to layer-2 or layer-3 packet filtering implemented by a switch.

[0041] For another example, a cryptographic acceleration card which is also called ahigh-speed cryptographic acceleration card can be deployed on the blockchain integratedstation. The cryptographic acceleration card can realize total encrypted memory, defendagainst side-channel attacks by hardware reinforcement, and also realize physical protectionagainst approaches such as probe, laser and the like, having very high security. For example,the cryptographic acceleration card used on the blockchain integrated station can have level-2qualification from the State Cryptography Administration, level-3 qualification from the StateCryptography Administration and the like. When the cryptographic acceleration card isdeployed, the hardware roof-of-trust key as described above-mentioned can be maintained inthe cryptographic acceleration card, and the cryptographic acceleration card can performsignature operation based on the hardware roof-of-trust key and replace or assist the smartcontract processing chip to complete the operations such as the key negotiation as describedabove-mentioned. Similarly, the cryptographic acceleration card can be used to maintain apublic key so that the cryptographic acceleration card can realize signature verificationoperation based on the maintained public key. In short, at least part of operations relating tokey management, encryption and decryption, and signature verification and the like on theblockchain integrated station can be handed over to the cryptographic acceleration card, sothat very high security can be realized and task offloading can be realized for the CPU of theblockchain integrated station or the above-mentioned smart contract processing chip, therebyimproving the processing efficiency.

[0042] Software optimization can be realized for the blockchain integrated station. Forexample, a certificate authority service can be built in the blockchain integrated station torealize automatic certificate issuing, node identity authentication, automatic blockchainconstruction, and automatic adding of blockchain node, thereby realizing the plug and play ofthe blockchain integrated station. In this case, a user can realize fast deployment of theblockchain integrated station. In addition to quickly establishing a private blockchain networkamong a plurality of blockchain integrated stations, the blockchain integrated station canintegrate a standardized on-cloud service interface to enable the blockchain integrated stationto automatically connect to on-cloud service, thereby realizing hybrid deployment betweenthe blockchain integrated station and the cloud-deployed blockchain node to construct ahybrid blockchain network. The blockchain integrated station can also integrate astandardized cross-chain service interface to enable the blockchain integrated station to realizecross-chain services based on a standardized cross-chain protocol or standardized cross-chainservice, thereby greatly expanding the application scenarios of the blockchain integratedstation, and satisfying the cross-chain needs of users. For example, cross-chain datainteraction between different blockchain networks is achieved, and for another example,cross-chain data interaction between the blockchain network and an off-chain computing nodeand the like is achieved (for example, the off-chain computing node shares computation taskfor the blockchain node and the like).

[0043] Based on a unified software logic, the blockchain integrated station in the presentdisclosure can realize a trusted startup process for a disk image deployed on itself. In thisprocess, the blockchain integrated station firstly determines whether the disk image satisfies astartup condition that a current value of the disk image is identical to a pre-stored standardhash value after receiving a startup instruction, and then executes the disk image in responseto satisfying the startup condition, thereby realizing trusted startup of the disk image in thekiosk. The process will be described below in combination with accompanying drawings.

[0044] FIG. 1 is a flowchart of a trusted startup method of a blockchain integrated stationaccording to example embodiments of the present disclosure. The method is applied to ablockchain integrated station. In order to distinguish from a cryptographic acceleration cardassembled in the blockchain integrated station, the executing subject of the method, i.e. theblockchain integrated station can be understood as a CPU of the blockchain integrated station,or another component other than the cryptographic acceleration card assembled in theblockchain integrated station. As shown in FIG. 1, the method can include the followingsteps.

[0045] At step 102, the blockchain integrated station computes a current hash value of alocally-deployed disk image in response to receiving a startup instruction.

[0046] In this embodiment, a disk image (that has not been executed yet) is locallypre-deployed on the blockchain integrated station. The specific form of the disk image is notlimited herein in the present disclosure. For example, the disk image can be an executabledisk image, for example, an executable file of .exe format. At this time, the executable file canbe pre-installed in an execution component of the blockchain integrated station, such as a harddisk drive. The disk image can also be a binary disk image, for example, a binary file of .binformat. At this time, the binary file can be pre-stored at a proper position of an executioncomponent of the blockchain integrated station, such as a hard disk drive to be invoked andexecuted. Further, the disk image can be a binary disk image corresponding to a blockchainnode and deployed on the blockchain integrated station. Correspondingly, when the binarydisk image is executed, the blockchain integrated station is implemented as a blockchain node,for example, realize one or more functions of blockchain visualization, contract creation anddeployment, contract execution, key management and privacy computing and the like. Thedisk image can also be a platform disk image including the above-mentioned binary diskimage corresponding to the blockchain node and deployed on the blockchain integratedstation. When the platform disk image is executed, the blockchain integrated station isimplemented not only as a blockchain node, but also can realize one or more other functionssuch as file processing, node monitoring and service monitoring, which will not beredundantly described herein.

[0047] In an embodiment, the above-mentioned startup instruction can be in several formswhich are not limited herein. For example, the above-mentioned startup instruction can be amachine startup instruction sent when a user (for example, a user of the blockchain integratedstation) performs a machine startup operation for the blockchain integrated station; or a fileexecution instruction sent by a management device for the above-mentioned binary diskimage in the blockchain integrated station under the startup state of the blockchain integratedstation or the like.

[0048] At step 104, the blockchain integrated station provides the current hash value to acryptographic acceleration card assembled on the blockchain integrated station, and receives acomparison result between the current hash value and a pre-stored standard hash valuereturned by the cryptographic acceleration card, wherein the standard hash value correspondsto a pre-defined standard disk image.

[0049] In an embodiment, the above-mentioned standard hash value is generated by aprovider of the standard disk image (referred to as provider for short) by computing thestandard disk image provided by the provider in a trusted execution environment. Forexample, before providing the standard disk image, the provider can compute the standardhash value of the standard disk image in the Trusted Execution Environment (TEE), and thenencrypt and send the above-mentioned standard hash value to the cryptographic accelerationcard for encrypted storage. The TEE in which the above-mentioned provider computes thestandard hash value can be constructed by adopting any technique of related technologies andany hash algorithm of related technologies can be adopted for computing the standard hashvalue, which is not limited herein. It should be noted that a hash algorithm adopted by theblockchain integrated station to compute the current hash value of the disk image should beidentical to a hash algorithm adopted by the provider to compute the standard hash value ofthe standard disk image. In this way, it is ensured that a definite comparison result betweenthe current hash value and the standard hash value will be obtained.

[0050] In an embodiment, the provider can encrypt the above-mentioned standard hashvalue using its own provider private key and then send the standard hash value to thecryptographic acceleration card assembled on the blockchain integrated station, and thecryptographic acceleration card can decrypt the above-mentioned standard hash value in itsown TEE using a provider public key of the provider and store the standard hash value in itsown TEE; or, the provider can also sign the above-mentioned standard hash value using itsprovider public key, and then send the standard hash value and a signature to thecryptographic acceleration card in an associated manner, so that the cryptographicacceleration card verifies the above-mentioned signature using the provider public key of theprovider and stores the standard hash value in a corresponding storage space in a case ofsuccessful verification. In a case that there are a plurality of disk images in the blockchainintegrated station, the cryptographic acceleration card can establish an association relationshipbetween a standard hash value corresponding to any disk image and a file identifier of thedisk image, and store the standard hash values according to respective associationrelationships, so as to specifically determine a standard hash value corresponding to a diskimage.

[0051] Further, when the cryptographic acceleration card is a cryptographic card based onFPGA chip, the received standard hash value can be programmed to be deployed in the FPGAchip. But, due to volatility of the FPGA chip, the stored standard hash value will be lost uponpower down, so that the cryptographic acceleration card needs to acquire and store thestandard hash value again after power up. To reduce the number of programming times of aclient device, the FPGA structure can further include a memory connected with the FPGAchip, so that the standard hash value is deployed in the memory and the FPGA chip can readthe standard hash value from the memory to realize relevant functions. Due to non-volatilityof the memory, the memory can still store the standard hash value even upon power down,and the cryptographic acceleration card only needs to re-read the standard hash value from thememory to the FPGA chip after power up, without re-acquiring or re-programming. Theabove-mentioned memory can be in several forms, for example, can be a re-writablenon-volatile memory such as flash memory, or can be a non-rewritable memory such as fusememory, which will not be limited herein.

[0052] At step 106, in response to that the comparison result indicates that the current hashvalue is identical to the standard hash value, the blockchain integrated station executes thelocally-deployed disk image to form a blockchain node.

[0053] In this embodiment, if the comparison result indicates that the current hash value andthe standard hash value are same, it indicates that the disk image locally deployed on theblockchain integrated station is a disk image provided by the provider, which is un-tamperedand successfully deployed and thus the disk image is trusted. In this case, the blockchainintegrated station can execute the disk image to form a blockchain node. On the contrary, ifthe comparison result indicates that the current hash value and the standard hash value aredifferent, it indicates that the disk image locally deployed on the blockchain integrated stationis not the standard disk image provided by the provider but may be an illegally-tampered diskimage or an erroneously deployed disk image and thus the disk image is not trusted. At thistime, the blockchain integrated station can refuse to execute the disk image.

[0054] In an embodiment, when the comparison result indicates that the current hash valueand the standard hash value are different, the disk image locally deployed on the blockchainintegrated station is not the standard disk image provided by the provider. As a result, theblockchain integrated station can terminate the startup process of the blockchain integratedstation, thereby avoiding executing a disk image different from the standard disk image. Inanother embodiment, the blockchain integrated station can also send a warning message forthe disk image to at least one of a management personnel, a management device of theblockchain integrated station (for example, a control host for controlling a plurality ofblockchain integrated stations at the same time), and a security service relating to theblockchain integrated station and the like, so that the management personnel, the managementdevice or the security service performs corresponding processing for the disk image.Furthermore, the blockchain integrated station can also perform illegality detection for thedisk image with a detection result included in the above-mentioned warning message, so thatspecific processing can be performed for the disk image. The above-mentioned responseprocessing can include at least one of recording warning message, recording detection resultof disk image and deleting disk image and the like.

[0055] In an embodiment, further continued from the embodiment in which theabove-mentioned standard hash value is generated by the provider by computing the standarddisk image provided by the provider in a trusted execution environment, in a case that thecomparison result indicates that the current hash value and the standard hash value aredifferent, the blockchain integrated station can request to acquire a standard disk image fromthe provider, and replace the current disk image with the acquired standard disk image, thusensuring the disk image deployed in the blockchain integrated station is consistent with thestandard disk image. Furthermore, when requesting to acquire the standard disk image fromthe provider, the blockchain integrated station can also request to acquire the standard hashvalue of the standard disk image at the same time, or request to acquire the standard hashvalue of the standard disk image from the provider after the standard disk image acquiredfrom the provider passes trusted verification, thus ensuring the standard hash valuecorresponds to the standard disk image.

[0056] In an embodiment, when the comparison result indicates that the current hash valueis identical to the standard hash value, the disk image corresponding to the current hash valueis a trusted standard disk image. Thus, the blockchain integrated station can write the diskimage corresponding to the current hash value (i.e. the above-mentioned trusted standard diskimage) into the TEE locally deployed in the blockchain integrated station as a backup diskimage the first time it received the comparison result indicating the current hash value and thestandard hash value are same. Afterwards, in a case that a comparison result indicates that thecurrent hash value and the standard hash value are different, the blockchain integrated stationcan read the backup disk image from the TEE, and then replace the disk image correspondingthe current hash value with the backup disk image and respond to the above-mentionedstartup instruction again. A standard disk image is acquired and backed up in the TEE, so thatthe current disk image is replaced with the standard disk image in a case that the current diskimage is different from the standard disk image. In this way, it is guaranteed that the diskimage locally deployed on the blockchain integrated station is consistent with the standarddisk image. Further, and by using pre-stored and trusted standard disk image to replacedeployed (but not trusted) disk image avoids possible increase of network load caused byre-acquiring a standard disk image from the provider every time that the comparison resultindicates that the current hash value and the standard hash value are different.

[0057] Correspondingly, FIG. 2 is a flowchart of another trusted startup method of ablockchain integrated station according to example embodiments of the present disclosure.The method is applied to a cryptographic acceleration card. As shown in FIG. 2, the methodcan include the following steps.

[0058] At step 202, the cryptographic acceleration card assembled on the blockchainintegrated station receives the current hash value sent from the blockchain integrated station,where the current hash value is obtained by the blockchain integrated station by computingthe locally-deployed disk image in response to receiving a startup instruction.

[0059] In this embodiment, a disk image (that has not been executed yet) is locallypre-deployed on the blockchain integrated station. The specific form of the disk image is notlimited herein in the present disclosure. For example, the disk image can be an executabledisk image, for example, an executable file of .exe format. At this time, the executable file canbe pre-installed in an execution component of the blockchain integrated station, such as a harddisk drive. The disk image can also be a binary disk image, for example, a binary file of .binformat. At this time, the binary file can be pre-stored at a proper position of an executioncomponent of the blockchain integrated station, such as a hard disk drive to be invoked andexecuted. Further, the disk image can be a binary disk image corresponding to a blockchainnode and deployed on the blockchain integrated station. Correspondingly, when the binarydisk image is executed, the blockchain integrated station is implemented as a blockchain node,for example, realize one or more functions of blockchain visualization, contract creation anddeployment, contract execution, key management and privacy computing and the like. Thedisk image can also be a platform disk image including the above-mentioned binary diskimage corresponding to the blockchain node and deployed on the blockchain integratedstation. When the platform disk image is executed, the blockchain integrated station isimplemented not only as a blockchain node, but also can realize one or more functions suchas file processing, node monitoring and service monitoring, which will not be redundantlydescribed herein.

[0060] In an embodiment, the above-mentioned startup instruction can be in several formswhich are not limited herein. For example, the above-mentioned startup instruction can be amachine startup instruction sent when a user (for example, a user of the blockchain integratedstation) performs a machine startup operation for the blockchain integrated station; or a fileexecution instruction sent by a management device for the above-mentioned binary diskimage in the blockchain integrated station under the startup state of the blockchain integratedstation or the like.

[0061] At step 204, the cryptographic acceleration card compares the current hash value anda pre-stored standard hash value, and returns a comparison result to the blockchain integratedstation, such that the blockchain integrated station executes the disk image to form ablockchain node in response to that the comparison result indicates that the current hash valueis identical to the standard hash value.

[0062] In an embodiment, the above-mentioned standard hash value is generated by theprovider by computing the standard disk image provided by the provider in a trustedexecution environment. For example, before providing the standard disk image, the providercan compute the standard hash value of the standard disk image in the Trusted ExecutionEnvironment (TEE), and then encrypt and send the above-mentioned standard hash value tothe cryptographic acceleration card for encrypted storage. The TEE in which theabove-mentioned provider computes the standard hash value can be constructed by adoptingany technique of related technologies and any hash algorithm of related technologies can beadopted for computing the standard hash value, which is not limited herein. It should be notedthat a hash algorithm adopted by the blockchain integrated station to compute the current hashvalue of the disk image should be identical to a hash algorithm adopted by the provider tocompute the standard hash value of the standard disk image. In this way, it is ensured that adefinite comparison result between the current hash value and the standard hash value will beobtained.

[0063] In the above-mentioned embodiments of the present disclosure, after the blockchainintegrated station receives the startup instruction, the cryptographic acceleration cardcompares the current hash value of the deployed current disk image computed by theblockchain integrated station with the standard hash value corresponding to the standard diskimage pre-stored in the cryptographic acceleration card and determines whether the currenthash value is identical to the standard hash value, and the blockchain integrated stationexecutes the disk image in response to that the currently deployed disk image is furtherdetermined as the standard disk image, thereby realizing startup of the blockchain integratedstation. As a result, by hash value comparison, it is guaranteed that the executed disk image isthe same as the standard disk image. Thus, the trusted execution of the disk image is ensured,thus ensuring the trusted startup of the blockchain integrated station.

[0064] In combination with the interaction flowchart of the trusted startup method of theblockchain integrated station shown in FIG. 3, a process in which a trusted startup of ablockchain integrated station is realized through cooperation among a provider of standarddisk image, a blockchain integrated station and a cryptographic acceleration card will bedetailed below. As shown in FIG. 3, the process can include the following steps.

[0065] At step 302, the provider of the standard disk image computes the standard hashvalue of the standard disk image.

[0066] In an embodiment, the disk image provided by the provider can be an executabledisk image, for example, an executable file of .exe format, or a binary disk image, forexample, an executable file of .bin format. Furthermore, when the disk image is a binary diskimage, the disk image can be a binary disk image corresponding to a blockchain node anddeployed on the blockchain integrated station, and the blockchain integrated station executingthe binary disk image can be implemented as a blockchain node; or, the disk image can alsobe a platform disk image including the above-mentioned binary disk image corresponding tothe blockchain node and deployed on the blockchain integrated station, and the blockchainintegrated station executing the platform disk image is not only be implemented as ablockchain node but also can realize other functions as above, which will not be repeatedherein.

[0067] In an embodiment, for a standard disk image provided (or not provided yet) by theprovider, the provider can compute a corresponding standard hash value in the TEE. The TEEcan be constructed based on Intel Software Guard Extensions (SGX) or AMD TrustZonetechnique. The TEE can be deployed locally in the provider such that the provider can directlycompute the standard hash value in the TEE; or, the TEE can be deployed in anothercomponent relating to the provider such that the provider can control the standard hash valueto be encrypted and transmitted to the cryptographic acceleration card after computing thestandard hash value in the TEE. In addition, when the above-mentioned file digest is a hashvalue of the disk image, the provider can compute the hash value by adopting a hashalgorithm such as SHA algorithm, MD4 algorithm, MD5 algorithm, ETHASH algorithm, andSCRYPT algorithm. Reference can be made to the contents of related technologies for thespecific process of the TEE construction and the specific process of the hash valuecomputation, and redundant descriptions will not be made herein.

[0068] After obtaining the standard hash value, the provider can encrypt and transmit thestandard hash value to the cryptographic acceleration card. Because the cryptographicacceleration card is assembled in the blockchain integrated station, the provider can forwardthe standard hash value to the cryptographic acceleration card through the blockchainintegrated station (corresponding to the step 304a), or can directly send the standard hashvalue to the cryptographic acceleration card (corresponding to step 304b).

[0069] At step 304a, the standard hash value is forwarded to the cryptographic accelerationcard through the blockchain integrated station.

[0070] The provider can encrypt the computed standard hash value in the TEE and then sendthe encrypted standard hash value to the blockchain integrated station. The blockchainintegrated station can forward the standard hash value in ciphertext state to the cryptographicacceleration card after receiving the standard hash value.

[0071] At step 304b, the provider directly sends the standard hash value to the cryptographicacceleration card.

[0072] The provider can encrypt the computed standard hash value in the TEE and then sendthe encrypted standard hash value directly to the cryptographic acceleration card.

[0073] In the above-mentioned step 304a and step 304b, the provider can encrypt thestandard hash value in several manners. In an embodiment, the cryptographic accelerationcard can pre-acquire a provider public key, for example, the provider public key can bedisclosed or only maintained in the cryptographic acceleration card. At this time, the providercan encrypt the standard hash value using its own provider private key and correspondingly,the cryptographic acceleration card can decrypt the standard hash value in the TEE using theprovider public key maintained by itself after receiving the standard hash value in ciphertextstate so as to obtain the standard hash value in plaintext state. Thus, by decrypting thestandard hash value in ciphertext state using the pre-maintained provider public key, theprivacy of the standard hash value during transmission is guaranteed.

[0074] In another embodiment, a root-of-trust key (Attestation Key) can be pre-deployed inthe cryptographic acceleration card. The root-of-trust key can be pre-built in the cryptographicacceleration card or the root-of-trust key can be deployed into the cryptographic accelerationcard by a blockchain integrated station or another object in an offline secure environment. Forexample, when the cryptographic acceleration card is a cryptographic card based on FPGAchip, the root-of-trust key can be programmed into the FPGA chip. At this time, thecryptographic acceleration card can realize key negotiation with the provider through theroot-of-trust key, and encrypts and transmits the above-mentioned standard hash value using anegotiated hash transmission key. However, due to volatility of the FPGA chip, the storedroot-of-trust key will be lost upon power down, so that the cryptographic acceleration cardneeds to re-deploy the root-of-trust key after power up. To reduce the number of deploymentsof a client device, the FPGA structure can further include a memory connected with theFPGA chip, so that the root-of-trust key is deployed in the memory and the FPGA chip canread the root-of-trust key from the memory to realize relevant functions. Due to non-volatilityof the memory, the memory can still store the root-of-trust key even upon power down, andthe cryptographic acceleration card only needs to re-read the root-of-trust key from thememory to the FPGA chip after power up, without re-deploying. The above-mentionedmemory can be in several forms, for example, can be a re-writable non-volatile memory suchas flash memory, or can be a non-rewritable memory such as fuse memory, which will not belimited herein.

[0075] The above-mentioned root-of-trust key is an asymmetric key and a public keycorresponding to the root-of-trust key is disclosed. In this case, even if the root-of-trust key isnot deployed (pre-built, or deployed by another object) by the provider, the provider can stillverify, by using the disclosed public key, a signature generated by the root-of-trust key. Theprovider and the cryptographic acceleration card can realize key negotiation using theroot-of-trust key. If the negotiation is realized based on SM2 algorithm (or another algorithm),the provider and the cryptographic acceleration card need to perform at least one informationinteraction during the negotiation process: when sending negotiation information to theprovider, the cryptographic acceleration card can sign the above-mentioned negotiationinformation using the above-mentioned root-of-trust key, so that the provider performssignature verification using the disclosed public key after receiving the signed negotiationinformation so as to determine the negotiation information is indeed sent by the cryptographicacceleration card and trust the negotiation information; when the signature verification isunsuccessful, the provider can choose not to trust the received negotiation information. Basedon the above-mentioned process, the provider and the cryptographic acceleration card cancomplete key negotiation, so that the provider and the cryptographic acceleration card canrespectively obtain the same hash transmission key. Next, the provider can encrypt thestandard hash value based on the hash transmission key and correspondingly, thecryptographic acceleration card can obtain the standard hash value by decryption using thecorresponding hash transmission key after receiving the standard hash.

[0076] Further, when the standard hash value is encrypted and transmitted using the hashtransmission key determined in the above-mentioned key negotiation process, the providerand the cryptographic acceleration card can store the above-mentioned hash transmission keyin their respective TEEs after occurrence of the first negotiation, so that the hash transmissionkey can be used in subsequent transmission of the standard hash value (for example, diskimage update). Thus, the hash transmission key negotiated in one time can be used severaltimes, thereby reducing the workload of the key negotiation and improving the usageefficiency of the key. When a same pair of hash transmission keys are used a plurality oftimes, the risk of leakage of the keys can be increased correspondingly. As a result, to avoidleakage of the keys, an upper limit number of usage times or a valid time length can be set forthe negotiated hash transmission key. Key negotiation can also be performed temporarilyevery time the standard hash value is transmitted in a scenario with high security demands,and the negotiated hash transmission key is discarded after each use to ensure the hashtransmission key is not leaked. In this embodiment, key negotiation is performed based on thepre-deployed root-of-trust key, which not only ensures the privacy of the standard hash valuein transmission process but also reduces the possibility that the root-of-trust key of thecryptographic acceleration card is leaked, thereby improving the security of the cryptographicacceleration card.

[0077] At step 306, the cryptographic acceleration card locally stores the standard hashvalue.

[0078] In an embodiment, after obtaining the standard hash value by decryption, thecryptographic acceleration card can store the standard hash value in a secure key zone in theTEE in a plaintext form, so that the standard hash value can be directly invoked, therebyimproving subsequent hash value comparison speed; or, as mentioned above, thecryptographic acceleration card can store the standard hash value in the FPGA chip or thememory connected with the FPGA chip, so as to ensure storage security of the standard hashvalue.

[0079] In another embodiment, the cryptographic acceleration card does not decrypt thestandard hash value in ciphertext state after receiving the standard hash value but directlystores the standard hash value in the secure key zone of the TEE, the FGPA chip or thememory connected with the FPGA chip. Only when the standard hash value is invoked canthe cryptographic acceleration card decrypt the standard hash value using a corresponding key,so as to avoid possible hash value leakage caused by earlier decryption of the standard hashvalue. Furthermore, the standard hash value in a ciphertext state can also be stored in anon-TEE storage space to reduce occupation of the standard hash value for the correspondingstorage space of the TEE.

[0080] Thus, the pre-storage of the standard hash value corresponding to the standard diskimage is completed. The blockchain integrated station can accept the startup instruction at anytime after the step 306, that is, there is no limitation to a time interval between the step 306and the step 308 in the present disclosure.

[0081] At step 308, the blockchain integrated station receives a startup instruction.

[0082] In an embodiment, the above-mentioned startup instruction can be in several formswhich are not limited herein. For example, the above-mentioned startup instruction can be amachine startup instruction sent when a user (for example, a user of the blockchain integratedstation) performs a machine startup operation for the blockchain integrated station; or a fileexecution instruction sent by a management device for the above-mentioned binary diskimage in the blockchain integrated station under the startup state of the blockchain integratedstation or the like.

[0083] At step 310, the blockchain integrated station computes the current hash value of thelocally-deployed disk image.

[0084] At step 312, the blockchain integrated station provides the computed current hashvalue to the cryptographic acceleration card.

[0085] In an embodiment, the blockchain integrated station can compute the current hashvalue of the locally-deployed disk image after receiving the startup instruction, where a hashalgorithm adopted in the local hash value computation process should be consistent with ahash algorithm adopted by the provider to compute the standard hash value based on thestandard disk image, so as to ensure there is a definite comparison result between the currenthash value and the standard hash value (in a case of inconsistency of the hash algorithms,comparison of hash values will be meaningless.). In view of this, when sending the standardhash value to the cryptographic acceleration card, the provider sends parameter informationsuch as algorithm type adopted to compute the standard hash value at the same time. Aftercompletion of computation, the blockchain integrated station can directly send the currenthash value to the cryptographic acceleration card in plaintext form.

[0086] At step 314, the cryptographic acceleration card compares the standard hash valuewith the current hash value.

[0087] At step 316, the cryptographic acceleration card returns a comparison result of hashvalues to the blockchain integrated station.

[0088] In an embodiment, the cryptographic acceleration card can store the received currenthash value in the TEE in plaintext form and then compare the standard hash value and thecurrent hash value which both are of plaintext in the TEE; or, the cryptographic accelerationcard decrypts the standard hash value of ciphertext in the TEE and then compares thedecrypted standard hash value with the current hash value of plaintext to obtain acorresponding comparison result.

[0089] The above-mentioned comparison can be performed in a full text bit-by-bitcomparison manner, that is, the bits of the current hash value and the standard hash value arecompared bit by bit along a predetermined direction: if the values of all bits of the currenthash value are correspondingly equal to the values of all bits of the standard hash value, it isdetermined that the current hash value and the standard hash value are same; on the contrary,if the value of any bit of the current hash value is unequal to the value of the correspondingbit of the standard hash value, it is determined that the current hash value and the standardhash value are not same. After the comparison is completed, the cryptographic accelerationcard can return the corresponding comparison result to the blockchain integrated station.

[0090] At step 318, the blockchain integrated station determines to execute the disk imageor terminate the startup of the blockchain integrated station according to the comparisonresult.

[0091] The current hash value is obtained through computation according to the disk imagelocally deployed on the blockchain integrated station and the standard hash value is obtainedthrough computation according to the standard disk image provided by the provider. In thiscase, if the comparison result indicates that the current hash value is identical to the standardhash value, it indicates that the locally-deployed disk image is the standard disk imageprovided by the provider and thus the disk image is trusted (the disk image is not tamperedduring transmission or deployment); on the contrary, if the comparison result indicates thatthe current hash value is different from the standard hash value, it indicates thelocally-deployed disk image is not the standard disk image provided by the provider, that is,the disk image is not trusted(the disk image can be tampered during transmission ordeployment). The blockchain integrated station can perform corresponding subsequentprocessing according to the comparison result.

[0092] In an embodiment, in response to that the comparison result indicates that thecurrent hash value and the standard hash value are same, the blockchain integrated station canexecute the above-mentioned disk image locally deployed, so as to realize startup of theblockchain integrated station. At this time, the locally-deployed disk image is a trustedstandard disk image. Therefore, the disk image can be directly executed to realize the startupof the blockchain integrated station. Continued from the previously-mentioned embodiment,in a case that the disk image is a binary disk image corresponding to a blockchain node anddeployed on the blockchain integrated station, the blockchain integrated station can beimplemented as a blockchain node , for example, realize blockchain visualization, contractcreation, deployment and execution, key management and / or privacy computing and so onwhen the binary disk image is executed; in a case that the disk image is a platform disk imageincluding the above-mentioned binary disk image corresponding to a blockchain node anddeployed on the blockchain integrated station, the blockchain integrated station is not onlyimplemented as a blockchain node but also can realize other functions such as file processing,node monitoring and / or service monitoring other than blockchain function, which will not berepeated herein.

[0093] In an embodiment, further continued from the above-mentioned embodiment inwhich the standard hash value is generated by the provider of the standard disk image bycomputing the standard disk image in the TEE, in a case that the comparison result indicatesthat the current hash value and the standard hash value are different, the blockchain integratedstation can request to acquire a standard disk image from the provider, and replace the currentdisk image with the acquired standard disk image to ensure the disk image deployed in theblockchain integrated station is consistent with the standard disk image. Furthermore, theblockchain integrated station can request to acquire the standard hash value of the standarddisk image at the same time when requesting the standard disk image, or request to acquirethe standard hash value of the standard disk image from the provider after the standard diskimage acquired from the provider passes trusted verification, so as to ensure the standard hashvalue corresponds to the standard disk image.

[0094] In an embodiment, the blockchain integrated station can pre-store a disk image as abackup disk image in the locally-deployed TEE. Thus, in a case that a comparison resultindicates that the current hash value and the standard hash value are different, the blockchainintegrated station can read the backup disk image from the TEE, and then replace thelocally-deployed disk image with the backup disk image and respond to the above-mentionedstartup instruction again. In this way, it is ensured that the disk image locally deployed on theblockchain integrated station is consistent with the standard disk image. In this case, even ifthe locally-deployed disk image is not trusted, the trusted startup of the blockchain integratedstation can still be realized. Therefore, in addition to ensuring that the disk image locallydeployed on the blockchain integrated station is consistent with the standard disk image, andby using pre-stored and trusted standard disk image to replace deployed (but not trusted) diskimage avoids possible increase of network load caused by re-acquiring a standard disk imagefrom the provider every time that the comparison result indicates that the current hash valueand the standard hash value are different.

[0095] Further, the blockchain integrated station can write the disk image corresponding tothe current hash value (i.e. the above-mentioned trusted standard disk image) into the TEElocally deployed in the blockchain integrated station as a backup disk image the first time itreceived the comparison result indicating the current hash value and the standard hash valueare same. Alternatively, the blockchain integrated station can also proactively request toacquire the standard disk image corresponding to the above-mentioned standard hash valuefrom the provider before receiving the startup instruction. Alternatively, corresponding to thepreviously-mentioned embodiment, when the standard hash value is forwarded by theblockchain integrated station, the provider can also encrypt the standard disk image and thentransmit the standard disk image and the standard hash value to the blockchain integratedstation in an associated manner, so that the blockchain integrated station writes the standarddisk image into the TEE locally deployed in the blockchain integrated station as a backup diskimage.

[0096] In an embodiment, in a case that a comparison result indicates that the current hashvalue and the standard hash value are different, the disk image locally deployed on theblockchain integrated station is not the standard disk image provided by the provider. Thus,the blockchain integrated station can terminate the startup process of the blockchainintegrated station to avoid executing a disk image different from the standard disk image.

[0097] In another embodiment, in a case that the comparison result indicates that the currenthash value and the standard hash value are different, the blockchain integrated station can alsosend a warning for the currently-deployed disk image. For example, a warning in the form ofsound, light, or visual popup window can be sent to a user so that the user can know the diskimage is not a standard disk image. Further, an illegality detection can be performed for thedisk image with a detection result displayed to the user, so that the user can know moredetailed illegal information of the disk image and further perform specific correspondingprocessing. A warning message can also be sent to a management device of the blockchainintegrated station (for example, a control host controlling a plurality of blockchain integratedstations) or a security service relating to the blockchain integrated station so that themanagement device or the security service can perform corresponding processing for the diskimage. Similarly, an illegality detection can also be performed for the disk image with adetection result included in the above-mentioned warning message to specifically perform theabove-mentioned corresponding processing. The above-mentioned response processing caninclude at least one of recording warning message, recording detection result of disk image,and deleting disk image and the like.

[0098] FIG. 4 is a structural schematic diagram of a blockchain integrated station accordingto example embodiments of the present disclosure. As shown in FIG. 4, from the hardwarelevel, the device includes a processor 402, an internal bus 404, a network interface 406, amemory 408, and a non-volatile memory 410. Of course, the device can further includehardware needed for other services. The processor 402 reads corresponding computerprograms from the non-volatile memory 410 to the memory 408 for running, so as to logicallyform a trusted startup apparatus of a blockchain integrated station. Of course, in addition tothe software implementation, one or more embodiments of the present disclosure do notpreclude other implementations, for example, logic device or a combination of software andhardware or the like. That is, the executing subject of the following processing is not limitedto each logic unit and can also be hardware or logic device.

[0099] As shown in FIG. 5, in a software implementation, a trusted startup apparatus of ablockchain integrated station can include:

[00100] an instruction receiving module 501, configured to enable the blockchain integratedstation to compute a current hash value of a locally-deployed disk image in response toreceiving a startup instruction;

[00101] a hash providing module 502, configured to enable the blockchain integrated stationto provide the current hash value to a cryptographic acceleration card assembled on theblockchain integrated station, and receive a comparison result between the current hash valueand a pre-stored standard hash value returned by the cryptographic acceleration card, whereinthe standard hash value corresponds to a predefined standard disk image; and

[00102] a disk image executing module 503, configured to enable the blockchain integratedstation to execute the locally-deployed disk image to form a blockchain node in response tothat the comparison result indicates that the current hash value is identical to the standardhash value.

[00103] Optionally, the locally-deployed disk image includes:

[00104] a binary disk image corresponding to the blockchain node and deployed on theblockchain integrated station; or,

[00105] a platform disk image deployed on the blockchain integrated station, wherein theplatform disk image includes the binary disk image.

[00106] Optionally, the standard hash value is generated by a provider of the standard diskimage by computing the standard disk image provided by the provider in a trusted executionenvironment.

[00107] Optionally, the apparatus further includes:

[00108] a file acquiring module 504, configured to enable the blockchain integrated station torequest to acquire the standard disk image from the provider in response to that thecomparison result indicates that the current hash value and the standard hash value aredifferent.

[00109] Optionally, the apparatus further includes:

[00110] a startup terminating module 505, configured to enable the blockchain integratedstation to terminate the startup process of the blockchain integrated station in response to thatthe comparison result indicates that the current hash value and the standard hash value aredifferent; and / or,

[00111] a warning module 506, configured to enable the blockchain integrated station to senda warning for the disk image in response to that the comparison result indicates that thecurrent hash value and the standard hash value are different.

[00112] Optionally, the apparatus further includes:

[00113] a file reading module 507, configured to enable the blockchain integrated station toread the backup disk image from the trusted execution environment locally deployed inresponse to that the comparison result indicates that the current hash value and the standardhash value are different; and

[00114] a file replacing module 508, configured to enable the blockchain integrated station toreplace the disk image with the backup disk image and respond to the startup instructionagain.

[00115] Optionally, the apparatus further includes:

[00116] a file backing-up module 509, configured to enable the blockchain integrated stationto, the first time it received the comparison result indicating that the current hash value isidentical to the standard hash value, write the disk image corresponding to the current hashvalue into the trusted execution environment locally deployed in the blockchain integratedstation as the backup disk image.

[00117] FIG. 6 is a structural schematic diagram of a cryptographic acceleration cardaccording to example embodiments of the present disclosure. As shown in FIG. 6, from thehardware level, the device includes a processor 602, an internal bus 604, a network interface606, a memory 608, a non-volatile memory 610, a crypto-operation unit 612 and a secure keyzone 614. Of course, the device can further include hardware needed for other services. Thecrypto-operation unit 612 stores received or generated relevant keys in the secure key zone614 so that the processor 602 invokes the keys to realize relevant functions such as encryption,decryption, signature and / or signature verification. The processor 602 reads correspondingcomputer programs from the non-volatile memory 610 to the memory 608 for running, so asto logically form a trusted startup apparatus of a blockchain integrated station. Of course, inaddition to the software implementation, one or more embodiments of the present disclosuredo not preclude other implementations, for example, logic device or a combination ofsoftware and hardware or the like. That is, the executing subject of the following processing isnot limited to each logic unit and can also be hardware or logic device.

[00118] As shown in FIG. 7, in a software implementation, a trusted startup apparatus of ablockchain integrated station can include:

[00119] a hash receiving module 701, configured to enable a cryptographic acceleration cardassembled on the blockchain integrated station to receive a current hash value sent from theblockchain integrated station, wherein the current hash value is obtained by the blockchainintegrated station by computing a locally-deployed disk image in response to receiving astartup instruction; and the cryptographic acceleration card pre-stores a standard hash valuecorresponding to a pre-defined standard disk image; and

[00120] a hash comparing module 702, configured to enable the cryptographic accelerationcard to compare the current hash value and the standard hash value and return a comparisonresult to the blockchain integrated station, such that the blockchain integrated station executesthe locally-deployed disk image to form a blockchain node in response to that the comparisonresult indicates that the current hash value is identical to the standard hash value.

[00121] Optionally, the locally-deployed disk image includes:

[00122] a binary disk image corresponding to the blockchain node and deployed on theblockchain integrated station; or,

[00123] a platform disk image deployed on the blockchain integrated station, wherein theplatform disk image includes the binary disk image.

[00124] Optionally, the standard hash value is generated by a provider of the standard diskimage by computing the standard disk image provided by the provider in a trusted executionenvironment.

[00125] The systems, apparatuses, modules or units described in the above-mentionedembodiments can be specifically implemented by a computer chip or an entity or can beimplemented by a product with a particular function. A typical implementing device can be acomputer and the computer can specifically be a personal computer, a laptop computer, acellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, anavigation device, an email transceiver, a game console, a tablet computer, a wearable device,or a combination of any several devices of the above-mentioned devices.

[00126] In a typical configuration, the computer can include one or more central processingunits (CPU), one or more input / output interfaces, one or more network interfaces and one ormore memories.

[00127] The memory can include a non-permanent memory, a random access memory(RAM), and / or a non-volatile memory and the like in a computer readable medium, forexample, read only memory (ROM), or flash RAM. The memory is one example of thecomputer readable medium.

[00128] The computer readable medium includes permanent, non-permanent, mobile andnon-mobile media, which can realize information storage by any method or technology. Theinformation can be computer readable instructions, data structures, program modules andother data. The examples of the computer storage medium include but not limited to: a phasechange random access memory (PRAM), a Static Random Access Memory (SRAM), aDynamic Random Access Memory (DRAM), and other types of RAMs, Read-Only Memory(ROM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a FlashMemory, or other memory technology, CD-ROM, digital versatile disc (DVD) or otheroptical storage, cassette type magnetic tape, magnetic disk storage, quantum memory, storagemedium based on graphene, or other magnetic storage device or other non-transmissionmedium for storing information accessible by computing devices. According to the definitionof the specification, the computer readable medium does not include transitory computerreadable media, for example, modulated data signal and carriers.

[00129] It should be noted that the term “including”, “containing” or any variation thereof isintended to encompass non-exclusive inclusion, so that a process, method, product or deviceincluding a series of elements includes not only those elements but also other elements notlisted explicitly or those elements inherent to such a process, method, product or device.Without more limitations, an element defined by the statement “including a…” shall not beprecluded to include additional same elements in a process, method, product or deviceincluding the elements.

[00130] The specific embodiments are described as above. Other embodiments are within thescope of the appended claims. In some cases, the actions or steps recorded in the claims canbe performed in a sequence different from the embodiments to achieve the desired result.Further, the processes shown in drawings do not necessarily require a particular sequence or acontinuous sequence shown to achieve the desired result. In some implementations, amulti-task processing and parallel processing is possible and can also be advantageous.

[00131] The terms used in one or more embodiments of the present disclosure are for thepurpose of describing particular embodiments only, and are not intended to limit the one ormore embodiments of the present disclosure. Terms “a”, “the” and “said” used in theirsingular forms in one or more embodiments of the present disclosure and the appended claimsare also intended to include plurality, unless clearly indicated otherwise in the context. Itshould also be understood that the term “and / or” as used herein refers to and includes any andall possible combinations of one or more of the associated listed items.

[00132] It should be understood that, although the terms “first,” “second,” “third,” and thelike can be used in one or more embodiments of the present disclosure to describe variousinformation, such information should not be limited to these terms. These terms are only usedto distinguish one category of information from another. For example, without departing fromthe scope of one or more embodiments of the present disclosure, first information can bereferred as second information; and similarly, the second information can also be referred asthe first information. Depending on the context, the term “if” as used herein can be interpretedas “when” or “upon” or “in response to determining”.

[00133] The above-mentioned disclosure is merely illustrative of preferred embodiments ofone or more embodiments of the present disclosure but not intended to limit the presentdisclosure, and any modifications, equivalent substitutions, adaptations thereof made withinthe spirit and principles of the disclosure shall be encompassed in the scope of protection ofthe present disclosure.

Claims

1. A trusted startup method of a blockchain integrated station, comprising:in response to receiving a startup instruction, computing, by the blockchain integratedstation, a current hash value of a locally-deployed disk image;providing, by the blockchain integrated station, the current hash value to a cryptographicacceleration card assembled on the blockchain integrated station, and receiving a comparisonresult between the current hash value and a pre-stored standard hash value returned by thecryptographic acceleration card, wherein the standard hash value corresponds to a pre-definedstandard disk image; andin a case that the comparison result indicates that the current hash value is identical to thestandard hash value, executing, by the blockchain integrated station, the locally-deployed diskimage to form a blockchain node.

2. The method according to claim 1, wherein the locally-deployed disk image comprises:a binary disk image corresponding to the blockchain node and deployed on theblockchain integrated station; ora platform disk image deployed on the blockchain integrated station, wherein theplatform disk image comprises the binary disk image.

3. The method according to claim 1, wherein the standard hash value is generated by aprovider of the standard disk image by computing the standard disk image provided by theprovider in a trusted execution environment.

4. The method according to claim 3, further comprising:in a case that the comparison result indicates that the current hash value is different fromthe standard hash value, requesting to acquire, by the blockchain integrated station, thestandard disk image from the provider.

5. The method according to claim 1, wherein in a case that the comparison result indicatesthat the current hash value is different from the standard hash value, the method furthercomprises at least one of:terminating, by the blockchain integrated station, a startup process of the blockchainintegrated station; or,sending, by the blockchain integrated station, a warning for the disk image.

6. The method according to claim 1, further comprising:in a case that the comparison result indicates that the current hash value is different fromthe standard hash value, reading, by the blockchain integrated station, a backup disk imagefrom a locally-deployed trusted execution environment;replacing, by the blockchain integrated station, the disk image with the backup diskimage and responding to the startup instruction again.

7. The method according to claim 6, further comprising:after receiving the comparison result indicating that the current hash value is identical tothe standard hash value for a first time, writing, by the blockchain integrated station, the diskimage corresponding to the current hash value into the trusted execution environment locallydeployed in the blockchain integrated station as the backup disk image.

8. A trusted startup method of a blockchain integrated station, comprising:receiving, by a cryptographic acceleration card assembled on the blockchain integratedstation, a current hash value sent from the blockchain integrated station, wherein the currenthash value is obtained by the blockchain integrated station by computing a locally-deployeddisk image in response to receiving a startup instruction; the cryptographic acceleration cardpre-stores a standard hash value corresponding to a pre-defined standard disk image;comparing, by the cryptographic acceleration card, the current hash value and thestandard hash value, and returning a comparison result to the blockchain integrated station,such that the blockchain integrated station executes the locally-deployed disk image to form ablockchain node in a case that the comparison result indicates that the current hash value isidentical to the standard hash value.

9. The method according to claim 8, wherein the locally-deployed disk image comprises:a binary disk image corresponding to the blockchain node and deployed on theblockchain integrated station; or,a platform disk image deployed on the blockchain integrated station, wherein theplatform disk image comprises the binary disk image.

10. The method according to claim 8, wherein the standard hash value is generated by aprovider of the standard disk image by computing the standard disk image provided by theprovider in a trusted execution environment.

11. A trusted startup apparatus of a blockchain integrated station, comprising:an instruction receiving module, configured to enable the blockchain integrated station tocompute a current hash value of a locally-deployed disk image in response to receiving astartup instruction;a hash providing module, configured to enable the blockchain integrated station toprovide the current hash value to a cryptographic acceleration card assembled on theblockchain integrated station, and receive a comparison result between the current hash valueand a pre-stored standard hash value returned by the cryptographic acceleration card, whereinthe standard hash value corresponds to a predefined standard disk image; anda disk image executing module, configured to enable the blockchain integrated station toexecute the locally-deployed disk image to form a blockchain node in a case that thecomparison result indicates that the current hash value is identical to the standard hash value.

12. A trusted startup apparatus of a blockchain integrated station, comprising:a hash receiving module, configured to enable a cryptographic acceleration cardassembled on the blockchain integrated station to receive a current hash value sent from theblockchain integrated station, wherein the current hash value is obtained by the blockchainintegrated station by computing a locally-deployed disk image in response to receiving astartup instruction; and the cryptographic acceleration card pre-stores a standard hash valuecorresponding to a pre-defined standard disk image; anda hash comparing module, configured to enable the cryptographic acceleration card tocompare the current hash value and the standard hash value and return a comparison result tothe blockchain integrated station, such that the blockchain integrated station executes thelocally-deployed disk image to form a blockchain node in a case that the comparison resultindicates that the current hash value is identical to the standard hash value.

13. A blockchain integrated station, comprising:a processor,a memory for storing instructions executable by the processor;wherein the processor performs the methods according to any one of claims 1-7 byexecuting the executable instructions.

15. A cryptographic acceleration card, comprising:a processor,a memory for storing instructions executable by the processor;wherein the processor performs the methods according to any one of claims 8-10 byexecuting the executable instructions.

15. A computer readable storage medium having computer instructions stored thereon,wherein the instructions are executed by a processor to implement steps of the methodaccording to any one of claims 1-10.