Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which 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 present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Prophetic machine: a mechanism for trusted mapping of information in the infrand of a chain to the world of the chain is implemented, which can provide external information for intelligent contracts, is a bridge for the blockchain to communicate with the external world, and serves as a trusted information provider for the blockchain.
According to an embodiment of the present invention, there is provided a resource sharing method embodiment, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order other than that shown or described herein.
Fig. 1 is a flowchart of a resource sharing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
Step S102, obtaining a resource block to be shared of a resource to be shared, wherein the resource to be shared is a universal basic module which is repeatedly used in different software systems;
step S104, determining a target account for providing the resource to be shared, wherein the target account is a unique identity which is registered in the blockchain network in advance and corresponds to the resource to be shared;
Step S106, binding the target account and the resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in a blockchain network;
Step S108, uploading the non-homogeneous certificate to a storage unit of the blockchain network.
In the embodiment of the invention, a resource block to be shared of the resource to be shared is obtained, wherein the resource to be shared is a reusable universal basic module; determining a target account for providing the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; the non-homogeneous pass is uploaded to the storage unit of the blockchain network, so that the resources to be shared can be converted into the non-homogeneous pass and then uploaded to the blockchain network for sharing, the technical effect of avoiding the shared resources from being tampered is achieved, and the technical problem that the current shared resources adopt a centralized storage management method and have hidden danger of being tampered or attacked is solved.
It should be noted that, after the non-homogeneous pass is uploaded to the blockchain network, the non-homogeneous pass is protected by the common storage of multiple nodes in the blockchain network, and the tampered non-homogeneous pass (or the resource to be shared) is not acknowledged by the nodes in the blockchain network, so that the tampered non-homogeneous pass (or the resource to be shared) cannot be propagated (or shared) in the blockchain network.
In step S102, the universal base module CBB is a module having versatility and recyclability that is widely used in the development of software resources or hardware resources. These modules can be reused to improve development efficiency and reduce cost. The universal base module typically includes various common functions and tools such as data management, user interface design, security management, etc., that can be flexibly combined and applied in different software projects.
It should be noted that CBB, english, is known as Common Building Block, chinese, is known as a universal base module), refers to reusable units that make up a product or product subsystem, have one or more independent functions, have a stable structure, and have a standard interface. The enterprise has limited and specific characteristics, can embody the core competitive creative resources of the enterprise, and the categories comprise hardware, software, structures and the like. The number and quality of internal CBB resources owned by an enterprise determines the competitive advantage of the enterprise, such as the predominate resources.
In the above step S102, the resource to be shared may be a general base module that needs to be shared.
In the step S102, the resource blocks to be shared may be different manifestations of the resources to be shared, and the resource blocks to be shared are in one-to-one correspondence with the resources to be shared.
As an alternative embodiment, acquiring the resource block to be shared of the resource to be shared includes: selecting a resource to be shared from a plurality of preset shared resources in a preset resource library; acquiring abstract information of the resources to be shared, wherein the abstract information comprises a resource identifier for reading the resources to be shared from a preset resource library; and generating the resource blocks to be shared based on the abstract information.
In the above embodiment of the present invention, under the condition of sharing a resource to be shared in a preset resource library, the resource to be shared has a reliable storage carrier, in order to reduce the data burden in the blockchain network, the summary information including the resource identifier of the resource to be shared may be read from the preset resource library, and then the resource block to be shared may be generated according to the summary information, further after the resource block to be shared is shared in the blockchain network, other accounts in the blockchain network may preview the resource to be shared according to the summary information in the resource block to be shared, and based on the resource identifier, the accurate position of the resource to be shared in the preset resource library may be known, and the resource to be shared may be read, thereby generating the resource block to be shared according to the summary information of the resource to be shared, so that the sharing of the resource to be shared may be completed, the complete resource to be shared need not be transmitted in the blockchain network, and the data burden in the blockchain network may also be avoided.
Optionally, the summary information includes: CBB resource encoding, creator number, creation time, specification, application scope, etc.
Optionally, the resource identifier may be a CBB resource code, which is used as a unique identifier of the resource to be shared, and according to the resource identifier, the corresponding resource to be shared may be found in a preset resource library, and may also be read or downloaded from the preset resource library.
In step S104, in the case that the resource to be shared is a preset shared resource in the preset resource library, the preset resource library may be docked with the blockchain network through the target account.
As an alternative embodiment, acquiring the resource block to be shared of the resource to be shared includes: receiving a resource to be shared uploaded by a target account; adding target identity information of a target account into a resource to be shared to obtain a first shared resource; and encrypting the first shared resource to obtain a resource block to be shared.
In the above embodiment of the present invention, the target account may be an creator of the resource to be shared, in order to ensure that the resource to be shared cannot be tampered, in the case of sharing the resource to be shared, the target identity information of the target account may be added to the resource to be shared, so as to obtain a first shared resource, and tracing of the creator may be performed based on the first shared resource; and the resource block to be shared is the encryption result of the first shared resource, so that under the condition that the resource block to be shared is shared in the blockchain network, other accounts in the blockchain network can be prevented from stealing the resource to be shared.
As an alternative embodiment, acquiring the resource block to be shared of the resource to be shared includes: receiving a resource task broadcasted by a resource demand account in a blockchain network, wherein the resource task is used for indicating that the resource demand account requests to acquire a resource block to be shared; receiving resources to be shared uploaded by a target account for responding to a resource task; the demand identity information of the resource demand account is added to the resource to be shared, so that a second shared resource is obtained; and encrypting the second shared resource to obtain a resource block to be shared.
According to the embodiment of the invention, the resource to be shared can be created by the target account according to the resource task issued by the resource demand account, and further, under the condition that the target account finishes uploading the resource to be shared, the demand identity information of the resource demand account can be added into the resource to be shared uploaded by the target account to obtain a second shared resource, and the resource task issuer can trace the source based on the second shared resource; and the target account and the resource demand account are both accounts registered in the blockchain network, so that the target account and the resource demand account can transmit the resource to be shared through the blockchain network, encrypt the resource to be shared into a resource block to be shared and then uplink the resource block, and other accounts in the blockchain network can be prevented from embezzling the resource to be shared.
In the step S106, the non-homogeneous pass NFT may be applied to application scenarios such as digital works of art, collectibles, articles in games, virtual worlds, sports, fashion entertainment, identity verification, insurance, infrastructure such as domain name, physical asset digitization, electronic tickets or electronic coupons, etc., and in the present application, the general basic module may be converted into a non-homogeneous pass and then be set up.
It should be noted that, NFT, english is called Non-FungibleToken, chinese is called Non-homogeneous universal certificate, which is a digital asset certificate with uniqueness in time realized by intelligent contract in the blockchain field, and is widely applied to real world asset mark uplink, and has self-description capability; the shared resource is exposed and traded through NFT uniqueness.
In step S106, the non-homogeneous pass is a binding result of the target account and the resource block to be shared, so that after the non-homogeneous pass is uplink in the blockchain network, the subscription account for obtaining the non-homogeneous pass in the blockchain network can mortgage the virtual asset to the target account to obtain the subscription authority of the non-homogeneous pass, so that the target account for providing the resource to be shared can obtain the benefit of obtaining the virtual asset.
As an alternative embodiment, the method further comprises, prior to uploading the non-homogenous certification to the storage units of the blockchain network: evaluating the resources to be shared by using a preset scoring rule to obtain evaluation points, wherein the evaluation points represent the mortgage number of the needed mortgage virtual asset under the condition that subscription accounts in the blockchain network request subscription of the resources to be shared; evaluation points are added to the non-homogeneous pass.
According to the embodiment of the invention, before uploading the non-homogeneous pass to the storage unit of the blockchain network, the to-be-shared resource provided by the target account can be evaluated, the evaluation of the value of the to-be-shared resource in the blockchain network can be represented by the evaluation points, and the mortgage number of the virtual asset required for mortgage is determined under the condition that the subscription account of the to-be-shared resource acquires the to-be-shared resource, so that after the subscription account provides the virtual asset with the mortgage number to the target account, the subscription account can acquire the non-homogeneous pass, and further acquire the to-be-shared resource of the non-homogeneous pass.
As an alternative embodiment, after uploading the non-homogenous certification to the storage unit of the blockchain network, the method further includes: receiving a subscription request of a subscription account in a blockchain network, wherein the subscription request is used for requesting subscription rights of a target pass in a plurality of heterogeneous passes stored in a storage unit; detecting whether the subscription request passes the verification based on the blockchain network; under the condition that the subscription request passes the verification, the subscription authority is allocated to the subscription account, wherein the subscription authority is used for indicating that the subscription account is allowed to download the target pass from the blockchain network; under the condition that the subscription account downloads the target pass according to the subscription authority, adding a subscription digital watermark for the target pass, wherein the subscription digital watermark comprises the subscription account and the downloading time of the subscription account to the target pass.
In the above embodiment of the present invention, the blockchain network includes: providing a target account of the non-homogeneous pass and a subscription account for requesting subscription to the non-homogeneous pass, further downloading the target pass from a blockchain network after the subscription account obtains the subscription authority of the target pass, adding a subscription digital watermark comprising the subscription account and the download time of the target pass in the downloaded target pass, and completing tracing of the resource to be shared based on the subscription digital watermark.
As an alternative embodiment, detecting whether the subscription request passes the check based on the blockchain network includes: detecting subscription signaling carried in a subscription request, wherein the subscription signaling is a virtual resource mortgage by subscription authority of a subscription account request target license; detecting whether subscription signaling is credible or not in a plurality of nodes of a blockchain network, wherein each node is used for recording the asset quantity of virtual resources of a plurality of preset accounts, each preset account comprises a subscription account, and determining that the subscription signaling is credible under the condition that the mortgage quantity of the virtual resources of the subscription account is not more than the asset quantity of the virtual resources of the subscription account; broadcasting a subscription bill to the blockchain network under the condition that subscription signaling is credible, wherein the subscription bill is used for informing a plurality of nodes of the blockchain network to deduct the mortgage number from the asset number of a subscription account, increasing the mortgage number from the asset number of a target account, and the preset account further comprises the target account; and under the condition that the blockchain network receives the subscription bill, determining that the subscription request passes the verification.
According to the embodiment of the invention, each node in the blockchain network can record the resource quantity of virtual resources possessed by a plurality of preset accounts, further under the condition that the subscription account requests to acquire the subscription authority of the target certificate, subscription signaling carried in the subscription request of the subscription account can be checked in a plurality of nodes in the blockchain network, each node can know that the subscription account acquires the subscription account of the target certificate according to the resource quantity of the virtual resources possessed by each preset account recorded by the node, check whether the resource quantity of the virtual resources possessed by the subscription account meets the mortgage quantity required by subscribing the target certificate, further under the condition that all or most nodes in the blockchain network indicate that the resource quantity of the virtual resources possessed by the subscription account meets the mortgage quantity required by subscribing the target certificate, the subscription signaling is determined to be trusted, and then a subscription bill can be generated based on the trusted subscription signaling, and broadcast in the blockchain network, then each node in the blockchain network can know that the subscription account acquires the subscription account of the target certificate, deduct the mortgage quantity of the virtual resources possessed by the target mortgage account in the record of each node, and the virtual resources possessed by the target mortgage quantity is increased.
In step S108, the non-homogeneous certificate may be uploaded to the storage unit of the blockchain network by the predictor.
It should be noted that, the predictor is used to implement a mechanism for mapping information of the world under the chain to the world on the chain, which can provide external information for the intelligent contract, is a bridge for the communication between the blockchain and the external world, and is used as a trusted information provider of the blockchain.
The present invention also provides a preferred embodiment, and the resource sharing method can be implemented by a system based on the internal CBB resource sharing of the NFT and the predictor, which uses the intelligent contract to give unique digital property rights to the universal base module CBB, and maps the full life cycle (including demand application, demand response, creation, transaction, transfer, and off-shelf) of the universal base module CBB on the blockchain. The digital copyright of the universal basic module CBB is protected, the problem that efficient circulation of shared CBB resources in enterprises under a safe environment and timely response to new demand release can be accelerated is solved, and meanwhile, stronger circulation, traceability and safety are provided for the CBB.
As an alternative embodiment, the NFT and predictor based internal CBB resource sharing system includes at least: a blockchain network, a predictor system and a presentation and traceability system.
Optionally, the blockchain network is configured to cast the non-homogeneous certification NFT of the universal base module CBB according to the attribute information of the universal base module CBB by using the intelligent contracts deployed on the blockchain.
Optionally, the predictor system is configured to periodically write CBB data (such as a universal base module) under the chain to the storage unit of the blockchain, so that the asset dynamic benefit of the CBB can be calculated by calling a benefit calculation function in the intelligent contract and a CBB dynamic benefit receipt according to a user request. The predictors can issue demand reservation in a broadcast data form, and the realization method of request response is that the predictors are actively requested by a user, and after the predictors interact with the resources under the chain to obtain a result, the predictors send a transaction, and the result is asynchronously returned.
Optionally, the system is a presentation and traceability system, and the implementation method is that the data is statically stored in a predictor and read through contract function call. The advantage is that the realization is simple, and the user need hardly pay the commission. The NFT of the CBB has the computational capability, can self calculate dynamic attributes such as income, and when a user performs display, transaction and transfer of the NFT of the CBB on a chain, the current income situation of the CBB needs to be obtained, the actual total value of the CBB is obtained for display, and meanwhile, the record of the full life cycle of the CBB is displayed.
As an optional embodiment, a method for implementing resource sharing by a system based on internal CBB resource sharing of NFT and predictor specifically includes the following steps:
Step1: blockchain account registration. The predictor in the blockchain that provides internal CBB resources may register a blockchain account, and the registered blockchain account may be the target account.
Step2: for existing CBB resources (e.g., selecting a resource to be shared among a plurality of preset shared resources in a preset resource library): the prophetic machine in the blockchain can obtain the abstract information of the resource CBB to be shared in the enterprise, and the abstract information is stored in the blockchain system, and the prophetic machine is automatically bound with an creator account (such as a target account) through an intelligent contract to generate the non-homogeneous universal certificate NFT with unique digital asset identity.
Step3: for newly built CBB resources (e.g., resources to be shared that receive target account uploads): the creator (such as a target account) of the resource CBB converts the digital content of the work of the resource CBB to be shared into a binary file and encrypts the binary file to generate the on-chain non-homogeneous pass NFT, so that the creation of the non-homogeneous pass NFT work is realized, and the unique identity Tokenid (such as a digital asset certificate) on the chain is possessed to generate the digital copyright.
Step4: for non-created CBB resources (e.g., to receive resources to be shared that the target account uploads for response resource tasks): the CBB demand publishers (such as resource demand accounts or subscription accounts) can call intelligent contract methods to complete purchasing and early cancellation, and demand responders (such as target accounts) can issue prices (such as mortgage numbers of virtual resources) according to demands, and call inquiry and on-schedule demand confirmation through intelligent contracts. On the basis of a traditional CBB demand subscription publishing end-CBB demand responding end, intelligent contracts based on NFT are realized, CBB demand publishers (such as resource demand accounts or subscription accounts) are supported to complete purchasing and unsubscribing through interaction with the contracts, and CBB demand responders (such as target accounts) can also inquire, confirm and activate effective subscription of subscribers through interaction with the contracts and permanently invalidate expired subscription. The intelligent contract is used for decentralizing and managing the state of all subscriptions, and the characteristics of the NFT are fully utilized.
Step5: circulation of internal CBB resources: the CBB user (such as subscription account) can download the digital content, the circulation information, the current owner and other information corresponding to the NFT, and conduct transaction to obtain the CBB right of use.
Step6: searching, displaying and tracing the internal CBB resources: NFT end devices (e.g., memory units of a blockchain network) can provide rights certificates, including transfer, transaction information, for queried NFT digital content. When the user downloads, the digital watermark containing the download user name and the download time information is added, and a blanket is made for tracing. The block chain on the CBB file loading digital watermark is divided into a CBB right determining part and a copyright protecting part.
Step7: transfer and off-shelf of internal CBB resources: the user can verify different digital contents on the display and traceability system, and delete and download new NFT digital contents from the existing contents; and carrying out related operation on the digital content on the display and traceability system, and correspondingly updating and adjusting related operation processes and ownership under the management of the system. As an alternative embodiment, the NFT and predictor based internal CBB resource sharing system includes at least: a blockchain network, a predictor system and a presentation and traceability system.
Optionally, the blockchain network is configured to cast the non-homogeneous certification NFT of the universal base module CBB according to the attribute information of the universal base module CBB by using the intelligent contracts deployed on the blockchain.
Optionally, the predictor system is configured to periodically write CBB data (such as a universal base module) under the chain to the storage unit of the blockchain, so that the asset dynamic benefit of the CBB can be calculated by calling a benefit calculation function in the intelligent contract and a CBB dynamic benefit receipt according to a user request. The predictors can issue demand reservation in a broadcast data form, and the realization method of request response is that the predictors are actively requested by a user, and after the predictors interact with the resources under the chain to obtain a result, the predictors send a transaction, and the result is asynchronously returned.
Optionally, the system is a presentation and traceability system, and the implementation method is that the data is statically stored in a predictor and is read through contract function call. The advantage is that the realization is simple, and the user need hardly pay the commission. The NFT of the CBB has the computational capability, can self calculate dynamic attributes such as income, and when a user performs display, transaction and transfer of the NFT of the CBB on a chain, the current income situation of the CBB needs to be obtained, the actual total value of the CBB is obtained for display, and meanwhile, the record of the full life cycle of the CBB is displayed.
As an alternative example, based on the NFT and the system for internal CBB resource sharing of the predictor, the method for implementing resource sharing includes the following steps:
Step S31, block chain account registration.
Optionally, the internal CBB resource body registers for blockchain accounts, the internal CBB resource body including: creator and user of CBB resource, demand publisher, demand responder. The internal CBB resource block chain predictor registers a block chain account. Each registered account generates a blockchain identity, holds a CBB points wallet, and points (e.g., evaluation points) can be periodically redeemed. Here, the score is SGC (SUNGROW CREDIT), 1 sgc=1 man hour, which is a record certificate, tamper-proof and traceable, and can be circulated in a company, and has financial properties.
Step S32, for the existing CBB resource: the blockchain predictor can obtain the abstract information of the existing CBB resources in the enterprise in a trusted way, and can verify the abstract information in the blockchain system, and the abstract information is automatically bound with an account of a creator through an intelligent contract to generate a non-homogeneous verification NFT with unique digital asset identity. The scenario can be used in combination with the existing internal CBB resource management system in the enterprise, so that the aim of compatibility is fulfilled.
Optionally, the summary information includes: CBB resource encoding, creator number, creation time, specification, application scope.
Optionally, the CBB related information includes: location of the technology tree, source of project, creator, description, example, code, drawing, PCB, etc.
Step S33, for newly built CBB resources: the internal CBB resource creator (such as a target account) converts the digital content of the work of the internal CBB resource (such as a resource to be shared) into a binary file, encrypts and generates the on-chain non-homogeneous certificate NFT, realizes the creation of the NFT work, has unique identity Tokenid on the chain, and generates the digital copyright.
Optionally, the digital rights include, in addition to the above key information: CBB work name, work version number, holding user, holding time, holding value, streaming history, and the like.
Optionally, the score (e.g., evaluation score) of the newly created CBB is converted into the evaluation score according to a preset scoring rule.
FIG. 2 is a block data structure of an estimated point, as shown in FIG. 2, where the estimated point needs to be accumulated to a certain amount to be redeemed, so that the transaction of point redemption occurs less frequently, wherein the field index, capacity 4, is noted as block sequence number; a field SGCCost, capacity 4, remarked as evaluation score; a field timeStamp, capacity 4, remarked as time stamp; a field hash, capacity 32, remarked as the current block hash value; a field preHash, capacity 32, remarked as the previous chunk hash value; a field TRANSHASH, capacity 32, remarked as hash value before and after transaction.
Compared with the traditional block structure, the block data structure for evaluating the points only reserves some necessary fields, greatly reduces complexity, and simultaneously adds new fields for meeting the actual business requirements of transactions. The adjustment of the block structure reduces the load capacity in the network information transmission process, shortens the information transmission time, and avoids the problem of data loss caused by large transmission information quantity. On the other hand, the method indirectly accelerates the processing speed of the transaction, reduces the waiting time of the user and improves the experience of the user. From the aspect of storage performance, the size of the storage space occupied by each block of the system can be calculated to be about 0.1kb, and the hard disk storage space occupied by data generated by the system is less than 1GB on the assumption that the transaction times of one year are about 1000 ten thousand times, so that the storage requirement is met.
Step S34, for the non-created CBB resource: the CBB demand publisher can call the contract method to complete purchase and cancel in advance, the realization method is that the predictor broadcasts data in the form of sending transaction, and the user synchronizes the Ethernet state, namely receives the data. The demand respondents may issue prices based on demand, invoke queries through contracts, and confirm demand on schedule. The realization method is that a user actively requests a prophetic machine, and after the prophetic machine interacts with an under-chain resource to obtain a result, the prophetic machine sends a transaction and asynchronously returns the result.
Alternatively, the functions may be implemented by invoking an EIP-721 (NFT token standard) contract; the subscriber and the responder interact with the contract to complete the corresponding operations respectively, update the price, service rate and activate, so that the function of overdue subscription only allows the operation of the Ethernet account of the responder. Through balance account offer provided by contract, subscription payment is fully decoupled from subscription validation, and subscribers have higher degrees of freedom in purchasing and early cancellation operations. Since the casting, transfer and destruction of NFT are all done by sending transactions to ethernet, the state changes of the subscription are permanently recorded on the chain and are retrospectively open.
Step S35, the internal CBB resource is circulated: the CBB user can download digital content, circulation information, current owner information and the like corresponding to the NFT, conduct transaction, and acquire the CBB use right. And the ownership and the blockchain are synchronized in real time to realize the binding of the CBB digital content and the user after circulation.
Step S36, searching, displaying and tracing the internal resources: the NFT end device can provide rights and certificates, including transfer and transaction information, for the queried NFT digital content. When the user downloads, the digital watermark containing the download user name and the download time information is added, and a blanket is made for tracing. The block chain on the CBB file loading digital watermark is divided into a CBB right determining part and a copyright protecting part.
FIG. 3 is a schematic diagram of CBB validation and CBB maintenance according to an embodiment of the present invention, as shown in FIG. 3, the CBB validation comprising: generating a feature map by utilizing the feature invariant of data robustness, and performing exclusive OR operation on the feature map and watermark information to construct a digital watermark; the digital watermark registration is completed locally, the file address obtained by registration and the file hash information are bound, and the intelligent contract 1 uplink certificate is called; the copyright protection right comprises: acquiring an on-chain credential of the CBB data by invoking intelligent contract 2; downloading the digital watermark from the local according to the file address on the chain voucher; and detecting the watermark by using the extracted digital watermark to acquire copyright information and combining the on-chain certificate to complete copyright maintenance.
Step S37, transferring and taking off the internal CBB resources: NFT asset digital rights to off-office staff (e.g., a cancellation of a preset account) may be transferred to a working cross-connect; the NFT support with expired or technology eliminated is put down, so that a user can verify different digital contents on a display and traceability system, delete the existing contents and download new NFT digital contents; and carrying out related operation on the digital content on the display and traceability system, and correspondingly updating and adjusting related operation processes and ownership under the management of the system.
As an alternative example, the interface of the CBB resource sharing system with the blockchain includes the following: "user blockchain account registration"; "SGC integral Token smart contract deploying CBB"; "NFT smart contracts to deploy CBB"; "SGC assignment"; "SGC transfer"; "SGC query"; "SGC recovery"; "CBBNFT production of works"; "CBBNFT work ownership transfer"; "CBBNFT query specifies the ownership of tokenID work"; and "CBBNFT query specifies ownership transfer information for tokenID work.
According to the embodiment of the invention, when a user performs display, demand release, response, transaction and transfer of the internal resource NFT (such as non-homogeneous universal license of a universal basic module) on a chain, the current income situation of the internal resource NFT is required to be obtained, the actual total value of the internal resource NFT is obtained for display, and the enthusiasm for creating the user value can be mobilized; the intelligent contract is calculated by combining the blockchain predictor with the blockchain, so that the requirement of sharing the internal resources of enterprises is met, meanwhile, the automatic operation mode of the intelligent contract reduces human intervention, improves the circulation efficiency, ensures that the mobility of the internal resources is higher, and improves the utilization rate of the internal resources; the credibility of the data under the chain uploaded to the block chain system is greatly improved based on the credibility uploading method of the resource sharing data in the block chain predictor enterprise, so that the credibility of the data under the chain is effectively realized; after the enterprise sharing range is enlarged, the downloaded internal resources are held by digital watermarking, so that the safety of enterprise internal resource sharing is ensured; the problems of large CBB resource sharing resistance, incomplete display and inactive circulation caused by division right access among departments or division independent deployment among departments can be solved; and the released new requirements can be quickly and efficiently responded in the enterprise, the display of the internal shared resources is increased, the information island is avoided, and the circulation of the shared resources is accelerated.
According to the embodiment of the present invention, there is also provided an embodiment of a resource sharing device, and it should be noted that the resource sharing device may be used to execute the resource sharing method in the embodiment of the present invention, and the resource sharing method in the embodiment of the present invention may be executed in the resource sharing device.
Fig. 4 is a schematic diagram of a resource sharing device according to an embodiment of the present invention, as shown in fig. 4, the device may include: an obtaining module 42, configured to obtain a resource block to be shared of a resource to be shared, where the resource to be shared is a universal base module that is reused in different software systems; a determining module 44, configured to determine a target account for providing a resource to be shared, where the target account is a unique identity identifier corresponding to the resource to be shared, which is registered in advance in the blockchain network; a binding module 46, configured to bind the target account and the resource block to be shared, and obtain a non-homogeneous pass of the resource to be shared, where the non-homogeneous pass is a digital asset credential that the resource to be shared has uniqueness in the blockchain network; the uplink module 48 is configured to upload the non-homogeneous certificate to the storage unit of the blockchain network.
It should be noted that, the acquiring module 42 in this embodiment may be used to perform step S102 in the embodiment of the present application, the determining module 44 in this embodiment may be used to perform step S104 in the embodiment of the present application, the binding module 46 in this embodiment may be used to perform step S106 in the embodiment of the present application, and the uplink module 48 in this embodiment may be used to perform step S108 in the embodiment of the present application. The above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments.
In the embodiment of the invention, a resource block to be shared of the resource to be shared is obtained, wherein the resource to be shared is a reusable universal basic module; determining a target account for providing the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; the non-homogeneous pass is uploaded to the storage unit of the blockchain network, so that the resources to be shared can be converted into the non-homogeneous pass and then uploaded to the blockchain network for sharing, the technical effect of avoiding the shared resources from being tampered is achieved, and the technical problem that the current shared resources adopt a centralized storage management method and have hidden danger of being tampered or attacked is solved.
As an alternative embodiment, the obtaining module includes: the selection unit is used for selecting resources to be shared from a plurality of preset shared resources in a preset resource library; the device comprises an acquisition unit, a storage unit and a storage unit, wherein the acquisition unit is used for acquiring abstract information of resources to be shared, and the abstract information comprises a resource identifier for reading the resources to be shared from a preset resource library; and the generating unit is used for generating the resource blocks to be shared based on the abstract information.
As an alternative embodiment, the obtaining module includes: the first receiving unit is used for receiving the resources to be shared uploaded by the target account; the first adding unit is used for adding the target identity information of the target account to the resource to be shared to obtain a first shared resource; and the first encryption unit is used for encrypting the first shared resource to obtain a resource block to be shared.
As an alternative embodiment, the obtaining module includes: the second receiving unit is used for receiving a resource task broadcasted by the resource demand account in the blockchain network, wherein the resource task is used for indicating that the resource demand account requests to acquire a resource block to be shared; the second receiving unit is used for receiving the resources to be shared, which are uploaded by the target account for responding to the resource task; the second adding unit is used for adding the requirement identity information of the resource requirement account to the resource to be shared to obtain a second shared resource; and the second encryption unit is used for encrypting the second shared resource to obtain a resource block to be shared.
As an alternative embodiment, the apparatus further comprises: the evaluation sub-module is used for evaluating the resources to be shared by utilizing a preset scoring rule before uploading the non-homogeneous pass to a storage unit of the blockchain network to obtain an evaluation score, wherein the evaluation score represents the mortgage number of the mortgage virtual asset required under the condition that a subscription account in the blockchain network requests subscription of the resources to be shared; and the adding submodule is used for adding evaluation points in the non-homogeneous pass.
As an alternative embodiment, the apparatus further comprises: the receiving sub-module is used for receiving a subscription request of a subscription account in the blockchain network after uploading the non-homogeneous pass to a storage unit of the blockchain network, wherein the subscription request is used for requesting subscription authority of a target pass in a plurality of non-homogeneous passes stored in the storage unit; the detection submodule is used for detecting whether the subscription request passes the verification or not based on the blockchain network; the allocation submodule is used for allocating subscription rights for the subscription account under the condition that the subscription request passes verification, wherein the subscription rights are used for indicating that the subscription account is allowed to download a target pass from the blockchain network; and the watermark sub-module is used for adding a subscription digital watermark for the target pass under the condition that the subscription account downloads the target pass according to the subscription authority, wherein the subscription digital watermark comprises the subscription account and the download time of the subscription account to the target pass.
As an alternative embodiment, the detection submodule includes: the first detection subunit is used for detecting subscription signaling carried in the subscription request, wherein the subscription signaling is a virtual resource mortgage of subscription authority of a subscription account request target certificate; a second detection subunit, configured to detect, in a plurality of nodes of the blockchain network, whether subscription signaling is trusted, where each node is configured to record the number of assets that have virtual resources in a plurality of preset accounts, where the preset accounts include subscription accounts, and determine that the subscription signaling is trusted when the number of mortgages for the virtual resources in the subscription accounts is not greater than the number of assets that have virtual resources in the subscription accounts; the broadcasting subunit is used for broadcasting a subscription bill to the blockchain network under the condition that subscription signaling is credible, wherein the subscription bill is used for informing a plurality of nodes of the blockchain network to deduct the mortgage number from the asset number of a subscription account, increasing the mortgage number from the asset number of a target account, and the preset account further comprises the target account; and the determining subunit is used for determining that the subscription request passes the verification under the condition that the blockchain network receives the subscription bill.
Embodiments of the present invention may provide a computer terminal, which may be any one of a group of computer terminals. Alternatively, in the present embodiment, the above-described computer terminal may be replaced with a terminal device such as a mobile terminal.
Alternatively, in this embodiment, the above-mentioned computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
In this embodiment, the above-mentioned computer terminal may execute the program code of the following steps in the resource sharing method: acquiring a resource block to be shared of a resource to be shared, wherein the resource to be shared is a universal basic module which is repeatedly used in different software systems; determining a target account for providing the resource to be shared, wherein the target account is a unique identity which is registered in the blockchain network in advance and corresponds to the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; uploading the non-homogeneous certificate to a storage unit of the blockchain network.
Alternatively, fig. 5 is a block diagram of a computer terminal according to an embodiment of the present invention. As shown in fig. 5, the computer terminal 50 may include: one or more (only one is shown) processors 52, and memory 54.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the resource sharing method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the resource sharing method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, which may be connected to the terminal 50 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: acquiring a resource block to be shared of a resource to be shared, wherein the resource to be shared is a universal basic module which is repeatedly used in different software systems; determining a target account for providing the resource to be shared, wherein the target account is a unique identity which is registered in the blockchain network in advance and corresponds to the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; uploading the non-homogeneous certificate to a storage unit of the blockchain network.
Optionally, the above processor may further execute program code for: selecting a resource to be shared from a plurality of preset shared resources in a preset resource library; acquiring abstract information of the resources to be shared, wherein the abstract information comprises a resource identifier for reading the resources to be shared from a preset resource library; and generating the resource blocks to be shared based on the abstract information.
Optionally, the above processor may further execute program code for: receiving a resource to be shared uploaded by a target account; adding target identity information of a target account into a resource to be shared to obtain a first shared resource; and encrypting the first shared resource to obtain a resource block to be shared.
Optionally, the above processor may further execute program code for: receiving a resource task broadcasted by a resource demand account in a blockchain network, wherein the resource task is used for indicating that the resource demand account requests to acquire a resource block to be shared; receiving resources to be shared uploaded by a target account for responding to a resource task; the demand identity information of the resource demand account is added to the resource to be shared, so that a second shared resource is obtained; and encrypting the second shared resource to obtain a resource block to be shared.
Optionally, the above processor may further execute program code for: evaluating the resources to be shared by using a preset scoring rule to obtain evaluation points, wherein the evaluation points represent the mortgage number of the needed mortgage virtual asset under the condition that subscription accounts in the blockchain network request subscription of the resources to be shared; evaluation points are added to the non-homogeneous pass.
Optionally, the above processor may further execute program code for: receiving a subscription request of a subscription account in a blockchain network, wherein the subscription request is used for requesting subscription rights of a target pass in a plurality of heterogeneous passes stored in a storage unit; detecting whether the subscription request passes the verification based on the blockchain network; under the condition that the subscription request passes the verification, the subscription authority is allocated to the subscription account, wherein the subscription authority is used for indicating that the subscription account is allowed to download the target pass from the blockchain network; under the condition that the subscription account downloads the target pass according to the subscription authority, adding a subscription digital watermark for the target pass, wherein the subscription digital watermark comprises the subscription account and the downloading time of the subscription account to the target pass.
Optionally, the above processor may further execute program code for: detecting subscription signaling carried in a subscription request, wherein the subscription signaling is a virtual resource mortgage by subscription authority of a subscription account request target license; detecting whether subscription signaling is credible or not in a plurality of nodes of a blockchain network, wherein each node is used for recording the asset quantity of virtual resources of a plurality of preset accounts, each preset account comprises a subscription account, and determining that the subscription signaling is credible under the condition that the mortgage quantity of the virtual resources of the subscription account is not more than the asset quantity of the virtual resources of the subscription account; broadcasting a subscription bill to the blockchain network under the condition that subscription signaling is credible, wherein the subscription bill is used for informing a plurality of nodes of the blockchain network to deduct the mortgage number from the asset number of a subscription account, increasing the mortgage number from the asset number of a target account, and the preset account further comprises the target account; and under the condition that the blockchain network receives the subscription bill, determining that the subscription request passes the verification.
The embodiment of the invention provides a resource sharing scheme. Obtaining a resource block to be shared of a resource to be shared, wherein the resource to be shared is a reusable universal basic module; determining a target account for providing the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; the non-homogeneous pass is uploaded to the storage unit of the blockchain network, so that the resources to be shared can be converted into the non-homogeneous pass and then uploaded to the blockchain network for sharing, the technical effect of avoiding the shared resources from being tampered is achieved, and the technical problem that the current shared resources adopt a centralized storage management method and have hidden danger of being tampered or attacked is solved.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is only illustrative, and the computer terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile internet device (Mobile INTERNET DEVICES, MID), a PAD, etc. Fig. 5 is not limited to the structure of the electronic device. For example, the computer terminal 50 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute on hardware associated with the terminal device, the program may be stored in a nonvolatile storage medium, and the nonvolatile storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
Embodiments of the present invention also provide a nonvolatile storage medium. Alternatively, in the present embodiment, the above-described nonvolatile storage medium may be used to store the program code executed by the resource sharing method provided in the above-described embodiment.
Alternatively, in this embodiment, the above-mentioned nonvolatile storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: acquiring a resource block to be shared of a resource to be shared, wherein the resource to be shared is a universal basic module which is repeatedly used in different software systems; determining a target account for providing the resource to be shared, wherein the target account is a unique identity which is registered in the blockchain network in advance and corresponds to the resource to be shared; binding a target account with a resource block to be shared to obtain a non-homogeneous universal certificate of the resource to be shared, wherein the target account is a unique identity registered in a blockchain network in advance, and the non-homogeneous universal certificate is a digital asset certificate of the resource to be shared with uniqueness in the blockchain network; uploading the non-homogeneous certificate to a storage unit of the blockchain network.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: selecting a resource to be shared from a plurality of preset shared resources in a preset resource library; acquiring abstract information of the resources to be shared, wherein the abstract information comprises a resource identifier for reading the resources to be shared from a preset resource library; and generating the resource blocks to be shared based on the abstract information.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: receiving a resource to be shared uploaded by a target account; adding target identity information of a target account into a resource to be shared to obtain a first shared resource; and encrypting the first shared resource to obtain a resource block to be shared.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: receiving a resource task broadcasted by a resource demand account in a blockchain network, wherein the resource task is used for indicating that the resource demand account requests to acquire a resource block to be shared; receiving resources to be shared uploaded by a target account for responding to a resource task; the demand identity information of the resource demand account is added to the resource to be shared, so that a second shared resource is obtained; and encrypting the second shared resource to obtain a resource block to be shared.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: evaluating the resources to be shared by using a preset scoring rule to obtain evaluation points, wherein the evaluation points represent the mortgage number of the needed mortgage virtual asset under the condition that subscription accounts in the blockchain network request subscription of the resources to be shared; evaluation points are added to the non-homogeneous pass.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: receiving a subscription request of a subscription account in a blockchain network, wherein the subscription request is used for requesting subscription rights of a target pass in a plurality of heterogeneous passes stored in a storage unit; detecting whether the subscription request passes the verification based on the blockchain network; under the condition that the subscription request passes the verification, the subscription authority is allocated to the subscription account, wherein the subscription authority is used for indicating that the subscription account is allowed to download the target pass from the blockchain network; under the condition that the subscription account downloads the target pass according to the subscription authority, adding a subscription digital watermark for the target pass, wherein the subscription digital watermark comprises the subscription account and the downloading time of the subscription account to the target pass.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: detecting subscription signaling carried in a subscription request, wherein the subscription signaling is a virtual resource mortgage by subscription authority of a subscription account request target license; detecting whether subscription signaling is credible or not in a plurality of nodes of a blockchain network, wherein each node is used for recording the asset quantity of virtual resources of a plurality of preset accounts, each preset account comprises a subscription account, and determining that the subscription signaling is credible under the condition that the mortgage quantity of the virtual resources of the subscription account is not more than the asset quantity of the virtual resources of the subscription account; broadcasting a subscription bill to the blockchain network under the condition that subscription signaling is credible, wherein the subscription bill is used for informing a plurality of nodes of the blockchain network to deduct the mortgage number from the asset number of a subscription account, increasing the mortgage number from the asset number of a target account, and the preset account further comprises the target account; and under the condition that the blockchain network receives the subscription bill, determining that the subscription request passes the verification.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a non-volatile storage medium, including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.