CN115309441A - Method and device for realizing software plug-in market management platform based on block chain - Google Patents

Method and device for realizing software plug-in market management platform based on block chain Download PDF

Info

Publication number
CN115309441A
CN115309441A CN202210837763.6A CN202210837763A CN115309441A CN 115309441 A CN115309441 A CN 115309441A CN 202210837763 A CN202210837763 A CN 202210837763A CN 115309441 A CN115309441 A CN 115309441A
Authority
CN
China
Prior art keywords
plug
authorization
block chain
user
contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210837763.6A
Other languages
Chinese (zh)
Inventor
王晓亮
陈林燏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xita Technology Co ltd
Original Assignee
Beijing Xita Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xita Technology Co ltd filed Critical Beijing Xita Technology Co ltd
Priority to CN202210837763.6A priority Critical patent/CN115309441A/en
Publication of CN115309441A publication Critical patent/CN115309441A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for realizing a software plug-in market management platform based on a block chain, which comprises the block chain, a plug-in publisher and a user, wherein an intelligent contract is deployed to the block chain; the issuing party calls an intelligent contract issuing method to submit plug-in basic information to the block chain; the issuing party calls an intelligent contract updating method to verify the plugin version data and responds to verification to issue the plugin to the block chain; the user calls the intelligent contract authorization method to submit an authorization application, and responds to the authorization application, the account address of the user is listed as an authorization address and recorded in the block chain; and the user calls the intelligent contract downloading method to verify the account address and obtains the plug-in downloading information after verification. The invention adopts an intelligent contract mode to store plug-in release, update, authorization and download records in a block chain, and meanwhile, the invention can authorize a plug-in user and give a plug-in release party integral incentive, thereby increasing the vitality of the plug-in market and further expanding the ecology of the plug-in market.

Description

Method and device for realizing software plug-in market management platform based on block chain
Technical Field
The present disclosure relates to the field of computer software technologies, and in particular, to a method and an apparatus for implementing a software plug-in market management platform based on a blockchain, an electronic device, and a storage medium.
Background
In order to expand functions and characteristics of the software, the software generally provides some plug-in development standards and provides an official plug-in market, so that developers can conveniently develop new plug-ins according to the plug-in development standards and then release the new plug-ins to the plug-in market, such as a Chrome Web Store of Google Chrome and an Extension Marketplace of Visual Studio Code. However, the following problems exist: on one hand, generally, a service platform needs to be operated by a plug-in market for obtaining usable plug-ins, and a software provider needs to operate the platform to ensure high availability of the platform, which is an additional burden for some open source software; on the other hand, whether a plug-in appears in the service list or not needs management approval and examination of the service platform, and if an administrator is not in the same time zone, the release or update of the plug-in is delayed; in a third aspect, it may occur that a platform administrator drives violations for certain plug-ins on a personal liking and liking, or interest basis. Therefore, how to overcome the above problems is a technical problem to be solved by improving the operation mode of the software plug-in market.
Disclosure of Invention
The purpose of the embodiments of the present specification is to provide a method, an apparatus, an electronic device, and a storage medium for implementing a software plug-in market management platform based on a blockchain.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
in a first aspect, a method for implementing a software plug-in market management platform based on a block chain is provided, which comprises the block chain, a plug-in publisher and a plug-in user, and deploys an intelligent contract to the operation of the block chain, wherein the method of the intelligent contract at least comprises the steps of publishing, updating, authorizing and downloading the software plug-in; the method comprises the following steps:
in response to the plug-in publisher calling the publishing method of the intelligent contract, submitting the plug-in basic information to the block chain, wherein the plug-in basic information at least comprises metadata, version data and authorization records;
responding to the plug-in publisher to call the updating method of the intelligent contract, verifying the version data of the plug-in, responding to the verification result, and formally publishing the plug-in to the block chain;
responding to the plug-in user to call an authorization method of the intelligent contract, submitting an authorization application and responding to the authorization application to obtain an authorization address by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
and responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after verification is passed.
In a second aspect, an apparatus for implementing a software plug-in market management platform based on a blockchain is provided, which includes a blockchain, a plug-in publisher, and a plug-in user, and includes:
the first module is used for deploying intelligent contracts to the blockchain operation, and the method of the intelligent contracts at least comprises the steps of issuing, updating, authorizing and downloading software plug-ins;
the second module is used for responding to the plug-in publisher calling the publishing method of the intelligent contract and submitting the plug-in basic information to the block chain, wherein the plug-in basic information at least comprises metadata, version data and authorization records;
a third module, configured to respond to the plug-in publisher to call an update method of the intelligent contract, verify version data of the plug-in, and respond to a verification result that the version data passes, and formally publish the plug-in to the blockchain;
the fourth module is used for responding to the authorization method of the intelligent contract called by the plug-in user, submitting an authorization application and responding to the authorization application, and the account address of the plug-in user is listed as an authorization address and recorded in the block chain;
and the fifth module is used for responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after the verification is passed.
In a third aspect, an electronic device is provided, including: a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of the first aspect.
In a fourth aspect, a computer-readable storage medium is presented, storing one or more programs which, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the method of the first aspect.
The specification can achieve at least the following technical effects:
in the scheme of the invention, all plug-in issuing, updating, authorizing and downloading records are stored on the block chain in an intelligent contract mode, and both a plug-in issuing party and a plug-in using party can access the block chain to issue and acquire all plug-in information; meanwhile, the authorization of the plug-in using party of the plug-in can be verified. The scheme can also give incentive to a plug-in publisher by deducting contract points of the plug-in user, so that the vitality of the plug-in market is increased, and the common market ecology of the software is expanded.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be 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 specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram of an implementation method of a software plug-in market management platform based on a blockchain according to an embodiment of the present disclosure.
Fig. 2 is a second schematic diagram of an implementation method of a software plug-in market management platform based on a blockchain according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of an implementation apparatus of a software plug-in market management platform based on a blockchain according to an embodiment of the present disclosure.
Fig. 4 is a second schematic diagram of an implementation apparatus of a software plug-in market management platform based on a block chain according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
The following describes a block chain-based software plug-in market management platform implementation scheme according to the present specification by using specific examples.
Key terms
Block chain technique: the distributed data processing system is a brand new distributed infrastructure and computing paradigm for verifying and storing data by using a block chain type data structure, generating and updating data by using a distributed node consensus algorithm, ensuring the safety of data transmission and access by using a cryptographic mode, and programming and operating data by using an intelligent contract consisting of automatic script codes. In essence, it is a shared database, and the data or information stored therein has the characteristics of being unforgeable, traceable in the whole process, traceable, publicly transparent, collectively maintained and the like. Based on the characteristics, the block chain technology lays a solid trust foundation, creates a reliable cooperation mechanism and has wide application prospect. The block chains are classified into public, alliance and private chains according to admission mechanisms.
Intelligent contract: the program running in the block chain system has the characteristics of automatic execution according to the set logic and non-falsification of the execution result. The intelligent contract is a collection of codes and data, the whole transaction process is embodied by digital codes, and the transaction can be automatically completed under the condition that the transaction condition is met. The Chinese block chain industry white paper in 2018 defines an intelligent contract: an event-driven, stateful, multi-party aware, process running on a blockchain and capable of automatically processing assets according to preset conditions.
Software plug-in Software plug and Software plug-in market: the software extension is a program written by an application program interface which follows a certain specification and is mainly used for extending software functions, and many pieces of software have plug-ins, some are developed by software companies, and some are developed by third parties or software users. The software plug-in market is a software platform with software plug-in publishing, displaying and downloading functions provided for developers and users of the software plug-ins, and software companies, third parties, users and the like can be used as the developers and the users and perform open operation in the software plug-in market.
Example one
The invention aims to overcome the technical defects of the traditional software plug-in market, introduce the block chain technology into the software plug-in market, and improve the market vitality of the software plug-in by improving the running mode of the software plug-in market, thereby expanding the common market ecology of the software. To this end, the embodiment of the invention uses the intelligent contract mode to realize the software plug-in market based on the block chain. Because the intelligent contract runs in the block chain system and has the characteristics of automatic execution according to set logic and non-falsification of an execution result, the code and data set of the intelligent contract enables the whole transaction process to be embodied by digital codes, the transaction can be automatically completed under the condition of meeting transaction conditions, and the application framework of a central server and a software platform is not needed, so that the intelligent contract can realize the whole process services of software plug-in release, update, authorization, downloading and the like. Therefore, in summary, the solution of the embodiment of the present invention is to implement a plug-in market application function by defining a block chain intelligent contract, define key information such as a metadata structure of a software plug-in the intelligent contract, and call the intelligent contract to operate the key information of the software plug-in. Therefore, as shown in fig. 1, the implementation method of a software plug-in market management platform based on a blockchain according to an embodiment of the present invention includes a blockchain, a plug-in publisher, and a plug-in consumer, including:
step 101: and deploying intelligent contracts to the blockchain operation, wherein the method of the intelligent contracts at least comprises the steps of issuing, updating, authorizing and downloading the software plug-ins.
Specifically, the corresponding method of the intelligent contract comprises the following steps: the issuing method is used for receiving the plugin meta-information submitted by a plugin issuing party; the updating method is used for verifying and receiving the version information of the plug-ins submitted by the plug-in issuing party, and verifying whether the version numbers exist and meet issuing rules; the authorization method is used for receiving an authorization application of a plug-in user, deducting contract points of the user according to authorization cost set by a publisher, and storing the deducted contract points in an authorization record after the deduction is successful; and the downloading method interface is used for verifying whether the account address of the submitter is in the authorization record or not, and if the account address is successfully returned, the downloading method interface contains the downloading information capable of obtaining the plug-in package.
Step 102: and in response to the fact that the plug-in publisher calls the publishing method of the intelligent contract, submitting the basic plug-in information to the block chain, wherein the basic plug-in information at least comprises metadata, version data and authorization records.
Optionally, the plug-in metadata includes a plug-in name and a plug-in description, and further includes an authorization fee for deducting a contract score of a user of the plug-in when the usage is authorized. Specifically, the name of the plug-in the plug-in metadata identifies the specific name of the plug-in; the plug-in description identifies the use of the plug-in; the authorization fee can be used to set whether the authorization fee is needed, and if the contract credit of the applicant is needed to be deducted when the authorization is needed.
Optionally, the plugin version data includes a version number, a change description, a plugin package hash, and plugin package download information. Specifically, the plug-in version number identifies that each plug-in has a different version number and should not be repeated for the same plug-in; the change description identifies the content of the version change; the package hash describes the hash of the plug-in download package and may contain hash algorithm statements such as:
sha256:4e02ed2aa796bd179965041afa092c55b51fb077de19d61835673cc80672c01c; the package download address information may be a download address, or may be a file identifier, such as cid based on the decentralized protocol IPFS protocol, or objectid of a centralized object storage service.
Optionally, the plug-in authorization record includes an authorized version number and an authorized account address of the plug-in usage party.
Optionally, the plug-in basic information further includes a contract point for recording the plug-in user account address and the contract point balance.
Step 103: responding to the plug-in publisher to call the updating method of the intelligent contract, verifying the version data of the plug-in, responding to the verification and obtaining the pass, and formally publishing the plug-in to the block chain.
Step 104: and responding to the authorization method that the plug-in user calls the intelligent contract, submitting an authorization application and responding to the authorization application, and acquiring the authorization address by listing the account address of the plug-in user as the authorization address and recording the authorization address in the block chain.
Step 105: and responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after verification is passed.
Another implementation scheme of the implementation method of the software plug-in market management platform based on the blockchain is provided in this embodiment as shown in fig. 2, and further includes:
step 106: and after the authorization method of the intelligent contract is called by the plug-in user in response to the plug-in user to complete authorization, deducting the contract integral of the plug-in user according to the authorization cost, and updating the authorization record and the contract integral balance after successful deduction.
It should be understood that, in the implementation manner of the blockchain intelligent contract in the software plug-in market, there is no specific limitation on the programming language for implementing the intelligent contract, and all the technical effects that can implement the embodiments of the present invention are consistent with the technical solution of the present invention, and may be specifically implemented by, for example, a Solidity based on the EVM, a chaincode based on the container technology, or a Java based on the JVM.
Example two
Fig. 3 is a schematic structural diagram of an apparatus 300 for implementing a blockchain-based software plug-in market management platform according to an embodiment of the present disclosure. Referring to fig. 3, in an embodiment, an apparatus for implementing a software plug-in market management platform based on a blockchain includes a blockchain, a plug-in publisher, and a plug-in user, including:
a first module 301, configured to deploy an intelligent contract to the blockchain operation, where a method of the intelligent contract at least includes issuing, updating, authorizing, and downloading a software plug-in;
a second module 302, configured to submit, in response to the plug-in publisher calling the publishing method of the smart contract, the plug-in basic information to the blockchain, where the plug-in basic information at least includes metadata, version data, and an authorization record;
a third module 303, configured to respond to the plug-in publisher calling an update method of the smart contract, verify version data of the plug-in, and respond to a verification result that the plug-in is passed, and publish the plug-in to the blockchain formally;
a fourth module 304, configured to, in response to the plug-in user invoking an authorization method of the smart contract, submit an authorization application and obtain an authorization result by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
a fifth module 305, configured to, in response to the plug-in user invoking the download method of the intelligent contract, verify whether the account address is an authorized address and obtain the download information of the plug-in after verification.
Another implementation scheme of the apparatus for implementing a software plug-in market management platform based on a blockchain according to this embodiment is shown in fig. 4, and further includes:
a sixth module 306, configured to deduct the contract score of the plug-in user according to the authorization cost after the plug-in user invokes the authorization method of the intelligent contract to complete authorization, and update the authorization record and the contract score balance after the fee deduction is successful.
It should be understood that the apparatus for implementing a software plug-in market management platform based on a blockchain according to the embodiment of this specification may further perform the method performed by the apparatus (or device) for implementing a software plug-in market management platform based on a blockchain in fig. 1 to 3, and implement the functions of the apparatus (or device) for implementing a software plug-in market management platform based on a blockchain in the examples shown in fig. 1 to 3, which are not described herein again.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present specification. Referring to fig. 5, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the shared resource access control device on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
the method comprises a block chain, a plug-in publisher and a plug-in user, and intelligent contracts are deployed to the operation of the block chain, wherein the method of the intelligent contracts at least comprises the steps of publishing, updating, authorizing and downloading software plug-ins; the method comprises the following steps:
in response to the fact that the plug-in publisher calls the publishing method of the intelligent contract, the plug-in basic information is submitted to the block chain, and the plug-in basic information at least comprises metadata, version data and authorization records;
responding to the plug-in publisher to call the updating method of the intelligent contract, verifying the version data of the plug-in, responding to the verification result, and formally publishing the plug-in to the block chain;
responding to the plug-in user to call an authorization method of the intelligent contract, submitting an authorization application and responding to the authorization application to obtain an authorization address by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
and responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after verification is passed.
The above-mentioned implementation method of the software plug-in market management platform based on the blockchain according to the embodiments shown in fig. 1 to fig. 3 of the present specification can be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of this specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Example four
Embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of application programs, are capable of causing the portable electronic device to perform the method of the embodiments shown in fig. 1 to 5, and in particular to perform the method of:
the method comprises a block chain, a plug-in publisher and a plug-in user, and intelligent contracts are deployed to the operation of the block chain, wherein the method of the intelligent contracts at least comprises the steps of publishing, updating, authorizing and downloading software plug-ins; the method comprises the following steps:
in response to the plug-in publisher calling the publishing method of the intelligent contract, submitting the plug-in basic information to the block chain, wherein the plug-in basic information at least comprises metadata, version data and authorization records;
responding to the plug-in publisher to call the updating method of the intelligent contract, verifying the version data of the plug-in, responding to the verification and obtaining the pass, and formally publishing the plug-in to the block chain;
responding to the plug-in user to call an authorization method of the intelligent contract, submitting an authorization application and responding to the authorization application to obtain the authorization contract by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
and responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after verification is passed.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an electronic data carrier device, a gaming console, a tablet computer, a wearable device, or a combination of any of these devices.
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 phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises that element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.

Claims (14)

1. A software plug-in market management platform implementation method based on a block chain is characterized by comprising the block chain, a plug-in publisher and a plug-in user, and deploying an intelligent contract to the block chain for operation, wherein the intelligent contract method at least comprises the steps of publishing, updating, authorizing and downloading software plug-ins; the method comprises the following steps:
in response to the plug-in publisher calling the publishing method of the intelligent contract, submitting the plug-in basic information to the block chain, wherein the plug-in basic information at least comprises metadata, version data and authorization records;
responding to the plug-in publisher to call the updating method of the intelligent contract, verifying the version data of the plug-in, responding to the verification and obtaining the pass, and formally publishing the plug-in to the block chain;
responding to the plug-in user to call an authorization method of the intelligent contract, submitting an authorization application and responding to the authorization application to obtain the authorization contract by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
and responding to the plug-in user to call the downloading method of the intelligent contract, verifying whether the account address is an authorized address and obtaining the downloading information of the plug-in after verification is passed.
2. The method of claim 1, wherein the plug-in metadata includes a plug-in name and a plug-in description, and further includes an authorization fee for deducting a contract credit of a user of the plug-in when the authorization usage is set.
3. The method of claim 1, wherein the plugin version data includes version number, change specification, plugin package hash, and plugin package download information.
4. The method of claim 1, wherein the plug-in authorization record comprises an authorized version number and the authorized plug-in consumer account address.
5. The method of claim 1, wherein the plug-in base information further comprises contract points for recording the plug-in consumer account address and contract point balance.
6. The method of claim 1, further comprising: and after the authorization method of the intelligent contract is called by the plug-in user in response to the plug-in user to finish authorization, deducting the contract point of the plug-in user according to the authorization cost, and updating the authorization record and the contract point balance after successful deduction.
7. The utility model provides a software plug-in market management platform realization device based on block chain which characterized in that includes block chain, plug-in publisher, plug-in use side, includes:
the first module is used for deploying intelligent contracts to the blockchain operation, and the method of the intelligent contracts at least comprises the steps of issuing, updating, authorizing and downloading software plug-ins;
the second module is used for responding to the plug-in publisher calling the publishing method of the intelligent contract and submitting the plug-in basic information to the block chain, wherein the plug-in basic information at least comprises metadata, version data and authorization records;
a third module, configured to respond to the plug-in publisher to call an update method of the intelligent contract, verify version data of the plug-in, and respond to a verification result that the version data passes, and formally publish the plug-in to the blockchain;
a fourth module, configured to respond to the plug-in user invoking an authorization method of the smart contract, submit an authorization application, and respond to the authorization application to obtain a result obtained by listing an account address of the plug-in user as an authorization address and recording the authorization address in the block chain;
and the fifth module is used for responding to the plug-in user calling the downloading method of the intelligent contract, verifying whether the account address is an authorized address or not and obtaining the downloading information of the plug-in after verification is passed.
8. The apparatus of claim 7, wherein the plug-in metadata comprises a plug-in name and a plug-in description, and further comprises an authorization fee for deducting a contract credit of a user of the plug-in when the usage is authorized.
9. The apparatus of claim 7, wherein the plug-in version data comprises a version number, a change specification, a plug-in package hash, and plug-in package download information.
10. The apparatus of claim 7, wherein the plug-in authorization record comprises an authorized version number and the authorized plug-in consumer account address.
11. The apparatus of claim 7, wherein the plugin base information further includes contract points for recording the plugin consumer account address and contract point balance.
12. The apparatus of claim 7, further comprising a sixth module, configured to deduct the contract point of the plug-in user according to the authorization fee after the plug-in user invokes the authorization method of the smart contract to complete authorization, and update the authorization record and the contract point balance after the deduction is successful.
13. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any of claims 1 to 6.
14. A computer readable storage medium, storing one or more programs, which when executed by an electronic device that includes a plurality of application programs, cause the electronic device to perform the method of any of claims 1-6.
CN202210837763.6A 2022-07-15 2022-07-15 Method and device for realizing software plug-in market management platform based on block chain Pending CN115309441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210837763.6A CN115309441A (en) 2022-07-15 2022-07-15 Method and device for realizing software plug-in market management platform based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210837763.6A CN115309441A (en) 2022-07-15 2022-07-15 Method and device for realizing software plug-in market management platform based on block chain

Publications (1)

Publication Number Publication Date
CN115309441A true CN115309441A (en) 2022-11-08

Family

ID=83856362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210837763.6A Pending CN115309441A (en) 2022-07-15 2022-07-15 Method and device for realizing software plug-in market management platform based on block chain

Country Status (1)

Country Link
CN (1) CN115309441A (en)

Similar Documents

Publication Publication Date Title
CN108876380B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN109242453B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN110555296B (en) Identity verification method, device and equipment based on block chain
CN110032880B (en) Screen recording evidence obtaining method and system based on block chain and electronic equipment
CN109377216B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN114553515B (en) Block chain-based NFT asset checking method, business processing method and hardware
CN109345392B (en) Method and system for issuing programming question, issuing solution code and checking solution code
CN111899008B (en) Resource transfer method, device, equipment and system
CN111639308A (en) Software serial number distribution verification method and device based on block chain
CN111985007A (en) Contract signing and executing method and device based on block chain
CN113704775A (en) Service processing method based on distributed digital identity and related device
CN111651467A (en) Block chain link point interface issuing and calling method and device
CN111786792A (en) Block chain-based data change recording method and device
CN110443291B (en) Model training method, device and equipment
CN108710658B (en) Data record storage method and device
CN112434347B (en) Rental business processing method, device, equipment and system
CN115511595A (en) Service execution method and device based on block chain
CN110990891A (en) Gymnasium contract proving method, equipment and medium based on block chain
CN115309441A (en) Method and device for realizing software plug-in market management platform based on block chain
CN115099925A (en) Risk assessment method, device and equipment based on block chain
CN114463110A (en) Credit granting system and method based on block chain
CN112529647B (en) Block chain-based commodity transaction method, device and computer equipment
CN110175831B (en) Credit transfer method and device based on blockchain and electronic equipment
CN112348463A (en) Software engineering continuous construction method and device based on block chain
CN111651469A (en) Method and device for managing block chain system contract

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