CN114124922B - Application distribution method based on block chain - Google Patents
Application distribution method based on block chain Download PDFInfo
- Publication number
- CN114124922B CN114124922B CN202010810983.0A CN202010810983A CN114124922B CN 114124922 B CN114124922 B CN 114124922B CN 202010810983 A CN202010810983 A CN 202010810983A CN 114124922 B CN114124922 B CN 114124922B
- Authority
- CN
- China
- Prior art keywords
- application
- information
- blockchain
- platform
- download
- 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.)
- Active
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 blockchain, which comprises the following steps: receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, wherein the application downloading request comprises an application identifier; according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network; and receiving the downloading information sent by the application mall platform, and sending the downloading information to other blockchain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information 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 business of the companies by developing own applications, so the number of applications is increasing more and more, and how to safely, accurately and quickly distribute a large number of applications becomes a great demand.
To cope with this demand, application developers need to submit developed applications to one or more application markets, and users can open up the application by downloading the desired applications to the application markets. For this reason, for each version of each application, if the application developer is to submit to a plurality of application markets, the application developer needs to access a software development kit Software Development Kit and an SDK unique to each distribution platform, and after the development is completed, the application developer outputs an application package to the distribution platforms respectively, so that the development and test workload of the developer is increased without any cause. Moreover, each application mall cannot guarantee that the adapted user is always provided with the latest version of the package download due to its own technical limitations.
It can be seen that existing application distribution systems are inefficient for the distribution and downloading of applications.
Disclosure of Invention
The embodiment of the invention aims to provide an application distribution method based on a blockchain, which aims to solve the problem that the existing application distribution system has low efficiency in releasing and downloading applications.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a blockchain-based application distribution method, which is applied to a blockchain system, and includes:
Receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application mall platform, and sending the downloading information to other blockchain nodes for uplink storage.
In a second aspect, an embodiment of the present invention provides another application distribution method based on blockchain, applied to an application mall platform, including:
receiving an application downloading request sent by a user terminal, wherein the application downloading request comprises an application identifier;
the application downloading request is sent to a first block chain node, 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 a downloading link corresponding to the application identifier, and relevant downloading information is sent to other block chain nodes 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 application distribution method based on a blockchain, which is applied to a development terminal, and includes:
sending an application release request to a second block link point through an application submitting platform, wherein the application release request comprises: and the application data packet and the application release information are used for enabling the second block chain link point to store the application data packet into 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.
In a fourth aspect, an embodiment of the present invention provides another application distribution method based on a blockchain, which is applied to a user terminal, and includes:
and transmitting user evaluation information to a first block chain link point through the application mall platform, wherein the user evaluation information comprises evaluation content, so that the first block chain link point transmits the evaluation content to other block chain nodes for uplink storage.
As can be seen from the technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, an application download request sent by a user terminal through an application mall platform is received through a first block link point, where the application download request includes an application identifier; according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network; and sending the related download information to other blockchain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information 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 that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flowchart of a blockchain-based application distribution method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first architecture of a blockchain-based application distribution system according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a blockchain-based application distribution method according to an embodiment of the present invention;
FIG. 4 is a third flowchart of a blockchain-based application distribution method according to an embodiment of the present invention;
FIG. 5 is a second architecture diagram of a blockchain-based application distribution system provided in accordance with an embodiment of the present invention;
FIG. 6 is a fourth flowchart of a blockchain-based application distribution method according to an embodiment of the present invention;
FIG. 7 is a fifth flowchart of a blockchain-based application distribution method according to an embodiment of the present invention;
FIG. 8 is a sixth flowchart of a blockchain-based application distribution method according to the 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 the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, shall fall within the scope of the invention.
As shown in fig. 1 and fig. 2, an embodiment of the present invention provides a blockchain-based application distribution method, and an execution subject of the method may be a blockchain-based application distribution system, where the application distribution system includes a blockchain system, an application mall platform 402, an application submission platform 407, a development end 405, a user terminal 401, and a content distribution network 404 (Content Delivery Network, CDN). The blockchain system is connected with the application market platform 402 through a first blockchain node 403 and is connected with the application submission platform 407 through a second blockchain node 406, the blockchain system is also connected with the content distribution network 404, the user terminal 401 can log in the application market platform 402, and the development 405 end can log in the application submission platform 407. For a blockchain system, the method may specifically include the steps of:
step S04, an application download request sent by the user terminal 401 through the application mall platform 402 is received through the first blockchain node 403, where the application download request includes an application identifier.
For published applications, detailed information of the applications is stored on the blockchain system, including application publication information, download information, user evaluation information and the like. Thus, the information stored in the blockchain system cannot be illegally tampered, and no counterfeits exist. The application may be used for installed application data packets and stored in the content distribution network 404, along with the application identification and download address of the application on the blockchain system.
The user terminal 401 may check the detailed information of each published application by logging on the application mall platform 402 connected to the first blockchain node 403, and the application mall platform 402 performs personalized display on each published application according to its own operation policy.
In implementations, multiple application mall platforms 402 may be provided, and each application mall platform 402 corresponds to one first blockchain node 403. The user terminal 401 may log in any application mall platform 402 according to the needs of each body, and send an application list request to the application mall platform 402, so that the application mall platform 402 queries the corresponding first blockchain node 403 for detailed information of the corresponding application according to the application list request, and then returns. The application store platform 402 then 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 containing at least an application identifier of the certain application is sent to the application mall platform 402. The application marketplace platform 402 sends the application download request to the corresponding first blockchain node 403.
Step S05, according to the download link corresponding to the application identifier, instructing the content distribution network 404 to send an application data packet corresponding to the application identifier to the user terminal 401 through the mall platform 402; wherein the download link points to the content distribution network.
The first blockchain node 403 obtains a download link corresponding to the application identifier according to the application identifier in the received application download request, where the download link points to the content distribution network 404.
The first blockchain node 403 may selectively 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 mall platform 402, so that the user terminal 401 installs and uses 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 application mall platform 402. Corresponding application data packets are downloaded from the content distribution network 404 by the user terminal according to the received download links for installation and use.
At this point, the application marketplace platform 402 may obtain revenue through the distribution process for the application 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 application mall platform 402 will send relevant download information to the first blockchain node 403, where the download information may include whether the download was successful, whether the installation was successful, the download time, etc. The first blockchain node 403 sends the download information to other blockchain nodes, so as to update and save 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 technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, an application download request sent by a user terminal through an application mall platform is received through a first block link point, where the application download request includes an application identifier; according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network; and sending the related download information to other blockchain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information 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 initiator 405 through the application submitting platform 407, where the application publishing request includes: application data packets and application release information.
When the development terminal 407 prepares to release the application, the application submitting 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 submitting platform 407. The application release information may include: application version, adaptation system version, release time, developer information, etc.
The application submission platform 407 packages the application data packet and the application release information into an application release request, and sends the application release request to the second blockchain node 406.
The application submitting platform 407 may also perform operations such as a preset check and virus scanning on the application data packet, record corresponding check and scanning results to the application publishing information, and package and send the application publishing information to the second blockchain node 406.
Step S02, the application data packet is stored in the content distribution network 404, and an application identifier and a download address corresponding to the application data packet are generated;
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 simultaneously generates an application identifier and a download address that uniquely correspond to the application data packet.
And step S03, the application release information, the application identification and the download address are sent to other block chain nodes for uplink storage.
And then deleting the application data packet from the second blockchain node 406, and sending the application release information, the application identifier and the download address to other blockchain nodes on the blockchain system after associating, thereby realizing uplink storage.
In an implementation, if the application publishing request is actually one update to the published application, the related information stored in the blockchain system may be replaced by an update method.
As can be seen from the technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, an application publishing request sent by a development end through an application submitting platform is received by a second blockchain node, where the application publishing request includes: an application data packet and application release 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 identification and the download address to other blockchain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
Based on the above 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 mall platform 402, where the user rating information includes rating content.
And step S08, the evaluation content is sent to other blockchain nodes for uplink storage.
The user terminal 401 may give an evaluation according to the use experience of the application, and send user evaluation information to the first blockchain node 403 through the application mall platform 402, where the user evaluation information includes at least evaluation content.
And 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 technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, the first blockchain node receives, through the first blockchain node, user evaluation information sent by the user terminal through the application mall platform, where the user evaluation information includes evaluation content; and sending the evaluation content to other blockchain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information 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 mall platform 402, where the application download request includes an application identifier and first signature information; the first signature information is obtained after the application mall platform 402 performs a preset encryption operation according to a first private key corresponding to the application mall platform 402, which is obtained from a certificate authority 408;
Step S051, decrypting and verifying the first signature information according to the first public key corresponding to the application market platform 402 obtained from the certificate authority 408;
step S052, if the verification is successful, instructing the content distribution network 404 to send an application data packet corresponding to the application identifier to the user terminal 401 through the mall platform 402 according to the download link corresponding to the application identifier.
The application distribution system further comprises a certificate issuing authority (Certificate Authority, CA) 408, wherein the certificate issuing authority 408 is connected with the user terminal 401, the development end 405, the application mall platform 402 and the blockchain system respectively. The user terminal 401, the development end 405, and the application mall platform 402 may register in advance in the certificate issuing authority 408, so as to apply for obtaining an account number and a secret key of the user terminal, 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 mall platform 402, the blockchain system needs to verify the validity of the application mall platform 402 first.
The application mall platform 402 first obtains a first private key corresponding to the application mall 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, and in the embodiment of the present invention, only an elliptic curve encryption algorithm ECC is taken as an example for illustration, and the application mall platform 402 encrypts the application identifier by using the elliptic curve encryption algorithm ECC to obtain first signature information:
first signature information=ecc (first private key (application identification)).
The application mall platform 402 packages the first signature information together with an application identifier into the application download request, and sends the first signature information 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 mall 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 blockchain node 403 obtains a first public key corresponding to the application mall platform 402 from the certificate issuing mechanism 408, and decrypts the first signature information through an elliptic curve cryptography 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 mall platform 402 is legal; otherwise, judging the application downloading request is illegally submitted.
Further, the steps S01-S02 include:
step S011, receiving, by the second blockchain node 406, an application publishing request sent by the initiator 405 through the application submitting 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 after the issuing end 405 performs a preset encryption operation according to a second private key corresponding to the developing end 405, which is obtained from the certificate issuing authority 408;
step S021, decrypting and verifying the second signature information according to a second public key corresponding to the development terminal 405 obtained from the certificate authority 408;
step S022, if the verification is successful, the application data packet is saved to the content distribution network 404, and an application identifier and a download address corresponding to the application data packet are generated.
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.
The initiator 405 obtains a second private key corresponding to the initiator 405 from the certificate authority before sending the application issuing request.
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))).
The second signature information, the application data packet and the application release information are uploaded to an application submitting platform 407, and the application submitting platform 407 packages the uploaded information into the application release request and sends the application release request to the second blockchain node 406.
The second blockchain node 406, upon receiving the application issuance request, obtains 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 judging that the development end is legal if the decryption result is consistent with the hash value; otherwise, judging that the application release request is illegally submitted.
Further, the step S07-08 includes:
step S071, receiving, by the first blockchain node 403, user rating information sent by the user terminal 401 through the application mall platform 402, where the user rating information includes rating content and third signature information; wherein the third signature information is obtained after the user terminal 401 performs a preset encryption operation according to a third private key corresponding to the user terminal 401 obtained from the certificate authority 408;
Step S081, according to the third public key corresponding to the user terminal 401 obtained from the certificate authority 408, decrypting and verifying the third signature information;
and step S082, if the verification is successful, the evaluation content is sent to other blockchain nodes for uplink storage.
When the user terminal 401 sends user rating information to the first blockchain node 403 through the application mall platform 402, the blockchain system needs to verify the validity of the user terminal 401.
When the user terminal 401 transmits the user evaluation information, a third private key corresponding to the user terminal 401 is acquired from the certificate authority 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=ecc (third private key (application identification)).
The user terminal 401 packages the third signature information together into user evaluation information, and sends the third signature information to the first blockchain node 403 through the application mall platform 402.
The first blockchain node 403 obtains a third public key corresponding to the user terminal 401 from the certificate authority 408 after receiving the user evaluation information.
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 the user evaluation information as illegal submission.
The technical scheme provided by the embodiment of the invention can be seen that the block chain performs validity verification on the user terminal, the development terminal and the application market platform by acquiring the correspondence and the secret key of the user terminal, the development terminal and the application market platform from the certificate issuing mechanism. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
The embodiment of the present invention also provides another blockchain-based application distribution method applied to an application mall platform, based on the same technical concept, 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, the application downloading request is sent to a first blockchain node, so that the first blockchain node instructs 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 relevant downloading information is sent to other blockchain nodes for uplink storage; wherein the download link points to the content distribution network;
and step S63, the application data packet is sent to the user terminal, and the download information is sent 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.
It should be noted that, steps S61-S63 of the blockchain-based application distribution method provided by the embodiment of the present invention are the same as the specific implementation process of steps S04-S06 in the above embodiment, and are not repeated here.
As can be seen from the technical solutions provided by the above embodiments of the present invention, in the embodiments of the present invention, an application download request sent by a user terminal is received, where the application download request includes an application identifier; the application downloading request is sent to a first block chain node, 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 a downloading link corresponding to the application identifier, and relevant downloading information is sent to other block chain nodes for uplink storage; wherein the download link points to the content distribution network; and sending the application data packet to the user terminal. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
Further, the step S62 includes:
step S621, performing preset encryption operation according to a first private key corresponding to the application market platform, which is acquired from a certificate issuing mechanism, 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 blockchain node, so that the first blockchain node decrypts and verifies the first signature information according to a first public key corresponding to the application mall platform, which is acquired from the certificate authority; and if the verification is successful, the first block link point instructs the content distribution network to reply an 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-S622 of the blockchain-based application distribution method provided by the embodiment of the present invention are the same as the specific implementation process of steps S041-S052 in the above embodiment, and are not repeated here.
The technical scheme provided by the embodiment of the invention can be seen that the block chain performs validity verification on the user terminal, the development terminal and the application market platform by acquiring the correspondence and the secret key of the user terminal, the development terminal and the application market platform from the certificate issuing mechanism. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
The embodiment of the present invention also provides another blockchain-based application distribution method applied to an application mall platform, based on the same technical concept, as shown in fig. 7, where the method includes:
step S71, sending an application release request to the second block link through the application submitting platform, where the application release request includes: and the application data packet and the application release information are used for enabling the second block chain link point to store the application data packet into 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, the step S71 of the blockchain-based application distribution method provided in the embodiment of the present invention is the same as the specific implementation process of steps S01 to S03 in the above embodiment, and in order to avoid repetition, a detailed description is omitted here.
Further, the step S71 includes:
step 711, performing a preset encryption operation according to a second private key corresponding to the development end obtained from the certificate authority to obtain second signature information;
Step S712, sending, by the application submitting platform, an application publishing request to the second block link, where the application publishing request includes: the application data packet, the application release information and the second signature information are used for enabling the second blockchain node to decrypt and verify the second signature information according to a second public key corresponding to the development end, which is acquired from the certificate authority; if the verification is successful, the application data packet is stored in a content distribution network, an application identifier and a download address corresponding to the application data packet are generated, and then the application release information, the application identifier and the download address are sent to other blockchain nodes for uplink storage.
It should be noted that, steps S711 to S712 of the blockchain-based application distribution method provided in the embodiment of the present invention are the same as the specific implementation process of steps S011 to S022 in the above embodiment, and are not repeated here.
As can be seen from the technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, an application publishing request is sent to a second block link through an application submitting platform, where the application publishing request includes: and the application data packet and the application release information are used for enabling the second block chain link point to store the application data packet into 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. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
The embodiment of the present invention also provides another blockchain-based application distribution method applied to an application mall platform, based on the same technical concept, as shown in fig. 8, where the method includes:
and S81, transmitting user evaluation information to a first block chain link through the application mall platform, wherein the user evaluation information comprises evaluation content, so that the first block chain link transmits the evaluation content to other block chain nodes for uplink storage.
It should be noted that, the step S81 of the application distribution method based on the blockchain in the embodiment of the present invention is the same as the specific implementation process of steps S07 to S08 in the above embodiment, and is not repeated here.
Further, the step S81 includes:
step S811, obtaining third signature information after performing preset encryption operation according to a third private key corresponding to the user terminal, which is obtained from the certificate authority;
step S812, transmitting user evaluation information to a first block link point through the application mall 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, which is obtained from the certificate authority; and if the verification is successful, the evaluation content is sent to other blockchain nodes for uplink storage.
It should be noted that, steps S811-S812 of the application distribution method based on the blockchain in the embodiment of the present invention are the same as the specific implementation process of steps S071-S082 in the above embodiment, and are not repeated here.
As can be seen from the technical solution provided by the above embodiment of the present invention, in the embodiment of the present invention, user evaluation information is sent to a first block link through the application mall platform, where the user evaluation information includes evaluation content, so that the first block link sends the evaluation content to other block chain nodes for uplink storage. According to the embodiment of the invention, the purposes of improving the release and downloading efficiency of the application are realized, and the safety of the information is ensured.
The embodiment of the invention also provides an electronic device for executing the application distribution method based on the blockchain, and fig. 9 is a schematic structural diagram of an electronic device for implementing the embodiments of the invention, as shown in fig. 9, based on the same technical concept. The electronic device may vary considerably 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. Wherein the memory 902 may be transient storage or persistent storage. The application programs stored in the memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for use in an electronic device. Still further, the processor 901 may be arranged to communicate with the memory 902 and execute a series of computer executable instructions in the memory 902 on an 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, and one or more keyboards 906.
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 communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the following method steps:
receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application mall platform, and sending the downloading information to other blockchain nodes for uplink storage.
Embodiments of the present application also provide a computer readable storage medium having stored therein a computer program which when executed by a processor performs the following method steps:
Receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, wherein the application downloading request comprises an application identifier;
according to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the mall platform; wherein the download link points to the content distribution network;
and receiving the downloading information sent by the application mall platform, and sending the downloading information to other blockchain nodes for uplink storage.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, the electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that 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 foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (9)
1. A blockchain-based application distribution method, characterized in that it is applied to a blockchain system, the method comprising:
receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, wherein the application downloading request comprises an application identifier;
According to the download link corresponding to the application identifier, the content distribution network is instructed to send an application data packet corresponding to the application identifier to the user terminal through the application mall platform; wherein the download link points to the content distribution network; the application market platform receiving the application downloading request is one of a plurality of application market platforms, and each application market platform corresponds to a first blockchain node;
receiving the download information sent by the application mall platform, and sending the download information to other blockchain nodes for uplink storage;
before receiving, through the first block link point, an application download request sent by the user terminal through the application mall platform, the method further comprises:
receiving, by a second blockchain node, an application publishing request sent by a development end through an application submitting platform, where the application publishing request includes: an application data packet and application release 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 identification and the download address to other blockchain nodes for uplink storage.
2. The blockchain-based application distribution method of claim 1, wherein after the step of receiving the download information sent by the application mall platform and sending the download information to other blockchain nodes for uplink storage, the method further comprises:
receiving user evaluation information sent by the user terminal through the application mall platform through the first blockchain node, wherein the user evaluation information comprises evaluation content;
and sending the evaluation content to other blockchain nodes for uplink storage.
3. The blockchain-based application distribution method of claim 2, wherein the receiving, by the first blockchain point, an application download request sent by the user terminal through the application mall platform, the application download request including an application identifier, includes:
receiving an application downloading request sent by the user terminal through the application mall platform through the first blockchain 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 after preset encryption operation according to a first private key corresponding to the application market platform, which is acquired from a certificate issuing organization;
Correspondingly, the instructing the content distribution network to send the application data packet corresponding to the application identifier to the user terminal through the application mall platform according to the download link corresponding to the application identifier includes:
decrypting and verifying the first signature information according to a first public key corresponding to the application mall platform, which is acquired from the certificate authority;
and if the verification is successful, according to the download link corresponding to the application identifier, indicating the content distribution network to send the application data packet corresponding to the application identifier to the user terminal through the application mall platform.
4. The blockchain-based application distribution method of claim 3, wherein the receiving, by the second blockchain node, an application publishing request sent by the development terminal through the application submission platform, the application publishing request includes: application data package and application release information, including:
receiving, by the second blockchain node, an application publishing request sent by the development end through the application submitting platform, 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 after the development end performs preset encryption operation according to a second private key corresponding to the development end, which is acquired from the certificate issuing mechanism;
Correspondingly, storing the application data packet in the content distribution network, and generating an application identifier and a download address corresponding to the application data packet, including:
decrypting and verifying the second signature information according to a second public key corresponding to the development end, which is acquired from the certificate authority;
if the verification is successful, the application data packet is stored in the content distribution network, and an application identifier and a download address corresponding to the application data packet are generated.
5. The blockchain-based application distribution method of claim 4, wherein the receiving, by the first blockchain node, user rating information sent by the user terminal through the application mall platform, the user rating information including rating content; comprising the following steps:
receiving user evaluation information sent by the user terminal through the application mall platform through the first blockchain node, wherein the user evaluation information comprises evaluation content and third signature information; the third signature information is obtained after the user terminal performs preset encryption operation according to a third private key corresponding to the user terminal, which is acquired from the certificate authority;
Correspondingly, the step of sending the evaluation content to other blockchain nodes for uplink storage comprises the following steps:
decrypting and verifying the third signature information according to a third public key corresponding to the user terminal obtained from the certificate authority;
and if the verification is successful, the evaluation content is sent to other blockchain nodes for uplink storage.
6. A blockchain-based application distribution method, applied to an application mall platform, the method comprising:
receiving an application downloading request sent by a user terminal, wherein the application downloading request comprises an application identifier; the application market platform receiving the application downloading request is one of a plurality of application market platforms, and each application market platform corresponds to a first blockchain node;
the application downloading request is sent to a first block chain node, 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 a downloading link corresponding to the application identifier, and relevant downloading information is sent to other block chain nodes for uplink storage; wherein the download link points to the content distribution network;
Transmitting the application data packet to the user terminal, and transmitting download information to the first blockchain node so that the first blockchain node transmits the download information to other blockchain nodes for uplink storage;
the content distribution network stores an application data packet which is received by the second blockchain node and is contained in an application release request sent by the development end through the application submitting platform, and generates an application identifier and a download address corresponding to the application data packet.
7. The blockchain-based application distribution method of claim 6, wherein the sending the application download request to the first blockchain node to enable the first blockchain node to instruct the content distribution network to reply to the application data packet corresponding to the application identifier according to the download link corresponding to the application identifier, and sending related download information to other blockchain nodes for uplink storage includes:
according to a first private key corresponding to the application market platform, which is acquired from a certificate issuing mechanism, 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 blockchain node so that the first blockchain node decrypts and verifies the first signature information according to a first public key corresponding to the application mall platform, which is acquired from the certificate authority; and if the verification is successful, the first block link point instructs the content distribution network to reply an application data packet corresponding to the application identifier according to the download link corresponding to the application identifier.
8. A blockchain-based application distribution method, applied to a development terminal, the method comprising:
sending an application release request to a second block link point through an application submitting platform, wherein the application release request comprises: the application data packet and the application release information are used for enabling the second block chain link point to store 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; when receiving an application downloading request sent by a user terminal through an application mall platform through a first block chain link point, the block chain system instructs a content distribution network to send an application data packet corresponding to an application identifier to the user terminal through the application mall platform according to a downloading link corresponding to the application identifier included in the application downloading request, wherein the downloading link points to the content distribution network; when receiving the download information sent by the application mall platform, sending the download information to other block chain nodes for uplink storage; the application market platform receiving the application downloading request is one of a plurality of application market platforms, and each application market platform corresponds to one first blockchain node.
9. A blockchain-based application distribution method, applied to a user terminal, comprising:
transmitting user evaluation information to a first block chain link point through the application mall platform, wherein the user evaluation information comprises evaluation content, so that the first block chain link point transmits the evaluation content to other block chain nodes for uplink storage; the application mall platform receiving the user evaluation information is one of a plurality of application mall platforms, and each application mall platform corresponds to a first blockchain node;
before sending the user rating information to the first blockchain node through the application mall platform, the method further includes:
sending an application downloading request to a first blockchain system through the application mall platform, wherein the application downloading request comprises an application identifier, so that the blockchain system instructs a content distribution network to send an application data packet corresponding to the application identifier to the user terminal through the application mall platform according to a downloading link corresponding to the application identifier included in the application downloading request, and the downloading link points to the content distribution network; when receiving the download information sent by the application mall platform, sending the download information to other block chain nodes for uplink storage; wherein the application marketplace platform that receives the application download request is one of a plurality of application marketplace platforms;
Wherein the blockchain system stores the application data package included in the application release request to the content distribution network based on receiving the application release request sent by the development terminal through the application submitting platform through the second blockchain node, 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 included in the application release request to other blockchain 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 CN114124922A (en) | 2022-03-01 |
CN114124922B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114969808B (en) * | 2022-05-07 | 2023-09-19 | 中移互联网有限公司 | 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平台建设探讨;张升伟;毕波;;邮电设计技术(第07期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114124922A (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020042778A1 (en) | Firmware upgrade method and device | |
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 | |
KR101740256B1 (en) | Apparatus for mobile app integrity assurance and method thereof | |
KR102618665B1 (en) | Version history management using blockchain | |
JP5522307B2 (en) | System and method for remote maintenance of client systems in electronic networks using software testing with virtual machines | |
EP2172868B1 (en) | Information security device and information security system | |
CN103685138A (en) | Method and system for authenticating application software of Android platform on mobile internet | |
CN111666564B (en) | Application program safe starting method and device, computer equipment and storage medium | |
CN102065077B (en) | Method and system for distributing application software to terminal | |
JP2018078484A (en) | Reuse system, key generation device, data security device, on-vehicle computer, reuse method, and computer program | |
CN107342861B (en) | Data processing method, device and system | |
CN108710500A (en) | Resource issuing method, update method and device | |
JP2016025628A (en) | Information processing system and electronic apparatus | |
CN114282193A (en) | Application authorization method, device, equipment and storage medium | |
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 | |
CN115664655A (en) | TEE credibility authentication method, device, equipment and medium | |
JP6199712B2 (en) | Communication terminal device, communication terminal association method, and computer program | |
CN106911628A (en) | A kind of user registers the method and device of application software on the client | |
CN113766496A (en) | Cross-platform binding method and system of intelligent equipment and related equipment | |
WO2018018419A1 (en) | Configuration file batch-obtaining and downloading method, and server and terminal | |
JP2022543891A (en) | SOFTWARE PACKAGE TRANSMISSION METHOD, SOFTWARE PACKAGE TRANSMISSION VERIFICATION METHOD, NETWORK DEVICE AND STORAGE MEDIUM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |