CN111641694A - Block chain-based application program release method, device and storage medium - Google Patents

Block chain-based application program release method, device and storage medium Download PDF

Info

Publication number
CN111641694A
CN111641694A CN202010432958.3A CN202010432958A CN111641694A CN 111641694 A CN111641694 A CN 111641694A CN 202010432958 A CN202010432958 A CN 202010432958A CN 111641694 A CN111641694 A CN 111641694A
Authority
CN
China
Prior art keywords
application program
node
executable code
block chain
hash value
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
CN202010432958.3A
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.)
Iallchain Co Ltd
Original Assignee
Iallchain Co Ltd
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 Iallchain Co Ltd filed Critical Iallchain Co Ltd
Priority to CN202010432958.3A priority Critical patent/CN111641694A/en
Publication of CN111641694A publication Critical patent/CN111641694A/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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The embodiment of the invention provides a block chain-based application program publishing method, device and storage medium. According to the embodiment of the invention, the related information of the application program is issued to the blockchain network through the application program issuing node, so that the accounting node in the blockchain network can detect the safety reliability of the application program according to the related information of the application program, and when the safety reliability of the application program passes the detection, the accounting node records the related information of the application program in the blockchain account book, so that the related information of the application program cannot be tampered randomly, the safety of the application program is improved, and the safety of a user node or user equipment for installing the application program is improved. In addition, if the application program published in the blockchain network has a security problem, the source of the application program can be determined according to the blockchain network, and unscrupulous malicious application program publishing by hackers is avoided.

Description

Block chain-based application program release method, device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a block chain-based application program publishing method, device and storage medium.
Background
With the continuous development of computer technology, an operating system is installed on a computer, and various application programs can be installed on the basis of the operating system. But some applications are of unknown origin or have security problems themselves, resulting in security problems for the device in which the application is installed.
For example, if the public key of the application developer is hijacked by a hacker, the hacker can impersonate the application developer by using the public key to forge and issue malicious applications, and if the malicious applications are installed on the user equipment, the security of the user equipment is greatly reduced, and the hacker is difficult to trace.
Disclosure of Invention
The embodiment of the invention provides a block chain-based application program publishing method, device and storage medium, which are used for improving the safety of a user node or user equipment for installing the application program. In addition, if the application program published in the blockchain network has a security problem, the source of the application program can be determined according to the blockchain network, and unscrupulous and malicious application program publishing by hackers can be avoided.
In a first aspect, an embodiment of the present invention provides an application program publishing method based on a block chain, including:
the method comprises the steps that an accounting node receives related information of an application program broadcasted by an application program publishing node in a blockchain network, wherein the related information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
the accounting node acquires the executable code of the application program according to the downloading address information of the application program;
the accounting node detects the security reliability of the application program by establishing a simulation environment and running an executable code of the application program;
if the security reliability of the application program passes the detection, the accounting node writes the related information of the application program into the latest block in the block chain network;
the accounting node synchronizes a block chain account book to other accounting nodes in the block chain network, wherein the block chain account book comprises the latest block, and when the other accounting nodes successfully verify the latest block, the executable codes of the application program can be downloaded and used by user nodes in the block chain network;
wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network.
In a second aspect, an embodiment of the present invention provides an application program publishing method based on a block chain, including:
a user node acquires relevant information of an application program from a blockchain account book, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
the user node acquires the executable code of the application program according to the downloading address information of the application program;
the user node calculates a hash value of the executable code of the application program;
if the hash value of the executable code of the application program calculated by the user node is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, the user node determines that the executable code of the application program is not tampered.
In a third aspect, an embodiment of the present invention provides an accounting node, including:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving related information of an application program broadcasted by an application program publishing node in a blockchain network through the communication interface, wherein the related information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
acquiring an executable code of the application program according to the downloading address information of the application program;
detecting the security reliability of the application program by establishing a simulation environment and running an executable code of the application program;
if the security reliability of the application program passes the detection, writing the related information of the application program into the latest block in the block chain network;
synchronizing a blockchain ledger to other accounting nodes in the blockchain network, wherein the blockchain ledger comprises the latest block, and when the other accounting nodes successfully verify the latest block, executable codes of the application program can be downloaded and used by user nodes in the blockchain network;
wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network.
In a fourth aspect, an embodiment of the present invention provides a user node, including:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
acquiring relevant information of an application program from a blockchain account book, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
acquiring an executable code of the application program according to the downloading address information of the application program;
calculating a hash value of executable code of the application program;
if the hash value of the executable code of the application program calculated by the processor is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, determining that the executable code of the application program is not tampered.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect or the second aspect.
According to the application program issuing method, device and storage medium based on the blockchain, provided by the embodiment of the invention, the relevant information of the application program is issued to the blockchain network through the application program issuing node, so that the accounting node in the blockchain network can detect the safety reliability of the application program according to the relevant information of the application program, and when the safety reliability of the application program passes the detection, the accounting node records the relevant information of the application program in the blockchain account book, so that the relevant information of the application program cannot be tampered at will, the safety of the application program is improved, and the safety of a user node or user equipment which installs the application program is improved. In addition, if the application program published in the blockchain network has a security problem, the source of the application program can be determined according to the blockchain network, and unscrupulous malicious application program publishing by hackers is avoided.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of an application program publishing method based on a block chain according to an embodiment of the present invention;
fig. 3 is a flowchart of a block chain-based application program publishing method according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an accounting node according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a user node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The application program release method based on the block chain provided by the embodiment of the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: the system comprises an accounting node, an application program issuing node and a user node, wherein the accounting node, the application program issuing node and the user node are participating nodes in a block chain network. It is understood that the description is only illustrative and does not limit the number and types of nodes in the blockchain network. The accounting node can be one or a plurality of cloud servers, the cloud servers are a server cluster, a plurality of servers are arranged, the server cluster is similar to a universal computer framework, and the cloud servers comprise processors, hard disks, memories, system buses and the like. The application publishing node may specifically be a server of an application developer. The user node may specifically be a user terminal, e.g. a smartphone, a tablet, a personal computer, etc. In addition, in the embodiment of the present application, the blockchain network is a decentralized peer-to-peer (P2P) communication network. Additionally, a root node may be included in the blockchain network, where the root node may publish an originating block in the blockchain network.
The block chain-based application program publishing method provided by the embodiment of the invention aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of an application program publishing method based on a block chain according to an embodiment of the present invention. The embodiment of the invention provides a block chain-based application program publishing method aiming at the technical problems in the prior art, which comprises the following specific steps:
step 201, the accounting node receives relevant information of an application program broadcasted by an application program publishing node in a blockchain network, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program, and download address information of the application program.
As shown in fig. 1, the application publishing node may broadcast application related information in the blockchain network, which may include: identification information (e.g., name) of the Application (APP), executable code of the Application, rights information required by the Application, hash value of executable code of the Application, profile information of the Application, etc.
Optionally, the related information may include identification information of the application program, a hash value of executable code of the application program, and download address information of the application program. The download address information of the application program may be used to download the executable code of the application program. In addition, the download address information of the application program can be used to download the right information required by the application program, the profile information of the application program, and the like.
Optionally, the information about the application program broadcast by the application program publishing node in the blockchain network includes: and the application program publishing node adopts the private key of the application program publishing node to sign the relevant information of the application program.
For example, the application publishing node may sign the relevant information of the application using its own private key to obtain corresponding signed information, and further broadcast the signed information to the blockchain network, so that other nodes in the blockchain network, for example, a billing node may receive the signed information, further, the billing node may verify the private key signature of the application publishing node according to the public key of the application publishing node, and if the verification passes, the billing node may determine that the relevant information of the application has not been tampered.
Step 202, the accounting node obtains the executable code of the application program according to the download address information of the application program.
Further, the accounting node downloads the executable codes of the application program according to the downloading address information of the application program in the related information.
And 203, the accounting node detects the security reliability of the application program by establishing a simulation environment and running an executable code of the application program.
To check the security trust of the application, the accounting node may establish a simulation environment and run the application's executable code. If the executable code of the application program can normally run in the accounting node, the accounting node can determine that the security reliability of the application program passes the detection.
And 204, if the security reliability of the application program passes the detection, the accounting node writes the relevant information of the application program into the latest block in the block chain network.
When the security reliability of the application passes the detection, the accounting node can write the related information of the application into the latest block in the block chain network. Further, the accounting node may also write the latest block into a blockchain ledger.
Step 205, the accounting node synchronizes a block chain ledger to other accounting nodes in the block chain network, where the block chain ledger includes the latest block, and when the other accounting nodes verify the latest block successfully, the executable code of the application program may be downloaded and used by the user node in the block chain network.
Further, the accounting node may synchronize the block chain ledger to other accounting nodes in the block chain network, and when the other accounting nodes receive the block chain ledger, the latest block in the block chain ledger may be verified, that is, the security reliability of the application program is detected.
If the latest block is not verified, the security reliability of the application program is not detected, and at the moment, other accounting nodes can ignore the relevant information of the application program recorded in the latest block and continue to create the latest block.
If the latest block passes the verification, the security reliability of the application program is detected, and further, the accounting node and other accounting nodes in the block chain network can start to create a next new block and rob accounting right of the next new block, namely, the right of writing information into the next new block.
When the other accounting node successfully verifies the latest block, that is, the latest block passes the verification, it means that the related information of the application is successfully recorded in the blockchain ledger, and at this time, the user node in the blockchain network can normally download the executable code of the application through the blockchain client.
Wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network. As shown in fig. 1, the accounting nodes, application publishing nodes and user nodes are participating nodes in a blockchain network.
According to the embodiment of the invention, the related information of the application program is issued to the blockchain network through the application program issuing node, so that the accounting node in the blockchain network can detect the safety reliability of the application program according to the related information of the application program, and when the safety reliability of the application program passes the detection, the accounting node records the related information of the application program in the blockchain account book, so that the related information of the application program cannot be tampered randomly, the safety of the application program is improved, and the safety of a user node or user equipment for installing the application program is improved. In addition, if the application program published in the blockchain network has a security problem, the source of the application program can be determined according to the blockchain network, and unscrupulous malicious application program publishing by hackers is avoided.
Fig. 3 is a flowchart of an application publishing method based on a blockchain according to another embodiment of the present invention. The method for releasing the application program based on the block chain provided by the embodiment specifically comprises the following steps:
step 301, a user node acquires relevant information of an application program from a blockchain account book, wherein the relevant information includes identification information of the application program, a hash value of an executable code of the application program, and download address information of the application program.
As shown in fig. 1, the application publishing node may broadcast application related information in the blockchain network, which may include: identification information (e.g., name) of the Application (APP), executable code of the Application, rights information required by the Application, hash value of executable code of the Application, profile information of the Application, etc.
Optionally, the related information may include identification information of the application program, a hash value of executable code of the application program, and download address information of the application program. The download address information of the application program may be used to download the executable code of the application program. In addition, the download address information of the application program can be used to download the right information required by the application program, the profile information of the application program, and the like.
And after the accounting node in the blockchain network receives the relevant information of the application program, downloading the executable code of the application program according to the downloading address information of the application program in the relevant information. To check the security trust of the application, the accounting node may establish a simulation environment and run the application's executable code. If the executable code of the application program can normally run in the accounting node, the accounting node can determine that the security reliability of the application program passes the detection. When the security reliability of the application passes the detection, the accounting node can write the related information of the application into the latest block in the block chain network. Further, the accounting node may also write the latest block into a blockchain ledger.
Further, the accounting node may synchronize the block chain ledger to other accounting nodes in the block chain network, and when the other accounting nodes receive the block chain ledger, the latest block in the block chain ledger may be verified, that is, the security reliability of the application program is detected.
If the latest block is not verified, the security reliability of the application program is not detected, and at the moment, other accounting nodes can ignore the relevant information of the application program recorded in the latest block and continue to create the latest block.
If the latest block passes the verification, the security reliability of the application program is detected, and further, the accounting node and other accounting nodes in the block chain network can start to create a next new block and rob accounting right of the next new block, namely, the right of writing information into the next new block.
The user node acquires relevant information of the application program from the block chain account book, and the method comprises the following steps: if a preset number of blocks are generated in the block chain network after the application program publishing node broadcasts the relevant information of the application program in the block chain network, the user node acquires the relevant information of the application program from a block chain account book.
If the application publishing node broadcasts the relevant information of the application in the blockchain network, and a preset number of blocks are generated in the blockchain network, it means that the relevant information of the application is successfully recorded in the blockchain account book, and at this time, the user node in the blockchain network can obtain the relevant information of the application from the blockchain account book.
Step 302, the user node obtains the executable code of the application program according to the download address information of the application program.
The user node in the blockchain network can normally download the executable code of the application program through the blockchain client and according to the downloading address information of the application program.
Step 303, the user node calculates a hash value of the executable code of the application program.
Further, the user node may calculate a hash value of the executable code of the application.
The user node calculating a hash value of the executable code of the application program, comprising: and the user node calculates the hash value of the executable code of the application program before running the executable code of the application program.
For example, before the user node runs the executable code of the application program, a hash value of the executable code of the application program may be calculated in order to verify the integrity of the executable code.
Step 304, if the hash value of the executable code of the application program calculated by the user node is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, determining that the executable code of the application program is not tampered by the user node.
Further, the user node may compare the hash value of the executable code of the application program calculated by the user node with the hash value of the executable code of the application program recorded in the blockchain ledger, and if the hash value of the executable code of the application program calculated by the user node is consistent with the hash value of the executable code of the application program recorded in the blockchain ledger, the user node determines that the executable code of the application program is not tampered, that is, the integrity of the application program is verified. Further, the user node may run the executable code of the application program normally. If the hash value of the executable code of the application program calculated by the user node is not consistent with the hash value of the executable code of the application program recorded in the blockchain account book, the user node determines that the executable code of the application program is possibly tampered, and further, the user node can refuse to execute the executable code of the application program.
According to the embodiment of the invention, the related information of the application program is issued to the blockchain network through the application program issuing node, so that the accounting node in the blockchain network can detect the safety reliability of the application program according to the related information of the application program, and when the safety reliability of the application program passes the detection, the accounting node records the related information of the application program in the blockchain account book, so that the related information of the application program cannot be tampered randomly, the safety of the application program is improved, and the safety of a user node or user equipment for installing the application program is improved. In addition, if the application program published in the blockchain network has a security problem, the source of the application program can be determined according to the blockchain network, and unscrupulous malicious application program publishing by hackers is avoided. In addition, the hash value of the executable code of the application program is calculated by the user node, and the consistency of the hash value of the executable code of the application program calculated by the user node and the hash value of the executable code of the application program recorded in the blockchain account book is compared, so that the application program can be prevented from being tampered, and the safety of the application program is further improved.
Fig. 4 is a schematic structural diagram of an accounting node according to an embodiment of the present invention. The accounting node provided in the embodiment of the present invention may execute the processing flow provided in the embodiment of the block chain-based application program publishing method, and as shown in fig. 4, the accounting node 40 includes: memory 41, processor 42, computer programs and communication interface 43; wherein the computer program is stored in the memory 41 and is configured to be executed by the processor 42 for: receiving related information of an application program broadcasted by an application program publishing node in a blockchain network through the communication interface, wherein the related information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program; acquiring an executable code of the application program according to the downloading address information of the application program; detecting the security reliability of the application program by establishing a simulation environment and running an executable code of the application program; if the security reliability of the application program passes the detection, writing the related information of the application program into the latest block in the block chain network; synchronizing a blockchain ledger to other accounting nodes in the blockchain network, wherein the blockchain ledger comprises the latest block, and when the other accounting nodes successfully verify the latest block, executable codes of the application program can be downloaded and used by user nodes in the blockchain network; wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network.
Optionally, the information about the application program broadcast by the application program publishing node in the blockchain network includes: and the application program publishing node adopts the private key of the application program publishing node to sign the relevant information of the application program.
The accounting node of the embodiment shown in fig. 4 may be configured to implement the technical solution of the above method embodiment, and the implementation principle and the technical effect are similar, and are not described herein again.
Fig. 5 is a schematic structural diagram of a user node according to an embodiment of the present invention. The user node provided in the embodiment of the present invention may execute the processing flow provided in the embodiment of the block chain-based application program publishing method, and as shown in fig. 5, the user node 50 includes: memory 51, processor 52, computer programs and communication interface 53; wherein the computer program is stored in the memory 51 and is configured to be executed by the processor 52 for: acquiring relevant information of an application program from a blockchain account book, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program; acquiring an executable code of the application program according to the downloading address information of the application program; calculating a hash value of executable code of the application program; if the hash value of the executable code of the application program calculated by the processor is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, determining that the executable code of the application program is not tampered.
Optionally, when the processor calculates the hash value of the executable code of the application program, the processor is specifically configured to: the processor calculates a hash value of the executable code of the application program before running the executable code of the application program.
Optionally, when the processor obtains the relevant information of the application program from the blockchain ledger book, the processor is specifically configured to: if the block chain network has a preset number of blocks generated after the application program publishing node broadcasts the relevant information of the application program in the block chain network, the relevant information of the application program is obtained from the block chain book.
The user node in the embodiment shown in fig. 5 may be configured to execute the technical solution of the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the application distribution method based on the blockchain described in the foregoing embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for releasing an application program based on a block chain is characterized by comprising the following steps:
the method comprises the steps that an accounting node receives related information of an application program broadcasted by an application program publishing node in a blockchain network, wherein the related information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
the accounting node acquires the executable code of the application program according to the downloading address information of the application program;
the accounting node detects the security reliability of the application program by establishing a simulation environment and running an executable code of the application program;
if the security reliability of the application program passes the detection, the accounting node writes the related information of the application program into the latest block in the block chain network;
the accounting node synchronizes a block chain account book to other accounting nodes in the block chain network, wherein the block chain account book comprises the latest block, and when the other accounting nodes successfully verify the latest block, the executable codes of the application program can be downloaded and used by user nodes in the block chain network;
wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network.
2. The method of claim 1, wherein the information about the application broadcast by the application publishing node in the blockchain network comprises:
and the application program publishing node adopts the private key of the application program publishing node to sign the relevant information of the application program.
3. A method for releasing an application program based on a block chain is characterized by comprising the following steps:
a user node acquires relevant information of an application program from a blockchain account book, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
the user node acquires the executable code of the application program according to the downloading address information of the application program;
the user node calculates a hash value of the executable code of the application program;
if the hash value of the executable code of the application program calculated by the user node is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, the user node determines that the executable code of the application program is not tampered.
4. The method of claim 3, wherein the user node computing the hash value of the executable code of the application comprises:
and the user node calculates the hash value of the executable code of the application program before running the executable code of the application program.
5. The method of claim 3 or 4, wherein the user node obtains the relevant information of the application program from the blockchain ledger, and comprises:
if a preset number of blocks are generated in the block chain network after the application program publishing node broadcasts the relevant information of the application program in the block chain network, the user node acquires the relevant information of the application program from a block chain account book.
6. An accounting node, comprising:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving related information of an application program broadcasted by an application program publishing node in a blockchain network through the communication interface, wherein the related information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
acquiring an executable code of the application program according to the downloading address information of the application program;
detecting the security reliability of the application program by establishing a simulation environment and running an executable code of the application program;
if the security reliability of the application program passes the detection, writing the related information of the application program into the latest block in the block chain network;
synchronizing a blockchain ledger to other accounting nodes in the blockchain network, wherein the blockchain ledger comprises the latest block, and when the other accounting nodes successfully verify the latest block, executable codes of the application program can be downloaded and used by user nodes in the blockchain network;
wherein the accounting node, the application publishing node and the user node are nodes in the blockchain network.
7. An accounting node as claimed in claim 6, wherein the information about the applications broadcast by the application publishing node in the blockchain network comprises:
and the application program publishing node adopts the private key of the application program publishing node to sign the relevant information of the application program.
8. A user node, comprising:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
acquiring relevant information of an application program from a blockchain account book, wherein the relevant information comprises identification information of the application program, a hash value of an executable code of the application program and download address information of the application program;
acquiring an executable code of the application program according to the downloading address information of the application program;
calculating a hash value of executable code of the application program;
if the hash value of the executable code of the application program calculated by the processor is consistent with the hash value of the executable code of the application program recorded in the blockchain account book, determining that the executable code of the application program is not tampered.
9. The user node of claim 8, wherein the processor, when computing the hash value of the executable code of the application program, is specifically configured to:
the processor calculates a hash value of the executable code of the application program before running the executable code of the application program.
10. The user node according to claim 8 or 9, wherein the processor, when obtaining the information related to the application from the blockchain ledger, is specifically configured to:
if the block chain network has a preset number of blocks generated after the application program publishing node broadcasts the relevant information of the application program in the block chain network, the relevant information of the application program is obtained from the block chain book.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202010432958.3A 2020-05-19 2020-05-19 Block chain-based application program release method, device and storage medium Pending CN111641694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010432958.3A CN111641694A (en) 2020-05-19 2020-05-19 Block chain-based application program release method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010432958.3A CN111641694A (en) 2020-05-19 2020-05-19 Block chain-based application program release method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111641694A true CN111641694A (en) 2020-09-08

Family

ID=72332105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010432958.3A Pending CN111641694A (en) 2020-05-19 2020-05-19 Block chain-based application program release method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111641694A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112347456A (en) * 2020-10-28 2021-02-09 达闼机器人有限公司 Program verification method and device, platform, user terminal and online service system
CN112597485A (en) * 2021-03-01 2021-04-02 腾讯科技(深圳)有限公司 Information checking method, device and equipment based on block chain and storage medium
CN113419769A (en) * 2021-06-23 2021-09-21 中国信息通信研究院 Application software management method and device
CN113486361A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Block chain-based APP management system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537308A (en) * 2015-01-23 2015-04-22 北京奇虎科技有限公司 System and method for providing application security auditing function
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified
CN108055138A (en) * 2018-02-01 2018-05-18 国家计算机网络与信息安全管理中心 Distributed recorder method and system is applied based on block chain
CN109634615A (en) * 2018-10-30 2019-04-16 阿里巴巴集团控股有限公司 Dissemination method, verification method and the device of application installation package
CN110046165A (en) * 2019-04-17 2019-07-23 江苏全链通信息科技有限公司 Dissemination method, equipment and the computer readable storage medium of distributed application program
CN110209683A (en) * 2019-06-05 2019-09-06 北京清大智信科技有限公司 A kind of real-time system for obtaining environmental data and being written into block chain
US10425230B1 (en) * 2019-03-01 2019-09-24 Capital One Services, Llc Identity and electronic signature verification in blockchain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537308A (en) * 2015-01-23 2015-04-22 北京奇虎科技有限公司 System and method for providing application security auditing function
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified
CN108055138A (en) * 2018-02-01 2018-05-18 国家计算机网络与信息安全管理中心 Distributed recorder method and system is applied based on block chain
CN109634615A (en) * 2018-10-30 2019-04-16 阿里巴巴集团控股有限公司 Dissemination method, verification method and the device of application installation package
US10425230B1 (en) * 2019-03-01 2019-09-24 Capital One Services, Llc Identity and electronic signature verification in blockchain
CN110046165A (en) * 2019-04-17 2019-07-23 江苏全链通信息科技有限公司 Dissemination method, equipment and the computer readable storage medium of distributed application program
CN110209683A (en) * 2019-06-05 2019-09-06 北京清大智信科技有限公司 A kind of real-time system for obtaining environmental data and being written into block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
白杰: "发布区块链标准应用模型及应用部署技术研究", 《信息技术与网络安全》 *
许源等: "基于区块链技术的DAPP风险分析及管控研究", 《电脑编程技巧与维护》 *
贺海武等: "基于区块链的智能合约技术与应用综述", 《计算机研究与发展》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112347456A (en) * 2020-10-28 2021-02-09 达闼机器人有限公司 Program verification method and device, platform, user terminal and online service system
KR20220079800A (en) * 2020-10-28 2022-06-14 클라우드마인즈 로보틱스 컴퍼니 리미티드 Program verification method and device, platform and user terminal and online service system
CN112347456B (en) * 2020-10-28 2023-09-01 达闼机器人股份有限公司 Program verification method and device, platform, user terminal and online service system
KR102650220B1 (en) * 2020-10-28 2024-03-20 클라우드마인즈 로보틱스 컴퍼니 리미티드 Program verification methods and devices, platforms and user terminals, and online service systems
CN112597485A (en) * 2021-03-01 2021-04-02 腾讯科技(深圳)有限公司 Information checking method, device and equipment based on block chain and storage medium
CN112597485B (en) * 2021-03-01 2021-06-08 腾讯科技(深圳)有限公司 Information checking method, device and equipment based on block chain and storage medium
CN113419769A (en) * 2021-06-23 2021-09-21 中国信息通信研究院 Application software management method and device
CN113419769B (en) * 2021-06-23 2024-02-20 中国信息通信研究院 Application software management method and device
CN113486361A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Block chain-based APP management system and method
CN113486361B (en) * 2021-07-27 2024-04-16 中国银行股份有限公司 APP management system and method based on block chain

Similar Documents

Publication Publication Date Title
CN111641694A (en) Block chain-based application program release method, device and storage medium
CN108256353B (en) Data integrity checking method and device and client
CN107171810B (en) Verification method and device of block chain
CN109102287B (en) Block chain accounting method, device, equipment and storage medium
CN107294729B (en) Communication method and device between different nodes in block chain
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
CN107077557B (en) Method and device for releasing and verifying software application program
CN108270874B (en) Application program updating method and device
CN109542888B (en) Data modification and synchronization method, device, equipment and storage medium of block chain
KR101723937B1 (en) Cloud-assisted method and service for application security verification
CN107493340B (en) Data distribution verification method, device and system in block chain network
CN109634615B (en) Issuing method, verification method and device of application installation package
CN104573435A (en) Method for terminal authority management and terminal
CN109166040B (en) Transaction auditing method, device, equipment and storage medium based on block chain
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN112861191B (en) Application program monitoring method and device
CN111010284B (en) Processing method of block to be identified, related device and block chain system
CN105704296B (en) Application environment cloning method and device
CN113505354B (en) Data processing method, device and storage medium
CN106709281B (en) Patch granting and acquisition methods, device
CN111198862A (en) File storage method and device based on block chain, terminal equipment and medium
CN111984295B (en) Block chain software whole-network updating method, storage medium and electronic equipment
CN111858753A (en) Block chain-based training parameter processing method, device and storage medium
CN108924089B (en) Client device identification method and device and client device
CN108989298B (en) Equipment safety monitoring method and device and computer readable storage medium

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