IP content library service processing method, device and equipment

Through the IP content library authorization management system based on the blockchain, the master public key and decryption strategy are used to ensure that the IP user decrypts the data within the authorized scope, which solves the problem of high computing performance and inability to limit the attributes of the user in the IP confirmation method in the existing technology. problem, achieving efficient protection of the rights and interests of IP owners and data privacy.

CN114465790BActive Publication Date: 2024-08-27ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210078467.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-08-27
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

The existing IP rights confirmation method has high encryption and decryption calculation performance among multiple IP users, cannot effectively protect the rights and interests of IP owners, and cannot specifically restrict the attributes of users, resulting in damage to rights and interests.

Method used

Adopting a blockchain-based IP content library authorization management system, the IP owner uses the main public key to encrypt the data and uploads it to the chain. The authoritative organization generates the decryption strategy and sub-private key to ensure that the IP user decrypts the data within the authorization scope and realizes data security. Privacy and legality.

Benefits of technology

It improves the protection of IP owners' rights and interests, reduces time costs, ensures the legality and validity of IP users' access to content within the authorized scope, and avoids privacy issues and computing performance losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114465790B
    Figure CN114465790B
Patent Text Reader

Abstract

The embodiments of this specification disclose an IP content library business processing method, device and equipment, which are applied to the IP content library authorization management system based on blockchain, and the IP content library authorization management system includes IP owners, authoritative institutions and IP users. The scheme includes: the IP owner uses the master public key to encrypt the ciphertext according to the IP content source data and the decryption strategy, and puts the ciphertext on the chain, and the master private key corresponding to the master public key is held by the authoritative institution; the IP owner determines the authorization information for one or more IP users; the authoritative institution generates the attributes required for decryption indicated by the decryption strategy for the IP user based on the authorization information; the authoritative institution generates the sub-private key of the master private key for the IP user based on the master private key and the required attributes; the IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the IP content library source data, and obtains the corresponding IP content based on the IP content library source data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to an IP content library service processing method, device and equipment. Background Art

[0002] Intellectual Property (IP) is an intangible property right, also known as the right to intellectual achievements. It refers to the results obtained through intellectual creative labor, and is the exclusive right enjoyed by intellectual workers in accordance with the law. In the Internet era, the storage and application of data have experienced a blowout development. When the use and transmission of data involves the IP content of the IP owner (such as images, music, articles, etc.), because the IP content consumes a lot of costs for the production staff and the company during the production process, and due to the influence of the brand, its use and transmission process will also generate value. Therefore, in order to avoid the problem that IP users steal or illegally download the IP content held by the IP owner, causing damage to the rights and interests of the IP owner, the authorization technology of IP content is an important link in safeguarding intellectual property rights.

[0003] IP rights confirmation technology requires the licensee (as the IP user described below) to reach an IP authorization agreement with the IP owner, after which the IP owner needs to transfer the IP content library to the licensee, who then designs and uses it. In the current IP rights confirmation method, the IP owner needs to first obtain the public key of the IP user to be transmitted, and then encrypt it for each IP user separately. This not only generates a large amount of encryption and decryption calculations, but also places high demands on the system's computing performance, and makes it impossible for the IP owner to select a user with corresponding attributes from multiple IP users for authorization.

[0004] Therefore, there is a need for an IP content library management method that is efficient and effectively protects the rights and interests of IP owners. Summary of the invention

[0005] One or more embodiments of the present specification provide an IP content library business processing method, device and equipment to solve the following technical problems: For IP gallery content library business processing, an efficient management method that can guarantee the rights and interests of IP owners is required.

[0006] To solve the above technical problems, one or more embodiments of this specification are implemented as follows:

[0007] One or more embodiments of this specification provide an IP content library business processing method, which is applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system includes an IP owner, an authority, and an IP user, including:

[0008] The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0009] The IP owner determines authorization information for one or more IP users;

[0010] The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user;

[0011] The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0012] The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content based on the source data of the IP content library.

[0013] One or more embodiments of this specification provide an IP content library business processing device, which is applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system includes an IP owner, an authority, and an IP user, including:

[0014] Encryption module: the IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0015] A determination module, wherein the IP owner determines authorization information for one or more IP users;

[0016] A first generating module, wherein the authority generates, for the IP user, the attributes required for decryption as indicated by the decryption policy according to the authorization information;

[0017] The second generation module, the authoritative institution generates a sub-private key of the master private key for the IP user according to the master private key and the attributes possessed;

[0018] Decryption module, the IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the IP content library source data, and obtains the corresponding IP content based on the IP content library source data.

[0019] One or more embodiments of this specification provide a device that is applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system includes an IP owner, an authority, and an IP user, including:

[0020] at least one processor; and,

[0021] a memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0023] The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0024] The IP owner determines authorization information for one or more IP users;

[0025] The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user;

[0026] The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0027] The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content based on the source data of the IP content library.

[0028] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:

[0029] The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0030] The IP owner determines authorization information for one or more IP users;

[0031] The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user;

[0032] The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0033] The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content based on the source data of the IP content library.

[0034] At least one of the above technical solutions adopted in one or more embodiments of this specification can achieve the following beneficial effects:

[0035] By encrypting the IP content source data and the decryption strategy to obtain the ciphertext, the use of the IP user is restricted through the decryption strategy from the perspective of the IP owner. This allows the IP user to selectively authorize the IP, avoiding the privacy issues that exist in resource sharing based on blockchain, ensuring the rights and interests of the IP user, and avoiding the increase in time costs caused by the review of IP users in sequence. Based on the authorization information, the authority generates the attributes required for decryption indicated by the decryption policy for the IP user. By generating the attributes of the IP user through the authorization information, it can ensure that the IP user obtains the corresponding content within the scope of the authorization, so as to ensure the legality and validity of the IP user's acquisition of the corresponding IP content. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0037] Figure 1 A flowchart of an IP content library service processing method provided for one or more embodiments of this specification;

[0038] Figure 2 A schematic diagram of properties required for an IP content library decryption strategy in an application scenario provided for one or more embodiments of this specification;

[0039] Figure 3 A schematic diagram of account registration in an application scenario provided for one or more embodiments of this specification;

[0040] Figure 4 A schematic diagram of authorization and gallery distribution in an application scenario provided for one or more embodiments of this specification;

[0041] Figure 5 A schematic diagram of the structure of an IP content library service processing device provided by one or more embodiments of this specification;

[0042] Figure 6 A schematic diagram of the structure of an IP content library service processing device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0043] The embodiments of this specification provide an IP content library service processing method, device and equipment.

[0044] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0045] Figure 1 A flowchart of an IP content business processing method provided for one or more embodiments of this specification. The method is applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system is composed of IP owners, authoritative institutions, and IP users, and can be applied in different business fields, such as: joint sales in the e-commerce business field, engineering drawings in the engineering construction field, character skins in the game business field, etc., all of which involve the authorization of intellectual property rights, so the process can be executed by computing devices in the corresponding fields.

[0046] In one or more embodiments of this specification, blockchain technology is applied, involving multiple roles such as IP owners, authoritative institutions, and IP users. In the process of IP authorization, the IP owner grants the brand it owns or represents to the IP user in the form of a contract, so that the IP user can perform corresponding business processing based on the contract provisions.

[0047] In one possible implementation, IP owners share resources based on blockchain. However, in actual applications, IP owners cannot make their IP content libraries public because their IP content libraries involve the image information of their companies or information related to intellectual property rights. After the plain text of the IP content library is stored on the blockchain, although resources can be shared based on the blockchain, the data can be viewed by all IP users at this time, and there is no privacy, and the rights of the IP owner cannot be guaranteed. If the IP owner encrypts the IP content library with a public key and then stores it on the chain, data privacy protection can be achieved. However, in this process, for example, when an IP owner needs to transmit his IP content library source data to N IP users, the IP data owner needs to first save the public keys of the N IP users, and then use the N public keys to encrypt them separately, forming N different ciphertexts and sending them to N different IP users. Therefore, from the perspective of practical applications, the overhead and storage overhead generated by the encryption calculation process of the traditional method are relatively high, and the encryption efficiency is also low. And the user needs to determine the object to be transmitted in advance, so the encryption method is not targeted, and it cannot meet the IP owner in real applications. It is necessary to restrict the attributes of the IP user to ensure the copyright rights of the IP owner. This solution is also committed to solving the impact of the above problems.

[0048] Figure 1 The process in may include the following steps:

[0049] S101: The IP owner uses the master public key to encrypt the IP content source data and the decryption strategy to obtain a ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative organization.

[0050] The master public key and the master private key are generated by the authority, and the master public key is made public on the blockchain, while the master private key is kept by the authority itself and cannot be leaked. Because the IP owner, IP user and authority belong to different nodes in the blockchain. Therefore, the IP owner can obtain the master public key in the blockchain, and then use the master public key to encrypt the IP content source data and decryption strategy, obtain the ciphertext and upload it to the blockchain for storage. Among them, it should be noted that the decryption strategy restricts the attributes of the IP user. For example, an IP owner restricts the IP user of the IP gallery that can be jointly sold to the e-commerce field, the clothing industry, and the customer group served is children, etc. At the same time, the time range of the IP user can be restricted, which enables the IP owner to refine the IP user who can obtain the IP content source data in the blockchain based on the decryption strategy.

[0051] S102: The IP owner determines authorization information for one or more IP users.

[0052] After the IP owner monitors the authorization application transaction on the blockchain, it will review the authorization application of one or more IP users according to the actual situation. After approval, it will obtain the authorization information of one or more users. It can be understood that the authorization information contains the account ID of the IP owner and the IP user, the identifier of the designated IP that needs to be authorized, and the start and end time of the authorization.

[0053] S103: The authority generates, based on the authorization information, the attributes required for decryption as indicated by the decryption policy for the IP user.

[0054] Based on the authorization information determined by the IP owner, the authority structure uses the identifier of the designated IP in the authorization information, the time when the authorization takes effect, and the time when the authorization ends as the attributes required for the IP user to decrypt, so that the IP user can generate a decryption policy. By generating attributes for the IP user based on the authorization information, the IP content source data of the IP owner can be downloaded and viewed by the IP user within the authorized effective time range. If the attributes no longer match the decryption policy after the effective time range, the decryption policy will become invalid and the IP user cannot download the IP content source data of the IP owner again, thereby ensuring the effective rights and interests of the IP owner.

[0055] S104: The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the required attributes.

[0056] The authoritative organization can generate a sub-private key of the master private key for the IP user based on the master private key and the attributes that the IP user needs to have as determined in the above steps, so that the IP user can obtain part of the IP content library source data that the IP owner allows it to obtain based on the sub-private key.

[0057] S105: The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content according to the source data of the IP content library.

[0058] The IP user obtains the ciphertext obtained from the chain after the IP owner uses the public key to encrypt the IP content source data and decryption strategy. The ciphertext is decrypted by the sub-private key of the master private key generated by the authority for the IP user. If the attributes possessed by the sub-private key of the IP user match the decryption strategy corresponding to the ciphertext in the IP owner, then the IP content library source data can be obtained. The IP content library source data takes the gallery as an example, which can be an IP gallery link or an IP gallery file. For ease of understanding, the following explanations are all based on the gallery as an example. Therefore, after obtaining the IP content library source data of the gallery, you can link and download to obtain the corresponding IP content.

[0059] In one or more embodiments of this specification, the ciphertext is obtained by encrypting the IP content source data and the decryption policy, and the use of the IP user is restricted from the perspective of the IP owner through the decryption policy. This allows the IP user to selectively authorize the IP, avoiding the privacy issues that exist in resource sharing based on blockchain, ensuring the rights and interests of the IP user, and avoiding the increase in time costs caused by the review of the IP user in sequence. The authority generates the attributes required for decryption indicated by the decryption policy for the IP user based on the authorization information, and generates the attributes of the IP user through the authorization information, which can ensure that the IP user obtains the corresponding content within the scope of the authorization, so as to ensure the legality and validity of the IP user's acquisition of the corresponding IP content.

[0060] based on Figure 1 This specification also provides some specific implementation plans and extension plans of the method, which will be described below.

[0061] In one or more embodiments of the present specification, in order to realize the sharing of the IP content library, the ciphertext is put on the chain, specifically including: storing the ciphertext in a preset smart contract in the blockchain, so that the IP user or the authoritative agency can call the interface provided by the preset smart contract based on the account ID to trigger the contract and obtain the ciphertext.

[0062] In one or more embodiments of the present specification, in order to clarify the authorized use time, copyright fees to be paid, authorized gallery IP identification and other contents of the IP user, the IP user needs to determine the authorization information for one or more IP users.

[0063] Specifically, traditional IP authorization transactions are subject to geographical, time and industry restrictions, the operation process is very cumbersome, and there is a lack of effective credit mechanism. It is difficult for the two parties of IP authorization transactions to connect in a timely and effective manner. However, through authorization based on blockchain, the time and space restrictions of the two parties to the transaction are broken. Whenever the IP owner obtains the authorization application initiated by the IP user on the blockchain, it will respond to the authorization application of the IP user and approve the authorization application according to the actual situation. If the IP owner agrees to the authorization application, an authorization order will be initiated on the chain so that the IP user can obtain from the authority the sub-private key corresponding to the authorization information in the authorization order and the basic attributes of the IP user. Among them, it should be noted that the authorization order determines the authorization information for the IP user and the source data of the IP content library. It can be understood that in order to ensure the validity and reliability of the transaction, the authorization information contains the identification of the IP content that needs to be authorized, the time when the IP authorization takes effect, and the time when the IP authorization takes effect.

[0064] Furthermore, before the IP owner responds to the IP user's authorization application, the method also includes: the IP user calls an interface adapted to the preset smart contract based on its own on-chain ID. The IP owner or an authority initiates an authorization application for the source data of the IP content library, so that after the IP owner agrees to the authorization, an authorization order corresponding to the authorization application is generated in the preset smart contract.

[0065] Furthermore, the authority generates a master public key and a master private key. The master public key is uploaded to the blockchain for public disclosure, while the master private key is kept by the regulatory agency and cannot be leaked. Specifically, in order to ensure the reliability of the master private key, a secure multi-party calculation method is adopted, and multiple regulatory agencies participate in the calculation to obtain the master private key at the same time.

[0066] Furthermore, before the IP owner determines the authorization information for one or more of the IP users, in order to ensure that the identities of both parties to the transaction are reliable, data resources can be shared based on the blockchain to obtain data on the blockchain. The method also includes: the IP owner and the IP user respectively register their own blockchain accounts based on the registration information they submit and their own public keys to identify themselves and access data on the chain.

[0067] Specifically, the IP owner registers his / her identity on the blockchain. During registration, he / she can provide the IP owner's merchant authentication information and corporate information to the authority for enhanced review of the account holder and to understand the legitimacy of the source of funds. After registration is completed, the IP owner's blockchain account is returned to obtain the master public key from the blockchain.

[0068] Similar to the IP owner, the IP registrant also provides the IP user's merchant authentication information and corporate information to the authority when registering the identity, so as to review the account holder, and return the account ID on the chain after the registration is completed. In addition, the authority responds to the registration event of the IP user and obtains the registration information related to the IP user. It reviews the certification materials provided by the IP user during the registration process, and assigns basic attributes to the IP user after the review is passed.

[0069] It should be noted that the basic attributes show the sum of the characteristics of IP users, for example: the customer groups that merchants need to target may be the elderly, young and middle-aged people, infants, students, etc.; the service categories provided by IP users are: services, catering, clothing, tourism, etc.; the scale of IP users is: small enterprises, medium-sized enterprises, large enterprises; the IP content library that IP users need to obtain is: national trends, luxury goods, animation, etc. These different customer groups, different service categories, and different needs that can distinguish the characteristics of IP users can be generated as basic attributes.

[0070] In one or more embodiments of this specification, since the basic attributes generated during the registration phase can only display basic features such as the category of IP usage, and cannot limit information such as the necessary time range in IP authorization, after obtaining the authorization information, the authoritative agency generates the required attributes based on the authorization information and can add the authorization information to the attributes. The required attributes reflect the corresponding authorization and the effective time range of the authorization. The decryption strategy indicates that only IP users who have the attributes and have passed the corresponding verification can successfully decrypt the ciphertext.

[0071] Because the encryption of the ciphertext is based on the master public key, and based on asymmetric confidentiality, it is known that the master private key held by the authority can decrypt the ciphertext, so the decryption policy also indicates that the authority can successfully decrypt the ciphertext. Figure 2 The following is a schematic diagram of the properties required for the IP content library decryption strategy in an application scenario provided by an embodiment of this specification. The decryption strategy stipulates that the authority can decrypt the ciphertext generated by the IP owner, or the IP user meets the requirements of having IP authorization, and the authorization start time is less than the current time, and the authorization end time is greater than the current time. Only when these three conditions are met at the same time, can the decryption strategy be met to achieve decryption.

[0072] For example: After the authorization application of merchant A is approved, the authority determines the attributes that merchant A must have based on the authorization information: authorized IP identification, the authorization starts at 7 o'clock, and the authorization ends at 8 o'clock. Then, when merchant A decrypts the ciphertext containing the decryption policy at 6:30 based on the attribute and the sub-private key encrypted by the master private key, because merchant A meets the IP authorization with IP identification, and the current time 6:30 is after the authorization start time and before the authorization end time, that is, it also meets the authorization start time less than the current time and the authorization end time greater than the current time, so merchant A can decrypt and obtain the required gallery information. If merchant A decrypts the ciphertext containing the decryption policy based on the attribute and the sub-private key encrypted by the master private key at 9 o'clock, at this time, merchant A only meets the decryption policy with IP authorization and the authorization start time is less than the current time, but does not meet the authorization end time greater than the current time. At this time, merchant A cannot decrypt and obtain the gallery content. Based on the restrictions of the decryption policy, the IP user can only decrypt and see the corresponding IP gallery information if they are legally authorized and the authorization period is within the effective range. This avoids the problem that when the gallery is distributed based only on the attributes that display the basic characteristics of the IP user, it is impossible to restrict the authorization information and the effective period, and it is impossible to timely recover the IP user's rights to use the gallery.

[0073] In one or more embodiments of the present specification, the IP content library source data includes the download address of the IP content library and the first hash value specified for the content in the IP content library. The first hash value specified for the content in the IP content library can be obtained based on the hash operation IPGalleryHash=HASH(IPGallery); wherein IPGalleryHash is the first hash value and IPGallery is the IP gallery file.

[0074] Since the IP owner uploads the source data of the IP content library to share with the blockchain, and the blockchain is composed of multiple nodes of the IP owner, IP user, and authoritative organization, there may be illegal users or competing enterprises in the nodes to maliciously attack the IP content library and tamper with the content of the library files in the library. In order to ensure the reliability of the source data of the IP content library. Before generating a sub-private key of the master private key for the IP user, the method also includes the following steps: based on the decryption strategy in the above steps, it indicates that the authoritative organization can successfully decrypt the ciphertext, so the authoritative organization can obtain the IP content library download address and the first hash value after decrypting the ciphertext using the master private key. Then the authoritative organization obtains the content in the IP content library according to the download address of the IP content library. Based on the downloaded content, the authoritative organization calculates the second hash value of the content in the IP content library and verifies whether the first hash value is consistent with the second hash value. If the verification information does not match, it is necessary to notify the IP owner to re-upload the content in the corresponding IP content library.

[0075] Furthermore, after the authoritative organization obtains the content in the IP content library, since there may be problems of work tampering and plagiarism among the various IP users, in order to correctly guarantee the rights and interests of the original right holder to the library content in the scenario of malicious tampering, the similarity of the content of the IP content library is first determined based on feature extraction. If the content similarity of the IP content libraries of different IP users is greater than the preset threshold, the timestamp of the source data of the IP content library uploaded by each IP user is obtained based on the blockchain, and the IP user who uploaded first is determined to be the original creator. Then, the IP user who uploads later and is suspected of plagiarism will be recorded, and the authoritative organization will determine whether the IP user suspected of plagiarism needs to be removed from the blockchain.

[0076] Specifically, judging the similarity of the content of the IP content library according to feature extraction includes the following steps: an authority selects an IP content image in a certain IP content library as an image to be retrieved. Feature extraction is performed on the image to be retrieved to obtain a feature vector that can identify the image. The extracted feature vector is used as input, and the selected hash function is used as output, and input into a pre-trained feature conversion model to convert the feature vector into an image hash sequence. The Euclidean distance between the image hash of the image to be retrieved and the image hash of the image in other IP content libraries is calculated. The smaller the distance, the more similar the contents of the two images are, and the larger the distance, the greater the difference in the content. All distance values ​​are sorted from small to large. The image corresponding to the distance value less than the preset threshold is used as a plagiarized image, and then the IP user corresponding to the plagiarized image is obtained. If the plagiarized images in the IP content library of the IP user exceed the preset ratio, the IP user is written into the blacklist of the smart contract and does not participate in the subsequent IP authorization.

[0077] In one or more embodiments of the present specification, due to the development of digital network technology, the update speed of the gallery content is very fast to adapt to the development needs and the needs of users, so the IP owner needs to update the IP content library. In order to avoid the problem that the IP user needs to regenerate the key ciphertext when updating the IP content, resulting in poor use effect for the IP user. After the ciphertext is uploaded to the chain, the method also includes: the IP owner updates the source data of the IP content library, uses the master public key, encrypts according to the updated IP content library source data and the decryption strategy to obtain the updated ciphertext, and uploads the updated ciphertext to the chain. Then the IP user obtains the updated ciphertext from the chain, uses the sub-private key to decrypt the updated ciphertext, obtains the updated IP content library source data, and obtains the corresponding IP content according to the updated IP content library source data.

[0078] It is understandable that when the IP owner updates the IP library, the same decryption strategy is used to re-encrypt the updated IP content library source data. After calling the contract interface to upload, a newly generated ciphertext is generated. When the IP user needs to use the content in the IP content library, it only needs to meet the original decryption strategy, and the smart contract will return the content in the IP content library in the newly generated ciphertext to the IP user. This avoids the problem of increased computing and storage costs when re-formulating the decryption strategy.

[0079] In one or more embodiments of this specification, in order to achieve effective management of the IP content library, traceability of distribution and ensure the security of IP library distribution, the access operation of the IP user to the ciphertext on the chain is recorded on the blockchain.

[0080] In one or more embodiments of this specification, the general public currently obtains the required content in the IP content library mainly through various network service platforms. The existing blockchain technology is only protected by keys or zero-knowledge proofs, which hinders the public's access to image works, and because the creator's income source includes not only "direct income" but also "delayed income". That is, some potential customers need to see the content in the IP content library before they may become interested in the content in the IP content library, and then convert their identity to IP users to issue an authorization application to the IP owner. Therefore, the content and decryption strategy in the IP content library are encrypted based on the master public key to form a ciphertext upload. After some pictures are selected in the IP content library to hide some information, they are uploaded to the blockchain. So that the IP user can view the picture and determine whether the content in the IP content library is needed.

[0081] The method for hiding information in a picture includes the following steps: first, the selected part of the picture is divided into several areas of preset size, each area is incompletely decoded, and the frequency domain coefficients after discrete cosine transformation are obtained. Two of the frequency domain coefficients are selected as the positions for embedding information. If 1 is embedded, the value of the first position is set to the positive number of the larger value of the two frequency domain coefficients, and the value of the second position is set to the negative number of the smaller value of the two frequency domain coefficients; if 0 is embedded, the opposite process is performed. Information is embedded in each area, and finally each embedded information is embedded multiple times to prevent information loss. In addition, the selected part of the picture can be processed by reducing the resolution, so that the public picture can enable the IP user to obtain the approximate information of the picture content. If the IP user needs the picture for development or commercial use, it is necessary to apply for authorization from the IP owner and decrypt to obtain the high-definition picture in the IP content library. By processing part of the content in the IP content library and then making it public in the blockchain, the nodes in the blockchain can roughly view the information of part of the content, so as to mine the hidden IP users in the nodes and increase the potential benefits of the IP owner.

[0082] based on Figure 1 The method is described below in actual application scenarios, and some specific implementation plans and extension plans of the method in actual application scenarios are provided, which will be described below.

[0083] In one or more embodiments of this specification, the authority generates a master private key and a sub-private key, and uploads the master private key to the blockchain, while the sub-private key is kept by the authority itself. The master private key is jointly maintained by multiple authorities, and when the master private key is needed, multiple regulatory agencies can participate in the calculation at the same time. When the calculation is based on the setup function, the calculation formula is: Setup (msk, mpk), where the master public key is mpk and the master private key is msk.

[0084] In one or more embodiments of the present specification, in order to verify the identities of the IP user and the IP owner on the blockchain and enable the IP user and the IP owner to trigger the smart contract on the blockchain, the IP user and the IP owner register their on-chain identities to obtain their respective on-chain IDs.

[0085] Specifically, when registering an on-chain identity on the chain, the IP owner can provide the authority with merchant authentication information and enterprise information for identity verification, so as to obtain the IP owner's copyright public key accountPK and the corresponding copyright private key accountSK, and return the IP owner's on-chain ID. Among them, the IP owner can obtain the on-chain ID based on accountId = RegisterCopyrightOwner (accountInfo, accountPK). After the IP owner completes the registration, it joins the blockchain node. At this time, the IP owner can obtain the master public key generated by the above-mentioned authority from the blockchain. Similarly, when registering, the IP user needs to provide the authority with merchant authentication information and enterprise authentication information to obtain the IP user's on-chain ID based on accountId = RegisterAccount (accountInfo, accountPK).

[0086] In one or more embodiments of the present specification, the authority generates an attribute AttriList for the IP user in response to the RegisterAccount event of the IP user, and then generates a sub-private key sk of the master public key based on the sub-private key generation function sk=KeyGen(AttriList,msk,mpk). The IP user's ciphertext, AccountCipher=ECIES_ENCRYPT(accountPK, AttriList,sk), is obtained by encrypting AttriList and the sub-private key sk using the public key of the IP user obtained during the registration phase. The authority then uploads the encrypted ciphertext to the blockchain so that the IP user can obtain the ciphertext information of the attributes and sub-private keys assigned to it by the authority from the chain, and decrypts the attributes and sub-private keys locally using the account private key accountSK generated during registration. The formula is as follows: AttriList, sk=ECIES_DECRYPT(accountSK, AccountCipher).

[0087] In one or more embodiments of the present specification, in order to avoid the increase in computing costs caused by multiple encryptions and to restrict the scope of use of the IP user, the IP owner designs a decryption strategy for the IP user. The IP user can only obtain the content in the IP content library of the IP owner when the attributes of the IP user meet the decryption strategy of the IP owner.

[0088] Specifically, when the IP user designs a decryption strategy, the method includes the following steps: First, the IP owner's decryption strategy stipulates that the authority can decrypt, or obtains IP authorization and the current time is within the authorized time range before decryption. The IP owner links the IP content library source data, namely the IP gallery, to the decryption strategy and calculates the encryption function locally to obtain the IP user's ciphertext information IPCipher, IPCipher = _ENCRYTPT (IPUrl, ploicy), specifically, for example, using a specified attribute encryption algorithm. At the same time, in order to facilitate the subsequent verification of the reliability of the information, the first hash value of the IP gallery file is calculated based on IPGalleryHash = HASH (IPGallery). Then, according to PublishIP (IP, IPCipher, IPGalleryHash), the encrypted ciphertext and the calculated first hash value are called to the IP information interface and uploaded to the contract in the blockchain.

[0089] Furthermore, in order to facilitate the authority to verify the IP gallery file in the uploaded ciphertext information, ensure that the IP gallery file has not been tampered with. The authority obtains all the ciphertext information from the contract and can decrypt it according to the authority specified in the decryption policy of the IP user. The authority uses the master private key msk to decrypt and check the legitimacy of the IP information. Obtain the IP content library source data IPUrl = DECRYPT (IPCipher, msk), download the IP gallery file IPGallery through the IP content library source data, i.e., the download link IPUrl of the IP gallery file, and obtain the second hash value IPGalleryHash = HASH (IPGallery) according to the downloaded IP gallery file IPGallery. By comparing the first hash value with the second hash value, check whether the IP gallery file uploaded by the IP owner is accurate. If the verification information does not match, notify the IP owner to re-upload the matching IP gallery file.

[0090] In one or more embodiments of the present specification, the IP user calls the contract interface through the registered account ID to initiate an authorization application to the IP owner, and the authority responds to the application of the IP user and approves the authorization application based on actual conditions. After the IP owner authorizes the IP user, an authorization order for the transaction between the two parties is generated in the contract. The authorization order includes the on-chain ID of the IP user and the IP owner, the authorized IP information, and the start and end time of the authorization, so as to constrain the IP authorization based on the order.

[0091] Furthermore, after the IP user obtains authorization, the authority generates a new attribute AttriListNew and a new sub-private key skNew for the IP user based on the authorization information. Among them, AttriListNew contains the authorized IP information, the start time of the authorization and the end time of the authorization, so as to obtain the ciphertext information based on the attribute matching decryption strategy. Among them, the sub-private key encrypts the new attribute based on the public key and obtains skNew=KeyGen(AttriListNew,msk,mpk) after the master private key. After generating the attributes and sub-private keys, the authority encrypts them with the public key of the IP user and uploads them to the blockchain, so that the IP user can decrypt them based on his own account private key to obtain the sub-private key. The formulas that can be used in the encryption and decryption process are: AccountCipher=ECIES_ENCRYPT(accountPK, AttriListNew,skNew); and AttriListNew,skNew=ECIES_DECRYPT(accountSK,AccountCipher).

[0092] In one or more embodiments of this specification, the IP user calls the contract interface to obtain the encrypted information of the IP library from the blockchain. The corresponding IP content library download link IPUrl = _DECRYPT (IPCipher, skNew) is obtained by decryption through the sub-private key, for example, by using a specified attribute decryption algorithm. At this time, the blockchain will record the records of each account querying the IP library, including account, IP, hash, time and other information, to facilitate the traceability query of each account.

[0093] Furthermore, after the IP user obtains the IP gallery file IPGallery through the download link IPUrl, in order to verify the obtained content and ensure that the IP gallery file uploaded by the IP owner has not been tampered with in the process, based on the hash value of the decrypted IP gallery file IPGalleryHash=HASH(IPGallery), it is verified with the first hash value to see if they match.

[0094] In one or more embodiments of the present specification, in order to avoid the situation where the IP user needs to re-acquire the attributes corresponding to the decryption policy before decryption after the IP owner updates the IP content library, the IP owner uses the same decryption policy for encryption, so that the IP user can decrypt based on the original attributes and regain the new IP library file.

[0095] It should be noted that in some of the above embodiments, some exemplary parameter names and function names are used. These names do not constitute a limitation on the present application, but are only for facilitating the understanding of the steps of the scheme and the relationship between the corresponding features.

[0096] According to the previous description, more intuitively, combined with Figure 3-4 , the solution is described in more detail in an application scenario. In this application scenario, the IP owner is the copyright merchant in the figure, the IP user is the other merchant in the figure, and the authority is the regulatory agency in the figure. The following is an explanation of the system components marked in the figure.

[0097] Figure 3 A schematic diagram of account registration in an application scenario provided for one or more embodiments of this specification. Figure 3 It can be seen that during the account registration stage, the copyright merchant registers the on-chain identity on the blockchain. During the registration, some merchant authentication information, i.e., enterprise information, can be provided to the regulatory agency to verify the identity of the copyright merchant. After the check-in is completed, the account ID of the copyright merchant can be obtained from the blockchain. Similarly, other merchants also register on the blockchain to obtain on-chain identities. In response to the registration events of other merchants, the regulatory agency obtains the registration information of other merchants, so as to obtain the basic attributes that can represent the characteristics of other merchants based on the registration information of other merchants. At the same time, the obtained basic attributes and the master private key held by the authority are encrypted based on the master public key to generate the sub-private key of the master private key, and then the generated basic attributes and sub-private keys of other merchants are uploaded to the blockchain. Other merchants obtain the basic attributes and sub-private keys assigned to them by the regulatory agency from the blockchain. Based on the registration of other merchants and copyright merchants in the registration stage, other merchants and copyright merchants can trigger contracts based on their respective account IDs in subsequent processing to obtain corresponding information. At the same time, the identities of copyright merchants and other merchants are verified, avoiding the problem of unreliable authorization process caused by fraudulent merchants and low-credit merchants.

[0098] Figure 4 A schematic diagram of authorization and gallery distribution in an application scenario provided for one or more embodiments of this specification. Figure 4It can be seen that first, the copyright merchant uploaded the gallery information after IP encryption. Before that, the copyright merchant designed the decryption strategy for other merchants to decrypt the gallery information, and then encrypted the decryption strategy and IP content based on the public key to obtain the gallery information after IP encryption. At the same time, the copyright merchant will call the IP information interface to store the IP information in the IP list of the contract, and the regulatory agency can obtain all the gallery information after IP encryption from the contract. In order to avoid illegal tampering of the gallery content by illegal users during the upload process, the encrypted information can be decrypted based on the master private key held by the regulatory agency and the hash value in the gallery information can be verified. If the verification information does not match, the copyright merchant needs to be notified to re-upload the gallery file. Then other merchants call the contract interface based on their own account ID generated during the registration stage to initiate an authorization application and specify the IP content that needs to be authorized. The copyright merchant responds to the authorization application for review, and if the review is passed, the corresponding authorization information is obtained. After other merchants are sure that they can obtain IP content, they apply to the authority for the attributes required for decryption corresponding to the decryption strategy, which include the identification of the IP content to be obtained, the time when the IP authorization takes effect, and the time when the IP authorization ends. The authority encrypts the generated attributes with the master private key to obtain the sub-private key uploaded to the blockchain. Other merchants decrypt the IP gallery encrypted information based on the attributes and sub-private keys obtained from the blockchain. Decryption can only be successful when the merchant's attributes meet the decryption strategy designed by the IP owner.

[0099] Based on the same idea, one or more embodiments of this specification also provide devices and apparatuses corresponding to the above methods, such as Figure 5 , Figure 6 shown.

[0100] Figure 5 A schematic diagram of the structure of an IP content library service processing device provided in one or more embodiments of this specification, the device comprising:

[0101] Encryption module 501, the IP owner uses the master public key to encrypt the IP content source data and the decryption strategy to obtain a ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authority;

[0102] Determination module 502, the IP owner determines authorization information for one or more IP users;

[0103] The first generation module 503, the authority generates the attributes required for decryption indicated by the decryption policy for the IP user according to the authorization information;

[0104] The second generation module 504, the authority generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0105] Decryption module 505, the IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the IP content library source data, and obtains the corresponding IP content based on the IP content library source data.

[0106] Optionally, in the determination module 502, the IP owner initiates an authorization order on the chain in response to the authorization application of the IP user, so that the IP user can obtain the sub-private key from the authority;

[0107] The authorization order defines the authorization information for the IP user and the IP content library source data.

[0108] Optionally, the master public key and the master private key are generated by the authority, and the master public key is stored on the chain;

[0109] Before the determining module 502, the device further includes:

[0110] Registration module 506, the IP owner and the IP user register their own blockchain accounts based on the registration information they submit and their own public keys, so as to identify themselves and access on-chain data.

[0111] Optionally, the required attributes reflect the corresponding authorization and the effective time range of the authorization, and the decryption policy indicates that an IP user who possesses the attributes and passes the corresponding verification can successfully decrypt the ciphertext.

[0112] Optionally, the decryption policy indicates that the authority can successfully decrypt the ciphertext.

[0113] Optionally, the IP content library source data includes a download address of the IP content library, and a first hash value specified for the content in the IP content library;

[0114] Before the second generating module, the device further includes:

[0115] Verification module 507, the authority uses the master private key to decrypt the ciphertext, obtains the download address of the IP content library and the first hash value, and obtains the content in the IP content library according to the download address;

[0116] The authority calculates a second hash value of the content in the IP content library, and verifies whether the first hash value is consistent with the second hash value.

[0117] Optionally, putting the ciphertext on the chain specifically includes: storing the ciphertext in a preset smart contract in the blockchain, so that the IP user or the authoritative organization can obtain the ciphertext by calling an interface provided by the preset smart contract;

[0118] The device also includes:

[0119] The order generation module 508, the IP user initiates the authorization application for the source data of the IP content library to the IP owner or the authoritative organization by calling the interface provided by the preset smart contract, so that after the IP owner agrees to the authorization, the authorization order is generated in the preset smart contract.

[0120] Optionally, the device further comprises:

[0121] Update module 509, the IP owner updates the source data of the IP content library, uses the master public key to encrypt according to the updated source data of the IP content library and the decryption strategy to obtain an updated ciphertext, and uploads the updated ciphertext to the chain;

[0122] The IP user obtains the updated ciphertext from the chain, decrypts the updated ciphertext using the sub-private key, obtains the updated IP content library source data, and obtains the corresponding IP content based on the updated IP content library source data.

[0123] Optionally, the device further comprises:

[0124] The recording module 510 records on the blockchain the access operation of the IP user to the ciphertext on the chain.

[0125] Figure 6 A schematic diagram of the structure of an IP content library service processing device provided for one or more embodiments of this specification, wherein the device comprises:

[0126] at least one processor 601; and,

[0127] A memory 602 is communicatively connected to the at least one processor 601; wherein,

[0128] The memory 602 stores instructions that can be executed by the at least one processor 601. The instructions are executed by the at least one processor 601 to enable the at least one processor 601 to:

[0129] The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0130] The IP owner determines authorization information for one or more IP users;

[0131] The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user;

[0132] The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0133] The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content based on the source data of the IP content library.

[0134] Based on the same idea, one or more embodiments of this specification also provide a non-volatile computer storage medium corresponding to the above method, storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0135] The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution;

[0136] The IP owner determines authorization information for one or more IP users;

[0137] The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user;

[0138] The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses;

[0139] The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content based on the source data of the IP content library.

[0140] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0141] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0142] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0143] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0144] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0145] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0148] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0149] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0150] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0151] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0152] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0153] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0154] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0155] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A method for processing IP content library business, applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system includes an IP owner, an authority, and an IP user, and the method includes: The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution; The IP owner determines authorization information for one or more IP users; The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user; The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the required attributes; The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content according to the source data of the IP content library; The method further comprises: After selecting some pictures in the IP content library to hide some information, the pictures are uploaded to the blockchain. The method for hiding information on the pictures includes the following steps: first, the selected pictures are divided into several areas of preset size, each area is incompletely decoded to obtain frequency domain coefficients after discrete cosine transformation, and two of the frequency domain coefficients are selected as the positions for embedding information. If 1 is embedded, the value of the first position is set to the larger positive number of the two frequency domain coefficients, and the value of the second position is set to the smaller negative number of the two frequency domain coefficients; if 0 is embedded, the opposite process is performed; The method further comprises: The similarity of the contents of the IP content library is determined based on feature extraction. If the content similarity of the IP content libraries of different IP users is greater than the preset threshold, the timestamp of the source data of the IP content library uploaded by each IP user is obtained based on the blockchain, and the IP user who uploaded first is determined to be the original creator.

2. The method according to claim 1, wherein the IP owner determines authorization information for one or more IP users, specifically comprising: In response to the authorization application from the IP user, the IP owner initiates an authorization order on the chain, so that the IP user can obtain the sub-private key from the authority; The authorization order defines the authorization information for the IP user and the IP content library source data.

3. The method according to claim 1, wherein the master public key and the master private key are generated by the authoritative organization, and the master public key is stored on the chain; Before the IP owner determines the authorization information for one or more IP users, the method further includes: The IP owner and the IP user register their own blockchain accounts based on the registration information they submit and their own public keys, so as to identify themselves and access on-chain data.

4. As described in the method of claim 1 or 2, the required attributes reflect the corresponding authorization and the effective time range of the authorization, and the decryption policy indicates that the IP user who possesses the attributes and passes the corresponding verification can successfully decrypt the ciphertext.

5. The method according to claim 1 or 2, wherein the decryption policy indicates that the authority can successfully decrypt the ciphertext.

6. The method of claim 5, wherein the IP content library source data comprises a download address of the IP content library and a first hash value specified for the content in the IP content library; Before generating a sub-private key of the master private key for the IP user, the method further includes: The authority uses the master private key to decrypt the ciphertext, obtains the download address of the IP content library and the first hash value, and obtains the content in the IP content library according to the download address; The authority calculates a second hash value of the content in the IP content library, and verifies whether the first hash value is consistent with the second hash value.

7. The method according to claim 2, wherein putting the ciphertext on the chain specifically comprises: The ciphertext is stored in a preset smart contract in the blockchain so that the IP user or the authoritative organization can obtain the ciphertext by calling the interface provided by the preset smart contract; Before the IP owner responds to the authorization application of the IP user, the method further includes: The IP user initiates the authorization application for the source data of the IP content library to the IP owner or the authoritative organization by calling the interface provided by the preset smart contract, so that after the IP owner agrees to the authorization, the authorization order is generated in the preset smart contract.

8. The method according to claim 1, after putting the ciphertext on the chain, the method further comprises: The IP owner updates the source data of the IP content library, uses the master public key to encrypt the updated source data of the IP content library and the decryption strategy to obtain an updated ciphertext, and uploads the updated ciphertext to the chain; The IP user obtains the updated ciphertext from the chain, decrypts the updated ciphertext using the sub-private key, obtains the updated IP content library source data, and obtains the corresponding IP content based on the updated IP content library source data.

9. The method of claim 1, further comprising: The access operation of the IP user to the ciphertext on the chain is recorded on the blockchain.

10. An IP content library service processing device, applied to a blockchain-based IP content library authorization management system, the IP content library authorization management system includes an IP owner, an authority, and an IP user, the device includes: Encryption module: the IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution; A determination module, wherein the IP owner determines authorization information for one or more IP users; A first generating module, wherein the authority generates, for the IP user, the attributes required for decryption as indicated by the decryption policy according to the authorization information; The second generation module, the authoritative institution generates a sub-private key of the master private key for the IP user according to the master private key and the attributes possessed; Decryption module, the IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content according to the source data of the IP content library; The device also performs: After selecting some pictures in the IP content library to hide some information, the pictures are uploaded to the blockchain. The method for hiding information on the pictures includes the following steps: first, the selected pictures are divided into several areas of preset size, each area is incompletely decoded to obtain frequency domain coefficients after discrete cosine transformation, and two of the frequency domain coefficients are selected as the positions for embedding information. If 1 is embedded, the value of the first position is set to the larger positive number of the two frequency domain coefficients, and the value of the second position is set to the smaller negative number of the two frequency domain coefficients; if 0 is embedded, the opposite process is performed; The device also performs: The similarity of the contents of the IP content library is determined based on feature extraction. If the content similarity of the IP content libraries of different IP users is greater than the preset threshold, the timestamp of the source data of the IP content library uploaded by each IP user is obtained based on the blockchain, and the IP user who uploaded first is determined to be the original creator.

11. The device according to claim 10, wherein the determining module, in response to the authorization application of the IP user, the IP owner initiates an authorization order on the chain to enable the IP user to obtain the sub-private key from the authoritative institution; in, The authorization order defines the authorization information for the IP user and the IP content library source data.

12. The device according to claim 10, wherein the master public key and the master private key are generated by the authority, and the master public key is stored on the chain; Before the determining module, the device further includes: Registration module: the IP owner and the IP user register their own blockchain accounts based on the registration information they submit and their own public keys, so as to identify themselves and access on-chain data.

13. The device as described in claim 10 or 11, wherein the required attributes reflect the corresponding authorization and the effective time range of the authorization, and the decryption policy indicates that the IP user who possesses the attributes and passes the corresponding verification can successfully decrypt the ciphertext.

14. The apparatus of claim 10 or 11, wherein the decryption policy indicates that the authority can successfully decrypt the ciphertext.

15. The apparatus of claim 14, wherein the IP content library source data comprises a download address of the IP content library, and a first hash value specified for the content in the IP content library; Before the second generating module, the device further includes: The verification module, wherein the authority uses the master private key to decrypt the ciphertext, obtains the download address of the IP content library and the first hash value, and obtains the content in the IP content library according to the download address; The authority calculates a second hash value of the content in the IP content library, and verifies whether the first hash value is consistent with the second hash value.

16. The device according to claim 11, wherein the step of uploading the ciphertext to a chain comprises: The ciphertext is stored in a preset smart contract in the blockchain so that the IP user or the authoritative organization can obtain the ciphertext by calling the interface provided by the preset smart contract; The device also includes: The order generation module, the IP user initiates the authorization application for the source data of the IP content library to the IP owner or the authoritative organization by calling the interface provided by the preset smart contract, so that after the IP owner agrees to the authorization, the authorization order is generated in the preset smart contract.

17. The apparatus of claim 10, further comprising: The update module, the IP owner updates the source data of the IP content library, uses the master public key to encrypt the updated source data of the IP content library and the decryption strategy to obtain an updated ciphertext, and uploads the updated ciphertext to the chain; The IP user obtains the updated ciphertext from the chain, decrypts the updated ciphertext using the sub-private key, obtains the updated IP content library source data, and obtains the corresponding IP content based on the updated IP content library source data.

18. The apparatus of claim 10, further comprising: A recording module records on the blockchain the access operation of the IP user to the ciphertext on the chain.

19. An IP content library service processing device, applied to a blockchain-based IP content library authorization management system, wherein the IP content library authorization management system includes an IP owner, an authority, and an IP user, including: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: The IP owner uses the master public key to encrypt the IP content source data and decryption strategy to obtain ciphertext, and uploads the ciphertext to the chain. The master private key corresponding to the master public key is held by the authoritative institution; The IP owner determines authorization information for one or more IP users; The authority generates, based on the authorization information, the attributes required for decryption indicated by the decryption policy for the IP user; The authoritative organization generates a sub-private key of the master private key for the IP user according to the master private key and the attributes it possesses; The IP user obtains the ciphertext from the chain, decrypts the ciphertext using the sub-private key, obtains the source data of the IP content library, and obtains the corresponding IP content according to the source data of the IP content library; The processor also executes: After selecting some pictures in the IP content library to hide some information, the pictures are uploaded to the blockchain. The method for hiding information on the pictures includes the following steps: first, the selected pictures are divided into several areas of preset size, each area is incompletely decoded to obtain frequency domain coefficients after discrete cosine transformation, and two of the frequency domain coefficients are selected as the positions for embedding information. If 1 is embedded, the value of the first position is set to the larger positive number of the two frequency domain coefficients, and the value of the second position is set to the smaller negative number of the two frequency domain coefficients; if 0 is embedded, the opposite process is performed; The processor also executes: The similarity of the contents of the IP content library is determined based on feature extraction. If the content similarity of the IP content libraries of different IP users is greater than the preset threshold, the timestamp of the source data of the IP content library uploaded by each IP user is obtained based on the blockchain, and the IP user who uploaded first is determined to be the original creator.

Citation Information

Patent Citations

  • Authorized file share method and device

    CN109144961A

  • Multi-image hiding method based on secret sharing

    CN111654592A

  • Block chain data sharing method and device, computer equipment and storage medium

    CN111935080A

  • Attribute-based encryption method and system

    CN113918981A

  • Ensuring information fairness and input privacy using a blockchain in a competitive scenario governed by a smart contract

    US20200082399A1