CN114124922A - Application distribution method based on block chain - Google Patents
Application distribution method based on block chain Download PDFInfo
- Publication number
- CN114124922A CN114124922A CN202010810983.0A CN202010810983A CN114124922A CN 114124922 A CN114124922 A CN 114124922A CN 202010810983 A CN202010810983 A CN 202010810983A CN 114124922 A CN114124922 A CN 114124922A
- Authority
- CN
- China
- Prior art keywords
- application
- information
- block chain
- download
- platform
- 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.)
- Granted
Links
Images
Classifications
-
- 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/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- 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)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides an application distribution method based on a block chain, which comprises the following steps: receiving an application downloading request sent by a user terminal through an application market platform through a first block chain node, wherein the application downloading request comprises an application identifier; according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network; and receiving the downloading information sent by the application market platform, and sending the downloading information to other block chain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Description
Technical Field
The invention relates to the technical field of mobile communication, in particular to an application distribution method based on a block chain.
Background
With the continuous development of the mobile internet, more and more companies need to bear the business of the companies by developing their own applications, so the number of applications is increasing in a blowout manner, and how to safely, accurately and quickly distribute massive applications becomes a great demand.
In order to meet the requirement, an application developer needs to submit the developed application to one or more application stores, and the user goes to the application store to download the desired application and can open the application for use. For this reason, if the application developer needs to submit each version of each application to a plurality of application stores, the application developer needs to access the Software Development Kit, SDK, unique to each distribution platform, and output an application package to each distribution platform after the Development is completed. Moreover, each application store cannot always provide the latest version of bag body download for the adaptive user due to the limitation of the technical strength of the application store.
As can be seen, existing application distribution systems are inefficient for the publishing and downloading of applications.
Disclosure of Invention
The embodiment of the invention aims to provide an application distribution method based on a block chain, so as to solve the problem that the existing application distribution system has low efficiency for releasing and downloading applications.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application distribution method based on a blockchain, which is applied to a blockchain system, and includes:
receiving an application downloading request sent by a user terminal through an application market platform through a first block chain node, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application market platform, and sending the downloading information to other block chain nodes for uplink storage.
In a second aspect, an embodiment of the present invention provides another block chain-based application distribution method, applied to an application marketplace platform, including:
receiving an application downloading request sent by a user terminal, wherein the application downloading request comprises an application identifier;
sending the application downloading request to a first block link point, so that the first block link point indicates a content distribution network to reply an application data packet corresponding to the application identifier according to a downloading link corresponding to the application identifier, and sends related downloading information to other block link points for uplink storage; wherein the download link points to the content distribution network;
and sending the application data packet to the user terminal, and sending download information to the first block chain node so that the first block chain node sends the download information to other block chain nodes for uplink storage.
In a third aspect, an embodiment of the present invention provides another block chain-based application distribution method, applied to a development end, including:
sending an application issuing request to a second block link node through an application submitting platform, wherein the application issuing request comprises: and applying a data packet and application release information so that the second blockchain node stores the application data packet in a content distribution network, generates an application identifier and a download address corresponding to the application data packet, and then sends the application release information, the application identifier and the download address to other blockchain nodes for uplink storage.
In a fourth aspect, an embodiment of the present invention provides another block chain-based application distribution method, which is applied to a user terminal, and includes:
and sending user evaluation information to the first block chain node through the application market platform, wherein the user evaluation information comprises evaluation content, so that the first block chain node sends the evaluation content to other block chain nodes for uplink storage.
As can be seen from the above technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, an application download request sent by a user terminal through an application marketplace platform is received through a first blockchain node, where the application download request includes an application identifier; according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network; and sending the relevant downloading information to other blockchain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a block chain-based application distribution method according to an embodiment of the present invention;
fig. 2 is a first structural diagram of a block chain-based application distribution system according to an embodiment of the present invention;
fig. 3 is a second flowchart of a block chain-based application distribution method according to an embodiment of the present invention;
fig. 4 is a third flowchart illustrating an application distribution method based on a blockchain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second block chain-based application distribution system according to an embodiment of the present invention;
fig. 6 is a fourth flowchart illustrating an application distribution method based on a blockchain according to an embodiment of the present invention;
fig. 7 is a fifth flowchart illustrating an application distribution method based on a blockchain according to an embodiment of the present invention;
fig. 8 is a sixth flowchart illustrating an application distribution method based on a blockchain according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an application distribution method based on a block chain.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 and fig. 2, an execution subject of the method may be an application distribution system based on a blockchain, where the application distribution system includes a blockchain system, an application marketplace platform 402, an application submission platform 407, a development end 405, a user terminal 401, and a Content Delivery Network 404 (CDN). The blockchain system is connected to the application marketplace platform 402 through the first blockchain node 403, and is connected to the application submission platform 407 through the second blockchain node 406, and the blockchain system is further connected to the content distribution network 404, so that the user terminal 401 can log in the application marketplace platform 402, and the development 405 end can log in the application submission platform 407. For the blockchain system, the method may specifically include the steps of:
step S04, receiving, by the first blockchain node 403, an application download request sent by the user terminal 401 through the application marketplace platform 402, where the application download request includes an application identifier.
For the released application, detailed information of the application is stored in the blockchain system, and the detailed information includes application release information, download information, user evaluation information and the like. Therefore, the information stored in the block chain system cannot be illegally tampered without being counterfeited. The application data package that the application can use for installation is stored in the content distribution network 404, and the application identifier and download address of the application are stored on the blockchain system.
The user terminal 401 may check the detailed information of each published application by logging in the application marketplace platform 402 connected to the first blockchain node 403, and the application marketplace platform 402 performs personalized display on each published application according to its own operation policy.
In an implementation, multiple application marketplace platforms 402 may be provided, and each application marketplace platform 402 corresponds to one first blockchain node 403. The user terminal 401 may log in any application marketplace platform 402 according to the needs of each user, and send an application list request to the application marketplace platform 402, so that the application marketplace platform 402 queries the detailed information of the corresponding application from the corresponding first block chain node 403 according to the application list request, and then returns the detailed information. The marketplace application platform 402 displays the returned information to the user terminal 401 in a personalized manner.
When the user terminal 401 is ready to download a certain application, an application download request at least containing an application identifier of the certain application is sent to the application marketplace platform 402. The application marketplace platform 402 sends the application download request to the corresponding first blockchain node 403.
Step S05, instructing, according to the download link corresponding to the application identifier, the content distribution network 404 to send the application data packet corresponding to the application identifier to the user terminal 401 through the marketplace platform 402; wherein the download link points to the content distribution network.
The first blockchain node 403 acquires, according to the application identifier in the received application download request, a download link corresponding to the application identifier, where the download link points to the content distribution network 404.
The first blockchain node 403 may select to send the application identifier to the content distribution network 404, and the content distribution network 404 searches for a stored application data packet according to the application identifier and sends the application data packet to the user terminal 401 through the application marketplace platform 402, so that the user terminal 401 is installed and used through the application data packet.
The first blockchain node 403 may also choose to send the download link directly back to the user terminal 401 through the app marketplace platform 402. The corresponding application data package is downloaded by the user terminal from the content distribution network 404 according to the received download link for installation and use.
At this point, the application marketplace platform 402 may obtain revenue through the distribution process for the application as described above.
And step S06, receiving the download information sent by the application market platform, and sending the download information to other block chain nodes for uplink storage.
After the user terminal 401 is installed successfully, the app store platform 402 sends relevant download information to the first blockchain node 403, where the download information may include whether downloading is successful, whether installation is successful, and download time. The first blockchain node 403 sends the download information to other blockchain nodes, so as to update and store the download information of the application on the blockchain system, for example, update the download amount of the application.
As can be seen from the above technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, an application download request sent by a user terminal through an application marketplace platform is received through a first blockchain node, where the application download request includes an application identifier; according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network; and sending the relevant downloading information to other blockchain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Based on the above embodiment, further, as shown in fig. 3, before the step S04, the method further includes:
step S01, receiving, by the second blockchain node 406, an application publishing request sent by the development terminal 405 through the application submission platform 407, where the application publishing request includes: application data packets and application publishing information.
When the development end 407 is ready to release the application, the application submission platform 407 is logged in first, and after the login is successful, the related application data packet and the application release information are uploaded to the application submission platform 407. The application publishing information may include: application version, adaptation system version, release time, developer information, etc.
The application submitting platform 407 packages the application data packet and the application publishing information into an application sending request, and sends the application sending request to the second blockchain node 406.
The application submission platform 407 may also perform preset inspection, virus scanning, and other operations on the application data packet, record corresponding inspection and scanning results to the application release information, and package and send the information to the second blockchain node 406.
Step S02, saving the application data packet to the content distribution network 404, and generating an application identifier and a download address corresponding to the application data packet;
the second blockchain node 406 sends the application data packet in the received application publishing request to the content distribution network 404 for storage, and generates an application identifier and a download address uniquely corresponding to the application data packet at the same time.
And step S03, sending the application release information, the application identifier and the download address to other blockchain nodes for uplink storage.
Then, the application data packet is deleted from the second blockchain node 406, and the application release information, the application identifier, and the download address are associated and then sent to other blockchain nodes on the blockchain system, thereby realizing uplink storage.
In implementation, if the application release request is actually an update to the released application, the relevant information stored in the blockchain system may be replaced by an update method.
As can be seen from the above technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, an application publishing request sent by a development end through an application submission platform is received by a second blockchain node, where the application publishing request includes: application data packets and application publishing information; storing the application data packet to the content distribution network, and generating an application identifier and a download address corresponding to the application data packet; and sending the application release information, the application identifier and the download address to other block chain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Based on the foregoing embodiment, further, as shown in fig. 4, after the step S06, the method further includes:
step S07, receiving, by the first blockchain node 403, user rating information sent by the user terminal 401 through the application marketplace platform 402, where the user rating information includes rating content.
And step S08, sending the evaluation content to other block chain nodes for uplink storage.
The user terminal 401 may give an evaluation according to the experience of using the application, and send user evaluation information to the first blockchain node 403 through the application marketplace platform 402, where the user evaluation information at least includes evaluation content.
The first blockchain node 403 sends the received evaluation content to other blockchain nodes for uplink storage, so that the user evaluation information cannot be tampered.
As can be seen from the above technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, the first blockchain node receives user evaluation information sent by the user terminal through the application marketplace platform, where the user evaluation information includes evaluation content; and sending the evaluation content to other block chain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Based on the above embodiment, further, as shown in fig. 5, the steps S04-S05 include:
step S041, receiving, by the first blockchain node 403, an application download request sent by the user terminal 401 through the application marketplace platform 402, where the application download request includes an application identifier and first signature information; the first signature information is obtained by the application marketplace platform 402 performing a preset encryption operation according to a first private key, which is obtained from the certificate authority 408 and corresponds to the application marketplace platform 402;
step S051, decrypting and verifying the first signature information according to the first public key corresponding to the application marketplace platform 402 obtained from the certificate authority 408;
step S052, if the verification is successful, instructing the content distribution network 404 to send the application data packet corresponding to the application identifier to the user terminal 401 through the marketplace platform 402 according to the download link corresponding to the application identifier.
The application distribution system further includes a Certificate Authority (CA) 408, and the Certificate Authority 408 is connected to the user terminal 401, the development end 405, the application marketplace platform 402, and the blockchain system, respectively. The user terminal 401, the development end 405, and the application store platform 402 may register in advance in the certificate issuing authority 408, so as to apply for obtaining their own account and key, including a private key and a public key.
When the user terminal 401 sends an application download request to the first blockchain node 403 through the application marketplace platform 402, the blockchain system needs to verify the validity of the application marketplace platform 402.
The application marketplace platform 402 first obtains a first private key corresponding to the application marketplace platform 402 from the certificate issuing authority 408. And then, according to the first private key, carrying out encryption operation through a preset encryption algorithm to obtain first signature information.
The preset encryption algorithm may be set according to actual needs, the embodiment of the present invention only exemplifies an elliptic curve encryption algorithm ECC, and the application marketplace platform 402 encrypts the application identifier by using the elliptic curve encryption algorithm ECC to obtain first signature information:
first signature information is ECC (first private key (application identification)).
The application marketplace platform 402 packages the first signature information and the application identifier into the application download request, and sends the application download request to the first blockchain node 403.
After receiving the application download request, the first blockchain node 403 decrypts the first signature information through a preset decryption algorithm to verify the validity of the application marketplace platform.
The preset decryption algorithm corresponds to the preset encryption algorithm, and a decryption algorithm of an elliptic curve encryption algorithm can be adopted.
The first block chain node 403 acquires the first public key corresponding to the application marketplace platform 402 from the certificate issuing authority 408, and decrypts the first signature information through an elliptic curve encryption algorithm to obtain a decryption result. If the decryption result is consistent with the application identifier in the application download request, determining that the application marketplace platform 402 is legal; otherwise, judging the application downloading request to be illegally submitted.
Further, the steps S01-S02 include:
step S011, receiving, by the second blockchain node 406, an application publishing request sent by the development terminal 405 through the application submission platform 407, where the application publishing request includes: the application data packet, the application release information and the second signature information; the second signature information is obtained by the issuing end 405 performing a preset encryption operation according to a second private key corresponding to the issuing end 405 acquired from the certificate issuing authority 408;
step S021, decrypting and verifying the second signature information according to the second public key corresponding to the development end 405 acquired from the certificate authority 408;
step S022, if the verification is successful, saving the application data package to the content distribution network 404, and generating an application identifier and a download address corresponding to the application data package.
When the development end 405 sends an application publishing request to the second blockchain node 406, the blockchain system also needs to verify the validity of the development end 405.
Before sending the application issuing request, the issuing end 405 obtains a second private key corresponding to the issuing end 405 from the certificate issuing authority.
And encrypting the hash value corresponding to the application data packet by adopting an elliptic curve encryption algorithm according to the second private key to obtain second signature information.
Second signature information ═ ECC (second private key (hash (application packet))).
And uploading the second signature information, the application data packet and the application release information to an application submission platform 407, and packaging the uploaded information into the application release request by the application submission platform 407 and sending the request to the second blockchain node 406.
After receiving the application issuance request, the second blockchain node 406 acquires a second public key corresponding to the development end 405 from the certificate authority 408.
And then, decrypting the second signature information by adopting an elliptic curve encryption algorithm according to the second public key to obtain a decryption result.
Comparing the decryption result with a hash value corresponding to the application data packet, and if the decryption result is consistent with the hash value, judging that the development end is legal; otherwise, judging that the application issuing request is illegally submitted.
Further, the step S07-08 includes:
step S071, receiving, by the first blockchain node 403, user evaluation information sent by the user terminal 401 through the application marketplace platform 402, where the user evaluation information includes evaluation content and third signature information; the third signature information is obtained by the user terminal 401 performing a preset encryption operation according to a third private key corresponding to the user terminal 401 and obtained from the certificate authority 408;
step S081, according to the third public key corresponding to the user terminal 401 acquired from the certificate authority 408, decrypts and verifies the third signature information;
step S082, if the verification is successful, the evaluation content is sent to other block chain nodes for uplink storage.
When the user terminal 401 sends user evaluation information to the first blockchain node 403 through the application marketplace platform 402, the blockchain system needs to verify the validity of the user terminal 401.
When the user terminal 401 sends the user evaluation information, the third private key corresponding to the user terminal 401 is obtained from the certificate issuing mechanism 408.
And then, encrypting the application identifier by adopting an elliptic curve encryption algorithm according to the third private key to obtain third signature information.
Third signature information is ECC (third private key (application identification)).
The user terminal 401 packs the third signature information into user evaluation information, and sends the user evaluation information to the first block chain node 403 through the application marketplace platform 402.
After receiving the user evaluation information, the first blockchain node 403 acquires a third public key corresponding to the user terminal 401 from the certificate issuing authority 408.
And then, decrypting the third signature information by adopting an elliptic curve encryption algorithm according to the third public key to obtain a decryption result.
Comparing the decryption result with the application identifier, and if the decryption result is consistent with the application identifier, judging that the user terminal is legal; otherwise, judging that the user evaluation information is illegally submitted.
According to the technical scheme provided by the embodiment of the invention, the block chain carries out validity verification on the user terminal, the development end and the application market platform by acquiring the correspondence and the secret key of the user terminal, the development end and the application market platform from the certificate issuing mechanism. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Corresponding to the application distribution method based on the blockchain provided by the above embodiment, based on the same technical concept, the embodiment of the present invention further provides another application distribution method based on the blockchain, which is applied to an application marketplace platform, as shown in fig. 6, where the method includes:
step S61, receiving an application downloading request sent by a user terminal, wherein the application downloading request comprises an application identifier;
step S62, sending the application download request to a first block chain link point, so that the first block chain link point instructs a content distribution network to reply an application data packet corresponding to the application identifier according to the download link corresponding to the application identifier, and sends related download information to other block chain nodes for uplink storage; wherein the download link points to the content distribution network;
step S63, sending the application packet to the ue, and sending download information to the first blockchain node, so that the first blockchain node sends the download information to other blockchain nodes for uplink storage.
It should be noted that steps S61 to S63 of the application distribution method based on a block chain according to the embodiment of the present invention are the same as the specific implementation processes of steps S04 to S06 in the foregoing embodiment, and are not described herein again to avoid repetition.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention receive an application download request sent by a user terminal, where the application download request includes an application identifier; sending the application downloading request to a first block link point, so that the first block link point indicates a content distribution network to reply an application data packet corresponding to the application identifier according to a downloading link corresponding to the application identifier, and sends related downloading information to other block link points for uplink storage; wherein the download link points to the content distribution network; and sending the application data packet to the user terminal. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Further, the step S62 includes:
step S621, according to a first private key which is acquired from a certificate authority and corresponds to the application marketplace platform, performing a preset encryption operation to obtain first signature information and recording the first signature information in the application downloading request;
step S622, sending the application download request to the first block link point, so that the first block link point decrypts and verifies the first signature information according to the first public key corresponding to the application marketplace platform acquired from the certificate authority; and if the verification is successful, the first block link point instructs the content distribution network to reply the application data packet corresponding to the application identifier according to the download link corresponding to the application identifier.
It should be noted that steps S621 to S622 of the application distribution method based on the block chain according to the embodiment of the present invention are the same as the specific implementation processes of steps S041 to S052 in the foregoing embodiment, and are not described herein again to avoid repetition.
According to the technical scheme provided by the embodiment of the invention, the block chain carries out validity verification on the user terminal, the development end and the application market platform by acquiring the correspondence and the secret key of the user terminal, the development end and the application market platform from the certificate issuing mechanism. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Corresponding to the application distribution method based on the blockchain provided by the above embodiment, based on the same technical concept, the embodiment of the present invention further provides another application distribution method based on the blockchain, which is applied to an application marketplace platform, as shown in fig. 7, where the method includes:
step S71, sending an application issuing request to the second block link node through the application submitting platform, wherein the application issuing request comprises: and applying a data packet and application release information so that the second blockchain node stores the application data packet in a content distribution network, generates an application identifier and a download address corresponding to the application data packet, and then sends the application release information, the application identifier and the download address to other blockchain nodes for uplink storage.
It should be noted that step S71 of the application distribution method based on the blockchain according to the embodiment of the present invention is the same as the specific implementation process of steps S01-S03 in the foregoing embodiment, and for avoiding repetition, details are not described here.
Further, the step S71 includes:
step S711, performing a preset encryption operation according to a second private key corresponding to the issuing end acquired from the certificate issuing authority, to obtain second signature information;
step S712, sending an application issuing request to the second block link node through the application submission platform, where the application issuing request includes: applying a data packet, application issuing information and second signature information to enable the second block link point to decrypt and verify the second signature information according to a second public key corresponding to the issuing end and acquired from the certificate issuing mechanism; and if the verification is successful, storing the application data packet in a content distribution network, generating an application identifier and a download address corresponding to the application data packet, and then sending the application release information, the application identifier and the download address to other block chain nodes for uplink storage.
It should be noted that steps S711 to S712 of the application distribution method based on the block chain according to the embodiment of the present invention are the same as the specific implementation processes of steps S011 to S022 in the foregoing embodiment, and are not described herein again to avoid repetition.
As can be seen from the above technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, an application issuing request is sent to a second block link node through an application submitting platform, where the application issuing request includes: and applying a data packet and application release information so that the second blockchain node stores the application data packet in a content distribution network, generates an application identifier and a download address corresponding to the application data packet, and then sends the application release information, the application identifier and the download address to other blockchain nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Corresponding to the application distribution method based on the blockchain provided by the above embodiment, based on the same technical concept, the embodiment of the present invention further provides another application distribution method based on the blockchain, which is applied to an application marketplace platform, as shown in fig. 8, where the method includes:
step S81, user evaluation information is sent to the first block chain node through the application market platform, wherein the user evaluation information comprises evaluation content, so that the first block chain node sends the evaluation content to other block chain nodes for uplink storage.
It should be noted that step S81 of the application distribution method based on the blockchain according to the embodiment of the present invention is the same as the specific implementation process of steps S07-S08 in the foregoing embodiment, and for avoiding repetition, details are not described here.
Further, the step S81 includes:
step S811, according to a third private key corresponding to the user terminal obtained from the certificate authority, performing a preset encryption operation to obtain third signature information;
step S812, sending user evaluation information to a first block link point through the marketplace application platform, where the user evaluation information includes evaluation content and the third signature information, so that the first block link point decrypts and verifies the third signature information according to a third public key corresponding to the user terminal and acquired from the certificate authority; and if the verification is successful, sending the evaluation content to other block chain nodes for uplink storage.
It should be noted that steps S811 to S812 of the application distribution method based on the block chain according to the embodiment of the present invention are the same as the specific implementation process of steps S071 to S082 in the foregoing embodiment, and are not described herein again to avoid repetition.
As can be seen from the technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, the application marketplace platform sends user evaluation information to the first block link node, where the user evaluation information includes evaluation content, so that the first block link node sends the evaluation content to other block link nodes for uplink storage. By the embodiment of the invention, the purpose of improving the publishing and downloading efficiency of the application is realized, and the information security is ensured.
Corresponding to the application distribution method based on the blockchain provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides an electronic device, where the electronic device is configured to execute the application distribution method based on the blockchain, and fig. 9 is a schematic structural diagram of an electronic device implementing various embodiments of the present invention, as shown in fig. 9. Electronic devices may vary widely in configuration or performance and may include one or more processors 901 and memory 902, where the memory 902 may store one or more stored applications or data. Memory 902 may be, among other things, transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 901 may be configured to communicate with the memory 902 to execute a series of computer-executable instructions in the memory 902 on the electronic device. The electronic device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input-output interfaces 905, one or more keyboards 906.
Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory and realizing the following method steps:
receiving an application downloading request sent by a user terminal through an application market platform through a first block chain node, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application market platform, and sending the downloading information to other block chain nodes for uplink storage.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when executed by a processor, the computer program implements the following method steps:
receiving an application downloading request sent by a user terminal through an application market platform through a first block chain node, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application market platform, and sending the downloading information to other block chain nodes for uplink storage.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A block chain-based application distribution method is applied to a block chain system, and the method comprises the following steps:
receiving an application downloading request sent by a user terminal through an application market platform through a first block chain node, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, instructing a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the shopping mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application market platform, and sending the downloading information to other block chain nodes for uplink storage.
2. The blockchain-based application distribution method of claim 1, wherein an application download request sent by an application marketplace platform is received at the first blockchain node, the application download request including an application identification; before the step of sending the application download request to the application marketplace platform by the user terminal, the method further includes:
receiving, by a second blockchain node, an application publishing request sent by a development end through an application submission platform, where the application publishing request includes: application data packets and application publishing information;
storing the application data packet to the content distribution network, and generating an application identifier and a download address corresponding to the application data packet;
and sending the application release information, the application identifier and the download address to other block chain nodes for uplink storage.
3. The blockchain-based application distribution method of claim 2, wherein after the step of receiving the download information sent by the application marketplace platform and sending the download information to other blockchain nodes for uplink storage, the method further comprises:
receiving, by the first blockchain node, user evaluation information sent by the user terminal through the application marketplace platform, where the user evaluation information includes evaluation content;
and sending the evaluation content to other block chain nodes for uplink storage.
4. The blockchain-based application distribution method according to claim 3, wherein the receiving, by the first blockchain node, an application download request sent by a user terminal through an application marketplace platform, the application download request including an application identifier includes:
receiving an application downloading request sent by the user terminal through the application marketplace platform through the first block chain node, wherein the application downloading request comprises an application identifier and first signature information; the first signature information is obtained by the application market platform performing preset encryption operation according to a first private key corresponding to the application market platform and acquired from a certificate authority;
correspondingly, the instructing, according to the download link corresponding to the application identifier, the content distribution network to send the application data packet corresponding to the application identifier to the user terminal through the marketplace platform includes:
decrypting and verifying the first signature information according to a first public key which is acquired from the certificate authority and corresponds to the application market platform;
and if the verification is successful, instructing the content distribution network to send the application data packet corresponding to the application identifier to the user terminal through the market platform according to the download link corresponding to the application identifier.
5. The blockchain-based application distribution method according to claim 4, wherein the receiving, by the second blockchain node, the application publishing request sent by the development end through the application submission platform includes: the application data packet and the application publishing information comprise:
receiving, by the second blockchain node, an application publishing request sent by the development terminal through the application submission platform, the application publishing request including: the application data packet, the application release information and the second signature information; the second signature information is obtained by the development end through a preset encryption operation according to a second private key corresponding to the development end and acquired from the certificate issuing organization;
correspondingly, saving the application data packet to the content distribution network, and generating an application identifier and a download address corresponding to the application data packet, includes:
decrypting and verifying the second signature information according to a second public key corresponding to the development end and acquired from the certificate authority;
and if the verification is successful, storing the application data packet to the content distribution network, and generating an application identifier and a download address corresponding to the application data packet.
6. The blockchain-based application distribution method according to claim 5, wherein the receiving, by the first blockchain node, user rating information sent by the user terminal through the application marketplace platform, the user rating information including rating content; the method comprises the following steps:
receiving user evaluation information sent by the user terminal through the application market platform through the first block chain node, wherein the user evaluation information comprises evaluation content and third signature information; the third signature information is obtained after the user terminal performs a preset encryption operation according to a third private key corresponding to the user terminal and obtained from the certificate authority;
correspondingly, the sending the evaluation content to other blockchain nodes for uplink saving includes:
decrypting and verifying the third signature information according to a third public key corresponding to the user terminal acquired from the certificate authority;
and if the verification is successful, sending the evaluation content to other block chain nodes for uplink storage.
7. An application distribution method based on a block chain is applied to an application market platform, and the method comprises the following steps:
receiving an application downloading request sent by a user terminal, wherein the application downloading request comprises an application identifier;
sending the application downloading request to a first block link point, so that the first block link point indicates a content distribution network to reply an application data packet corresponding to the application identifier according to a downloading link corresponding to the application identifier, and sends related downloading information to other block link points for uplink storage; wherein the download link points to the content distribution network;
and sending the application data packet to the user terminal, and sending download information to the first block chain node so that the first block chain node sends the download information to other block chain nodes for uplink storage.
8. The method according to claim 7, wherein the sending the application download request to the first blockchain node so that the first blockchain node instructs the content distribution network to reply to the application packet corresponding to the application identifier according to the download link corresponding to the application identifier, and sends related download information to other blockchain nodes for uplink storage comprises:
according to a first private key which is acquired from a certificate authority and corresponds to the application market platform, performing preset encryption operation to obtain first signature information and recording the first signature information into the application downloading request;
sending the application downloading request to the first block chain node, so that the first block chain node decrypts and verifies the first signature information according to a first public key which is acquired from the certificate authority and corresponds to the application market platform; and if the verification is successful, the first block link point instructs the content distribution network to reply the application data packet corresponding to the application identifier according to the download link corresponding to the application identifier.
9. A block chain-based application distribution method is applied to an initiating terminal, and the method comprises the following steps:
sending an application issuing request to a second block link node through an application submitting platform, wherein the application issuing request comprises: and applying a data packet and application release information so that the second blockchain node stores the application data packet in a content distribution network, generates an application identifier and a download address corresponding to the application data packet, and then sends the application release information, the application identifier and the download address to other blockchain nodes for uplink storage.
10. An application distribution method based on a block chain is applied to a user terminal, and the method comprises the following steps:
and sending user evaluation information to the first block chain node through the application market platform, wherein the user evaluation information comprises evaluation content, so that the first block chain node sends the evaluation content to other block chain nodes for uplink storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010810983.0A CN114124922B (en) | 2020-08-13 | 2020-08-13 | Application distribution method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010810983.0A CN114124922B (en) | 2020-08-13 | 2020-08-13 | Application distribution method based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114124922A true CN114124922A (en) | 2022-03-01 |
CN114124922B CN114124922B (en) | 2023-07-14 |
Family
ID=80373662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010810983.0A Active CN114124922B (en) | 2020-08-13 | 2020-08-13 | Application distribution method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114124922B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114969808A (en) * | 2022-05-07 | 2022-08-30 | 中移互联网有限公司 | Account management method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254283A (en) * | 2011-07-26 | 2011-11-23 | 华为技术有限公司 | System, method and device for managing application programs |
CN108055138A (en) * | 2018-02-01 | 2018-05-18 | 国家计算机网络与信息安全管理中心 | Distributed recorder method and system is applied based on block chain |
CN110062044A (en) * | 2019-04-17 | 2019-07-26 | 江苏全链通信息科技有限公司 | Distributed application program downloads verification method, equipment and storage medium |
WO2019195755A1 (en) * | 2018-04-05 | 2019-10-10 | Neji, Inc. | Network protocol for blockchain based network packets |
CN110414952A (en) * | 2019-07-29 | 2019-11-05 | 杭州复杂美科技有限公司 | Decentralization application dissemination method, equipment and storage medium |
-
2020
- 2020-08-13 CN CN202010810983.0A patent/CN114124922B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254283A (en) * | 2011-07-26 | 2011-11-23 | 华为技术有限公司 | System, method and device for managing application programs |
CN108055138A (en) * | 2018-02-01 | 2018-05-18 | 国家计算机网络与信息安全管理中心 | Distributed recorder method and system is applied based on block chain |
WO2019195755A1 (en) * | 2018-04-05 | 2019-10-10 | Neji, Inc. | Network protocol for blockchain based network packets |
CN110062044A (en) * | 2019-04-17 | 2019-07-26 | 江苏全链通信息科技有限公司 | Distributed application program downloads verification method, equipment and storage medium |
CN110414952A (en) * | 2019-07-29 | 2019-11-05 | 杭州复杂美科技有限公司 | Decentralization application dissemination method, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
张升伟;毕波;: "基于区块链技术的运营级CDN平台建设探讨", 邮电设计技术 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114969808A (en) * | 2022-05-07 | 2022-08-30 | 中移互联网有限公司 | Account management method and device, electronic equipment and storage medium |
CN114969808B (en) * | 2022-05-07 | 2023-09-19 | 中移互联网有限公司 | Account management method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114124922B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9690941B2 (en) | Policy bound key creation and re-wrap service | |
EP1217850B1 (en) | Method for permitting debugging and testing of software on an mobile communication device in a secure environment | |
US9900161B2 (en) | Method for certifying android client application by local service unit | |
KR102618665B1 (en) | Version history management using blockchain | |
CN104503745B (en) | A kind of method and apparatus generated using channel packet | |
CN102065077B (en) | Method and system for distributing application software to terminal | |
CN103685138A (en) | Method and system for authenticating application software of Android platform on mobile internet | |
CN111200589A (en) | Data protection method and system for alliance chain | |
CN107342861B (en) | Data processing method, device and system | |
JP2009003854A (en) | Information security device and information security system | |
CN109509099B (en) | Data transaction method and device, computing equipment and storage medium | |
CN110601855B (en) | Root certificate management method and device, electronic equipment and storage medium | |
CN106155742A (en) | Assembly updates processing method and processing device | |
CN114281573A (en) | Workflow data interaction method and device, electronic device and readable storage medium | |
US20140059341A1 (en) | Creating and accessing encrypted web based content in hybrid applications | |
CN111311258A (en) | Block chain based trusted transaction method, device, system, equipment and medium | |
CN114124922B (en) | Application distribution method based on block chain | |
CN110753018A (en) | Login authentication method and system | |
CN112579112B (en) | Mirror image security processing and deploying method, device and storage medium | |
CN113766496A (en) | Cross-platform binding method and system of intelligent equipment and related equipment | |
WO2014154063A1 (en) | Method, device and system for controlling presentation of application | |
CN113766503A (en) | Binding method and system of intelligent equipment and related equipment | |
JP2015104020A (en) | Communication terminal device, communication terminal association system, communication terminal association method and computer program | |
CN111431957A (en) | File processing method, device, equipment and system | |
WO2018018419A1 (en) | Configuration file batch-obtaining and downloading method, and server and terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |