CN110062044A - Distributed application program downloads verification method, equipment and storage medium - Google Patents
Distributed application program downloads verification method, equipment and storage medium Download PDFInfo
- Publication number
- CN110062044A CN110062044A CN201910310720.0A CN201910310720A CN110062044A CN 110062044 A CN110062044 A CN 110062044A CN 201910310720 A CN201910310720 A CN 201910310720A CN 110062044 A CN110062044 A CN 110062044A
- Authority
- CN
- China
- Prior art keywords
- block chain
- node
- domain name
- application program
- distributed application
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present invention provides a kind of distributed application program downloading verification method, equipment and storage medium.The embodiment of the present invention is by participating in node before the run program file of downloading distributed application program, application information is broadcasted in the domain name block chain network, this application information includes the domain name block chain mark of the publisher node of distributed application program, the title of distributed application program, participate in the domain name block chain mark of node, this application information is recorded in block chain account book accounting nodes in the domain name block chain network, when the participation node sends downloading request to the download management platform of distributed application program, the download management platform is identified according to the domain name block chain of the participation node, it inquires in the block chain account book and whether has recorded this application information, if record has this application information, the download management platform just allows the participation node to download the run program file, it realizes and distributed application program is downloaded Oversight mechanism.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of distributed application program downloading verification method,
Equipment and storage medium.
Background technique
Distributed application program (Decentralized Application, DApp) is a kind of internet application, with
The maximum difference of traditional application program (Application, App) is: DApp is operated on the network of decentralization, that is,
In block chain network.Node in network there is no centralization can completely control DApp.And App is it is known that in being
The heart, it needs to request certain server to obtain data, processing data etc..
The relevant information of DApp can be published to the block chain network, the block chain by the publisher node in block chain network
Other nodes in network can download the DApp from the block chain network according to the relevant information of the DApp.But it is existing
Lack the oversight mechanism downloaded to DApp in technology.
Summary of the invention
The embodiment of the present invention provides a kind of distributed application program downloading verification method, equipment and storage medium, to realize
To the oversight mechanism of distributed application program downloading.
In a first aspect, the embodiment of the present invention provides a kind of distributed application program downloading verification method, comprising:
Participation node in domain name block chain network broadcasts application information, the application in domain name block chain network
For information for applying for downloading distributed application program, the application information includes that described point is issued in domain name block chain network
Domain name block chain mark, the title of the distributed application program, the participation node of the publisher node of cloth application program
Domain name block chain mark;
When the application information is recorded in block chain account book by the accounting nodes in domain name block chain network, institute
State the download management platform for participating in node according to the download address of the distributed application program to the distributed application program
It sends the downloading for downloading the distributed application program to request, the downloading request includes the domain name area for participating in node
Block chain mark;
When the download management platform according to it is described participate in node domain name block chain identify, determine the block chain account book
When middle record has the participation node application to download the application information of the distributed application program, the participation node is connect
Receive the run program file for the distributed application program that the download management platform is sent.
Second aspect, the embodiment of the present invention provide a kind of distributed application program downloading verification method, comprising:
Accounting nodes in domain name block chain network receive the participation node in domain name block chain network in the domain
The application information broadcasted in name block chain network, the application information is for applying for downloading distributed application program, the application
Information include issued in domain name block chain network the publisher node of the distributed application program domain name block chain mark,
The title of the distributed application program, the domain name block chain mark for participating in node;
The accounting nodes are identified according to the domain name block chain for participating in node, and inquiry obtains the domain for participating in node
Name block chain public key;
The accounting nodes carry out verifying to the application information according to the domain name block chain public key for participating in node and lead to
Later, the application information is recorded in block chain account book.
The third aspect, the embodiment of the present invention provide the participation node in a kind of domain name block chain network, comprising:
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor following
Operation:
Application information is broadcasted in domain name block chain network by the communication interface, the application information is used for Shen
Distributed application program please be download, the application information includes that the Distributed Application journey is issued in domain name block chain network
The domain name block chain mark of the publisher node of sequence, the title of the distributed application program, the domain name block for participating in node
Chain mark;
When the application information is recorded in block chain account book by the accounting nodes in domain name block chain network, root
According to the download address of the distributed application program by the communication interface to the download management of the distributed application program
Platform sends the downloading for downloading the distributed application program and requests, and the downloading request includes the domain for participating in node
Name block chain mark;
When the download management platform according to it is described participate in node domain name block chain identify, determine the block chain account book
When middle record has the participation node application to download the application information of the distributed application program, connect by the communication
Mouth receives the run program file for the distributed application program that the download management platform is sent.
Fourth aspect, the embodiment of the present invention provide the accounting nodes in a kind of domain name block chain network, comprising:
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor following
Operation:
The participation node in domain name block chain network is received in domain name block link network by the communication interface
The application information broadcasted in network, for the application information for applying for downloading distributed application program, the application information includes institute
State domain name block chain mark, the distribution that the publisher node of the distributed application program is issued in domain name block chain network
The title of application program, the domain name block chain mark for participating in node;
According to the domain name block chain mark for participating in node, it is public that inquiry obtains the domain name block chain for participating in node
Key;
After being verified according to the domain name block chain public key for participating in node to the application information, by the Shen
Please information be recorded in block chain account book.
5th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize method described in first aspect.
Distributed application program downloading verification method, equipment and storage medium provided in an embodiment of the present invention, pass through domain name
Node is participated in front of the run program file of downloading distributed application program in block chain network, in the domain name block link network
Application information is broadcasted in network, this application information includes the domain name block chain mark of the publisher node of distributed application program, distribution
The title of formula application program, the domain name block chain mark for participating in node, so that the accounting nodes in the domain name block chain network can
This application information to be recorded in block chain account book, when the participation node is sent out to the download management platform of distributed application program
When downloading for downloading the distributed application program being sent to request, the download management platform is according to the domain name area of the participation node
Block chain mark, inquires in the block chain account book whether recorded this application information, if record has this application information, the downloading pipe
Platform just allows the participation node to download the run program file of the distributed application program, realizes to Distributed Application journey
The oversight mechanism of sequence downloading.
Detailed description of the invention
Fig. 1 is that distributed application program provided in an embodiment of the present invention downloads verification method flow chart;
Fig. 2 is the signaling diagram that distributed application program provided in an embodiment of the present invention downloads verification method;
Fig. 3 be another embodiment of the present invention provides distributed application program download verification method flow chart;
Fig. 4 is the structural schematic diagram of the participation node in domain name block chain network provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the accounting nodes in domain name block chain network provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Distributed application program provided in an embodiment of the present invention downloads verification method, it is intended to solve the skill as above of the prior art
Art problem.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 1 is that distributed application program provided in an embodiment of the present invention downloads verification method flow chart.The embodiment of the present invention
For the technical problem as above of the prior art, distributed application program downloading verification method is provided, this method specific steps are such as
Under:
Participation node in step 101, domain name block chain network broadcasts application information in domain name block chain network,
For the application information for applying for downloading distributed application program, the application information includes sending out in domain name block chain network
Domain name block chain mark, the title, described of the distributed application program of the publisher node of distributed application program described in cloth
Participate in the domain name block chain mark of node.
In the present embodiment, domain name block chain network includes multiple nodes, which is specifically center of going
The block chain network of change, the domain name block chain network include at least: accounting nodes, the hair for participating in node and distributed application program
Cloth node.Wherein, accounting nodes are used to safeguard the block chain account book of the domain name block chain network, can record in the block chain account book
There are the Transaction Information or the communication information between each node.Publisher node is for issuing distributed application program, specifically, publication
Node is used to issue the relevant information of distributed application program, which specifically can be the base of the distributed application program
This information, cryptographic Hash of run program file of the distributed application program etc..Participation node specifically can be needs downloading should
The node of the run program file of distributed application program.
As shown in Fig. 2, publisher node issues the relevant information of the distributed application program in the domain name block chain network,
Accounting nodes in the domain name block chain network can receive the relevant information of the distributed application program.
When participation node needs to download the run program file of the distributed application program, the participation node is first at this
Application information is broadcasted in domain name block chain network, this application information includes: to issue the distribution in the domain name block chain network to answer
With the domain name block chain mark of the publisher node of program, the domain name block of the title of the distributed application program, the participation node
Chain mark.Specifically, the participation node can sign to this application information using oneself private key, and by the Shen after signature
Please information be broadcast in the domain name block chain network.
Step 102 is recorded in block chain account by the accounting nodes in domain name block chain network when the application information
When in this, the downloading for participating in node according to the download address of the distributed application program to the distributed application program
Management platform sends the downloading for downloading the distributed application program and requests, and the downloading request includes the participation node
Domain name block chain mark.
When accounting nodes in the domain name block chain network receive the application information after the signature, the accounting nodes are to this
Application information after signature is verified.Specifically, domain name of the accounting nodes according to the participation node in this application information
Block chain mark, inquiry obtain the domain name block chain public key of the participation node, use the domain name block chain public key of the participation node
Private key signature in this application information is verified, after being verified, which is written to this application information new
In block, and then this application information is written in block chain account book.If the distributed application program is the program of charge,
The relevant money transfer transactions record of the distributed application program can also have been recorded in the block chain account book.
When this application information that the participation node is broadcasted is recorded in block chain account book by accounting nodes, the participation section
Point is used for down according to the download address of the distributed application program to the transmission of the download management platform of the distributed application program
The downloading request of the distributed application program is carried, the downloading request includes the identity information of the participation node, for example, the ginseng
It is identified with the domain name block chain of node.Wherein, the download address of the distributed application program can be the distributed application program
Publisher node be supplied to the participation node.In addition, the download management platform of the distributed application program specifically can be this
The publisher node of distributed application program is also possible to other nodes in addition to the publisher node.As shown in Fig. 2, the downloading
Managing platform is the publisher node, which asks to the downloading that the publisher node sends the downloading distributed application program
It asks.
Optionally, described to participate in node according to the download address of the distributed application program to the Distributed Application journey
Before the download management platform of sequence sends the downloading request for downloading the distributed application program, the method also includes:
The download address for participating in node and receiving the distributed application program that the publisher node is sent.
For example, the publisher node of the distributed application program can be to broadcast in the actively monitoring domain name block chain network
For downloading the application information of the distributed application program, further, which produces dynamic download link and divides
The download address of cloth application program, and the download address is pushed to the participation section that the distributed application program is downloaded in application
Point.
Step 103, when the download management platform according to it is described participate in node domain name block chain identify, determine the area
When record has the participation node application to download the application information of the distributed application program in block chain account book, the ginseng
The run program file for the distributed application program that the download management platform is sent is received with node.
When the download management platform receives the downloading request of participation node transmission, which knows first
The not identity information of the participation node, further the accounting nodes into the domain name block chain network send inquiry request, this is looked into
The domain name block chain in request including the participation node is ask to identify.The accounting nodes can be according to the domain name block chain of the participation node
Mark, determine the participation node whether has been recorded in block chain account book in order to download the distributed application program and in the domain name
The application information broadcasted in block chain network.The accounting nodes further send feedback information to the download management platform,
The feedback information is for indicating that whether having recorded the participation node application downloading distribution in the block chain account book answers
With the application information of program.
If record has this application information in the block chain account book, which allows the participation node to download
The run program file of the distributed application program.If not recording this application information in the block chain account book, the downloading pipe
Platform refuses the run program file that the participation node downloads the distributed application program.
In some embodiments, optionally, the node that participates in receives the distribution that the download management platform is sent
After the run program file of formula application program, the method also includes: the participation node calculates the Distributed Application journey
The cryptographic Hash of the run program file of sequence;The participation node participates in the cryptographic Hash and institute that node is calculated by comparing described
The cryptographic Hash for stating the run program file that publisher node is issued determines whether the run program file is trusty
File.
For example, when publisher node issues the relevant information of the distributed application program in the domain name block chain network, it should
Relevant information may include the cryptographic Hash of the run program file of the distributed application program.When participating in node from the Distributed Application
After the download management platform of program downloads the run program file of the distributed application program, which can calculate the operation
The cryptographic Hash of program file.Further, which compares the cryptographic Hash oneself being calculated and the publisher node is issued
The run program file cryptographic Hash, determine whether the run program file is file trusty.If the participation node
The cryptographic Hash for the run program file that the cryptographic Hash of oneself the calculated run program file and the publisher node are issued
Unanimously, it is determined that the run program file is file trusty, which can run the run program file, with installation
The distributed application program.To realize the integrity verification to the distributed application program, it is ensured that participation node downloading
Be correct distributed application program.
The embodiment of the present invention is by participating in node in the operation of downloading distributed application program in domain name block chain network
Before program file, application information is broadcasted in the domain name block chain network, this application information includes distributed application program
The domain name block chain mark of publisher node, the title of distributed application program, the domain name block chain mark for participating in node, so that should
Accounting nodes in domain name block chain network this application information can be recorded in block chain account book, when the participation node to point
When the download management platform of cloth application program sends the downloading request for downloading the distributed application program, the downloading pipe
Platform is identified according to the domain name block chain of the participation node, inquires in the block chain account book whether recorded this application information,
If record has this application information, which just allows the participation node to download the operation of the distributed application program
Program file realizes the oversight mechanism to distributed application program downloading.
Fig. 3 be another embodiment of the present invention provides distributed application program download verification method flow chart.In above-mentioned reality
On the basis of applying example, distributed application program downloading verification method provided in this embodiment specifically comprises the following steps:
Accounting nodes in step 301, domain name block chain network receive the participation node in domain name block chain network
The application information broadcasted in domain name block chain network, the application information download distributed application program for applying,
The application information includes that the domain name area of the publisher node of the distributed application program is issued in domain name block chain network
Block chain mark, the title of the distributed application program, the domain name block chain mark for participating in node.
Publisher node issues the relevant information of the distributed application program, the domain name block in the domain name block chain network
Accounting nodes in chain network can receive the relevant information of the distributed application program.It needs to download this point when participating in node
When the run program file of cloth application program, which broadcasts application information in the domain name block chain network first,
This application information includes: that the domain name block chain mark of the publisher node of the distributed application program is issued in the domain name block chain network
Knowledge, the title of the distributed application program, the participation node domain name block chain mark.Specifically, the participation node can be adopted
It is signed with the private key of oneself to this application information, and the application information after signature is broadcast to the domain name block chain network
In.
Step 302, the accounting nodes are identified according to the domain name block chain for participating in node, and inquiry obtains the participation
The domain name block chain public key of node.
When accounting nodes in the domain name block chain network receive the application information after the signature, the accounting nodes are to this
Application information after signature is verified.Specifically, domain name of the accounting nodes according to the participation node in this application information
Block chain mark, inquiry obtain the domain name block chain public key of the participation node.
Step 303, the accounting nodes according to it is described participate in node domain name block chain public key to the application information into
After row is verified, the application information is recorded in block chain account book.
Specifically, the accounting nodes are using the domain name block chain public key of the participation node to the private key label in this application information
Name is verified, and after being verified, which is written to this application information in new block, and then by this application information
It is written in block chain account book.
Optionally, the accounting nodes carry out the application information according to the domain name block chain public key for participating in node
After being verified, after the application information is recorded in block chain account book, the method also includes: the accounting nodes connect
The inquiry request that the download management platform of the distributed application program is sent is received, the inquiry request includes the participation node
Domain name block chain mark;The accounting nodes are identified according to the domain name block chain for participating in node, determine the block chain
Whether the application information that the participation node application download the distributed application program is recorded in account book;The book keeping operation
Node sends feedback information to the download management platform, and the feedback information is for indicating whether remember in the block chain account book
The application information that record has the participation node application to download the distributed application program.
When this application information that the participation node is broadcasted is recorded in block chain account book by accounting nodes, the participation section
Point is used for down according to the download address of the distributed application program to the transmission of the download management platform of the distributed application program
The downloading request of the distributed application program is carried, the downloading request includes the identity information of the participation node, for example, the ginseng
It is identified with the domain name block chain of node.
When the download management platform receives the downloading request of participation node transmission, which knows first
The not identity information of the participation node, further the accounting nodes into the domain name block chain network send inquiry request, this is looked into
The domain name block chain in request including the participation node is ask to identify.The accounting nodes can be according to the domain name block chain of the participation node
Mark, determine the participation node whether has been recorded in block chain account book in order to download the distributed application program and in the domain name
The application information broadcasted in block chain network.The accounting nodes further send feedback information to the download management platform,
The feedback information is for indicating that whether having recorded the participation node application downloading distribution in the block chain account book answers
With the application information of program.
If record has this application information in the block chain account book, which allows the participation node to download
The run program file of the distributed application program.If not recording this application information in the block chain account book, the downloading pipe
Platform refuses the run program file that the participation node downloads the distributed application program.
The embodiment of the present invention is by participating in node in the operation of downloading distributed application program in domain name block chain network
Before program file, application information is broadcasted in the domain name block chain network, this application information includes distributed application program
The domain name block chain mark of publisher node, the title of distributed application program, the domain name block chain mark for participating in node, so that should
Accounting nodes in domain name block chain network this application information can be recorded in block chain account book, when the participation node to point
When the download management platform of cloth application program sends the downloading request for downloading the distributed application program, the downloading pipe
Platform is identified according to the domain name block chain of the participation node, inquires in the block chain account book whether recorded this application information,
If record has this application information, which just allows the participation node to download the operation of the distributed application program
Program file realizes the oversight mechanism to distributed application program downloading.
Fig. 4 is the structural schematic diagram of the participation node in domain name block chain network provided in an embodiment of the present invention.The present invention
The participation node in domain name block chain network that embodiment provides, which can execute distributed application program downloading verification method, to be implemented
The process flow that example provides, as shown in figure 4, participating in node 40 includes: memory 41, processor 42, computer program and communication
Interface 43;Wherein, computer program is stored in memory 41, and is configured as executing following operation by processor 42: being passed through
Communication interface 43 broadcasts application information in domain name block chain network, and the application information is for applying for that downloading distribution is answered
With program, the application information includes that the publisher node of the distributed application program is issued in domain name block chain network
Domain name block chain mark, the title of the distributed application program, the domain name block chain mark for participating in node;When the Shen
Please information when being recorded in block chain account book by the accounting nodes in domain name block chain network, according to the Distributed Application
The download address of program is sent to the download management platform of the distributed application program for downloading by communication interface 43
The downloading request of distributed application program is stated, the downloading request includes the domain name block chain mark for participating in node;Work as institute
It states download management platform to be identified according to the domain name block chain for participating in node, determines there there is described record in the block chain account book
When the application information of the distributed application program is downloaded in participation node application, the downloading is received by communication interface 43
Manage the run program file for the distributed application program that platform is sent.
Optionally, processor 42 passes through communication interface 43 to described point according to the download address of the distributed application program
Before the download management platform of cloth application program sends the downloading request for downloading the distributed application program, also use
In: the download address for the distributed application program that the publisher node is sent is received by communication interface 43.
Optionally, processor 42 receives the Distributed Application that the download management platform is sent by communication interface 43
It after the run program file of program, is also used to: calculating the cryptographic Hash of the run program file of the distributed application program;It is logical
Cross the Kazakhstan of the cryptographic Hash that the participation node is calculated and the run program file that the publisher node is issued
Uncommon value, determines whether the run program file is file trusty.
The participation node of embodiment illustrated in fig. 4 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technical effect, details are not described herein again.
Fig. 5 is the structural schematic diagram of the accounting nodes in domain name block chain network provided in an embodiment of the present invention.The present invention
The accounting nodes in domain name block chain network that embodiment provides, which can execute distributed application program downloading verification method, to be implemented
The process flow that example provides, as shown in figure 5, accounting nodes 50 include: memory 51, processor 52, computer program and communication
Interface 53;Wherein, computer program is stored in memory 51, and is configured as executing following operation by processor 52: being passed through
Communication interface 53 receives the application that the participation node in domain name block chain network is broadcasted in domain name block chain network
Information, for the application information for applying for downloading distributed application program, the application information includes domain name block link network
Domain name block chain mark, the name of the distributed application program of the publisher node of the distributed application program are issued in network
Claim, the domain name block chain mark for participating in node;According to the domain name block chain mark for participating in node, inquire described in obtaining
Participate in the domain name block chain public key of node;The application information is tested according to the domain name block chain public key for participating in node
After card passes through, the application information is recorded in block chain account book.
Optionally, processor 52 verifies the application information according to the domain name block chain public key for participating in node
It by rear, after the application information is recorded in block chain account book, is also used to: the distribution is received by communication interface 53
The inquiry request that the download management platform of formula application program is sent, the inquiry request include the domain name block for participating in node
Chain mark;According to the domain name block chain mark for participating in node, determine in the block chain account book whether recorded the ginseng
The application information of the distributed application program is downloaded with node application;It is flat to the download management by communication interface 53
Platform sends feedback information, and the feedback information is for indicating whether recorded the participation node application in the block chain account book
Download the application information of the distributed application program.
The accounting nodes of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technical effect, details are not described herein again.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, institute
Computer program is stated to be executed by processor to realize that distributed application program described in above-described embodiment downloads verification method.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (11)
1. a kind of distributed application program downloads verification method characterized by comprising
Participation node in domain name block chain network broadcasts application information, the application information in domain name block chain network
For applying downloading distributed application program, the application information includes issuing the distribution in domain name block chain network
The domain name block chain mark of the publisher node of application program, the title of the distributed application program, the domain for participating in node
Name block chain mark;
When the application information is recorded in block chain account book by the accounting nodes in domain name block chain network, the ginseng
It is sent according to the download address of the distributed application program to the download management platform of the distributed application program with node
Downloading for downloading the distributed application program is requested, and the downloading request includes the domain name block chain for participating in node
Mark;
When the download management platform according to it is described participate in node domain name block chain identify, determine and remember in the block chain account book
When record has the participation node application to download the application information of the distributed application program, the participation node receives institute
State the run program file of the distributed application program of download management platform transmission.
2. the method according to claim 1, wherein the participation node is according to the distributed application program
Download address is sent to the download management platform of the distributed application program for downloading under the distributed application program
Before carrying request, the method also includes:
The download address for participating in node and receiving the distributed application program that the publisher node is sent.
3. method according to claim 1 or 2, which is characterized in that the participation node receives the download management platform
After the run program file of the distributed application program sent, the method also includes:
The cryptographic Hash for participating in node and calculating the run program file of the distributed application program;
It is described to participate in the cryptographic Hash that node is calculated by comparing the participation node and the institute that the publisher node is issued
The cryptographic Hash for stating run program file determines whether the run program file is file trusty.
4. a kind of distributed application program downloads verification method characterized by comprising
Accounting nodes in domain name block chain network receive the participation node in domain name block chain network in domain name area
The application information broadcasted in block chain network, the application information is for applying for downloading distributed application program, the application information
Domain name block chain including issuing the publisher node of the distributed application program in domain name block chain network identifies, is described
The title of distributed application program, the domain name block chain mark for participating in node;
The accounting nodes are identified according to the domain name block chain for participating in node, and inquiry obtains the domain name area for participating in node
Block chain public key;
After the accounting nodes are verified the application information according to the domain name block chain public key for participating in node,
The application information is recorded in block chain account book.
5. according to the method described in claim 4, it is characterized in that, the accounting nodes are according to the domain name area for participating in node
After block chain public key is verified the application information, after the application information is recorded in block chain account book, institute
State method further include:
The accounting nodes receive the inquiry request that the download management platform of the distributed application program is sent, and the inquiry is asked
It asks including the domain name block chain mark for participating in node;
The accounting nodes are identified according to the domain name block chain for participating in node, determine whether record in the block chain account book
There is the participation node application to download the application information of the distributed application program;
The accounting nodes send feedback information to the download management platform, and the feedback information is for indicating the block chain
Whether the application information that the participation node application download the distributed application program is recorded in account book.
6. the participation node in a kind of domain name block chain network characterized by comprising
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as executing following operation by the processor:
Application information is broadcasted in domain name block chain network by the communication interface, under the application information is for applying
Distributed application program is carried, the application information includes issuing the distributed application program in domain name block chain network
The domain name block chain mark of publisher node, the title of the distributed application program, the domain name block chain mark for participating in node
Know;
When the application information is recorded in block chain account book by the accounting nodes in domain name block chain network, according to institute
State download management platform of the download address of distributed application program by the communication interface to the distributed application program
It sends the downloading for downloading the distributed application program to request, the downloading request includes the domain name area for participating in node
Block chain mark;
When the download management platform according to it is described participate in node domain name block chain identify, determine and remember in the block chain account book
When record has the participation node application to download the application information of the distributed application program, connect by the communication interface
Receive the run program file for the distributed application program that the download management platform is sent.
7. participation node according to claim 6, which is characterized in that the processor is according to the distributed application program
Download address sent by the communication interface to the download management platform of the distributed application program it is described for downloading
Before the downloading request of distributed application program, it is also used to:
The download address for the distributed application program that the publisher node is sent is received by the communication interface.
8. participation node according to claim 6 or 7, which is characterized in that the processor is connect by the communication interface
After the run program file for receiving the distributed application program that the download management platform is sent, it is also used to:
Calculate the cryptographic Hash of the run program file of the distributed application program;
The operation program text that the cryptographic Hash and the publisher node being calculated by comparing the participation node are issued
The cryptographic Hash of part determines whether the run program file is file trusty.
9. the accounting nodes in a kind of domain name block chain network characterized by comprising
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as executing following operation by the processor:
The participation node in domain name block chain network is received in domain name block chain network by the communication interface
The application information of broadcast, for the application information for applying for downloading distributed application program, the application information includes the domain
Domain name block chain mark, the Distributed Application of the publisher node of the distributed application program are issued in name block chain network
The title of program, the domain name block chain mark for participating in node;
According to the domain name block chain mark for participating in node, inquiry obtains the domain name block chain public key for participating in node;
After being verified according to the domain name block chain public key for participating in node to the application information, by the letter of application
Breath is recorded in block chain account book.
10. accounting nodes according to claim 9, which is characterized in that the processor is according to the domain for participating in node
After name block chain public key is verified the application information, the application information is recorded in it in block chain account book
Afterwards, it is also used to:
The inquiry request sent by the download management platform that the communication interface receives the distributed application program, it is described to look into
Asking request includes the domain name block chain mark for participating in node;
According to the domain name block chain mark for participating in node, determine the participation section whether has been recorded in the block chain account book
The application information of the distributed application program is downloaded in point application;
Feedback information is sent to the download management platform by the communication interface, the feedback information is for indicating the area
Whether the application information that the participation node application download the distributed application program is recorded in block chain account book.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The method according to claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910310720.0A CN110062044A (en) | 2019-04-17 | 2019-04-17 | Distributed application program downloads verification method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910310720.0A CN110062044A (en) | 2019-04-17 | 2019-04-17 | Distributed application program downloads verification method, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110062044A true CN110062044A (en) | 2019-07-26 |
Family
ID=67319228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910310720.0A Pending CN110062044A (en) | 2019-04-17 | 2019-04-17 | Distributed application program downloads verification method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110062044A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414952A (en) * | 2019-07-29 | 2019-11-05 | 杭州复杂美科技有限公司 | Decentralization application dissemination method, equipment and storage medium |
CN113419769A (en) * | 2021-06-23 | 2021-09-21 | 中国信息通信研究院 | Application software management method and device |
CN114124922A (en) * | 2020-08-13 | 2022-03-01 | 中移互联网有限公司 | Application distribution method based on block chain |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107274139A (en) * | 2017-07-21 | 2017-10-20 | 中链科技有限公司 | Warehouse receipt data managing method and computer-readable medium |
US20170317834A1 (en) * | 2016-04-30 | 2017-11-02 | Civic Technologies, Inc. | Methods and systems of providing verification of information using a centralized or distributed ledger |
CN107770115A (en) * | 2016-08-15 | 2018-03-06 | 华为技术有限公司 | Distribute the method and system of digital content in a peer-to-peer network |
-
2019
- 2019-04-17 CN CN201910310720.0A patent/CN110062044A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170317834A1 (en) * | 2016-04-30 | 2017-11-02 | Civic Technologies, Inc. | Methods and systems of providing verification of information using a centralized or distributed ledger |
CN107770115A (en) * | 2016-08-15 | 2018-03-06 | 华为技术有限公司 | Distribute the method and system of digital content in a peer-to-peer network |
CN107274139A (en) * | 2017-07-21 | 2017-10-20 | 中链科技有限公司 | Warehouse receipt data managing method and computer-readable medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414952A (en) * | 2019-07-29 | 2019-11-05 | 杭州复杂美科技有限公司 | Decentralization application dissemination method, equipment and storage medium |
CN114124922A (en) * | 2020-08-13 | 2022-03-01 | 中移互联网有限公司 | Application distribution method based on block chain |
CN114124922B (en) * | 2020-08-13 | 2023-07-14 | 中移互联网有限公司 | Application distribution method based on block chain |
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110046165A (en) | Dissemination method, equipment and the computer readable storage medium of distributed application program | |
CN109102287A (en) | Block chain bookkeeping methods, device, equipment and storage medium | |
CN107396360A (en) | Block verification method and device | |
CN107294729A (en) | Communication means and device in block chain between different nodes | |
CN110351363A (en) | Data back up method, equipment and computer readable storage medium | |
CN106934611B (en) | Data processing method and device | |
CN107317672A (en) | A kind of light weight terminating machine block catenary system | |
CN106452785A (en) | Block chain network, branch node and block chain network application method | |
CN108492108A (en) | Across the chain communication means of block chain, system and computer readable storage medium | |
CN110062044A (en) | Distributed application program downloads verification method, equipment and storage medium | |
CN109146337A (en) | A kind of tripartite's task dissemination method and system for block chain | |
CN110365766A (en) | Cloud storage method, equipment and computer readable storage medium based on block chain | |
CN108428120A (en) | A kind of digital asset interoperability methods and computer readable storage medium | |
CN105488665A (en) | Decentralized transaction method | |
CN109660356A (en) | Data cochain method, apparatus, equipment and computer readable storage medium | |
CN109460405A (en) | For the block generation method of block chain network, synchronous method, storage medium, calculate equipment | |
CN110351276A (en) | Data processing method, equipment and computer readable storage medium | |
CN109800248A (en) | Digital content for block chain network is traced to the source and recording method, storage medium, calculating equipment | |
CN110796549B (en) | Transaction method, apparatus and storage medium | |
CN110083462A (en) | Communication means, equipment and storage medium based on distributed application program | |
CN109299333A (en) | Block chain network account book member management method, device, equipment and storage medium | |
CN110351364A (en) | Date storage method, equipment and computer readable storage medium | |
KR20170099154A (en) | Method and server for registering stockholder's list, recording transfer of stock ownership and verifying the registered stockholder's list file | |
CN110852648A (en) | Data processing method and device and computer storage medium | |
CN110286849A (en) | The data processing method and device of data-storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190726 |
|
WD01 | Invention patent application deemed withdrawn after publication |