CN108763876A - A resource copyright verification method, device and equipment - Google Patents
A resource copyright verification method, device and equipment Download PDFInfo
- Publication number
- CN108763876A CN108763876A CN201810602428.1A CN201810602428A CN108763876A CN 108763876 A CN108763876 A CN 108763876A CN 201810602428 A CN201810602428 A CN 201810602428A CN 108763876 A CN108763876 A CN 108763876A
- Authority
- CN
- China
- Prior art keywords
- resource
- platform
- information
- contract
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请实施例公开了一种资源版权校验方法、装置以及相关设备,在该方法中,基于区块链网络建立多资源平台公用的资源版权信息系统,各个资源平台需要进行资源版权校验时,向区块链网络发送携带有平台唯一标识和资源唯一标识的资源版权获取请求,区块链网络中的网络节点响应于该资源版权获取请求,向资源平台返回相关资源版权信息。由此各个资源平台通过区块链网络实现共用一套资源版权信息系统,无需单独创建和维护资源版权信息系统,有效地降低各个资源平台的运营和维护成本;此外,通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。
The embodiments of the present application disclose a resource copyright verification method, apparatus, and related equipment. In this method, a resource copyright information system shared by multiple resource platforms is established based on a blockchain network. When each resource platform needs to verify resource copyright, it sends a resource copyright acquisition request carrying the platform's unique identifier and the resource's unique identifier to the blockchain network. The network nodes in the blockchain network respond to the resource copyright acquisition request and return relevant resource copyright information to the resource platform. In this way, each resource platform can share a resource copyright information system through the blockchain network, eliminating the need to create and maintain a separate resource copyright information system, effectively reducing the operating and maintenance costs of each resource platform. In addition, blockchain technology can ensure the authenticity, validity, and tamper-proof nature of resource copyright information, thereby ensuring the security of resource copyright information.
Description
技术领域technical field
本申请涉及区块链技术领域,尤其涉及一种资源版权校验方法、装置、设备以及计算机存储介质。The present application relates to the technical field of blockchain, and in particular to a resource copyright verification method, device, equipment and computer storage medium.
背景技术Background technique
随着网络中各种资源版权的普及,越来越多的资源平台也开始注重购买版权以及维权的行动。资源是指将图像、文字、影像、语音等数据运用数据信息技术加以数字化并整合应用的数字内容;资源平台是指基于数字内容提供服务的平台,如视频平台、音乐平台、新闻平台、游戏平台等。With the popularization of various resource copyrights on the Internet, more and more resource platforms have also begun to pay attention to the purchase of copyrights and rights protection actions. Resources refer to digital content that digitizes and integrates images, text, video, voice and other data using data information technology; resource platforms refer to platforms that provide services based on digital content, such as video platforms, music platforms, news platforms, game platforms Wait.
目前,各资源平台都拥有自己独立的资源版权信息系统,独立维护该资源版权信息系统,资源平台从资源版权方购买某个资源的版权之后,更新自己的资源版权信息系统,在为用户提供资源相关服务时,通过自己的资源版权信息系统来校验是否具有版权,以保证为用户提供合法的资源。At present, each resource platform has its own independent resource copyright information system, and independently maintains the resource copyright information system. After the resource platform purchases the copyright of a resource from the resource copyright party, it updates its own resource copyright information system. For related services, verify whether it has copyright through its own resource copyright information system to ensure that legal resources are provided for users.
由于各个资源平台独立维护各自的资源版权信息系统,因此,各个资源平台的运营和维护成本较高,而且资源版权信息的安全性也难以保证。Since each resource platform maintains its own resource copyright information system independently, the operation and maintenance costs of each resource platform are relatively high, and the security of resource copyright information is also difficult to guarantee.
发明内容Contents of the invention
本申请实施例提供了一种资源版权校验方法、装置以及相关设备,基于区块链网络构建多资源平台共用的资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,保证资源版权信息的安全性。The embodiment of the present application provides a resource copyright verification method, device and related equipment, and builds a resource copyright information system shared by multiple resource platforms based on the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform and ensuring resource Security of Copyright Information.
有鉴于此,本申请第一方面提供了一种资源版权校验方法,应用于第一资源平台的服务器,所述方法包括:In view of this, the first aspect of the present application provides a resource copyright verification method, which is applied to the server of the first resource platform, and the method includes:
向区块链网络发送资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;Send a resource copyright acquisition request to the blockchain network, the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
接收所述区块链网络中的网络节点返回的第一资源版权信息,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的,所述第一资源版权信息用于表示所述第一资源平台是否拥有所述第一资源的版权的信息;Receive the first resource copyright information returned by the network node in the blockchain network, the first resource copyright information is the resources of each resource platform recorded by the network node according to the resource copyright acquisition request and the blockchain Generated by copyright information, the copyright information of the first resource is used to indicate whether the first resource platform owns the copyright of the first resource;
根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
本申请第二方面提供了一种资源版权校验方法,应用于区块链网络的网络节点,所述方法包括:The second aspect of the present application provides a resource copyright verification method, which is applied to a network node of a blockchain network, and the method includes:
接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;receiving a resource copyright acquisition request sent by the server of the first resource platform, the resource copyright acquisition request including the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权;Generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain, and the first resource copyright information indicates whether the first resource platform owns the first resource the copyright of
向所述服务器返回所述第一资源版权信息。Returning the copyright information of the first resource to the server.
本申请第三方面提供了一种资源版权校验方法,应用于客户端,所述方法包括:The third aspect of the present application provides a resource copyright verification method, which is applied to a client, and the method includes:
向第一资源平台的服务器发送资源版权查看请求,所述资源版权查看请求中包括第一资源的资源唯一标识;Sending a resource copyright check request to the server of the first resource platform, the resource copyright check request including the resource unique identifier of the first resource;
接收所述服务器返回的从区块链网络的网络节点获取的第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的;receiving the first resource copyright information obtained from the network node of the blockchain network returned by the server, the first resource copyright information indicating whether the first resource platform owns the copyright of the first resource, the first The resource copyright information is generated by the network node according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain;
根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
本申请第四方面提供了一种资源版权校验装置,所述装置包括:The fourth aspect of the present application provides a resource copyright verification device, the device comprising:
发送模块,用于向区块链网络发送资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;A sending module, configured to send a resource copyright acquisition request to the blockchain network, the resource copyright acquisition request including the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
接收模块,用于接收所述区块链网络中的网络节点返回的第一资源版权信息,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的,所述第一资源版权信息用于表示所述第一资源平台是否拥有所述第一资源的版权的信息;A receiving module, configured to receive the first resource copyright information returned by the network node in the blockchain network, the first resource copyright information is recorded by the network node according to the resource copyright acquisition request and the blockchain Generated by the resource copyright information of each resource platform, the first resource copyright information is used to indicate whether the first resource platform owns the copyright information of the first resource;
确定模块,用于根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A determining module, configured to determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
本申请第五方面提供了一种资源版权校验装置,所述装置包括:The fifth aspect of the present application provides a resource copyright verification device, the device comprising:
接收模块,用于接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;The receiving module is configured to receive the resource copyright acquisition request sent by the server of the first resource platform, and the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
生成模块,用于根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权;A generation module, configured to generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain, the first resource copyright information indicating whether the first resource platform owns the copyright of the first resource;
返回模块,用于向所述服务器返回所述第一资源版权信息。A returning module, configured to return the copyright information of the first resource to the server.
本申请第六方面提供了一种资源版权校验装置,所述装置包括:The sixth aspect of the present application provides a resource copyright verification device, the device comprising:
发送模块,用于向第一资源平台的服务器发送资源版权查看请求,所述资源版权查看请求中包括第一资源的资源唯一标识;A sending module, configured to send a resource copyright check request to a server of the first resource platform, where the resource copyright check request includes a resource unique identifier of the first resource;
接收模块,用于接收所述服务器返回的从区块链网络的网络节点获取的第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的;A receiving module, configured to receive the first resource copyright information obtained from the network node of the blockchain network returned by the server, the first resource copyright information indicating whether the first resource platform owns the copyright of the first resource , the first resource copyright information is generated by the network node according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain;
确定模块,用于根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A determining module, configured to determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
本申请第七方面提供了一种设备,所述设备包括处理器以及存储器:The seventh aspect of the present application provides a device, the device includes a processor and a memory:
所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;The memory is used to store program codes and transmit the program codes to the processor;
所述处理器用于根据所述程序代码中的指令,执行上述第一方面至第三方面中任一方面所述的资源版权校验方法的步骤。The processor is configured to execute the steps of the resource copyright verification method described in any one of the first aspect to the third aspect according to the instructions in the program code.
本申请第八方面提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行上述上述第一方面至第三方面中任一方面所述的资源版权校验方法。The eighth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium is used to store program code, and the program code is used to execute any one of the above-mentioned first to third aspects. Resource copyright verification method.
从以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
在本申请实施例提供的资源版权校验方法中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,各个资源平台在需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,进而根据所获取的资源版权信息确定自身是否拥有对应的资源版权,这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification method provided by the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network , when each resource platform needs to verify the resource copyright, it will connect to the blockchain network uniformly, obtain the resource copyright information from the blockchain network, and then determine whether it owns the corresponding resource copyright according to the obtained resource copyright information In this way, on the one hand, each resource platform does not need to create and maintain a resource copyright information system separately, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform. Maintenance costs. On the other hand, the blockchain technology can ensure the authenticity, effectiveness and tamper-proof of resource copyright information, thereby ensuring the security of resource copyright information.
附图说明Description of drawings
图1为本申请实施例提供的一种资源版权校验方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a resource copyright verification method provided by an embodiment of the present application;
图2为本申请实施例提供的资源版权校验方法的交互信令图;FIG. 2 is an interactive signaling diagram of the resource copyright verification method provided by the embodiment of the present application;
图3为本申请实施例提供的服务器侧的一种资源版权校验方法的流程示意图;FIG. 3 is a schematic flowchart of a resource copyright verification method on the server side provided by an embodiment of the present application;
图4为本申请实施例提供的服务器侧的一种资源版权签订交易创建方法的流程示意图;FIG. 4 is a schematic flowchart of a method for creating a resource copyright signing transaction on the server side provided by the embodiment of the present application;
图5为本申请实施例提供的服务器侧的一种版权合同查看方法的流程示意图;FIG. 5 is a schematic flowchart of a copyright contract viewing method on the server side provided by the embodiment of the present application;
图6为本申请实施例提供的区块链网络侧的一种资源版权校验方法的流程示意图;FIG. 6 is a schematic flow diagram of a resource copyright verification method on the blockchain network side provided by the embodiment of the present application;
图7为本申请实施例提供的区块链网络侧的一种版权合同查看方法的流程示意图;FIG. 7 is a schematic flow diagram of a copyright contract viewing method on the blockchain network side provided by the embodiment of the present application;
图8为本申请实施例提供的客户端侧的一种资源版权校验方法的流程示意图;FIG. 8 is a schematic flowchart of a resource copyright verification method on the client side provided by an embodiment of the present application;
图9为本申请实施例提供的另一种资源版权校验方法的应用场景示意图;FIG. 9 is a schematic diagram of an application scenario of another resource copyright verification method provided by the embodiment of the present application;
图10为本申请实施例提供的服务器侧的第一种资源版权校验装置的结构示意图;FIG. 10 is a schematic structural diagram of a first resource copyright verification device on the server side provided by an embodiment of the present application;
图11为本申请实施例提供的服务器侧的第二种资源版权校验装置的结构示意图;FIG. 11 is a schematic structural diagram of a second resource copyright verification device on the server side provided by an embodiment of the present application;
图12为本申请实施例提供的服务器侧的第三种资源版权校验装置的结构示意图;FIG. 12 is a schematic structural diagram of a third resource copyright verification device on the server side provided by an embodiment of the present application;
图13为本申请实施例提供的服务器侧的第四种资源版权校验装置的结构示意图;FIG. 13 is a schematic structural diagram of a fourth resource copyright verification device on the server side provided by an embodiment of the present application;
图14为本申请实施例提供的服务器侧的第五种资源版权校验装置的结构示意图;FIG. 14 is a schematic structural diagram of a fifth resource copyright verification device on the server side provided by an embodiment of the present application;
图15为本申请实施例提供的服务器侧的一种版权合同查看装置的结构示意图;FIG. 15 is a schematic structural diagram of a copyright contract viewing device on the server side provided by the embodiment of the present application;
图16为本申请实施例提供的服务器侧的第六种资源版权校验装置的结构示意图;FIG. 16 is a schematic structural diagram of a sixth resource copyright verification device on the server side provided by an embodiment of the present application;
图17为本申请实施例提供的服务器侧的第七种资源版权校验装置的结构示意图;FIG. 17 is a schematic structural diagram of a seventh resource copyright verification device on the server side provided by an embodiment of the present application;
图18为本申请实施例提供的服务器侧的第八种资源版权校验装置的结构示意图;FIG. 18 is a schematic structural diagram of an eighth resource copyright verification device on the server side provided by an embodiment of the present application;
图19为本申请实施例提供的区块链网络侧的第一种资源版权校验装置的结构示意图;FIG. 19 is a schematic structural diagram of the first resource copyright verification device on the blockchain network side provided by the embodiment of the present application;
图20为本申请实施例提供的区块链网络侧的第二种资源版权校验装置的结构示意图;FIG. 20 is a schematic structural diagram of a second resource copyright verification device on the blockchain network side provided by the embodiment of the present application;
图21为本申请实施例提供的区块链网络侧的第三种资源版权校验装置的结构示意图;FIG. 21 is a schematic structural diagram of a third resource copyright verification device on the blockchain network side provided by the embodiment of the present application;
图22为本申请实施例提供的区块链网络侧的一种版权合同查看装置的结构示意图;Fig. 22 is a schematic structural diagram of a copyright contract viewing device on the blockchain network side provided by the embodiment of the present application;
图23为本申请实施例提供的客户端侧的第一种资源版权校验装置的结构示意图;FIG. 23 is a schematic structural diagram of the first resource copyright verification device on the client side provided by the embodiment of the present application;
图24为本申请实施例提供的客户端侧的第二种资源版权校验装置的结构示意图;FIG. 24 is a schematic structural diagram of a second resource copyright verification device on the client side provided by an embodiment of the present application;
图25为本申请实施例提供的客户端侧的第三种资源版权校验装置的结构示意图;FIG. 25 is a schematic structural diagram of a third resource copyright verification device on the client side provided by an embodiment of the present application;
图26为本发明实施例中一种资源版权校验设备的结构示意图;FIG. 26 is a schematic structural diagram of a resource copyright verification device in an embodiment of the present invention;
图27为本发明实施例中另一种资源版权校验设备的结构示意图。Fig. 27 is a schematic structural diagram of another resource copyright verification device in an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein, for example, can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
现有技术中,各资源平台独立维护各自的资源版权信息系统,存在各个资源平台的运营和维护成本高,难以保证资源版权信息的安全性等技术问题,本申请实施例针对上述现有技术中存在的技术问题,提供了一种资源版权校验方法。In the existing technology, each resource platform independently maintains its own resource copyright information system, and there are technical problems such as high operation and maintenance costs for each resource platform, and it is difficult to ensure the security of resource copyright information. The existing technical problem provides a resource copyright verification method.
本申请实施例提供的资源版权校验方法中,利用区块链网络记录各个资源平台拥有的资源版权的资源版权信息,基于区块链网络建立各个资源平台公用的资源版权信息系统,各个资源平台需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,进而根据所获取的资源版权信息确定自身是否拥有对应的资源版权。由此,各个资源平台无需单独创建并维护各自的资源版权信息系统,直接从该基于区块链网络建立的公用资源版权信息系统中获取资源版权信息即可,有效地减少了各个资源平台的创建和维护成本。In the resource copyright verification method provided by the embodiment of the present application, the resource copyright information of the resource copyright owned by each resource platform is recorded using the block chain network, and the common resource copyright information system of each resource platform is established based on the block chain network. When resource copyright verification is required, the blockchain network is uniformly connected, the resource copyright information is obtained from the blockchain network, and then according to the obtained resource copyright information, it is determined whether it owns the corresponding resource copyright. As a result, each resource platform does not need to create and maintain its own resource copyright information system, but can directly obtain resource copyright information from the public resource copyright information system based on the blockchain network, effectively reducing the creation of each resource platform and maintenance costs.
此外,由于区块链网络为一种去中心化的分布式数据库,区块链网络中各个网络节点均可以获得一份完整的数据库拷贝,对区块链网络中单个或多个网络节点的数据库进行修改,无法影响区块链网络中其他节点的数据库,只有当整个区块链网络中超过半数的节点同时被修改,才能真正达到修改数据库的目的,然而同时修改超过半数的节点几乎不可能发生,因此,区块链网络是一种几乎不可能被更改的分布式数据库。由此利用该区块链网络记录资源版权信息能够有效地防止所记录的资源版权信息被篡改,从而保证了资源版权信息的安全性。In addition, since the blockchain network is a decentralized distributed database, each network node in the blockchain network can obtain a complete copy of the database, and the database of a single or multiple network nodes in the blockchain network Modifications cannot affect the databases of other nodes in the blockchain network. Only when more than half of the nodes in the entire blockchain network are modified at the same time can the purpose of modifying the database be truly achieved. However, it is almost impossible to modify more than half of the nodes at the same time. , therefore, the blockchain network is a distributed database that is almost impossible to change. Therefore, using the blockchain network to record resource copyright information can effectively prevent the recorded resource copyright information from being tampered with, thereby ensuring the security of resource copyright information.
为了使本申请的技术方案更加清楚,下面结合应用场景对本申请实施例提供的资源版权校验方法进行介绍。In order to make the technical solution of the present application clearer, the resource copyright verification method provided by the embodiment of the present application will be introduced below in combination with the application scenarios.
参见图1,图1为本申请实施例提供的资源版权校验方法的应用场景示意图,该应用场景中包括客户端101、区块链网络102以及至少一个资源平台103,每个资源平台103包括服务器1031,服务器1031可以通过与资源平台对应的客户端为用户提供该资源平台拥有版权的资源,区块链网络102中记录有各资源平台的资源版权信息。Referring to FIG. 1, FIG. 1 is a schematic diagram of an application scenario of a resource copyright verification method provided by an embodiment of the present application. The application scenario includes a client 101, a blockchain network 102, and at least one resource platform 103, and each resource platform 103 includes The server 1031, the server 1031 can provide users with resources that the resource platform owns the copyright through the client corresponding to the resource platform, and the resource copyright information of each resource platform is recorded in the block chain network 102 .
客户端101为能够在终端设备上运行的与某一资源平台对应的应用程序或者应用程序功能模块,如图1所示,客户端101为与资源平台103对应的应用程序,用户可以通过客户端101查看资源平台103拥有的资源,例如,客户端101可以为腾讯视频客户端,相应地,资源平台103为腾讯视频平台,腾讯视频平台包括服务器,服务器可以为腾讯视频客户端提供自身拥有版权的资源。客户端101具体可以为视频客户端、音乐客户端等等应用程序,客户端101也可以是浏览器,用户可以通过浏览器登录网页以查看资源,在此不对客户端的具体类型和功能做任何限定。The client 101 is an application program or application program function module corresponding to a certain resource platform that can run on a terminal device. As shown in Figure 1, the client 101 is an application program corresponding to the resource platform 103, and the user can 101 Check the resources owned by the resource platform 103. For example, the client 101 can be a Tencent video client. Correspondingly, the resource platform 103 is a Tencent video platform, and the Tencent video platform includes a server. The server can provide the Tencent video client with its own copyrighted resources. resource. Client 101 can specifically be application programs such as video client, music client, etc. Client 101 can also be a browser, and users can log in to webpages to view resources through browsers. The specific types and functions of the client are not limited here. .
资源平台103为能够提供资源的应用平台,资源平台103包括服务器1031,通过服务器与客户端的通信,从而为与资源平台对应的客户端提供自身拥有的资源。资源平台103包括的服务器1031具体可以为独立服务器,也可以为集群服务器,且资源平台103包括的服务器1031可以同时为多个对应的客户端提供自身拥有的资源。至少一个资源平台103的服务器接入区块链网络102,可以从该区块链网络102中获取资源版权信息,利用资源版权信息为客户端提供相应的服务。应理解,图1所示的资源平台仅为示例,在实际应用中存在大量的资源平台,在此不对资源平台的数量以及资源类型做任何限定。The resource platform 103 is an application platform capable of providing resources. The resource platform 103 includes a server 1031 , and provides resources owned by the client corresponding to the resource platform through communication between the server and the client. The server 1031 included in the resource platform 103 may specifically be an independent server or a cluster server, and the server 1031 included in the resource platform 103 may provide its own resources for multiple corresponding clients at the same time. The server of at least one resource platform 103 is connected to the blockchain network 102, and can obtain resource copyright information from the blockchain network 102, and use the resource copyright information to provide corresponding services for the client. It should be understood that the resource platforms shown in FIG. 1 are only examples, and there are a large number of resource platforms in actual applications, and no limitation is made on the number of resource platforms and resource types here.
区块链网络102中包含若干个区块链网络节点,如图1所示,区块链网络102中包含有区块链网络节点1021、区块链网络节点1022、区块链网络节点1023、区块链网络节点1024和区块链网络节点1025,各个区块链网络节点上记录有各个资源平台的资源版权信息,各个区块链网络节点彼此通讯连接,各个区块链网络节点可以从该区块链网络102中的任意一个区块链网络节点处获取资源平台的资源版权信息。应理解,图1所示的区块链网络仅为示例,在实际应用中,区块链网络中包含大量的区块链网络节点,在此不对区块链网络中区块链网络节点的数量做任何限定。The blockchain network 102 includes several blockchain network nodes. As shown in FIG. 1 , the blockchain network 102 includes a blockchain network node 1021, a blockchain network node 1022, a blockchain network node 1023, The blockchain network node 1024 and the blockchain network node 1025, each blockchain network node records the resource copyright information of each resource platform, and each blockchain network node communicates with each other, and each blockchain network node can access the Any block chain network node in the block chain network 102 obtains the resource copyright information of the resource platform. It should be understood that the block chain network shown in Figure 1 is only an example. In practical applications, the block chain network contains a large number of block chain network nodes, and the number of block chain network nodes in the block chain network is not correct here. Make any restrictions.
为了便于理解,下面将结合图1的应用场景架构,对本申请实施例提供的资源版权校验方法进行介绍。参见图2,图2为本申请实施例提供的资源版权校验方法的交互信令图,如图2所示,该方法包括:For ease of understanding, the resource copyright verification method provided by the embodiment of the present application will be introduced below in conjunction with the application scenario architecture in FIG. 1 . Referring to FIG. 2, FIG. 2 is an interactive signaling diagram of the resource copyright verification method provided by the embodiment of the present application. As shown in FIG. 2, the method includes:
S201:当用户需要通过资源平台103查看第一资源时,用户通过终端设备上的客户端101生成资源版权查看请求,该资源版权查看请求中包括第一资源的资源唯一标识。S201: When the user needs to view the first resource through the resource platform 103, the user generates a resource copyright view request through the client 101 on the terminal device, and the resource copyright view request includes the resource unique identifier of the first resource.
S202:客户端101将该资源版权查看请求发送给资源平台103的服务器1031。S202: The client 101 sends the resource copyright viewing request to the server 1031 of the resource platform 103 .
S203:服务器1031接收到资源版权查看请求后,根据该资源版权查看请求生成资源版权获取请求,该资源版权获取请求中包括资源平台103的平台唯一标识和第一资源的资源唯一标识。S203: After receiving the resource copyright viewing request, the server 1031 generates a resource copyright obtaining request according to the resource copyright viewing request, and the resource copyright obtaining request includes the platform unique identifier of the resource platform 103 and the resource unique identifier of the first resource.
S204:服务器1031将该资源版权获取请求发送至区块链网络102。S204: The server 1031 sends the resource copyright acquisition request to the blockchain network 102.
S205:区块链网络102中任一区块链网络节点接收到该资源版权获取请求后,根据该资源版权获取请求和区块链网络102中记录的各个资源平台的资源版权信息,生成能够表征资源平台103是否拥有第一资源版权的第一资源版权信息。S205: After any blockchain network node in the blockchain network 102 receives the resource copyright acquisition request, according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the blockchain network 102, generate Whether the resource platform 103 owns the first resource copyright information of the first resource copyright.
S206:区块链网络102中的区块链网络节点将该第一资源版权信息发送至资源平台103的服务器1031,以使服务器1031根据该第一资源版权信息确定资源平台103是否拥有第一资源的版权。S206: The blockchain network node in the blockchain network 102 sends the first resource copyright information to the server 1031 of the resource platform 103, so that the server 1031 determines whether the resource platform 103 owns the first resource according to the first resource copyright information copyright.
S207:服务器1031将该第一资源版权信息转发给客户端101。S207: The server 1031 forwards the first resource copyright information to the client 101.
S208:客户端101可以根据第一资源版权信息确定是否显示该第一资源,若第一资源版权信息表示资源平台103拥有该第一资源的版权,则客户端101可以显示该第一资源,若第一资源版权信息表示资源平台103不拥有该第一资源的版权,则客户端101无法显示该第一资源。S208: The client 101 can determine whether to display the first resource according to the copyright information of the first resource. If the copyright information of the first resource indicates that the resource platform 103 owns the copyright of the first resource, the client 101 can display the first resource. If The first resource copyright information indicates that the resource platform 103 does not own the copyright of the first resource, so the client 101 cannot display the first resource.
由于区块链网络中记录有各个资源平台拥有的资源的资源版权信息,因此,各个资源平台需要校验资源版权时,可以直接从区块链网络中获取对应的资源版权信息,由此各个资源平台无需单独创建和维护资源版权信息系统,有效地降低了各个资源平台的运营和维护成本;此外,由于区块链网络是一种几乎不可能被更改的分布式数据库,因此,利用该区块链网络记录资源版权信息能够保证所记录的资源版权信息难以被篡改,从而有效地保证资源版权信息的安全性。Since the resource copyright information of the resources owned by each resource platform is recorded in the blockchain network, when each resource platform needs to verify the resource copyright, it can directly obtain the corresponding resource copyright information from the blockchain network, so that each resource The platform does not need to create and maintain a resource copyright information system separately, which effectively reduces the operation and maintenance costs of each resource platform; in addition, since the blockchain network is a distributed database that is almost impossible to be changed, therefore, using the block The chain network recording resource copyright information can ensure that the recorded resource copyright information is difficult to be tampered with, thus effectively ensuring the security of resource copyright information.
下面通过实施例对本申请提供的资源版权校验方法进行介绍。The method for verifying resource copyright provided by this application is introduced below through an embodiment.
下面先从资源平台的服务器的角度,对本申请实施例提供的资源版权校验方法进行介绍,参见图3,图3为本申请实施例提供的资源版权校验方法的流程示意图。为了便于描述,下述实施例以第一资源平台的服务器作为执行主体进行介绍,应理解,该资源版权校验方法还可以应用于任一资源平台的服务器。如图3所示,该方法包括:From the perspective of the server of the resource platform, the resource copyright verification method provided by the embodiment of the present application will be introduced below, referring to FIG. 3 , which is a schematic flowchart of the resource copyright verification method provided by the embodiment of the present application. For ease of description, the following embodiments are introduced with the server of the first resource platform as the execution subject. It should be understood that the resource copyright verification method can also be applied to the server of any resource platform. As shown in Figure 3, the method includes:
S301:向区块链网络发送资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识。S301: Send a resource copyright acquisition request to the blockchain network, where the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource.
当第一资源平台需要获取第一资源的版权信息时,第一资源平台的服务器向区块链网络发送资源版权获取请求,请求获取第一资源的资源版权信息,以确定第一资源平台是否拥有第一资源的版权,该资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识。When the first resource platform needs to obtain the copyright information of the first resource, the server of the first resource platform sends a resource copyright acquisition request to the blockchain network, requesting to obtain the resource copyright information of the first resource, so as to determine whether the first resource platform has For the copyright of the first resource, the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource.
需要说明的是,上述区块链网络是一种去中心化的分布式数据库,区块链网络中包括大量的区块链网络节点,各个区块链网络节点均可以获得一份完整的数据库拷贝,即各个区块链网络节点均可以存储各个资源平台所拥有的资源版权信息;即使该区块链网络中的某个或某些区块链网络节点不存储各资源平台的资源版权信息,或者仅存储部分资源平台的资源版权信息,该区块链网络节点也可以从该区块链网络中的其他网络节点处路由获得所需的资源平台的资源版权信息。即第一资源平台的服务器向区块链网络中任意一个区块链网络节点发送资源版权获取请求,均能相应地获取到对应的资源版权信息。It should be noted that the above-mentioned blockchain network is a decentralized distributed database. The blockchain network includes a large number of blockchain network nodes, and each blockchain network node can obtain a complete copy of the database. , that is, each blockchain network node can store the resource copyright information owned by each resource platform; even if one or some blockchain network nodes in the blockchain network do not store the resource copyright information of each resource platform, or Only the resource copyright information of some resource platforms is stored, and the blockchain network node can also obtain the required resource copyright information of the resource platform from other network nodes in the blockchain network. That is, the server of the first resource platform sends a resource copyright acquisition request to any blockchain network node in the blockchain network, and can obtain corresponding resource copyright information accordingly.
在一种可能的实现方式中,第一资源平台的服务器可以在接收到客户端发送的第一资源查看请求情况下,向区块链网络发送第一资源的资源版权获取请求。具体的,当用户需要查看第一资源时,用户可以通过操控终端设备,通过与第一资源平台对应的客户端生成第一资源查看请求,该第一资源查看请求中包括有第一资源的资源唯一标识,并将该第一资源查看请求发送给第一资源平台的服务器;第一资源平台的服务器根据接收的第一资源查看请求,进一步生成包括有第一资源平台的平台唯一标识和第一资源的资源唯一标识的资源版权获取请求,并将该资源版权获取请求发送给区块链网络。In a possible implementation manner, the server of the first resource platform may send a resource copyright acquisition request of the first resource to the blockchain network after receiving the first resource viewing request sent by the client. Specifically, when the user needs to view the first resource, the user can generate a first resource view request through the client corresponding to the first resource platform by manipulating the terminal device, and the first resource view request includes the resources of the first resource Unique identifier, and send the first resource viewing request to the server of the first resource platform; the server of the first resource platform further generates the platform unique identifier and the first resource platform including the first resource platform according to the received first resource viewing request. The resource uniquely identifies the resource copyright acquisition request of the resource, and sends the resource copyright acquisition request to the blockchain network.
例如,当用户需要通过终端设备上的腾讯视频应用观看电影《喜欢你》时,腾讯视频应用响应于用户的操作生成资源查看请求,该资源查看请求中包括电影《喜欢你》的资源唯一标识,并将该资源查看请求发送给腾讯视频的服务器;相应地,腾讯视频的服务器根据接收的资源查看请求,生成电影《喜欢你》的资源版权获取请求,该资源版权获取请求中除了包括电影《喜欢你》的资源唯一标识外,还包括腾讯视频的平台唯一标识,进而,腾讯视频的服务器将该资源版权获取请求发送给区块链网络。For example, when a user needs to watch the movie "Like You" through the Tencent Video application on the terminal device, the Tencent Video application generates a resource view request in response to the user's operation, and the resource view request includes the unique resource identifier of the movie "Like You", And send the resource viewing request to the server of Tencent Video; correspondingly, the server of Tencent Video generates a resource copyright acquisition request for the movie "Like You" according to the received resource viewing request, and the resource copyright acquisition request includes the movie "Like You" in addition to In addition to the resource unique identifier of "You", it also includes the unique identifier of the platform of Tencent Video, and then, the server of Tencent Video sends the resource copyright acquisition request to the blockchain network.
在另一种可能的实现方式中,第一资源平台的服务器可以在第一资源平台获取到新资源的情况下,向区块链网络发送资源版权获取请求,请求获取第一资源平台新增的资源的资源版权信息,以将第一资源平台新增的资源的资源版权信息保存在第一资源平台的服务器,该资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源平台新增的各个资源各自的资源唯一标识。In another possible implementation, the server of the first resource platform may send a resource copyright acquisition request to the blockchain network when the first resource platform acquires new resources, requesting to obtain the newly added resources of the first resource platform. The resource copyright information of the resource, so as to save the resource copyright information of the resource newly added by the first resource platform on the server of the first resource platform, and the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the new resource information of the first resource platform The resource unique identifier of each added resource.
例如,腾讯视频平台新增电影《复仇者联盟》和电影《红海行动》,腾讯视频的服务器可以向区块链网络发送资源版权获取请求,请求获取电影《复仇者联盟》和电影《红海行动》的资源版权信息,以将新增的电影《复仇者联盟》和电影《红海行动》的资源版权信息保存在第一资源平台的服务器,该资源版权获取请求中相应地包括腾讯视频的平台唯一标识、电影《复仇者联盟》的资源唯一标识和电影《红海行动》的资源唯一标识。For example, the Tencent video platform has newly added the movie "Avengers" and the movie "Operation Red Sea". The resource copyright information of the newly added movie "Avengers" and the movie "Red Sea Action" is saved in the server of the first resource platform, and the resource copyright acquisition request includes the platform unique identifier of Tencent Video correspondingly , the unique resource identifier of the movie "Avengers" and the unique resource identifier of the movie "Operation Red Sea".
可以理解的是,第一资源平台的服务器还可以在其他情况下向区块链网络发送资源版权获取请求,请求获取资源版权信息,例如,第一资源平台的服务器在指定时间向区块链网络发送资源版权获取请求,如在每日零点时刻向区块链网络请求获取热门资源的资源版权信息,以为后续提供资源服务打好基础;当然,也可以在其他情况下从区块链网络中请求获取资源版权信息,在此不对第一资源平台的服务器发送资源版权获取请求的时机做任何限定。It can be understood that the server of the first resource platform can also send resource copyright acquisition requests to the blockchain network in other cases, requesting resource copyright information, for example, the server of the first resource platform sends the blockchain network Send resource copyright acquisition requests, such as requesting the resource copyright information of popular resources from the blockchain network at midnight every day, so as to lay a solid foundation for the subsequent provision of resource services; of course, you can also request from the blockchain network under other circumstances To obtain resource copyright information, there is no limitation on the timing when the server of the first resource platform sends resource copyright acquisition request.
S302:接收所述区块链网络中的网络节点返回的第一资源版权信息,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的,所述第一资源版权信息用于表示所述第一资源平台是否拥有所述第一资源的版权的信息。S302: Receive the first resource copyright information returned by the network node in the blockchain network, the first resource copyright information is the network node according to the resource copyright acquisition request and each resource platform recorded in the blockchain The resource copyright information is generated, and the first resource copyright information is used to indicate whether the first resource platform owns the copyright of the first resource.
S303:根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。S303: Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
第一资源平台的服务器将资源版权获取请求发送至区块链网络后,区块链网络中的节点会在所接收的资源版权获取请求中提取第一资源平台的平台唯一标识和第一资源的资源唯一标识,进而根据区块链网络中记录的各个资源平台的资源版权信息,判断第一资源平台是否拥有第一资源的版权,进而根据判断结果生成第一资源版权信息,并将该第一资源版权信息发送至第一资源平台的服务器,该第一资源版权信息能表征第一资源平台是否拥有该第一资源的版权。相应地,第一资源平台的服务器根据接收的第一资源版权信息,即可确定第一资源平台是否拥有第一资源的版权。After the server of the first resource platform sends the resource copyright acquisition request to the blockchain network, the nodes in the blockchain network will extract the platform unique identifier of the first resource platform and the first resource’s unique identifier from the received resource copyright acquisition request. The resource is uniquely identified, and then according to the resource copyright information of each resource platform recorded in the blockchain network, it is judged whether the first resource platform owns the copyright of the first resource, and then the first resource copyright information is generated according to the judgment result, and the first The resource copyright information is sent to the server of the first resource platform, and the first resource copyright information can indicate whether the first resource platform owns the copyright of the first resource. Correspondingly, the server of the first resource platform can determine whether the first resource platform owns the copyright of the first resource according to the received copyright information of the first resource.
例如,腾讯视频的服务器将电影《喜欢你》的资源版权获取请求发送给区块链网络后,区块链网络中的网络节点从资源版权获取请求中提取腾讯视频的平台唯一标识以及电源《喜欢你》的资源唯一标识,进而根据区块链中记录的各个资源平台的资源版权信息,判断腾讯视频平台是否拥有电影《喜欢你》的版权,根据该判断结果生成电源《喜欢你》的资源版权信息,并将电源《喜欢你》的资源版权信息返回至腾讯视频的服务器,进而,腾讯视频的服务器即可根据该资源版权信息确定自身是否拥有电影《喜欢你》的版权。For example, after the server of Tencent Video sends the resource copyright acquisition request of the movie "Like You" to the blockchain network, the network nodes in the blockchain network extract the platform unique identifier of Tencent Video and the power source "Like You" from the resource copyright acquisition request. The unique identifier of the resource of "You", and then according to the resource copyright information of each resource platform recorded in the blockchain, it is judged whether Tencent Video Platform owns the copyright of the movie "Like You", and the resource copyright of "Like You" is generated according to the judgment result information, and return the resource copyright information of the power supply "Like You" to the server of Tencent Video, and then, the server of Tencent Video can determine whether it owns the copyright of the movie "Like You" according to the resource copyright information.
在一种可能的实现方式中,第一资源平台的服务器可以响应于客户端发起的资源查看请求,从区块链网络获取资源版权信息,进而将从区块链网络处获取的资源版权信息返回至对应的客户端,以使该客户端根据第一资源版权信息确定第一资源平台是否拥有第一资源的版权。In a possible implementation, the server of the first resource platform can obtain resource copyright information from the blockchain network in response to the resource viewing request initiated by the client, and then return the resource copyright information obtained from the blockchain network to to the corresponding client, so that the client determines whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
具体实现时,第一资源平台的服务器根据客户端发送的包括有第一资源的资源唯一标识的第一资源查看请求,对应地生成资源版权获取请求,该资源版权获取请求包括第一资源平台的平台唯一标识和第一资源的资源唯一标识,将该资源版权获取请求发送至区块链网络后,区块链网络相应地根据该资源版权获取请求生成的第一资源版权信息,并将该第一资源版权信息返回至第一资源平台的服务器,进而,第一资源平台的服务器根据客户端发送的第一资源查看请求,将该第一资源版权信息返回至对应的客户端,以使该客户端根据该第一资源版权信息确定第一资源平台是否拥有第一资源的版权。During specific implementation, the server of the first resource platform generates a resource copyright acquisition request correspondingly according to the first resource viewing request sent by the client and including the unique resource identifier of the first resource, and the resource copyright acquisition request includes the resource copyright acquisition request of the first resource platform. The platform unique identifier and the resource unique identifier of the first resource, after sending the resource copyright acquisition request to the blockchain network, the blockchain network correspondingly generates the first resource copyright information according to the resource copyright acquisition request, and sends the first resource copyright information A resource copyright information is returned to the server of the first resource platform, and then, the server of the first resource platform returns the first resource copyright information to the corresponding client according to the first resource viewing request sent by the client, so that the client The terminal determines whether the first resource platform owns the copyright of the first resource according to the first resource copyright information.
在另一种可能的实现方式中,为了保证第一资源平台的服务器在接收到来自客户端的第一资源查看请求后,能够快速地向客户端返回该第一资源版权信息,第一资源平台的服务器可以预先从区块链网络处获取其中记录的所有资源的资源版权信息或热门资源的资源版权信息,进而将所获取的资源版权信息存储起来。具体获取资源版权信息时,第一资源平台的服务器可以定时向区块链网络发送资源版权获取请求,如在每日零点时刻向区块链网络请求获取所有资源的资源版权信息或热门资源的资源版权信息,以为后续提供资源服务打好基础。In another possible implementation, in order to ensure that the server of the first resource platform can quickly return the copyright information of the first resource to the client after receiving the first resource viewing request from the client, the first resource platform's The server can obtain resource copyright information of all resources recorded therein or resource copyright information of popular resources from the blockchain network in advance, and then store the obtained resource copyright information. When specifically obtaining resource copyright information, the server of the first resource platform can regularly send resource copyright acquisition requests to the blockchain network, such as requesting resource copyright information of all resources or resources of popular resources to the blockchain network at 0:00 every day Copyright information to lay a solid foundation for the subsequent provision of resource services.
由此,第一资源平台的服务器接收到客户端发送的第一资源查看请求后,即可根据第一资源查看请求中第一资源的资源唯一标识,在自身存储的资源版权信息中进行查找,并将查找到第一资源版权信息返回至客户端,以告知用户第一资源平台是否拥有第一资源的版权。Thus, after the server of the first resource platform receives the first resource viewing request sent by the client, it can search in the resource copyright information stored by itself according to the resource unique identifier of the first resource in the first resource viewing request. And return the found first resource copyright information to the client to inform the user whether the first resource platform owns the copyright of the first resource.
在又一种可能的实现方式中,为了方便客户端及时响应用户请求,提高用户体验,第一资源平台的服务器可以主动向客户端广播第一资源平台中相关资源的资源版权信息,例如广播第一资源平台中所有资源或部分资源的资源版权信息例如热门资源的资源版权信息。具体的,第一资源平台的服务器可以在客户端启动初始化时,主动向所有客户端广播从区块链网络获取的资源版权信息,也可以根据用户优先级等级主动向用户优先级较高的客户端广播从区块链网络获取的资源版权信息,以便客户端打好资源版权信息的数据基础,以便后续及时响应用户请求。由此,当用户通过该客户端发起第一资源查看请求时,客户端自身即可根据该第一资源查看请求中包括第一资源的资源唯一标识,在自身存储的资源版权信息中进行查找,并根据查找到的第一资源版权信息确定第一资源平台是否拥有第一资源的版权,进而控制是否为用户播放资源。In yet another possible implementation, in order to facilitate the client to respond to user requests in a timely manner and improve user experience, the server of the first resource platform may actively broadcast resource copyright information of related resources in the first resource platform to the client, for example, broadcast the Resource copyright information of all or some resources in a resource platform, for example, resource copyright information of popular resources. Specifically, the server of the first resource platform can actively broadcast resource copyright information obtained from the blockchain network to all clients when the client starts initialization, and can also actively broadcast resource copyright information obtained from the blockchain network to clients with higher user priorities according to the user priority level. The terminal broadcasts the resource copyright information obtained from the blockchain network, so that the client can lay a good data foundation for the resource copyright information, so as to respond to user requests in a timely manner. Therefore, when the user initiates a first resource viewing request through the client, the client itself can search the resource copyright information stored in itself according to the unique resource identifier of the first resource included in the first resource viewing request. And determine whether the first resource platform owns the copyright of the first resource according to the found copyright information of the first resource, and then control whether to play the resource for the user.
可选地,第一资源平台的服务器除了可以接收区块链网络中的网络节点返回的第一资源版权信息外,还可以接收区块链网络中的网络节点返回的第一资源版权提示信息,该第一资源版权提示信息能够表示第二资源平台拥有该第一资源的版权,该第二资源平台为所有拥有第一资源版权的资源平台,该第二资源平台中可能包括第一资源平台,也可能不包括第一资源平台。Optionally, in addition to receiving the first resource copyright information returned by the network nodes in the blockchain network, the server of the first resource platform may also receive the first resource copyright prompt information returned by the network nodes in the blockchain network, The first resource copyright prompt information can indicate that the second resource platform owns the copyright of the first resource, and the second resource platform is all resource platforms that own the copyright of the first resource, and the second resource platform may include the first resource platform, It may also not include the first resource platform.
具体实现时,第一资源平台将资源版权获取请求发送给区块链网络后,区块链网络中的网络节点可以根据资源版权获取请求中的第一资源的资源唯一标识,在区块链网络中查找拥有该第一资源的版权的资源平台,将所查找到的拥有第一资源的版权的资源平台均作为第二资源平台,并根据查找结果生成第一资源版权提示信息,该第一资源版权提示信息表示第二资源平台拥有第一资源的版权。In specific implementation, after the first resource platform sends the resource copyright acquisition request to the blockchain network, the network nodes in the blockchain network can use the resource unique identifier of the first resource in the resource copyright acquisition request to obtain Search for resource platforms that own the copyright of the first resource, use the found resource platforms that own the copyright of the first resource as the second resource platform, and generate copyright prompt information for the first resource according to the search results, the first resource The copyright prompt information indicates that the second resource platform owns the copyright of the first resource.
例如,区块链网络接收到腾讯视频发送的电影《喜欢你》的资源版权获取请求后,区块链网络中的网络节点可以根据区块链网络中记录的各个资源平台的资源版权信息,以及资源版权获取请求中的电影《喜欢你》的资源唯一标识,确定哪些资源平台拥有电影《喜欢你》的版权,假设确定出腾讯视频和优酷视频均拥有电影《喜欢你》的版权,区块链网络中的网络节点则根据该确定结果生成电影《喜欢你》的版权提示信息,该版权提示信息表示腾讯视频和优酷视频均拥有电影《喜欢你》的版权。For example, after the blockchain network receives the resource copyright acquisition request of the movie "Like You" sent by Tencent Video, the network nodes in the blockchain network can use the resource copyright information of each resource platform recorded in the blockchain network, and The resource unique identifier of the movie "Like You" in the resource copyright acquisition request, determine which resource platforms own the copyright of the movie "Like You", assuming that both Tencent Video and Youku Video have the copyright of the movie "Like You", blockchain The network nodes in the network generate the copyright prompt information of the movie "Like You" according to the determination result, and the copyright prompt information indicates that both Tencent Video and Youku Video own the copyright of the movie "Like You".
可以理解的是,若第一资源版权信息表示第一资源平台具有第一资源的版权,即当第一资源平台属于第二资源平台时,则第一资源的服务器响应于客户端的第一资源查看请求,可以直接将第一资源发送至客户端,以使客户端相应地显示该第一资源,第一资源的服务器无需再将该第一资源版权提示信息发送给客户端。It can be understood that if the copyright information of the first resource indicates that the first resource platform has the copyright of the first resource, that is, when the first resource platform belongs to the second resource platform, the server of the first resource responds to the first resource viewing by the client. request, the first resource may be directly sent to the client, so that the client displays the first resource accordingly, and the server of the first resource does not need to send the copyright prompt information of the first resource to the client.
若第一资源版权信息表示第一资源平台不具有第一资源的版权,即第一资源平台不属于第二资源平台时,第一资源平台的服务器响应于客户端发送的第一资源查看请求,可以向该客户端返回第一资源版权信息以及第一资源版权提示信息,以使客户端根据第一资源版权提示信息进行信息提示,由此用户可以根据客户端提示的第一资源版权提示信息,相应地使用其他拥有第一资源版权的资源平台查看第一资源。If the first resource copyright information indicates that the first resource platform does not have the copyright of the first resource, that is, when the first resource platform does not belong to the second resource platform, the server of the first resource platform responds to the first resource viewing request sent by the client, The first resource copyright information and the first resource copyright prompt information can be returned to the client, so that the client can perform information prompts according to the first resource copyright prompt information, so that the user can, according to the first resource copyright prompt information prompted by the client, Correspondingly, use other resource platforms that own the copyright of the first resource to view the first resource.
例如,若电影《喜欢你》的版权信息表示腾讯视频不具有电影《喜欢你》的版权,那么,腾讯视频的服务器可以向终端设备上的腾讯视频应用返回电影《喜欢你》的资源版权提示信息,使得腾讯视频应用相应地为用户做出观看提示,提示用户其他具有电影《喜欢你》的资源版权的视频平台,用户可以相应地使用其他视频平台观看电影《喜欢你》。For example, if the copyright information of the movie "Like You" indicates that Tencent Video does not have the copyright of the movie "Like You", then the server of Tencent Video can return the resource copyright prompt information of the movie "Like You" to the Tencent Video application on the terminal device , so that the Tencent Video application will give the user a viewing reminder accordingly, reminding the user of other video platforms that have the resource copyright of the movie "Like You", and the user can use other video platforms to watch the movie "Like You" accordingly.
本申请实施例提供的资源版权校验方法中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,各个资源平台在需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification method provided by the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network. When each resource platform needs to verify the resource copyright, it will uniformly access the blockchain network and obtain resource copyright information from the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain resource copyright information separately system, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform. On the other hand, blockchain technology can ensure the authenticity of resource copyright information Effective and tamper-proof, thus ensuring the security of resource copyright information.
应理解,各个资源平台在获取到资源之前,均需要通过与版权方签订版权合同并创建资源版权签订交易来获取资源的版权。并且在创建完成资源版权签订交易后,各资源平台的服务器需要进一步向区块链网络广播该资源版权签订交易,以使区块链网络中的网络节点通过记录该资源版权签订交易,记录各资源平台的资源版权信息。It should be understood that each resource platform needs to obtain the copyright of the resource by signing a copyright contract with the copyright owner and creating a resource copyright signing transaction before obtaining the resource. And after the resource copyright signing transaction is created, the servers of each resource platform need to further broadcast the resource copyright signing transaction to the blockchain network, so that the network nodes in the blockchain network can record the resource copyright signing transaction by recording the resource copyright signing transaction. Platform resource copyright information.
下面将结合附图,对上述创建资源版权签订交易的过程进行介绍。参见图4,图4为本申请实施例提供的资源版权签订交易创建方法的流程示意图。为了便于描述,下述实施例将从第一资源平台的服务器的角度对创建资源版权签订交易的过程进行介绍,应理解,版权方节点在创建资源版权签订交易过程中需要执行的操作与第一资源平台的服务器执行的操作类似。如图4所示,该资源版权签订交易创建方法包括以下步骤:The following will introduce the above-mentioned process of creating a resource copyright signing transaction with reference to the accompanying drawings. Referring to FIG. 4 , FIG. 4 is a schematic flowchart of a method for creating a resource copyright signing transaction provided by an embodiment of the present application. For ease of description, the following embodiments will introduce the process of creating a resource copyright signing transaction from the perspective of the server of the first resource platform. The operation performed by the server of the resource platform is similar. As shown in Figure 4, the resource copyright signing transaction creation method includes the following steps:
S401:向版权方节点发送版权合同签订请求,所述版权合同签订请求中包括版权合同和第一数字签名,所述第一数字签名是根据所述第一资源平台的私钥对版权合同进行数字签名而生成的。S401: Send a copyright contract signing request to the copyright owner node, the copyright contract signing request includes a copyright contract and a first digital signature, and the first digital signature is a digital signature of the copyright contract according to the private key of the first resource platform generated by the signature.
第一资源平台方与版权方在线下关于授权某资源的具体事项商议妥当后,第一资源平台方可以根据商议结果拟定该资源相关的版权合同,并将该版权合同上传至第一资源平台的服务器。进而,第一资源平台的服务器利用第一资源平台的私钥对该版权合同的摘要信息进行加密,生成第一数字签名,并将版权合同和该第一数字签名添加至版权合同签订请求中,将该版权合同签订请求发送给版权方节点,以使版权方节点对该版权合同进行确认。After the first resource platform party and the copyright owner have negotiated properly about the specific matters concerning the authorization of a certain resource offline, the first resource platform party can draw up a copyright contract related to the resource according to the negotiation results, and upload the copyright contract to the first resource platform. server. Furthermore, the server of the first resource platform encrypts the summary information of the copyright contract with the private key of the first resource platform, generates a first digital signature, and adds the copyright contract and the first digital signature to the copyright contract signing request, Send the copyright contract signing request to the copyright owner node, so that the copyright owner node can confirm the copyright contract.
S402:接收所述版权方节点在对所述第一数字签名验证通过后返回的版权合同签订结果,所述版权合同签订结果中包括版权合同和第二数字签名,所述第二数字签名是根据版权方的私钥对版权合同进行数字签名而生成的。S402: Receive the copyright contract signing result returned by the copyright owner node after the first digital signature is verified, the copyright contract signing result includes the copyright contract and the second digital signature, and the second digital signature is based on The private key of the copyright party is generated by digitally signing the copyright contract.
版权方节点接收到第一资源平台的服务器发送的版权合同签订请求后,根据第一资源平台的公钥对版权合同签订请求进行数字签名验证。具体的,版权方节点利用第一资源平台的公钥对版权合同签订请求中的第一数字签名进行解密,得到版权合同的摘要信息;此外,版权方节点还需要利用哈希函数对版权合同签订请求中的版权合同进行处理,得到该版权合同的摘要信息。进而对比利用哈希函数处理得到的摘要信息与解密第一数字签名得到的摘要信息是否一致,若一致,则表示版权合同在传输的过程中没有被篡改,验证通过;反之,若不一致,则表示版权合同在传输的过程中可能被篡改,验证不通过,版权方节点可以丢弃该版权合同签订请求。After receiving the copyright contract signing request sent by the server of the first resource platform, the copyright owner node performs digital signature verification on the copyright contract signing request according to the public key of the first resource platform. Specifically, the copyright owner node uses the public key of the first resource platform to decrypt the first digital signature in the copyright contract signing request to obtain the summary information of the copyright contract; in addition, the copyright owner node also needs to use the hash function to sign the copyright contract The copyright contract in the request is processed, and the summary information of the copyright contract is obtained. Then compare whether the summary information obtained by using the hash function is consistent with the summary information obtained by decrypting the first digital signature. If they are consistent, it means that the copyright contract has not been tampered with in the transmission process, and the verification is passed; otherwise, if they are inconsistent, it means that The copyright contract may be tampered with during transmission, and if the verification fails, the copyright party node can discard the copyright contract signing request.
需要说明的是,若版权方节点利用第一资源平台的公钥无法解密该第一数字签名,则说明该版权合同签订请求不是来自第一资源平台,可能来自某些非法分子,对于此种情况,版权方节点可以不对该版权合同签订请求做出响应,丢弃该版权合同签订请求。It should be noted that if the copyright owner node cannot decrypt the first digital signature with the public key of the first resource platform, it means that the request for signing the copyright contract is not from the first resource platform, but may come from some illegal elements. In this case , the copyright party node may not respond to the copyright contract signing request, and discard the copyright contract signing request.
版权方节点对该第一数字签名验证通过后,向第一资源平台的服务器返回版权合同签订结果,该版权合同签订结果中包括已确认的版权合同和第二数字签名,该第二数字签名是版权方节点利用自身的私钥对版权合同的摘要信息进行加密生成的。After the copyright owner node passes the verification of the first digital signature, it returns the signing result of the copyright contract to the server of the first resource platform. The signing result of the copyright contract includes the confirmed copyright contract and the second digital signature. The second digital signature is The copyright party node encrypts the summary information of the copyright contract with its own private key.
S403:根据所述版权方的公钥对所述版权合同签订结果进行数字签名验证。S403: Perform digital signature verification on the signing result of the copyright contract according to the public key of the copyright owner.
第一资源平台的服务器接收到版权方节点返回的版权合同签订结果后,根据版权方节点的公钥对版权合同签订结果中的第二数字签名进行验证。具体的,第一资源平台的服务器利用版权方节点的公钥对该第二数字签名进行解密,得到版权合同的摘要信息;此外,第一资源平台的服务器还需要利用哈希函数对版权合同签订结果中的版权合同进行处理,得到该版权合同的摘要信息。进而,第一资源平台的服务器对比经哈希函数处理得到的摘要信息与解密第二数字签名得到的摘要信息是否一致,若一致,则表示版权合同在传输的过程中没有被篡改,数字签名验证通过;反之,若不一致,则表示版权合同在传输的过程中可能被篡改,数字签名验证不通过,第一资源平台的服务器可以丢弃该版权合同签订请求。After receiving the copyright contract signing result returned by the copyright owner node, the server of the first resource platform verifies the second digital signature in the copyright contract signing result according to the public key of the copyright owner node. Specifically, the server of the first resource platform uses the public key of the copyright owner node to decrypt the second digital signature to obtain the summary information of the copyright contract; in addition, the server of the first resource platform also needs to use the hash function to sign the copyright contract The copyright contract in the result is processed, and the summary information of the copyright contract is obtained. Furthermore, the server of the first resource platform compares whether the summary information obtained by hash function processing is consistent with the summary information obtained by decrypting the second digital signature. If they are consistent, it means that the copyright contract has not been tampered with during the transmission process, and the digital signature verification Passed; otherwise, if inconsistent, it means that the copyright contract may be tampered with during transmission, and the digital signature verification fails, and the server of the first resource platform can discard the copyright contract signing request.
需要说明的是,若第一资源平台的服务器利用版权方的公钥无法解密该第二数字签名,则说明该版权合同签订结果不是来自版权方节点,可能来自某些非法分子,对于此种情况,第一资源平台的服务器可以不对该版权合同签订结果做出响应,丢弃该版权合同签订结果。It should be noted that if the server of the first resource platform cannot decrypt the second digital signature with the public key of the copyright owner, it means that the signing result of the copyright contract is not from the node of the copyright owner, but may be from some illegal elements. In this case , the server of the first resource platform may not respond to the signing result of the copyright contract, and discard the signing result of the copyright contract.
S404:若数字签名验证通过,则创建所述资源版权签订交易。S404: If the digital signature verification passes, create the resource copyright signing transaction.
若第一资源平台的服务器对版权合同签订结果进行数字签名验证通过,第一资源平台的服务器则相应地创建资源版权签订交易,该资源版权签订交易包括已经过第一资源平台方和版权方确认的版权合同以及与其对应的资源版权信息,该资源版权信息能够表征第一资源平台拥有该资源,此外,该资源版权信息还可以表征该第一资源平台拥有该资源的期限。If the server of the first resource platform passes the digital signature verification of the signing result of the copyright contract, the server of the first resource platform will create a resource copyright signing transaction accordingly, and the resource copyright signing transaction includes confirmation by the first resource platform and the copyright owner The copyright contract and the resource copyright information corresponding to it, the resource copyright information can indicate that the first resource platform owns the resource, and in addition, the resource copyright information can also indicate the time limit for the first resource platform to own the resource.
可以理解的是,上述资源版权签订交易也可以由版权方节点发起,由版权方节点发起该资源版权签订交易时,版权方节点需要执行的操作与上述第一资源平台服务器执行的操作相同,详细参见上述S401至S404的具体实现过程,在此不再赘述。It can be understood that the resource copyright signing transaction mentioned above can also be initiated by the copyright party node. When the copyright party node initiates the resource copyright signing transaction, the operation that the copyright party node needs to perform is the same as that performed by the first resource platform server above. Refer to the specific implementation process of S401 to S404 above, which will not be repeated here.
第一资源平台的服务器创建完成资源版权签订交易后,第一资源平台的服务器相应地向区块链网络广播该资源版权签订交易,以使区块链网络中的网络节点在区块链网络中记录资源版权签订交易中包括的已签订的版权合同以及与其对应的资源版权信息。After the server of the first resource platform completes the resource copyright signing transaction, the server of the first resource platform broadcasts the resource copyright signing transaction to the blockchain network accordingly, so that the network nodes in the blockchain network can Record the signed copyright contract included in the resource copyright signing transaction and the corresponding resource copyright information.
需要说明的是,第一资源平台的服务器在向区块链网络广播资源版权签订交易的过程中,第一资源平台的服务器可以仅向区块链网络某个或某些网络节点广播该资源版权签订交易,区块链网络中的其他网络节点可以相应地从这些区块链网络节点处路由该资源版权签订交易。It should be noted that when the server of the first resource platform broadcasts the resource copyright to the blockchain network to sign a transaction, the server of the first resource platform can only broadcast the resource copyright to one or some network nodes of the blockchain network. Sign the transaction, and other network nodes in the blockchain network can route the resource copyright signing transaction from these blockchain network nodes accordingly.
需要说明的是,上述向区块链网络广播资源版权签订交易的操作也可以由版权方节点执行。在一种可能的实现方式中,版权方节点对第一资源平台的服务器返回的版权合同签订结果验证通过后,可以相应地生成资源版权签订交易,将该资源版权签订交易向区块链网络广播;在另一种可能的实现方式中,第一资源平台的服务器创建资源版权签订交易后,版权方节点可以从第一资源平台的服务器处获取该资源版权签订交易,进而向区块链网络广播该资源版权签订交易。It should be noted that the above-mentioned operation of broadcasting resource copyright signing transactions to the blockchain network can also be performed by the copyright owner node. In a possible implementation, after the copyright owner node passes the verification of the copyright contract signing result returned by the server of the first resource platform, it can generate a resource copyright signing transaction accordingly, and broadcast the resource copyright signing transaction to the blockchain network ; In another possible implementation, after the server of the first resource platform creates a resource copyright signing transaction, the copyright owner node can obtain the resource copyright signing transaction from the server of the first resource platform, and then broadcast it to the blockchain network The resource rights signed transaction.
在上述创建资源版权签订交易的过程中,第一资源平台的服务器和版权方网络节点均采用数字签名的方式,对传输的版权合同进行加密处理,由此保证版权合同在传输的过程中的安全性,防止版权合同在传输的过程中被篡改。在资源版权签订交易创建完成后,第一资源平台的服务器或版权方节点将该资源版权签订交易广播至区块链网络,以使区块链网络中各个节点记录该资源版权签订交易中包括的已签订的版权合同以及与其对应的资源版权信息,由区块链网络保存已签订的版权合同以及与其对应的资源版权信息,进一步保证已签订的版权合同以及与其对应的资源版权信息存储的安全性。In the above-mentioned process of creating resource copyright signing transactions, both the server of the first resource platform and the network node of the copyright party use digital signatures to encrypt the transmitted copyright contract, thereby ensuring the security of the copyright contract during transmission To prevent the copyright contract from being tampered with during transmission. After the resource copyright signing transaction is created, the server or copyright party node of the first resource platform broadcasts the resource copyright signing transaction to the blockchain network, so that each node in the blockchain network can record the resources included in the resource copyright signing transaction. The signed copyright contract and its corresponding resource copyright information are stored in the blockchain network to further ensure the security of the signed copyright contract and its corresponding resource copyright information storage .
由上述实施例可知,区块链网络中记录有已签订的版权合同以及与其对应的资源版权信息。若需要查看已签订的版权合同时,则可以向区块链网络发起版权合同查看请求,以请求查看相应的版权合同,由于版权合同涉及合同双方的隐私以及商业机密,因此,版权合同具有极高的私密性,为了保证合同方的版权合同的安全性和私密性,本申请实施例还提供了一种版权合同查看方法,以方便合同方查看自己的版权合同,而防止其他人随意查看或者盗用合同对合同方造成危害,以保证版权合同的安全性。It can be known from the above embodiments that the signed copyright contract and the corresponding resource copyright information are recorded in the blockchain network. If you need to view the signed copyright contract, you can initiate a copyright contract viewing request to the blockchain network to request to view the corresponding copyright contract. Since the copyright contract involves the privacy and commercial secrets of both parties to the contract, the copyright contract has a very high In order to ensure the security and privacy of the copyright contract of the contracting party, the embodiment of this application also provides a copyright contract viewing method to facilitate the contracting party to view its own copyright contract and prevent others from viewing or misappropriating it at will. The contract creates hazards to the contracting parties to ensure the security of the copyright contract.
下面将结合附图,对上述查看版权合同的过程进行介绍。参见图5,图5为本申请实施例提供的版权合同查看方法的流程示意图。为了便于描述,下述实施例将以第一资源平台的服务器作为执行主体,对查看版权合同的过程进行介绍,应理解,版权方节点查看版权合同时需要执行的操作与第一资源平台的服务器执行的操作类似。如图5所示,该版权合同查看方法包括以下步骤:The above-mentioned process of viewing the copyright contract will be introduced below with reference to the accompanying drawings. Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a copyright contract viewing method provided by an embodiment of the present application. For ease of description, the following embodiments will use the server of the first resource platform as the execution subject to introduce the process of viewing the copyright contract. It should be understood that the operations that the copyright party node needs to perform when viewing the copyright contract are the same as those performed by the server of the first resource platform. The operations performed are similar. As shown in Figure 5, the copyright contract viewing method includes the following steps:
S501:向所述区块链网络发送版权合同查看请求,所述版权合同查看请求中包括第一版权合同的唯一标识码和第三数字签名,所述第三数字签名是利用所述第一资源平台的私钥对所述唯一标识码进行加密生成的。S501: Send a copyright contract viewing request to the blockchain network, the copyright contract viewing request includes the unique identification code of the first copyright contract and a third digital signature, and the third digital signature uses the first resource The unique identification code is generated by encrypting the unique identification code with the private key of the platform.
当第一资源平台的服务器需要查看第一资源的版权合同时,第一资源平台的服务器向区块链网络发送版权合同查看请求,该版权合同查看请求中包括该第一资源对应的第一版权合同的唯一标识码以及第三数字签名,第三数字签名是第一资源平台的服务器对第一版权合同的唯一标识码加密生成的。具体的,第一资源平台的服务器利用第一资源平台自身的私钥对第一版权合同的唯一标识码进行加密,由此生成第三数字签名。When the server of the first resource platform needs to view the copyright contract of the first resource, the server of the first resource platform sends a copyright contract viewing request to the blockchain network, and the copyright contract viewing request includes the first copyright corresponding to the first resource The unique identification code of the contract and the third digital signature. The third digital signature is generated by encrypting the unique identification code of the first copyright contract by the server of the first resource platform. Specifically, the server of the first resource platform encrypts the unique identification code of the first copyright contract with the private key of the first resource platform itself, thereby generating the third digital signature.
S502:接收所述区块链网络中的网络节点在所述第三数字签名验证通过后返回的第一版权合同密文,所述第一版权合同密文是利用所述第一资源平台的公钥对第一版权合同进行加密生成的。S502: Receive the first copyright contract ciphertext returned by the network node in the blockchain network after the third digital signature is verified, and the first copyright contract ciphertext is the public information of the first resource platform. The key is generated by encrypting the first copyright contract.
区块链网络中的网络节点接收到第一资源平台的服务器发送的版权合同查看请求后,利用第一资源平台的公钥对版权合同查看请求中的第三数字签名进行验证。具体的,区块链网络节点利用第一资源平台的公钥对第三数字签名进行解密操作,得到第一版权合同的唯一标识码;进而,对比该解密得到的唯一标识码与版权合同查看请求中的唯一标识码是否一致,若一致,则表示版权合同查看请求在发送的过程中没有被篡改,验证通过;若不一致,则表示版权合同查看请求在发送的过程中可能被篡改,验证不通过,区块链网络节点可以丢弃该版权合同查看请求。After the network node in the blockchain network receives the copyright contract viewing request sent by the server of the first resource platform, it uses the public key of the first resource platform to verify the third digital signature in the copyright contract viewing request. Specifically, the blockchain network node uses the public key of the first resource platform to decrypt the third digital signature to obtain the unique identification code of the first copyright contract; and then compares the unique identification code obtained by decryption with the copyright contract viewing request Whether the unique identification code in is consistent. If they are consistent, it means that the copyright contract viewing request has not been tampered with during the sending process, and the verification is passed. If not, it means that the copyright contract viewing request may be tampered with during the sending process, and the verification fails. , the blockchain network node can discard the copyright contract viewing request.
需要说明的是,若区块链网络节点利用第一资源平台的公钥无法解密该第三数字签名,则说明该版权合同查看请求不是来自第一资源平台,可能来自某些不具有查看版权合同资格的违法分子,对于此种情况,区块链网络节点可以不对该版权合同查看请求做出响应,丢弃该版权合同查看请求。It should be noted that if the blockchain network node cannot decrypt the third digital signature with the public key of the first resource platform, it means that the copyright contract viewing request does not come from the first resource platform, but may come from someone who does not have the right to view the copyright contract. In this case, the blockchain network node may not respond to the copyright contract viewing request, and discard the copyright contract viewing request.
区块链网络节点对第三数字签名验证通过后,在区块链网络中查找第一资源的第一版权合同,进而利用第一资源平台的公钥对第一版权合同加密生成第一版权合同密文,将该第一版权合同密文返回给第一资源平台的服务器。相应地,第一资源平台的服务器接收区块链网络节点返回的第一版权合同密文后,利用自身的私钥对该第一版权合同密文进行解密,即可得到第一资源的第一版权合同。After the blockchain network node passes the verification of the third digital signature, it searches the blockchain network for the first copyright contract of the first resource, and then uses the public key of the first resource platform to encrypt the first copyright contract to generate the first copyright contract ciphertext, returning the ciphertext of the first copyright contract to the server of the first resource platform. Correspondingly, after receiving the ciphertext of the first copyright contract returned by the blockchain network node, the server of the first resource platform decrypts the ciphertext of the first copyright contract with its own private key, and then obtains the first copyright contract ciphertext of the first resource. copyright contract.
可以理解的是,版权方节点也可以向区块链网络发起版权合同查看请求。当版权方节点发起版权合同查看请求时,需要执行的操作与上述第一资源平台服务器执行的操作相同,详细参见上述S501至S502的具体实现过程,在此不再赘述。It is understandable that the copyright owner node can also initiate a copyright contract viewing request to the blockchain network. When the copyright owner node initiates a copyright contract viewing request, the operations to be performed are the same as those performed by the above-mentioned first resource platform server. For details, refer to the specific implementation process of S501 to S502 above, which will not be repeated here.
在上述查看版权合同的过程中,第一资源平台的服务器通过数字签名的方式对第一版权合同的唯一标识码进行加密,保证了第一版权合同的唯一标识码在传输的过程中不被篡改;此外,区块链网络向第一资源平台的服务器返回第一版权合同时,传输的是第一版权合同的密文,同样保证了第一版权合同在传输的过程中不被泄露或篡改。由于只有合同双方拥有版权合同的唯一标识码以及各自对应的私钥,其他人无法获得这些信息,因此,其他人就无法从区块链网络中获取到合同双方签订的合同内容,因此,利用该方法实现版权合同的查看,能够保证版权合同的安全性和私密性。In the above process of viewing the copyright contract, the server of the first resource platform encrypts the unique identification code of the first copyright contract through a digital signature, ensuring that the unique identification code of the first copyright contract is not tampered with during transmission In addition, when the blockchain network returns the first copyright contract to the server of the first resource platform, the ciphertext of the first copyright contract is transmitted, which also ensures that the first copyright contract will not be leaked or tampered with during transmission. Since only the two parties to the contract have the unique identification code of the copyright contract and their corresponding private keys, other people cannot obtain this information. Therefore, others cannot obtain the content of the contract signed by the two parties from the blockchain network. Therefore, using this The method implements viewing of the copyright contract, which can ensure the security and privacy of the copyright contract.
下面从区块链网络节点的角度,对本申请实施例提供的资源版权校验方法进行介绍,参见图6,图6为本申请实施例提供的资源版权校验方法的流程示意图。应理解,该资源版权校验方法可以应用于区块链网络中任一网络节点。如图6所示,该方法包括:The following is an introduction to the resource copyright verification method provided by the embodiment of the present application from the perspective of a blockchain network node. Refer to FIG. 6 , which is a schematic flowchart of the resource copyright verification method provided by the embodiment of the present application. It should be understood that the resource copyright verification method can be applied to any network node in the blockchain network. As shown in Figure 6, the method includes:
S601:接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识。S601: Receive a resource copyright acquisition request sent by a server of the first resource platform, where the resource copyright acquisition request includes a platform unique identifier of the first resource platform and a resource unique identifier of the first resource.
本申请实施例提供的区块链网络是一种去中心化的分布式数据库,该区块链网络中包括大量的区块链网络节点,各个区块链网络节点均可以获得一份完整的数据库拷贝,即各个区块链网络节点均可以存储各个资源平台的资源版权信息;即使区块链网络中的某个或某些网络节点不存储各资源平台的资源版权信息,或仅存储部分资源版权信息,该区块链网络节点也可以从区块链网络中的其他网络节点处路由获得所需的资源平台的资源版权信息。The blockchain network provided by the embodiment of the present application is a decentralized distributed database. The blockchain network includes a large number of blockchain network nodes, and each blockchain network node can obtain a complete database. Copy, that is, each blockchain network node can store the resource copyright information of each resource platform; even if one or some network nodes in the blockchain network do not store the resource copyright information of each resource platform, or only store part of the resource copyright information Information, the blockchain network node can also obtain the resource copyright information of the required resource platform from other network nodes in the blockchain network.
当第一资源平台需要获取第一资源的版权信息时,第一资源平台服务器将携带有第一资源平台的平台唯一标识和第一资源的资源唯一标识的资源版权获取请求发送至区块链网络中的区块链网络节点,区块链网络节点相应地接收该资源版权获取请求。When the first resource platform needs to obtain the copyright information of the first resource, the first resource platform server sends a resource copyright acquisition request carrying the platform unique identifier of the first resource platform and the resource unique identifier of the first resource to the blockchain network The block chain network node in the block chain network node correspondingly receives the resource copyright acquisition request.
S602:根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权。S602: Generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain, and the first resource copyright information indicates whether the first resource platform owns the first resource platform. Copyright of a resource.
区块链网络节点接收到第一资源平台的服务器发送的资源版权获取请求后,根据该资源版权获取请求中的第一资源平台的平台唯一标识和第一资源的资源唯一标识,在区块链网络中记录的各个资源平台的资源版权信息中查找相关资源版权信息,根据查找结果确定第一资源平台是否拥有第一资源的版权,进而根据确定结果生成第一资源版权信息,该第一资源版权信息能够表征第一资源平台是否拥有第一资源的版权。After the block chain network node receives the resource copyright acquisition request sent by the server of the first resource platform, according to the platform unique identifier of the first resource platform and the resource unique identifier of the first resource in the resource copyright acquisition request, the network node in the blockchain Find relevant resource copyright information from the resource copyright information of each resource platform recorded in the network, determine whether the first resource platform owns the copyright of the first resource according to the search result, and then generate the first resource copyright information according to the determination result, the first resource copyright The information can represent whether the first resource platform owns the copyright of the first resource.
在一种可能的实现方式中,接收资源版权获取请求的区块链网络节点上存储有各个资源平台的资源版权信息,相应地,该区块链网络节点在自身记录的各个资源平台的资源版权信息中,查找并确定第一资源平台是否拥有第一资源的版权。In a possible implementation, the blockchain network node that receives the resource copyright acquisition request stores the resource copyright information of each resource platform. Correspondingly, the resource copyright information of each resource platform recorded by the blockchain network node itself In the information, search and determine whether the first resource platform owns the copyright of the first resource.
在另一种可能的实现方式中,接收资源版权获取请求的区块链网络节点上并未存储各个资源平台的资源版权信息,相应地,该区块链网络节点需要从该区块链网络中的其他网络节点处路由获取各个资源平台的资源版权信息,进而,在所获取的各个资源平台的资源版权信息中查找并判断第一资源平台是否拥有第一资源的版权;或者,该区块链网络节点可以将资源版权获取请求路由至其他存储有各个资源平台的资源版权信息的区块链网络节点处,由这些区块链网络节点查找并判断第一资源平台是否拥有第一资源的版权。In another possible implementation, the blockchain network node that receives the resource copyright acquisition request does not store the resource copyright information of each resource platform. Correspondingly, the blockchain network node needs to obtain The resource copyright information of each resource platform is obtained by routing at other network nodes of the network, and then, it is searched in the obtained resource copyright information of each resource platform and judged whether the first resource platform owns the copyright of the first resource; or, the blockchain The network node can route the resource copyright acquisition request to other blockchain network nodes that store the resource copyright information of each resource platform, and these blockchain network nodes search and determine whether the first resource platform owns the copyright of the first resource.
S603:向所述服务器返回所述第一资源版权信息。S603: Return the copyright information of the first resource to the server.
区块链网络节点生成第一资源版权信息后,将该第一资源版权信息返回至第一资源平台的服务器,以告知第一资源平台的服务器该第一资源平台是否拥有第一资源的版权。After the blockchain network node generates the copyright information of the first resource, it returns the copyright information of the first resource to the server of the first resource platform to inform the server of the first resource platform whether the first resource platform owns the copyright of the first resource.
此外,区块链网络节点在接收到第一资源平台的服务器发送的资源版权获取请求后,还可以根据该资源版权获取请求向该第一资源平台的服务器返回第一资源版权提示信息,该第一资源版权提示信息表示第二资源平台拥有第一资源的版权。In addition, after receiving the resource copyright acquisition request sent by the server of the first resource platform, the blockchain network node can also return the first resource copyright prompt information to the server of the first resource platform according to the resource copyright acquisition request. A resource copyright prompt message indicates that the second resource platform owns the copyright of the first resource.
具体的,区块链网络节点在接收到资源版权获取请求后,可以根据资源版权获取请求中的第一资源的资源唯一标识,在区块链网络记录的各个资源平台的资源版权信息中查找拥有该第一资源版权的资源平台,进而,将查找到的所有拥有该第一资源版权的资源平台作为第二资源平台,并根据第二资源平台生成第一资源提示信息,将该第一资源提示信息返回至第一资源平台的服务器。Specifically, after the blockchain network node receives the resource copyright acquisition request, it can search the resource copyright information of each resource platform recorded in the blockchain network according to the resource unique identifier of the first resource in the resource copyright acquisition request. The resource platform of the copyright of the first resource, and then, takes all the resource platforms found that have the copyright of the first resource as the second resource platform, and generates the first resource prompt information according to the second resource platform, and prompts the first resource The information is returned to the server of the first resource platform.
本申请实施例提供的资源版权校验方法中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,各个资源平台在需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification method provided by the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network. When each resource platform needs to verify the resource copyright, it will uniformly access the blockchain network and obtain resource copyright information from the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain resource copyright information separately system, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform. On the other hand, blockchain technology can ensure the authenticity of resource copyright information Effective and tamper-proof, thus ensuring the security of resource copyright information.
需要说明的是,区块链网络中记录的各个资源平台的资源版权信息,是基于资源平台方与版权方签订版权合同、创建资源版权签订交易生成的。在实际应用中,资源平台方与版权方完成版权合同的签订后,将基于该版权合同创建资源版权签订交易,并将该资源版权签订交易广播至区块链网络,该资源版权签订交易中包括已签订的版权合同以及与其对应的资源版权信息。相应地,区块链网络中的网络节点接收到资源版权签订交易后,在区块链网络中记录该资源版权交易中包括的已签订的版权合同以及与其对应的资源版权信息。It should be noted that the resource copyright information of each resource platform recorded in the blockchain network is generated based on the signing of a copyright contract between the resource platform party and the copyright party, and the creation of resource copyright signing transactions. In practical applications, after the resource platform party and the copyright party complete the signing of the copyright contract, they will create a resource copyright signing transaction based on the copyright contract, and broadcast the resource copyright signing transaction to the blockchain network. The resource copyright signing transaction includes The signed copyright contract and its corresponding resource copyright information. Correspondingly, after receiving the resource copyright signing transaction, the network nodes in the blockchain network record the signed copyright contract included in the resource copyright transaction and the corresponding resource copyright information in the blockchain network.
当资源平台方或者版权方需要查看已签订的资源的版权合同时,资源平台方的服务器或版权方节点可以向区块链网络发起版权合同查看请求,请求查看版权合同。When the resource platform party or the copyright owner needs to view the copyright contract of the signed resource, the server of the resource platform party or the copyright owner node can initiate a copyright contract viewing request to the blockchain network, requesting to view the copyright contract.
下面将结合附图,对查看版权合同的过程进行介绍。参见图7,图7为本申请实施例提供的版权合同查看方法的流程示意图。为了便于描述,下述实施例将以区块链网络节点作为执行主体,对查看版权合同的过程进行介绍。如图7所示,该版权合同查看方法包括以下步骤:The following will introduce the process of viewing the copyright contract with reference to the accompanying drawings. Referring to FIG. 7 , FIG. 7 is a schematic flowchart of a method for viewing a copyright contract provided by an embodiment of the present application. For the convenience of description, the following embodiments will introduce the process of viewing the copyright contract with the blockchain network node as the execution subject. As shown in Figure 7, the copyright contract viewing method includes the following steps:
S701:接收所述服务器发送的版权合同查看请求,所述版权合同查看请求中包括第一版权合同的唯一标识码和第三数字签名,所述第三数据签名是利用所述第一资源平台的私钥对所述唯一标识码进行加密生成的。S701: Receive the copyright contract viewing request sent by the server, the copyright contract viewing request includes the unique identification code of the first copyright contract and a third digital signature, and the third data signature is obtained by using the first resource platform The private key is generated by encrypting the unique identification code.
当第一资源平台的服务器或版权方节点需要查看第一资源的版权合同时,第一资源平台的服务器或版权方节点向区块链网络发送版权合同查看请求,该版权合同查看请求中包括该第一资源对应的第一版权合同的唯一标识码以及第三数字签名。若该版权合同查看请求为第一资源平台的服务器发起的,则第三数字签名是第一资源平台的服务器利用第一资源平台自身的私钥对第一版权合同的唯一标识码进行加密生成的;若该版权合同查看请求为版权方节点发起的,则第三数字签名是版权方节点利用自身的私钥对第一版权合同的唯一标识码进行加密生成的。When the server of the first resource platform or the copyright owner node needs to view the copyright contract of the first resource, the server of the first resource platform or the copyright owner node sends a copyright contract viewing request to the blockchain network, and the copyright contract viewing request includes the The unique identification code of the first copyright contract corresponding to the first resource and the third digital signature. If the request for viewing the copyright contract is initiated by the server of the first resource platform, the third digital signature is generated by the server of the first resource platform using the private key of the first resource platform to encrypt the unique identification code of the first copyright contract ; If the copyright contract viewing request is initiated by the copyright party node, the third digital signature is generated by the copyright party node using its own private key to encrypt the unique identification code of the first copyright contract.
S702:根据与所述唯一标识码相关的合同方的公钥,对所述版权合同查看请求进行签名验证。S702: Perform signature verification on the copyright contract viewing request according to the public key of the contracting party related to the unique identification code.
区块链网络节点接收到版权合同查看请求后,根据与该第一版权合同的唯一标识码相关的合同方的公钥,对该版权合同查看请求进行签名验证。After receiving the copyright contract viewing request, the block chain network node performs signature verification on the copyright contract viewing request according to the public key of the contracting party related to the unique identification code of the first copyright contract.
具体的,若该版权合同查看请求是由第一资源平台方发起的,则区块链网络节点利用第一资源平台的公钥对版权合同中的第三数字签名进行解密操作,得到第一版权合同的唯一标识码;进而,对比该解密得到的唯一标识码与版权合同查看请求中的唯一标识码是否一致,若一致,则表示版权合同查看请求在发送的过程中没有被篡改,验证通过;若不一致,则表示版权合同查看请求在发送的过程中可能被篡改,验证不通过,区块链网络节点可以丢弃该版权合同查看请求。Specifically, if the request for viewing the copyright contract is initiated by the first resource platform, the blockchain network node uses the public key of the first resource platform to decrypt the third digital signature in the copyright contract to obtain the first copyright contract. The unique identification code of the contract; furthermore, compare whether the unique identification code obtained by decryption is consistent with the unique identification code in the copyright contract viewing request, if they are consistent, it means that the copyright contract viewing request has not been tampered with during the sending process, and the verification is passed; If they are not consistent, it means that the copyright contract viewing request may be tampered with during the sending process, and the verification fails, and the blockchain network node can discard the copyright contract viewing request.
若该版权合同查看请求是由版权方节点发起的,则区块链网络节点利用版权方的公钥对版权合同中的第三数字签名进行解密操作,得到第一版权合同的唯一标识码;进而,对比该解密得到的唯一标识码与版权合同查看请求中的唯一标识码是否一致,若一致,则说明版权合同查看请求在发送的过程中没有被篡改,验证通过;反之,若不一致,则表示版权合同查看请求在发送的过程中可能被篡改,验证不通过,区块链网络节点可以丢弃该版权合同查看请求。If the copyright contract viewing request is initiated by the copyright party node, the blockchain network node uses the public key of the copyright party to decrypt the third digital signature in the copyright contract to obtain the unique identification code of the first copyright contract; and then , compare whether the unique identification code obtained by decryption is consistent with the unique identification code in the copyright contract viewing request. If they are consistent, it means that the copyright contract viewing request has not been tampered with during the sending process, and the verification is passed; otherwise, if they are inconsistent, it means The copyright contract viewing request may be tampered with during the sending process, and if the verification fails, the blockchain network node can discard the copyright contract viewing request.
需要说明的是,若区块链网络节点利用第一资源平台的公钥和版权方的公钥均无法解密该第三数字签名,则说明该版权合同查看请求不是来自第一资源平台和版权方,可能来自某些不具有查看版权合同资格的违法分子,对于此种情况,区块链网络节点可以不对该版权合同查看请求做出响应,丢弃该版权合同查看请求。It should be noted that if the blockchain network node cannot decrypt the third digital signature using the public key of the first resource platform and the public key of the copyright party, it means that the request for viewing the copyright contract is not from the first resource platform and the copyright party. , may come from some criminals who are not qualified to view the copyright contract. In this case, the blockchain network node may not respond to the copyright contract viewing request, and discard the copyright contract viewing request.
S703:若签名验证通过,则利用所述第一资源平台的公钥对所述区块链中记录的第一版权合同进行加密生成第一版权合同密文,向所述服务器返回所述第一版权合同密文。S703: If the signature verification passes, use the public key of the first resource platform to encrypt the first copyright contract recorded in the blockchain to generate a first copyright contract ciphertext, and return the first copyright contract to the server. Copyright contract ciphertext.
若区块链网络节点对版权合同查看请求进行数字签名验证通过,则在区块链网络中查找该第一资源的第一版权合同,并相应地利用合同方的公钥对该第一版权合同进行加密生成第一版权合同密文,进而将该第一版权合同密文返回给对应的合同方。具体的,若版权合同查看请求是由第一资源平台方发起的,区块链网络节点则利用第一资源平台的公钥对第一版权合同进行加密生成第一版权合同密文;若版权合同查看请求是由版权方发起的,区块链网络节点则利用版权方的公钥对第一版权合同进行加密生成第一版权合同密文。相应地,第一资源平台的服务器或版权方节点接收到第一版权合同密文后,可以利用自身的私钥对该第一版权合同密文进行解密,得到第一版权合同。If the blockchain network node passes the digital signature verification of the copyright contract viewing request, it will search for the first copyright contract of the first resource in the blockchain network, and use the public key of the contracting party to verify the first copyright contract accordingly. Encryption is performed to generate the first ciphertext of the copyright contract, and then the first ciphertext of the copyright contract is returned to the corresponding contracting party. Specifically, if the copyright contract viewing request is initiated by the first resource platform, the blockchain network node uses the public key of the first resource platform to encrypt the first copyright contract to generate the first copyright contract ciphertext; if the copyright contract The viewing request is initiated by the copyright party, and the blockchain network node uses the public key of the copyright party to encrypt the first copyright contract to generate the first copyright contract ciphertext. Correspondingly, after receiving the ciphertext of the first copyright contract, the server or copyright owner node of the first resource platform can use its own private key to decrypt the ciphertext of the first copyright contract to obtain the first copyright contract.
在上述查看版权合同的过程中,第一资源平台的服务器通过数字签名的方式对第一版权合同的唯一标识码进行加密,防止第一版权合同的唯一标识码在传输的过程中被非法分子篡改;此外,区块链网络向第一资源平台的服务器返回第一版权合同时,传输的是第一版权合同的密文,同样保证第一版权合同在传输的过程中的安全性。In the above-mentioned process of viewing the copyright contract, the server of the first resource platform encrypts the unique identification code of the first copyright contract through a digital signature to prevent the unique identification code of the first copyright contract from being tampered with by illegal elements during transmission In addition, when the blockchain network returns the first copyright contract to the server of the first resource platform, the ciphertext of the first copyright contract is transmitted, which also ensures the security of the first copyright contract during transmission.
下面从客户端的角度,对本申请实施例提供的资源版权校验方法进行介绍,参见图8,图8为本申请实施例提供的资源版权校验方法的流程示意图。本申请实施例中的客户端指的是与第一资源平台对应的客户端,为了便于描述,在本申请实施例中简称为客户端,应理解,该客户端实际可以为与任意一个资源平台对应的客户端。如图8所示,该方法包括:The following describes the resource copyright verification method provided by the embodiment of the present application from the perspective of the client, referring to FIG. 8 , which is a schematic flowchart of the resource copyright verification method provided by the embodiment of the present application. The client in the embodiment of this application refers to the client corresponding to the first resource platform. For the convenience of description, it is simply referred to as the client in the embodiment of the application. It should be understood that the client can actually be any resource platform. the corresponding client. As shown in Figure 8, the method includes:
S801:向第一资源平台的服务器发送资源版权查看请求,所述资源版权查看请求中包括第一资源的资源唯一标识。S801: Send a resource copyright check request to a server of the first resource platform, where the resource copyright check request includes a resource unique identifier of the first resource.
当用户需要通过第一资源平台查看第一资源时,用户可以通过获取第一资源的资源版权信息来确定第一资源平台是否拥有第一资源的版权,进而,在第一资源平台拥有第一资源的版权的情况下,通过该客户端查看该第一资源。When the user needs to view the first resource through the first resource platform, the user can determine whether the first resource platform owns the copyright of the first resource by obtaining the resource copyright information of the first resource, and then, owns the first resource on the first resource platform In the case of copyright, the first resource is viewed through the client.
具体实现时,用户可以通过终端设备上运行的客户端,生成包括第一资源的资源唯一标识的资源版权查看请求,并将该资源版权查看请求发送至第一资源平台的服务器,以通过第一资源平台的服务器向区块链网络获取第一资源版权信息。During specific implementation, the user can generate a resource copyright viewing request including the resource unique identifier of the first resource through the client running on the terminal device, and send the resource copyright viewing request to the server of the first resource platform to pass the first The server of the resource platform obtains the copyright information of the first resource from the blockchain network.
S802:接收所述服务器返回的从区块链网络的网络节点获取的第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的。S802: Receive the first resource copyright information obtained from the network node of the blockchain network returned by the server, the first resource copyright information indicates whether the first resource platform owns the copyright of the first resource, the The first resource copyright information is generated by the network node according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain.
第一资源平台的服务器接收到客户端发送的资源版权查看请求后,根据资源查看请求中第一资源的资源唯一标识,以及第一资源平台自身的平台唯一标识,生成资源版权获取请求,并将该资源版权获取请求发送至区块链网络。相应地,区块链网络中的网络节点根据接收的资源版权获取请求以及自身记录的各个资源平台的资源版权信息,判断该第一资源平台是否拥有第一资源的版权,并根据判断结果生成能够表征第一资源平台是否拥有第一资源的版权的第一资源版权信息,进而将该第一资源版权信息返回至第一资源平台的服务器。After receiving the resource copyright viewing request sent by the client, the server of the first resource platform generates a resource copyright acquisition request according to the resource unique identifier of the first resource in the resource viewing request and the unique platform identifier of the first resource platform itself, and sends The resource copyright acquisition request is sent to the blockchain network. Correspondingly, the network node in the blockchain network judges whether the first resource platform owns the copyright of the first resource according to the resource copyright acquisition request received and the resource copyright information of each resource platform recorded by itself, and generates a First resource copyright information representing whether the first resource platform owns the copyright of the first resource, and then returning the first resource copyright information to the server of the first resource platform.
第一资源平台的服务器接收到区块链网络返回的第一资源版权信息后,将该第一资源版权信息转发至客户端,以告知客户端第一资源平台是否拥有第一资源的版权。After receiving the first resource copyright information returned by the blockchain network, the server of the first resource platform forwards the first resource copyright information to the client to inform the client whether the first resource platform owns the copyright of the first resource.
S803:根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。S803: Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
客户端接收到第一资源版权信息后,根据该第一资源版权信息确定第一资源平台是否拥有第一资源的版权,进而客户端还可以根据该第一资源版权信息确定是否能够显示该第一资源。具体的,若第一资源版权信息表征第一资源平台拥有第一资源的版权,则客户端从第一资源平台的服务器获取该第一资源,并显示该第一资源;反之,若第一资源版权信息表征第一资源平台不拥有第一资源的版权,则用户无法利用该客户端查看第一资源。After the client receives the copyright information of the first resource, it determines whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource, and then the client can also determine whether it can display the copyright of the first resource according to the copyright information of the first resource. resource. Specifically, if the copyright information of the first resource indicates that the first resource platform owns the copyright of the first resource, the client obtains the first resource from the server of the first resource platform and displays the first resource; otherwise, if the first resource The copyright information indicates that the first resource platform does not own the copyright of the first resource, so the user cannot use the client to view the first resource.
在一种可能的实现方式中,第一资源平台的服务器可以在接收到第一资源版权信息后,根据该第一资源版权信息判断出自身是否具有第一资源的版权,若第一资源平台的服务器判断自身具有第一资源的版权,则相应地将第一资源发送给客户端,以通过客户端显示该第一资源;反之,若第一资源平台的服务器自身不具有第一资源的版权,则将第一资源版权信息发送给客户端,以提示用户该第一资源平台不具有第一资源的版权。In a possible implementation, after receiving the copyright information of the first resource, the server of the first resource platform can determine whether it owns the copyright of the first resource according to the copyright information of the first resource. If the server judges that it has the copyright of the first resource, it will correspondingly send the first resource to the client to display the first resource through the client; on the contrary, if the server of the first resource platform itself does not have the copyright of the first resource, Then send the copyright information of the first resource to the client to remind the user that the first resource platform does not have the copyright of the first resource.
可选地,第一资源平台的服务器除了可以从区块链网络处获取到第一资源版权信息外,还可以获取第一资源版权提示信息,该第一资源版权提示信息能够表征第二资源平台拥有第一资源的版权,该第二资源平台为所有拥有第一资源的资源平台,该第二资源平台中可能包括第一资源平台,也可能不包括第一资源平台。相应地,第一资源平台的服务器可以将该第一资源版权提示信息进一步发送给客户端,以使客户端根据接收的第一资源版权提示信息向用户进行提示。Optionally, in addition to obtaining the first resource copyright information from the blockchain network, the server of the first resource platform can also obtain the first resource copyright prompt information, and the first resource copyright prompt information can represent the second resource platform Owning the copyright of the first resource, the second resource platform is all resource platforms that own the first resource, and the second resource platform may or may not include the first resource platform. Correspondingly, the server of the first resource platform may further send the first resource copyright prompt information to the client, so that the client prompts the user according to the received first resource copyright prompt information.
在第一资源版权信息表征第一资源平台不拥有第一资源的情况下,客户端即可根据接收的第一资源版权提示信息,获知其他拥有该第一资源版权的资源平台,进而,用户可以通过与这些资源平台对应的客户端查看该第一资源,由此保证用户可以在拥有第一资源版权的资源平台上,查看正版的第一资源。When the first resource copyright information indicates that the first resource platform does not own the first resource, the client can learn other resource platforms that own the copyright of the first resource according to the received first resource copyright prompt information, and then the user can View the first resource through the client corresponding to these resource platforms, thereby ensuring that the user can view the genuine first resource on the resource platform that owns the copyright of the first resource.
需要说明的是,若用户发现某些第三资源平台传播盗版资源,用户可以通过客户端提供的盗版举报通道,向服务器发送盗版举报信息,该盗版举报信息表示第三资源平台传播盗版资源。It should be noted that if the user finds that some third resource platforms spread pirated resources, the user can send pirate report information to the server through the pirate report channel provided by the client. The pirate report information indicates that the third resource platform spreads pirated resources.
具体实现时,客户端可以在应用界面上为用户提供盗版举报窗口,用户可以在该盗版举报窗口中输入盗版资源的相关信息以及传播盗版资源的第三资源平台的相关信息,如被传播的盗版资源的资源名称或盗版资源网址,传播盗版资源的第三资源平台的平台名称或平台网址等。进而,客户端根据用户输入的盗版资源的相关信息以及传播盗版资源的第三资源平台的相关信息,生成盗版举报信息,并将该盗版举报信息发送至服务器,具体的,客户端可以将该盗版举报信息发送至与该客户端对应的第一资源平台的服务器,客户端也可以将该盗版举报信息发送至与盗版举报服务器。During specific implementation, the client can provide the user with a piracy report window on the application interface, and the user can input relevant information about pirated resources and information about the third resource platform that disseminates pirated resources in the piracy report window, such as the disseminated pirated Resource names or URLs of pirated resources, platform names or platform URLs of third resource platforms disseminating pirated resources, etc. Further, the client generates piracy report information according to the relevant information of the pirated resources input by the user and the relevant information of the third resource platform distributing the pirated resources, and sends the piracy report information to the server. The reporting information is sent to the server of the first resource platform corresponding to the client, and the client can also send the piracy reporting information to the piracy reporting server.
进而,接收到盗版举报信息的服务器可以核实第三资源平台是否真正参与传播盗版资源,若核实发现第三资源平台涉及传播盗版资源,则可以发出告警信息,以告警相关工作人员相应地对该第三资源平台进行盗版打击处理,阻止第三资源平台继续传播盗版资源。由此,用户也可以积极地参与到打击盗版的行动中,各资源平台可以借助用户的帮助更有效地打击盗版资源,阻止盗版资源的传播。Furthermore, the server that receives the piracy report information can verify whether the third resource platform is really involved in the dissemination of pirated resources. If it is found that the third resource platform is involved in the dissemination of pirated resources, it can send an alarm message to alert the relevant staff to respond to the third resource platform. The third resource platform carries out countermeasures against piracy to prevent the third resource platform from continuing to disseminate pirated resources. As a result, users can also actively participate in the action of combating piracy, and each resource platform can use the help of users to more effectively combat pirated resources and prevent the spread of pirated resources.
本申请实施例提供的资源版权校验方法中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,客户端通过接入区块链网络的资源平台的服务器,获取区块链网络中记录的资源版权信息。这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification method provided by the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network. The client obtains the resource copyright information recorded in the blockchain network by accessing the server of the resource platform of the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain a resource copyright information system separately, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance of each resource platform. On the other hand, blockchain technology can ensure the authenticity, effectiveness and tamper-proof of resource copyright information, thereby ensuring the security of resource copyright information.
为了便于理解本申请实施例提供的资源版权校验方法,下面结合视频应用平台校验资源版权的应用场景,对本申请实施例提供的资源版权校验方法进行介绍。In order to facilitate understanding of the resource copyright verification method provided by the embodiment of the present application, the resource copyright verification method provided by the embodiment of the present application is introduced below in combination with the application scenario of verifying resource copyright on the video application platform.
参见图9,图9为本申请实施例提供的资源版权校验方法的应用场景示意图。该应用场景中包括:视频客户端901、对应于视频客户端901的视频平台的服务器902以及记录有各个视频平台的资源版权信息的区块链网络903。Referring to FIG. 9 , FIG. 9 is a schematic diagram of an application scenario of a resource copyright verification method provided by an embodiment of the present application. This application scenario includes: a video client 901, a server 902 of a video platform corresponding to the video client 901, and a blockchain network 903 that records resource copyright information of each video platform.
当用户需要通过视频客户端901观看视频A时,视频客户端901根据视频A的资源唯一标识生成视频A的资源版权查看请求,并将该资源版权查看请求发送至与该视频客户端对应的视频平台的服务器902。When the user needs to watch video A through the video client 901, the video client 901 generates a resource copyright check request of video A according to the unique resource identifier of video A, and sends the resource copyright check request to the video corresponding to the video client. The server 902 of the platform.
视频平台的服务器902接收到视频客户端901发送的资源版权查看请求后,根据该资源版权查看请求,进一步生成资源版权获取请求,该资源版权获取请求中包括该视频平台的平台唯一标识和视频A的资源唯一标识,进而将该资源版权获取请求发送至区块链网络903。After receiving the resource copyright check request sent by the video client 901, the server 902 of the video platform further generates a resource copyright acquisition request according to the resource copyright check request, and the resource copyright acquisition request includes the platform unique identifier of the video platform and the video A The unique identifier of the resource, and then send the resource copyright acquisition request to the block chain network 903.
区块链网络903中的网络节点接收到视频平台的服务器发送的资源版权获取请求后,根据该资源版权获取请求以及区块链网络中记录的各个资源平台的资源版权信息,判断该视频平台是否拥有视频A的版权,进而根据判断结果生成视频A的资源版权信息,该资源版权信息能够表征视频平台是否拥有视频A的版权。此外,区块链网络节点还可以根据区块链网络中记录的各个资源平台的资源版权信息,生成视频A的资源版权提示信息,该资源版权提示信息表示拥有视频A的版权的所有资源平台。进而,区块链网络903中的网络节点将视频A的资源版权信息和资源版权提示信息返回至视频平台的服务器902。After the network node in the blockchain network 903 receives the resource copyright acquisition request sent by the server of the video platform, it determines whether the video platform is based on the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the blockchain network. Own the copyright of video A, and then generate the resource copyright information of video A according to the judgment result, the resource copyright information can indicate whether the video platform owns the copyright of video A. In addition, the blockchain network node can also generate the resource copyright prompt information of video A according to the resource copyright information of each resource platform recorded in the blockchain network. The resource copyright prompt information indicates all resource platforms that own the copyright of video A. Furthermore, the network nodes in the blockchain network 903 return the resource copyright information and resource copyright prompt information of video A to the server 902 of the video platform.
视频平台的服务器902将视频A的资源版权信息和资源版权提示信息转发至视频客户端901,若视频A的资源版权信息表征该视频平台拥有视频A的版权,则视频客户端901可以直接从视频平台的服务器902获取视频A,并播放该视频A;若视频A的资源版权信息表征该视频平台不拥有视频A的版权,则视频客户端901可以进一步根据视频A的资源版权提示信息,获知拥有视频A的版权的其他视频平台,进而用户可以选择使用这些视频平台对应的客户端观看视频A。The server 902 of the video platform forwards the resource copyright information and resource copyright prompt information of the video A to the video client 901. If the resource copyright information of the video A indicates that the video platform owns the copyright of the video A, the video client 901 can directly download the video from the video A. The server 902 of the platform obtains the video A and plays the video A; if the resource copyright information of the video A indicates that the video platform does not own the copyright of the video A, the video client 901 can further know that the resource copyright information of the video A has Other video platforms that own the copyright of video A, and then users can choose to use the clients corresponding to these video platforms to watch video A.
针对上文描述的资源版权校验方法,本申请还提供了对应的资源版权校验装置,以便于这些方法在实际中的应用及实现。Regarding the resource copyright verification method described above, the present application also provides a corresponding resource copyright verification device, so as to facilitate the practical application and realization of these methods.
参见图10,图10是与上文图3所示方法相对应的一种资源版权校验装置1000的结构示意图,该装置1000包括:Referring to FIG. 10, FIG. 10 is a schematic structural diagram of a resource copyright verification device 1000 corresponding to the method shown in FIG. 3 above. The device 1000 includes:
发送模块1001,用于向区块链网络发送资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;The sending module 1001 is configured to send a resource copyright acquisition request to the blockchain network, and the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
接收模块1002,用于接收所述区块链网络中的网络节点返回的第一资源版权信息,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的,所述第一资源版权信息用于表示所述第一资源平台是否拥有所述第一资源的版权的信息;The receiving module 1002 is configured to receive the first resource copyright information returned by the network node in the blockchain network, the first resource copyright information is the network node according to the resource copyright acquisition request and the record in the blockchain Generated by the resource copyright information of each resource platform, the first resource copyright information is used to indicate whether the first resource platform owns the copyright information of the first resource;
确定模块1003,用于根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A determining module 1003, configured to determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图11,图11是本申请实施例提供的另一种资源版权校验装置1100的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, refer to FIG. 11. FIG. 11 is a schematic structural diagram of another resource copyright verification device 1100 provided in the embodiment of the present application. The device also includes :
签订交易广播模块1101,用于向所述区块链网络广播资源版权签订交易,所述资源版权签订交易包括已签订的版权合同以及与其对应的资源版权信息,以使所述区块链网络中的网络节点在区块链中记录所述已签订的版权合同以及与其对应的资源版权信息。Sign transaction broadcasting module 1101, used to broadcast resource copyright signing transaction to the blockchain network, the resource copyright signing transaction includes the signed copyright contract and resource copyright information corresponding to it, so that in the blockchain network The network node records the signed copyright contract and the corresponding resource copyright information in the block chain.
可选的,在上述图11所示的资源版权校验装置的基础上,参见图12,图12是与上文图4所示方法对应的一种资源版权校验装置1200的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 11 above, refer to FIG. 12. FIG. 12 is a schematic structural diagram of a resource copyright verification device 1200 corresponding to the method shown in FIG. 4 above. The device also includes:
签订请求发送模块1201,用于向版权方节点发送版权合同签订请求,所述版权合同签订请求中包括版权合同和第一数字签名,所述第一数字签名是根据所述第一资源平台的私钥对版权合同进行加密而生成的;Signing request sending module 1201, configured to send a copyright contract signing request to the copyright owner node, the copyright contract signing request includes a copyright contract and a first digital signature, and the first digital signature is based on the private information of the first resource platform. generated by encrypting the copyright contract with the key;
签订结果接收模块1202,用于接收所述版权方节点在对所述第一数字签名验证通过后返回的版权合同签订结果,所述版权合同签订结果中包括版权合同和第二数字签名,所述第二数字签名是根据版权方的私钥对版权合同进行加密而生成的;Signing result receiving module 1202, configured to receive the copyright contract signing result returned by the copyright owner node after the verification of the first digital signature is passed, the copyright contract signing result includes the copyright contract and the second digital signature, the The second digital signature is generated by encrypting the copyright contract according to the private key of the copyright party;
数字签名验证模块1203,用于根据所述版权方的公钥对所述版权合同签订结果进行数字签名验证;A digital signature verification module 1203, configured to perform digital signature verification on the signing result of the copyright contract according to the public key of the copyright party;
签订交易创建模块1204,用于若数字签名验证通过,则创建所述资源版权签订交易。The signing transaction creating module 1204 is configured to create the resource copyright signing transaction if the digital signature is verified successfully.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图13,图13是本申请实施例提供的另一种资源版权校验装置1300的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, refer to FIG. 13. FIG. 13 is a schematic structural diagram of another resource copyright verification device 1300 provided in the embodiment of the present application. The device also includes :
版权提示信息接收模块1301,用于接收所述区块链网络中的网络节点根据所述资源版权获取请求返回的第一资源版权提示信息,所述第一资源版权提示信息表示第二资源平台拥有所述第一资源的版权。The copyright prompt information receiving module 1301 is configured to receive the first resource copyright prompt information returned by the network node in the blockchain network according to the resource copyright acquisition request, and the first resource copyright prompt information indicates that the second resource platform owns The copyright of the first resource.
可选的,在上述图13所示的资源版权校验装置的基础上,参见图14,图14是本申请实施例提供的另一种资源版权校验装置1400的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 13 above, refer to FIG. 14, which is a schematic structural diagram of another resource copyright verification device 1400 provided by the embodiment of the present application. The device also includes :
资源查看请求接收模块1401,用于接收客户端发送的第一资源查看请求;A resource viewing request receiving module 1401, configured to receive the first resource viewing request sent by the client;
版权提示信息返回模块1402,用于则向所述客户端返回所述第一资源版权信息和所述第一资源版权提示信息,以使所述客户端根据所述第一资源版权提示信息进行信息提示。A copyright prompt information returning module 1402, configured to return the first resource copyright information and the first resource copyright prompt information to the client, so that the client sends information according to the first resource copyright prompt information hint.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图15,图15是与上文图5所示方法对应的一种版权合同查看装置1500的结构示意图,该装置包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, see FIG. 15. FIG. 15 is a schematic structural diagram of a copyright contract checking device 1500 corresponding to the method shown in FIG. 5 above. include:
合同查看请求发送模块1501,用于向所述区块链网络发送版权合同查看请求,所述版权合同查看请求中包括第一版权合同的唯一标识码和第三数字签名,所述第三数字签名是利用所述第一资源平台的私钥对所述唯一标识码进行加密生成的;The contract viewing request sending module 1501 is configured to send a copyright contract viewing request to the blockchain network, the copyright contract viewing request includes a unique identification code and a third digital signature of the first copyright contract, and the third digital signature is generated by encrypting the unique identification code with the private key of the first resource platform;
版权合同接收模块1502,用于接收所述区块链网络中的网络节点在所述第三数字签名验证通过后返回的第一版权合同密文,所述第一版权合同密文是利用所述第一资源平台的公钥对第一版权合同进行加密生成的。The copyright contract receiving module 1502 is configured to receive the first copyright contract ciphertext returned by the network node in the blockchain network after the third digital signature is verified, and the first copyright contract ciphertext is obtained by using the The public key of the first resource platform is generated by encrypting the first copyright contract.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图16,图16是本申请实施例提供的另一种资源版权校验装置1600的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, refer to FIG. 16. FIG. 16 is a schematic structural diagram of another resource copyright verification device 1600 provided in the embodiment of the present application. The device also includes :
资源查看请求接收模块1601,用于接收客户端发送的第一资源查看请求,所述第一资源查看请求中包括第一资源的资源唯一标识;A resource viewing request receiving module 1601, configured to receive a first resource viewing request sent by a client, where the first resource viewing request includes a resource unique identifier of the first resource;
资源版权信息返回模块1602,用于根据所述第一资源查看请求向所述客户端返回所述第一资源版权信息,以使所述客户端根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A resource copyright information returning module 1602, configured to return the first resource copyright information to the client according to the first resource viewing request, so that the client can determine the first resource copyright information according to the first resource copyright information. Whether the resource platform owns the copyright of the first resource.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图17,图17是本申请实施例提供的另一种资源版权校验装置1700的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, refer to FIG. 17. FIG. 17 is a schematic structural diagram of another resource copyright verification device 1700 provided by the embodiment of the present application. The device also includes :
资源查看请求接收模块1701,用于接收客户端发送的第一资源查看请求,所述第一资源查看请求中包括第一资源的资源唯一标识;A resource viewing request receiving module 1701, configured to receive a first resource viewing request sent by a client, where the first resource viewing request includes a resource unique identifier of the first resource;
资源版权获取请求生成模块1702,用于根据所述第一资源查看请求生成所述资源版权获取请求,再触发发送模块1001;A resource copyright acquisition request generating module 1702, configured to generate the resource copyright acquisition request according to the first resource viewing request, and then trigger the sending module 1001;
资源版权信息返回模块1703,用于根据所述第一资源查看请求向所述客户端返回所述第一资源版权信息,以使所述客户端根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A resource copyright information returning module 1703, configured to return the first resource copyright information to the client according to the first resource viewing request, so that the client can determine the first resource copyright information according to the first resource copyright information. Whether the resource platform owns the copyright of the first resource.
可选的,在上述图10所示的资源版权校验装置的基础上,参见图18,图18是本申请实施例提供的另一种资源版权校验装置1800的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 10 above, refer to FIG. 18. FIG. 18 is a schematic structural diagram of another resource copyright verification device 1800 provided in the embodiment of the present application. The device also includes :
资源版权信息广播模块1801,用于向客户端广播所述第一资源版权信息,以使所述客户端根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。Resource copyright information broadcasting module 1801, configured to broadcast the first resource copyright information to the client, so that the client determines whether the first resource platform owns the first resource according to the first resource copyright information copyright.
本申请实施例提供的资源版权校验装置中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,各个资源平台在需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification device provided in the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network. When each resource platform needs to verify the resource copyright, it will uniformly access the blockchain network and obtain resource copyright information from the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain resource copyright information separately system, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform. On the other hand, blockchain technology can ensure the authenticity of resource copyright information Effective and tamper-proof, thus ensuring the security of resource copyright information.
参见图19,图19是与上文图6所示方法相对应的一种资源版权校验装置1900的结构示意图,该装置1900包括:Referring to FIG. 19, FIG. 19 is a schematic structural diagram of a resource copyright verification device 1900 corresponding to the method shown in FIG. 6 above. The device 1900 includes:
接收模块1901,用于接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;The receiving module 1901 is configured to receive a resource copyright acquisition request sent by the server of the first resource platform, and the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
生成模块1902,用于根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权;A generating module 1902, configured to generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the blockchain, the first resource copyright information indicating whether the first resource platform owns the copyright to said first resource;
返回模块1903,用于向所述服务器返回所述第一资源版权信息。Returning module 1903, configured to return the copyright information of the first resource to the server.
可选的,在图19所示的资源版权校验装置的基础上,参见图20,图20是本申请实施例提供的又一种资源版权校验装置2000的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 19 , see FIG. 20 , which is a schematic structural diagram of another resource copyright verification device 2000 provided in the embodiment of the present application. The device also includes:
签订交易接收模块2001,用于接收所述服务器广播的资源版权签订交易,所述资源版权签订交易包括已签订的版权合同以及与其对应的资源版权信息;The signing transaction receiving module 2001 is configured to receive the resource copyright signing transaction broadcast by the server, and the resource copyright signing transaction includes the signed copyright contract and corresponding resource copyright information;
记录模块2002,用于在所述区块链中记录所述已签订的版权合同以及与其对应的资源版权信息。A recording module 2002, configured to record the signed copyright contract and corresponding resource copyright information in the block chain.
可选的,在图19所示的资源版权校验装置的基础上,参见图21,图21是本申请实施例提供的又一种资源版权校验装置2100的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 19, refer to FIG. 21. FIG. 21 is a schematic structural diagram of another resource copyright verification device 2100 provided in the embodiment of the present application. The device also includes:
版权提示信息返回模块2101,用于根据所述资源版本获取请求向所述服务器返回第一资源版权提示信息,所述第一资源版权提示信息表示第二资源平台拥有所述第一资源的版权。The copyright prompt information returning module 2101 is configured to return first resource copyright prompt information to the server according to the resource version acquisition request, and the first resource copyright prompt information indicates that the second resource platform owns the copyright of the first resource.
可选的,在上述图19所示的资源版权校验装置的基础上,参见图22,图22是与上文图7所示方法对应的一种版权合同查看装置2200的结构示意图,该装置包括:Optionally, on the basis of the resource copyright verification device shown in Figure 19 above, see Figure 22, Figure 22 is a schematic structural diagram of a copyright contract checking device 2200 corresponding to the method shown in Figure 7 above, the device include:
合同查看请求接收模块2201,用于接收所述服务器发送的版权合同查看请求,所述版权合同查看请求中包括第一版权合同的唯一标识码和第三数字签名,所述第三数据签名是利用所述第一资源平台的私钥对所述唯一标识码进行加密生成的;The contract viewing request receiving module 2201 is configured to receive the copyright contract viewing request sent by the server, the copyright contract viewing request includes the unique identification code and the third digital signature of the first copyright contract, and the third data signature is obtained by using generated by encrypting the unique identification code with the private key of the first resource platform;
签名验证模块2202,用于根据与所述唯一标识码相关的合同方的公钥,对所述版权合同查看请求进行签名验证;A signature verification module 2202, configured to perform signature verification on the copyright contract viewing request according to the public key of the contracting party related to the unique identification code;
版权合同返回模块2203,用于若签名验证通过,则利用所述第一资源平台的公钥对所述区块链中记录的第一版权合同进行加密生成第一版权合同密文,向所述服务器返回所述第一版权合同密文。The copyright contract return module 2203 is configured to use the public key of the first resource platform to encrypt the first copyright contract recorded in the block chain to generate a first copyright contract ciphertext if the signature verification is passed, and send the The server returns the ciphertext of the first copyright contract.
本申请实施例提供的资源版权校验装置中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,各个资源平台在需要进行资源版权校验时,统一接入该区块链网络,从该区块链网络中获取资源版权信息,这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification device provided in the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network. When each resource platform needs to verify the resource copyright, it will uniformly access the blockchain network and obtain resource copyright information from the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain resource copyright information separately system, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance costs of each resource platform. On the other hand, blockchain technology can ensure the authenticity of resource copyright information Effective and tamper-proof, thus ensuring the security of resource copyright information.
参见图23,图23是与上文图8所示方法相对应的一种资源版权校验装置2300的结构示意图,该装置2300包括:Referring to FIG. 23, FIG. 23 is a schematic structural diagram of a resource copyright verification device 2300 corresponding to the method shown in FIG. 8 above. The device 2300 includes:
发送模块2301,用于向第一资源平台的服务器发送资源版权查看请求,所述资源版权查看请求中包括第一资源的资源唯一标识;The sending module 2301 is configured to send a resource copyright checking request to the server of the first resource platform, and the resource copyright checking request includes the resource unique identifier of the first resource;
接收模块2302,用于接收所述服务器返回的从区块链网络的网络节点获取的第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的;The receiving module 2302 is configured to receive the first resource copyright information obtained from the network node of the blockchain network returned by the server, and the first resource copyright information indicates whether the first resource platform owns the first resource Copyright, the first resource copyright information is generated by the network node according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain;
确定模块2303,用于根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。A determining module 2303, configured to determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
可选的,在图23所示的资源版权校验装置的基础上,参见图24,图24是本申请实施例提供的又一种资源版权校验装置2400的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 23 , see FIG. 24 , which is a schematic structural diagram of another resource copyright verification device 2400 provided in the embodiment of the present application. The device also includes:
版权提示信息接收模块2401,用于接收所述服务器返回的第一资源版权提示信息,所述第一资源版权提示信息表示第二资源平台拥有所述第一资源的版权;A copyright prompt information receiving module 2401, configured to receive the first resource copyright prompt information returned by the server, the first resource copyright prompt information indicating that the second resource platform owns the copyright of the first resource;
提示模块2402,用于根据所述第一版权提示信息进行信息提示,以提示用户通过拥有第一资源的版权的第二资源平台查看第一资源。The prompt module 2402 is configured to perform information prompt according to the first copyright prompt information, so as to prompt the user to view the first resource through the second resource platform that owns the copyright of the first resource.
可选的,在图23所示的资源版权校验装置的基础上,参见图25,图25是本申请实施例提供的又一种资源版权校验装置2500的结构示意图,该装置还包括:Optionally, on the basis of the resource copyright verification device shown in FIG. 23, refer to FIG. 25. FIG. 25 is a schematic structural diagram of another resource copyright verification device 2500 provided in the embodiment of the present application. The device also includes:
举报模块2501,用于向所述服务器发送盗版举报信息,所述盗版举报信息表示第三资源平台传播盗版资源。The reporting module 2501 is configured to send piracy reporting information to the server, and the piracy reporting information indicates that the third resource platform disseminates pirated resources.
本申请实施例提供的资源版权校验装置中,各个资源平台通过区块链网络记录所有资源平台拥有资源版权的资源版权信息,通过该区块链网络实现多资源平台共用的资源版权信息系统,客户端通过接入区块链网络的资源平台的服务器,获取区块链网络中记录的资源版权信息。这样,一方面各个资源平台不需要再单独创建和维护资源版权信息系统,而是所有的资源平台通过区块链网络实现共用一套资源版权信息系统,从而有效地降低各个资源平台的运营和维护成本,另一方面通过区块链技术能够保证资源版权信息的真实有效以及防篡改,从而保证资源版权信息的安全性。In the resource copyright verification device provided in the embodiment of the present application, each resource platform records the resource copyright information of resource copyright owned by all resource platforms through the blockchain network, and realizes the resource copyright information system shared by multiple resource platforms through the blockchain network, The client obtains the resource copyright information recorded in the blockchain network by accessing the server of the resource platform of the blockchain network. In this way, on the one hand, each resource platform does not need to create and maintain a resource copyright information system separately, but all resource platforms share a resource copyright information system through the blockchain network, thereby effectively reducing the operation and maintenance of each resource platform. On the other hand, blockchain technology can ensure the authenticity, effectiveness and tamper-proof of resource copyright information, thereby ensuring the security of resource copyright information.
本申请实施例还提供了一种用于资源版权校验的计算设备,该计算设备具体可以为服务器,参见图26,图26是本申请实施例提供的一种用于校验资源版权的服务器结构示意图,该服务器2600可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)2622(例如,一个或一个以上处理器)和存储器2632,一个或一个以上存储应用程序2642或数据2644的存储介质2630(例如一个或一个以上海量存储设备)。其中,存储器2632和存储介质2630可以是短暂存储或持久存储。存储在存储介质2630的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器2622可以设置为与存储介质2630通信,在服务器2600上执行存储介质2630中的一系列指令操作。The embodiment of the present application also provides a computing device for resource copyright verification. The computing device can be specifically a server. Refer to FIG. 26. FIG. 26 is a server for verifying resource copyright provided by the embodiment of the present application Structural schematic diagram, the server 2600 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 2622 (for example, one or more processors) and memory 2632, One or more storage media 2630 (eg, one or more mass storage devices) storing application programs 2642 or data 2644 . Wherein, the memory 2632 and the storage medium 2630 may be temporary storage or persistent storage. The program stored in the storage medium 2630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 2622 may be configured to communicate with the storage medium 2630 , and execute a series of instruction operations in the storage medium 2630 on the server 2600 .
服务器2600还可以包括一个或一个以上电源2626,一个或一个以上有线或无线网络接口2650,一个或一个以上输入输出接口2658,和/或,一个或一个以上操作系统2641,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server 2600 can also include one or more power supplies 2626, one or more wired or wireless network interfaces 2650, one or more input and output interfaces 2658, and/or, one or more operating systems 2641, such as Windows Server™, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
上述实施例中由服务器所执行的步骤可以基于该图26所示的服务器结构。The steps performed by the server in the foregoing embodiments may be based on the server structure shown in FIG. 26 .
其中,CPU2622用于执行如下步骤:Among them, CPU2622 is used to perform the following steps:
向区块链网络发送资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;Send a resource copyright acquisition request to the blockchain network, the resource copyright acquisition request includes the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
接收所述区块链网络中的网络节点返回的第一资源版权信息,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的,所述第一资源版权信息用于表示所述第一资源平台是否拥有所述第一资源的版权的信息;Receive the first resource copyright information returned by the network node in the blockchain network, the first resource copyright information is the resources of each resource platform recorded by the network node according to the resource copyright acquisition request and the blockchain Generated by copyright information, the copyright information of the first resource is used to indicate whether the first resource platform owns the copyright of the first resource;
根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource
或,or,
接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;receiving a resource copyright acquisition request sent by the server of the first resource platform, the resource copyright acquisition request including the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权;Generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain, and the first resource copyright information indicates whether the first resource platform owns the first resource the copyright of
向所述服务器返回所述第一资源版权信息。Returning the copyright information of the first resource to the server.
本申请实施例还提供了一种用于资源版权校验的终端设备,如图27所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该终端可以为包括手机、平板电脑、个人数字助理(英文全称:PersonalDigital Assistant,英文缩写:PDA)、销售终端(英文全称:Point of Sales,英文缩写:POS)、车载电脑等任意终端设备,以终端为手机为例:The embodiment of the present application also provides a terminal device for resource copyright verification, as shown in Figure 27, for the sake of illustration, only the parts related to the embodiment of the present application are shown, and the specific technical details are not disclosed, please refer to Refer to the Methods section for the Examples of this application. The terminal can be any terminal device including mobile phone, tablet computer, personal digital assistant (English full name: Personal Digital Assistant, English abbreviation: PDA), sales terminal (English full name: Point of Sales, English abbreviation: POS), vehicle-mounted computer, etc. The terminal is a mobile phone as an example:
图27示出的是与本申请实施例提供的终端相关的手机的部分结构的框图。参考图27,手机包括:射频(英文全称:Radio Frequency,英文缩写:RF)电路2710、存储器2720、输入单元2730、显示单元2740、传感器2750、音频电路2760、无线保真(英文全称:wirelessfidelity,英文缩写:WiFi)模块2770、处理器2780、以及电源2790等部件。本领域技术人员可以理解,图27中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 27 shows a block diagram of a partial structure of a mobile phone related to the terminal provided by the embodiment of the present application. Referring to Fig. 27, the mobile phone includes: a radio frequency (English full name: Radio Frequency, English abbreviation: RF) circuit 2710, a memory 2720, an input unit 2730, a display unit 2740, a sensor 2750, an audio circuit 2760, a wireless fidelity (English full name: wirelessfidelity, English abbreviation: WiFi) module 2770, processor 2780, power supply 2790 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 27 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图27对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 27:
RF电路2710可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器2780处理;另外,将设计上行的数据发送给基站。通常,RF电路2710包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(英文全称:LowNoise Amplifier,英文缩写:LNA)、双工器等。此外,RF电路2710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(英文全称:Global System of Mobile communication,英文缩写:GSM)、通用分组无线服务(英文全称:General Packet Radio Service,GPRS)、码分多址(英文全称:CodeDivision Multiple Access,英文缩写:CDMA)、宽带码分多址(英文全称:Wideband CodeDivision Multiple Access,英文缩写:WCDMA)、长期演进(英文全称:Long TermEvolution,英文缩写:LTE)、电子邮件、短消息服务(英文全称:Short Messaging Service,SMS)等。The RF circuit 2710 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 2780; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 2710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (English full name: Low Noise Amplifier, English abbreviation: LNA), a duplexer, and the like. In addition, RF circuitry 2710 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (English full name: Global System of Mobile communication, English abbreviation: GSM), General Packet Radio Service (English full name: General Packet Radio Service, GPRS ), Code Division Multiple Access (English full name: CodeDivision Multiple Access, English abbreviation: CDMA), Wideband Code Division Multiple Access (English full name: Wideband CodeDivision Multiple Access, English abbreviation: WCDMA), Long Term Evolution (English full name: Long TermEvolution, English Abbreviation: LTE), email, short message service (English full name: Short Messaging Service, SMS), etc.
存储器2720可用于存储软件程序以及模块,处理器2780通过运行存储在存储器2720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器2720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器2720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 2720 can be used to store software programs and modules, and the processor 2780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 2720 . The memory 2720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 2720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元2730可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元2730可包括触控面板2731以及其他输入设备2732。触控面板2731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2731上或在触控面板2731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板2731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器2780,并能接收处理器2780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2731。除了触控面板2731,输入单元2730还可以包括其他输入设备2732。具体地,其他输入设备2732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 2730 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 2730 may include a touch panel 2731 and other input devices 2732 . The touch panel 2731, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 2731 or near the touch panel 2731). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 2731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 2780, and can receive and execute commands sent by the processor 2780. In addition, the touch panel 2731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 2731 , the input unit 2730 may also include other input devices 2732 . Specifically, other input devices 2732 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元2740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元2740可包括显示面板2741,可选的,可以采用液晶显示器(英文全称:Liquid Crystal Display,英文缩写:LCD)、有机发光二极管(英文全称:Organic Light-Emitting Diode,英文缩写:OLED)等形式来配置显示面板2741。进一步的,触控面板2731可覆盖显示面板2741,当触控面板2731检测到在其上或附近的触摸操作后,传送给处理器2780以确定触摸事件的类型,随后处理器2780根据触摸事件的类型在显示面板2741上提供相应的视觉输出。虽然在图27中,触控面板2731与显示面板2741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板2731与显示面板2741集成而实现手机的输入和输出功能。The display unit 2740 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 2740 may include a display panel 2741. Optionally, a liquid crystal display (English full name: Liquid Crystal Display, English abbreviation: LCD), an organic light-emitting diode (English full name: Organic Light-Emitting Diode, English abbreviation: OLED) etc. may be used. form to configure the display panel 2741. Further, the touch panel 2731 can cover the display panel 2741. When the touch panel 2731 detects a touch operation on or near it, it sends it to the processor 2780 to determine the type of the touch event, and then the processor 2780 determines the type of the touch event according to the The type provides a corresponding visual output on the display panel 2741. Although in FIG. 27 , the touch panel 2731 and the display panel 2741 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 2731 and the display panel 2741 can be integrated and Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器2750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板2741和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 2750, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 2741 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 2741 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路2760、扬声器2761,传声器2762可提供用户与手机之间的音频接口。音频电路2760可将接收到的音频数据转换后的电信号,传输到扬声器2761,由扬声器2761转换为声音信号输出;另一方面,传声器2762将收集的声音信号转换为电信号,由音频电路2760接收后转换为音频数据,再将音频数据输出处理器2780处理后,经RF电路2710以发送给比如另一手机,或者将音频数据输出至存储器2720以便进一步处理。The audio circuit 2760, the speaker 2761, and the microphone 2762 can provide an audio interface between the user and the mobile phone. The audio circuit 2760 can transmit the electrical signal converted from the received audio data to the speaker 2761, and the speaker 2761 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 2780, and then sent to another mobile phone through the RF circuit 2710, or the audio data is output to the memory 2720 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块2770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图27示出了WiFi模块2770,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 2770. It provides users with wireless broadband Internet access. Although FIG. 27 shows a WiFi module 2770, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted according to needs without changing the essence of the invention.
处理器2780是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器2720内的软件程序和/或模块,以及调用存储在存储器2720内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器2780可包括一个或多个处理单元;优选的,处理器2780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2780中。The processor 2780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 2720, and calling data stored in the memory 2720, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 2780 may include one or more processing units; preferably, the processor 2780 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 2780 .
手机还包括给各个部件供电的电源2790(比如电池),优选的,电源可以通过电源管理系统与处理器2780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 2790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 2780 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
在本申请实施例中,该终端所包括的处理器2780还具有以下功能:In this embodiment of the application, the processor 2780 included in the terminal also has the following functions:
接收第一资源平台的服务器发送的资源版权获取请求,所述资源版权获取请求中包括第一资源平台的平台唯一标识和第一资源的资源唯一标识;receiving a resource copyright acquisition request sent by the server of the first resource platform, the resource copyright acquisition request including the platform unique identifier of the first resource platform and the resource unique identifier of the first resource;
根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息,生成第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权;Generate first resource copyright information according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain, and the first resource copyright information indicates whether the first resource platform owns the first resource the copyright of
向所述服务器返回所述第一资源版权信息。Returning the copyright information of the first resource to the server.
或,or,
向第一资源平台的服务器发送资源版权查看请求,所述资源版权查看请求中包括第一资源的资源唯一标识;Sending a resource copyright check request to the server of the first resource platform, the resource copyright check request including the resource unique identifier of the first resource;
接收所述服务器返回的从区块链网络的网络节点获取的第一资源版权信息,所述第一资源版权信息表示所述第一资源平台是否拥有所述第一资源的版权,所述第一资源版权信息是所述网络节点根据所述资源版权获取请求和区块链中记录的各个资源平台的资源版权信息生成的;receiving the first resource copyright information obtained from the network node of the blockchain network returned by the server, the first resource copyright information indicating whether the first resource platform owns the copyright of the first resource, the first The resource copyright information is generated by the network node according to the resource copyright acquisition request and the resource copyright information of each resource platform recorded in the block chain;
根据所述第一资源版权信息确定所述第一资源平台是否拥有所述第一资源的版权。Determine whether the first resource platform owns the copyright of the first resource according to the copyright information of the first resource.
本申请实施例还提供一种计算机可读存储介质,用于存储程序代码,该程序代码用于执行前述各个实施例所述的一种资源版权校验方法中的任意一种实施方式。The embodiment of the present application also provides a computer-readable storage medium, which is used to store program code, and the program code is used to execute any one of the resource copyright verification methods described in the foregoing embodiments.
本申请实施例还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行前述各个实施例所述的一种资源版权校验方法中的任意一种实施方式。The embodiment of the present application also provides a computer program product including instructions, which, when run on a computer, cause the computer to execute any one of the resource copyright verification methods described in the foregoing embodiments.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文全称:Read-OnlyMemory,英文缩写:ROM)、随机存取存储器(英文全称:Random Access Memory,英文缩写:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English full name: Read-OnlyMemory, English abbreviation: ROM), random access memory (English full name: Random Access Memory, English abbreviation: RAM), disk Or various media such as CDs that can store program codes.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions described in each embodiment are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application.
Claims (21)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910678064.XA CN110362969A (en) | 2018-06-12 | 2018-06-12 | A kind of resource rights check method, apparatus and equipment |
CN201810602428.1A CN108763876B (en) | 2018-06-12 | 2018-06-12 | A resource copyright verification method, device and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810602428.1A CN108763876B (en) | 2018-06-12 | 2018-06-12 | A resource copyright verification method, device and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910678064.XA Division CN110362969A (en) | 2018-06-12 | 2018-06-12 | A kind of resource rights check method, apparatus and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108763876A true CN108763876A (en) | 2018-11-06 |
CN108763876B CN108763876B (en) | 2021-07-16 |
Family
ID=64022502
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910678064.XA Pending CN110362969A (en) | 2018-06-12 | 2018-06-12 | A kind of resource rights check method, apparatus and equipment |
CN201810602428.1A Active CN108763876B (en) | 2018-06-12 | 2018-06-12 | A resource copyright verification method, device and device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910678064.XA Pending CN110362969A (en) | 2018-06-12 | 2018-06-12 | A kind of resource rights check method, apparatus and equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110362969A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558704A (en) * | 2018-12-05 | 2019-04-02 | 商丘师范学院 | A kind of digital publishing copyright protecting system and method based on block chain |
CN110598376A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Copyright authentication method, device and equipment based on block chain and storage medium |
CN112819662A (en) * | 2019-11-15 | 2021-05-18 | 上海唯链信息科技有限公司 | Information management method and device |
CN111654538B (en) * | 2020-05-29 | 2021-08-31 | 郁健兰 | Communication processing method and cloud edge computing server based on blockchain and big data |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111062188A (en) * | 2019-12-26 | 2020-04-24 | 山东爱城市网信息技术有限公司 | Method and equipment for generating and verifying unique identification code based on block chain |
WO2023142098A1 (en) * | 2022-01-30 | 2023-08-03 | 京东方科技集团股份有限公司 | Contract task processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107086920A (en) * | 2017-06-20 | 2017-08-22 | 无锡井通网络科技有限公司 | Copyright based on block chain really weighs method |
CN107145768A (en) * | 2016-03-01 | 2017-09-08 | 华为技术有限公司 | Copyright management method and system |
CN107657554A (en) * | 2017-09-22 | 2018-02-02 | 北京亿生生网络科技有限公司 | A kind of copyright registration transaction and really power method and system |
CN107679045A (en) * | 2016-08-01 | 2018-02-09 | 华为技术有限公司 | Copyright authorization management method and system |
CN107798220A (en) * | 2017-11-09 | 2018-03-13 | 北京影联数据技术研究院有限公司 | A kind of Trading Authorization verification method and system for video display copyright trading |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022775A (en) * | 2016-05-13 | 2016-10-12 | 邓迪 | File signature method and system based on block chains |
CN106485168A (en) * | 2016-10-17 | 2017-03-08 | 成都知道创宇信息技术有限公司 | A kind of method whether being modified using MD5 value checking contract documents |
CN106341493A (en) * | 2016-11-01 | 2017-01-18 | 北京金股链科技有限公司 | Entity rights oriented digitalized electronic contract signing method |
-
2018
- 2018-06-12 CN CN201910678064.XA patent/CN110362969A/en active Pending
- 2018-06-12 CN CN201810602428.1A patent/CN108763876B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145768A (en) * | 2016-03-01 | 2017-09-08 | 华为技术有限公司 | Copyright management method and system |
CN107679045A (en) * | 2016-08-01 | 2018-02-09 | 华为技术有限公司 | Copyright authorization management method and system |
CN107086920A (en) * | 2017-06-20 | 2017-08-22 | 无锡井通网络科技有限公司 | Copyright based on block chain really weighs method |
CN107657554A (en) * | 2017-09-22 | 2018-02-02 | 北京亿生生网络科技有限公司 | A kind of copyright registration transaction and really power method and system |
CN107798220A (en) * | 2017-11-09 | 2018-03-13 | 北京影联数据技术研究院有限公司 | A kind of Trading Authorization verification method and system for video display copyright trading |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558704A (en) * | 2018-12-05 | 2019-04-02 | 商丘师范学院 | A kind of digital publishing copyright protecting system and method based on block chain |
CN109558704B (en) * | 2018-12-05 | 2022-02-01 | 商丘师范学院 | Block chain-based digital publishing copyright protection system and method |
CN110598376A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Copyright authentication method, device and equipment based on block chain and storage medium |
CN112819662A (en) * | 2019-11-15 | 2021-05-18 | 上海唯链信息科技有限公司 | Information management method and device |
CN111654538B (en) * | 2020-05-29 | 2021-08-31 | 郁健兰 | Communication processing method and cloud edge computing server based on blockchain and big data |
Also Published As
Publication number | Publication date |
---|---|
CN110362969A (en) | 2019-10-22 |
CN108763876B (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106686008B (en) | Information storage means and device | |
CN109600223B (en) | Verification method, activation method, device, equipment and storage medium | |
WO2018177124A1 (en) | Service processing method and device, data sharing system and storage medium | |
CN108763876B (en) | A resource copyright verification method, device and device | |
CN111475841B (en) | Access control method, related device, equipment, system and storage medium | |
US9311459B2 (en) | Application-driven playback of offline encrypted content with unaware DRM module | |
CN110892672A (en) | Key authentication assertion generation to provide device anonymity | |
WO2020164526A1 (en) | Control method for nodes in distributed system and related device | |
US10454905B2 (en) | Method and apparatus for encrypting and decrypting picture, and device | |
KR20140050322A (en) | Method and apparatus for providing unique identifier of user device | |
CN107154935B (en) | Service request method and device | |
CN107395560B (en) | Security verification and initiating and managing method, equipment, server and storage medium thereof | |
CN111563251B (en) | Encryption method and related device for private information in terminal equipment | |
CN109768977A (en) | Streaming medium data processing method, device and relevant device and medium | |
CN103036852B (en) | A kind of method and device realizing network entry | |
CN111698537A (en) | Multimedia data processing method, device, equipment and storage medium | |
CN113221150A (en) | Data protection method and device | |
CN110826097A (en) | A data processing method and electronic device | |
CN110572268B (en) | Anonymous authentication method and device | |
CN114553612B (en) | Data encryption and decryption method and device, storage medium and electronic equipment | |
CN114372801A (en) | A kind of identification method of biometric information and related device | |
CN108737341B (en) | Service processing method, terminal and server | |
CN109525666A (en) | A kind of data back up method and mobile terminal | |
CN114389825B (en) | Data communication method based on block chain and related device | |
CN108924136B (en) | Authorization authentication method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |