Search

US-12626417-B2 - Blockchain-based data processing method and apparatus, device, storage medium, and program product

US12626417B2US 12626417 B2US12626417 B2US 12626417B2US-12626417-B2

Abstract

This application discloses a blockchain-based data processing method performed by a computer device. The method includes: in response to a selection operation of media elements associated with a target object, acquiring a target media element combination based on the selected media elements; in response to a virtual resource creation operation for the target media element combination, generating target combined media data corresponding to the target media element combination; and transmitting a virtual resource creation request for the target combined media data to a blockchain network, wherein the blockchain network creates a target on-chain virtual resource corresponding to the target combined media data after determining that the target combined media data passes duplicate check and verification, and an ownership right of the target on-chain virtual resource belonging to the target object.

Inventors

  • Rui Guo
  • Gengliang Zhu
  • Lisen LI
  • YUBIN SONG
  • Chao Wang
  • Ming Liu
  • Yongjing LI
  • Hui Zhang
  • Zimin Chen
  • Zuodong LIANG
  • Bo Qin
  • Hu Lan
  • Tao Fan
  • Zongyou Wang
  • Jun Liang
  • Yang Lu
  • Chaojie QI
  • Shitao XU
  • Yang Mo
  • Yifang Shi

Assignees

  • TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED

Dates

Publication Date
20260512
Application Date
20230620
Priority Date
20220130

Claims (20)

  1. 1 . A blockchain-based data processing method performed by a computer device, the method comprising: in response to a selection operation of media elements associated with a target object, acquiring a target media element combination based on the selected media elements, wherein: the target media element combination comprises m media elements, the m being a positive integer; each of the m media elements corresponds to a unique one of predetermined m element types; and each of the m media elements is associated with a presentation style determined from a plurality of predetermined presentation styles associated with the respective unique one of predetermined m element types; in response to a virtual resource creation operation for the target media element combination, generating target combined media data corresponding to the target media element combination; and transmitting a virtual resource creation request for the target combined media data to a blockchain network, wherein the blockchain network creates a target on-chain virtual resource corresponding to the target combined media data after determining that the target combined media data passes duplicate check and verification, and an ownership right of the target on-chain virtual resource belonging to the target object.
  2. 2 . The method according to claim 1 , wherein the acquiring a target media element combination based on the selected media elements comprises: determining the selected media elements in different types of media element sets as the target media element combination in response to the selection operation of the target object for the media elements in the media element sets with different element types, and the method further comprises: displaying combined preview media data corresponding to the target media element combination, the combined preview media data being obtained by fusing the media elements in the target media element combination.
  3. 3 . The method according to claim 1 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media layers separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing layer superposition on m element media layers to obtain the target combined media data based on a pre-configured element combination order.
  4. 4 . The method according to claim 1 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media data segments separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing segment splicing on m element media data segments to obtain the target combined media data based on a pre-configured element combination order.
  5. 5 . The method according to claim 1 , further comprising: generating a target combination identification corresponding to the target media element combination in response to a duplicate check operation for the target media element combination; displaying information prompting that the combination is occupied when a combination identification same as the target combination identification is found in an identification database; and displaying information prompting that the combination is unoccupied when the combination identification same as the target combination identification is not found in the identification database.
  6. 6 . The method according to claim 1 , further comprising: generating a target combination identification corresponding to the target media element combination based on the virtual resource creation operation; and performing the operation of the generating target combined media data corresponding to the target media element combination when a combination identification same as the target combination identification is not found in an identification database.
  7. 7 . The method according to claim 1 , further comprising: performing data identification on the target combined media data bound with the target on-chain virtual resource to obtain the target media element combination corresponding to the target combined media data; and generating a target combination identification corresponding to the target media element combination based on an element combination order, the target combination identification being used for characterizing the target object in the blockchain network, and the element combination order referring to a combination order between the respective media elements in the target media element combination in generating the target combined media data.
  8. 8 . A computer device, comprising a processor, a memory, and a network interface, the processor being separately connected to the memory and the network interface, the network interface being configured to provide a data communication function, the memory being configured to store a program code that, when executed by the processor, causes the computer device to perform a blockchain-based data processing method including: in response to a selection operation of media elements associated with a target object, acquiring a target media element combination based on the selected media elements, wherein: the target media element combination comprises m media elements, the m being a positive integer; each of the m media elements corresponds to a unique one of predetermined m element types; and each of the m media elements is associated with a presentation style determined from a plurality of predetermined presentation styles associated with the respective unique one of predetermined m element types; in response to a virtual resource creation operation for the target media element combination, generating target combined media data corresponding to the target media element combination; and transmitting a virtual resource creation request for the target combined media data to a blockchain network, wherein the blockchain network creates a target on-chain virtual resource corresponding to the target combined media data after determining that the target combined media data passes duplicate check and verification, and an ownership right of the target on-chain virtual resource belonging to the target object.
  9. 9 . The computer device according to claim 8 , wherein the acquiring a target media element combination based on the selected media elements comprises: determining the selected media elements in different types of media element sets as the target media element combination in response to the selection operation of the target object for the media elements in the media element sets with different element types, and the method further comprises: displaying combined preview media data corresponding to the target media element combination, the combined preview media data being obtained by fusing the media elements in the target media element combination.
  10. 10 . The computer device according to claim 8 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media layers separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing layer superposition on m element media layers to obtain the target combined media data based on a pre-configured element combination order.
  11. 11 . The computer device according to claim 8 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media data segments separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing segment splicing on m element media data segments to obtain the target combined media data based on a pre-configured element combination order.
  12. 12 . The computer device according to claim 8 , wherein the method further comprises: generating a target combination identification corresponding to the target media element combination in response to a duplicate check operation for the target media element combination; displaying information prompting that the combination is occupied when a combination identification same as the target combination identification is found in an identification database; and displaying information prompting that the combination is unoccupied when the combination identification same as the target combination identification is not found in the identification database.
  13. 13 . The computer device according to claim 8 , wherein the method further comprises: generating a target combination identification corresponding to the target media element combination based on the virtual resource creation operation; and performing the operation of the generating target combined media data corresponding to the target media element combination when a combination identification same as the target combination identification is not found in an identification database.
  14. 14 . The computer device according to claim 8 , wherein the method further comprises: performing data identification on the target combined media data bound with the target on-chain virtual resource to obtain the target media element combination corresponding to the target combined media data; and generating a target combination identification corresponding to the target media element combination based on an element combination order, the target combination identification being used for characterizing the target object in the blockchain network, and the element combination order referring to a combination order between the respective media elements in the target media element combination in generating the target combined media data.
  15. 15 . A non-transitory computer-readable storage medium, storing a computer program therein, the computer program being loaded and executed by a processor of a computer device and causing the computer device to perform a blockchain-based data processing method including: in response to a selection operation of media elements associated with a target object, acquiring a target media element combination based on the selected media elements, wherein: the target media element combination comprises m media elements, the m being a positive integer; each of the m media elements corresponds to a unique one of predetermined m element types; and each of the m media elements is associated with a presentation style determined from a plurality of predetermined presentation styles associated with the respective unique one of predetermined m element types; in response to a virtual resource creation operation for the target media element combination, generating target combined media data corresponding to the target media element combination; and transmitting a virtual resource creation request for the target combined media data to a blockchain network, wherein the blockchain network creates a target on-chain virtual resource corresponding to the target combined media data after determining that the target combined media data passes duplicate check and verification, and an ownership right of the target on-chain virtual resource belonging to the target object.
  16. 16 . The non-transitory computer-readable storage medium according to claim 15 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media layers separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing layer superposition on m element media layers to obtain the target combined media data based on a pre-configured element combination order.
  17. 17 . The non-transitory computer-readable storage medium according to claim 15 , wherein the generating target combined media data corresponding to the target media element combination comprises: acquiring element media data segments separately corresponding to the m media elements in response to the virtual resource creation operation for the target media element combination; and performing segment splicing on m element media data segments to obtain the target combined media data based on a pre-configured element combination order.
  18. 18 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises: generating a target combination identification corresponding to the target media element combination in response to a duplicate check operation for the target media element combination; displaying information prompting that the combination is occupied when a combination identification same as the target combination identification is found in an identification database; and displaying information prompting that the combination is unoccupied when the combination identification same as the target combination identification is not found in the identification database.
  19. 19 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises: generating a target combination identification corresponding to the target media element combination based on the virtual resource creation operation; and performing the operation of the generating target combined media data corresponding to the target media element combination when a combination identification same as the target combination identification is not found in an identification database.
  20. 20 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises: performing data identification on the target combined media data bound with the target on-chain virtual resource to obtain the target media element combination corresponding to the target combined media data; and generating a target combination identification corresponding to the target media element combination based on an element combination order, the target combination identification being used for characterizing the target object in the blockchain network, and the element combination order referring to a combination order between the respective media elements in the target media element combination in generating the target combined media data.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2022/130318, entitled “BLOCKCHAIN-BASED DATA PROCESSING METHOD AND APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM PRODUCT” filed on Nov. 7, 2022, which claims priority to Chinese Patent Application No. 202210114521.4, entitled “BLOCKCHAIN-BASED DATA PROCESSING METHOD AND APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM PRODUCT” filed on Jan. 30, 2022, all of which is incorporated by reference in its entirety. FIELD OF THE TECHNOLOGY This application relates to the field of computer technology, and in particular, to a blockchain-based data processing method and apparatus, a device, a storage medium, and a program product. BACKGROUND OF THE DISCLOSURE An off-chain digital product may only be bound with the sole on-chain virtual resource in a blockchain network, and the on-chain virtual resource may represent the ownership right of the off-chain digital product stored on the chain. That is to say, when a common object has the only ownership right of the on-chain virtual resource, it is proved that the off-chain digital product belongs to the user. The off-chain digital product may include media data that can be bound with the on-chain virtual resource, such as pictures, videos, music, and games. In the blockchain network described in the related art, a resource platform party usually generates the on-chain virtual resource based on the existing off-chain digital product. Then a common object acquires the on-chain virtual resource generated by the resource platform party, and then acquires the corresponding off-chain digital product. The generated on-chain virtual resource cannot be changed or deleted. If the on-chain virtual resource is not acquired by the common object, the waste of the on-chain virtual resources can be generated, and the utilization rate of the on-chain virtual resource on the blockchain can be low. Therefore, the resource platform party usually only selects a limited number of off-chain digital products to generate off-chain virtual resources. It results in few presentation styles of the off-chain digital products which can be selected by the common object and fail to meet the requirements of the common object. SUMMARY The embodiments of this application provide a blockchain-based data processing method and apparatus, a device, and a readable storage medium. As such, the waste of the on-chain virtual resource can be reduced and the utilization rate of the on-chain virtual resource on the blockchain can be improved. The embodiments of this application provide a blockchain-based data processing method performed by a computer device, including: in response to a selection operation of media elements associated with a target object, acquiring a target media element combination based on the selected media elements;in response to a virtual resource creation operation for the target media element combination, generating target combined media data corresponding to the target media element combination; andtransmitting a virtual resource creation request for the target combined media data to a blockchain network, wherein the blockchain network creates a target on-chain virtual resource corresponding to the target combined media data after determining that the target combined media data passes duplicate check and verification, and an ownership right of the target on-chain virtual resource belonging to the target object. The embodiments of this application provide a computer device, including a processor, a memory, and a network interface, the processor being separately connected to the memory and the network interface, the network interface being configured to provide a data communication network element, the memory being configured to store a computer program that, when executed by the processor, causes the computer device to perform the blockchain-based data processing method provided in the embodiments of this application. The embodiments of this application provide a non-transitory computer-readable storage medium, storing a computer program therein, the computer program being loaded and executed by a processor of a computer device and causing the computer device to perform the blockchain-based data processing method provided in the embodiments of this application. The embodiments of this application have the following beneficial effects. In the embodiments of this application, a target media element combination composed of selected media elements may be acquired in response to a selection operation of a target object for the media elements. Then target combined media data corresponding to the target media element combination may be generated in response to a virtual resource creation operation for the target media element combination. Next, a virtual resource creation request for the target combined media data may be transmitted to a blockchain network. A target on-chain virtual