On-chain data processing method and device, computer, storage medium and program product

By receiving and publishing media data in the blockchain data management platform, responding to user requests and carrying out resource voting transactions on the chain, the problems of platform display injustice and poor interactivity are solved, and higher user participation and platform performance are achieved.

CN120264079APending Publication Date: 2025-07-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410018564.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The existing blockchain data management platform cannot effectively display the value of posts, making it difficult for users to intuitively obtain the required information. The platform performance and interactivity are poor, especially in terms of access and interaction, and the user stickiness is low.

Method used

By receiving media data and publishing it in the data management platform, outputting relevant resources in response to user viewing requests, obtaining resource voting requests and transferring voting resources to the media data pool, generating and on-chain processing resource voting transactions, and using user voting incentive mechanism to improve the recommendation and display fairness of media data.

Benefits of technology

It improves users' participation and interaction level on the platform, makes media data display more in line with user needs, improves platform performance and interactivity, and enhances user stickiness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264079A_ABST
    Figure CN120264079A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an on-chain data processing method and device, a computer, a storage medium and a program product, and the method comprises the steps: receiving first media data uploaded by a data publishing node, and publishing the first media data in a data management platform; when a media data viewing request is detected, outputting media data included in the data management platform and media platform resources associated with the media data; in response to a resource voting request of a first service node for second media data in the media data, obtaining a first data volume indicated by the resource voting request, obtaining voting platform resources of the first data volume from first platform resources owned by the first service node, and sending the voting platform resources to the first service node; transferring voting platform resources to a media resource pool of second media data; and generating a resource voting transaction according to the first service node, the first data volume and the second media data, and performing uplink processing on the resource voting transaction. By adopting the method and the device, the platform performance and interactivity can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a method, device, computer, storage medium, and program product for processing on-chain data. Background Art

[0002] With the development of blockchain networks, content uploaded by users, such as posts, has gradually emerged in blockchain networks. These posts can be displayed to users on a content platform (i.e., a data management platform) implemented based on the blockchain. For these posts, the data management platform generally can only display the posts based on the post release time, view count, etc., or classify and display the posts, making it difficult for users to more intuitively determine the value of the posts and difficult to view the required posts, resulting in poor performance of the data management platform. Especially compared with off-chain platforms, the data management platform implemented based on the blockchain is more complex in terms of access and interaction, leading to poor interactivity and user stickiness of the data management platform, and thus poor practicality of the data management platform. Summary of the Invention

[0003] Embodiments of this application provide a method, device, computer, storage medium, and program product for processing on-chain data, which can improve the performance and interactivity of on-chain platforms.

[0004] On the one hand, embodiments of this application provide a method for processing on-chain data, the method including:

[0005] Receiving first media data uploaded by a data publishing node and publishing the first media data in a data management platform;

[0006] When detecting a media data viewing request, outputting the media data included in the data management platform and the media platform resources associated with the media data; the media data includes the first media data; the media platform resources are used to recommend the media data;

[0007] Responding to a resource voting request of a first service node for second media data in the media data, obtaining a first data volume indicated by the resource voting request, obtaining voting platform resources of the first data volume from the first platform resources owned by the first service node, and transferring the voting platform resources to the media resource pool of the second media data;

[0008] Generating a resource voting transaction according to the first service node, the first data volume, and the second media data, and performing an on-chain process on the resource voting transaction.

[0009] On the one hand, embodiments of this application provide a device for processing on-chain data, the device including:

[0010] A data publishing module, configured to receive the first media data uploaded by a data publishing node and publish the first media data in a data management platform;

[0011] A data output module, configured to output the media data included in the data management platform and the media platform resources associated with the media data when a media data viewing request is detected; the media data includes the first media data; the media platform resources are used to recommend the media data;

[0012] A data voting module, configured to respond to a resource voting request of a first service node for second media data in the media data, obtain a first data volume indicated by the resource voting request, obtain voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to a media resource pool of the second media data;

[0013] A transaction on-chain module, configured to generate a resource voting transaction according to the first service node, the first data volume and the second media data, and perform on-chain processing on the resource voting transaction.

[0014] Wherein, the data publishing module includes:

[0015] A node evaluation unit, configured to receive the first media data uploaded by the data publishing node, obtain the historical publishing information of the data publishing node, perform node evaluation on the data publishing node based on the historical publishing information, and obtain a data publishing coefficient corresponding to the data publishing node;

[0016] A deadline determination unit, configured to obtain a basic voting deadline of the data management platform, perform deadline adjustment on the basic voting deadline by using the data publishing coefficient, and determine a first resource voting deadline of the first media data;

[0017] A data publishing unit, configured to associate and publish the first resource voting deadline with the first media data in the data management platform.

[0018] Wherein, the data output module includes:

[0019] A first sorting unit, configured to obtain the media platform resources of the media data included in the data management platform when a media data viewing request is detected, sort the media data based on the media platform resources, and obtain a first data sequence;

[0020] A second sorting unit, configured to obtain the data publishing time of the media data, sort the media data by using the data publishing time, and obtain a second data sequence;

[0021] A data output unit, configured to output the media data and the media platform resources associated with the media data in the data management platform by using the first data sequence or the second data sequence.

[0022] Among them, the data output module includes:

[0023] An information acquisition unit, configured to, when detecting a media data viewing request, acquire the media platform resources of the media data included in the data management platform, and acquire the data release time of the media data;

[0024] A recommendation determination unit, configured to determine the data recommendation coefficient of the media data by using the media platform resources and the data release time of the media data;

[0025] A third sorting unit, configured to sort the media data by using the data recommendation coefficient to obtain a third data sequence, and use the third data sequence;

[0026] The data output unit is further configured to output the media data and the media platform resources associated with the media data in the data management platform.

[0027] Among them, the media data viewing request is a media data vote viewing request; the data output module includes:

[0028] A candidate determination unit, configured to, when detecting a media data vote viewing request, acquire the media data included in the data management platform, and determine candidate media data from the media data; the candidate media data refers to the media data in the voting period;

[0029] A value determination unit, configured to determine the data vote value of the candidate media data according to the media platform resources associated with the candidate media data, the number of candidate voting nodes, and the candidate voting duration; the data vote value is directly proportional to the data volume of the media platform resources of the candidate media data, and inversely proportional to the number of candidate voting nodes and the candidate voting duration;

[0030] A fourth sorting unit, configured to sort the candidate media data based on the data vote value to obtain a fourth data sequence;

[0031] The data output unit is further configured to output the candidate media data and the media platform resources associated with the candidate media data by using the fourth data sequence.

[0032] Among them, the device further includes:

[0033] A pledge determination module, configured to determine the associated resource data volume of the first service node from the media resource pool of the second media data, and determine the node pledge coefficient of the first service node according to the associated resource data volume of the first service node, the number of historical voting objects, and the historical voting duration; the node pledge coefficient of the first service node is directly proportional to the associated resource data volume of the first service node, and inversely proportional to the number of historical voting objects and the historical voting duration;

[0034] The pledge-on-chain module is used to generate a node pledge transaction according to the first service node, the node pledge coefficient of the first service node, and the second media data, and perform on-chain processing on the node pledge transaction.

[0035] Among them, the device further includes:

[0036] The data determination module is used to determine the target resource data volume of the second media data based on the media resource pool of the second media data when the voting time of the second media data reaches the second resource voting period of the second media data;

[0037] The resource acquisition module is used to acquire the target platform resources of the second media data from the media resource pool of the second media data;

[0038] The weight determination module is used to obtain the node weights corresponding to N associated nodes associated with the second media data respectively; N is a positive integer;

[0039] The resource transfer module is used to transfer the target platform resources to N associated nodes based on the node weights corresponding to N associated nodes respectively and the target resource data volume.

[0040] Among them, the N associated nodes include N voting service nodes; the weight determination module includes:

[0041] The coefficient acquisition unit is used to acquire N voting service nodes associated with the second media data, and the node pledge coefficients corresponding to the N voting service nodes respectively; the N voting service nodes include the first service node;

[0042] The normalization processing unit is used to perform normalization processing on the node pledge coefficients corresponding to N voting service nodes respectively to obtain the node weights corresponding to N voting service nodes respectively.

[0043] Among them, the N associated nodes include M voting service nodes and a data management platform; M is a positive integer less than N;

[0044] The weight determination module includes:

[0045] The ratio processing unit is used to obtain the first management ratio of the data management platform, determine the first voting ratio based on the first management ratio, and determine the first management ratio as the node weight of the data management platform;

[0046] The weight determination unit is used to divide the first voting ratio into the node weights corresponding to M voting service nodes respectively based on the node pledge coefficients corresponding to M voting service nodes respectively.

[0047] Among them, the resource transfer module includes:

[0048] A data division unit, configured to divide a target resource data volume into N to-be-allocated data volumes based on the node weights respectively corresponding to N associated nodes; one associated node corresponds to one to-be-allocated data volume.

[0049] A resource allocation unit, configured to divide a target platform resource into N to-be-allocated resources based on the to-be-allocated data volumes respectively corresponding to N associated nodes, and send the N to-be-allocated resources to the corresponding associated nodes respectively.

[0050] An allocation and on-chain unit, configured to generate a resource allocation transaction according to second media data, N associated nodes, and the to-be-allocated data volumes respectively corresponding to N associated nodes, and perform an on-chain process on the resource allocation transaction.

[0051] Wherein, the apparatus further includes:

[0052] A parameter conversion module, configured to obtain interaction parameters of second media data, input the second media data into a data evaluation model for prediction, and obtain the data quality of the second media data.

[0053] An interaction processing module, configured to convert the interaction parameters into an interaction data volume by using the data quality, and transfer a second platform resource to a media resource pool of the second media data; the data volume of the second platform resource is the interaction data volume.

[0054] Wherein, the apparatus further includes:

[0055] A task determination module, configured to respond to a resource acquisition request of a second service node for a data management platform, obtain the activity time distribution and system network time of the data management platform, and determine a resource acquisition task based on the system network time and the activity time distribution.

[0056] A task output module, configured to obtain a basic resource task and a regular resource task of the data management platform, and output a task distribution list; the task distribution list includes a resource acquisition task, a basic resource task, a regular resource task, and a resource conversion component.

[0057] A task processing module, configured to, if a trigger operation for a target resource task is detected, obtain the task data volume associated with the target resource task, and transfer a third platform resource of the task data volume to the second service node.

[0058] An embodiment of the present application provides a computer device on the one hand, including a processor, a memory, and an input / output interface;

[0059] The processor is respectively connected to the memory and the input / output interface. Among them, the input / output interface is used to receive data and output data, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device including the processor executes the on-chain data processing method in an embodiment of the present application on the one hand.

[0060] In one aspect of the embodiments of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, which is adapted to be loaded and executed by a processor so that a computer device having the processor executes the on-chain data processing method in one aspect of the embodiments of the present application.

[0061] In one aspect of the embodiments of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, which are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device executes the methods provided in various alternative manners in one aspect of the embodiments of the present application. In other words, when the computer instructions are executed by the processor, the methods provided in various alternative manners in one aspect of the embodiments of the present application are implemented.

[0062] Implementing the embodiments of the present application will have the following beneficial effects:

[0063] In the embodiments of the present application, the first media data uploaded by the data publishing node can be received and the first media data can be published in the data management platform; when a media data viewing request is detected, the media data included in the data management platform and the media platform resources associated with the media data are output; the media data includes the first media data; the media platform resources are used to recommend the media data; in response to the resource voting request of the first service node for the second media data in the media data, the first data volume indicated by the resource voting request is obtained, and from the first platform resources owned by the first service node, the voting platform resources of the first data volume are obtained and transferred to the media resource pool of the second media data; a resource voting transaction is generated according to the first service node, the first data volume and the second media data, and the resource voting transaction is processed on the chain. Through the above process, the user can publish media data on the data management platform and can also vote for the media data that has been published on the data management platform. The vote will be used in the recommendation of the media data, so that the incentive for the media data is participated by the user, improving the user's association with the promotion of the media data in the data management platform, and improving the user's participation and interaction with the data management platform. Moreover, the promotion of the media data by the data management platform is based on the platform resources provided by the user, making the display of the media data more fair and more in line with the user's needs, improving the platform performance and interactivity, and thus improving the user stickiness. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0065] Figure 1 It is a network interaction architecture diagram for on-chain data processing provided by an embodiment of the present application;

[0066] Figure 2 It is a schematic diagram of an on-chain data processing scenario provided by an embodiment of the present application;

[0067] Figure 3 It is a flowchart of a method for on-chain data processing provided by an embodiment of the present application;

[0068] Figure 4 It is a schematic diagram of a possible data recommendation coefficient provided by an embodiment of the present application;

[0069] Figure 5 It is a data display schematic diagram provided by an embodiment of the present application;

[0070] Figure 6 It is a schematic diagram of a voting scenario provided by an embodiment of the present application;

[0071] Figure 7 It is a flowchart of an interactive method for on-chain data processing provided by an embodiment of the present application;

[0072] Figure 8 It is a schematic diagram of an on-chain data processing device provided by an embodiment of the present application;

[0073] Figure 9 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0074] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0075] Among them, if it is necessary to collect data of an object (such as a user, etc.) in this application, a prompt interface or a pop-up window is displayed before and during the collection. The prompt interface or the pop-up window is used to prompt the user that some data is being collected currently. Only after obtaining the confirmation operation of the user on the prompt interface or the pop-up window, the relevant steps of data acquisition are started, otherwise it ends. Moreover, the obtained user data will be used in reasonable, legal scenarios or purposes, etc. Optionally, in some scenarios where user data needs to be used but no user authorization has been obtained, authorization can also be requested from the user, and the user data will be used only when the authorization is passed. That is to say, the use of user data in this application complies with the relevant regulations of laws and regulations, that is, the use of user data is reasonable and legal.

[0076] Among them, blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithms. Blockchain, in essence, is a decentralized database, a series of data blocks generated by using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.

[0077] Among them, the blockchain underlying platform can include processing modules such as user management, basic services, smart contracts, and operation detection. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and maintaining the correspondence between the user's real identity and the blockchain address (permission management), and under the authorization, supervising and auditing the transaction situations of certain real identities, providing the rule configuration of risk control (risk control and auditing); the basic service module is deployed on all blockchain node devices, used to verify the validity of business requests, and record the valid requests to the storage after consensus. For a new business request, the basic service first performs interface adaptation parsing and authentication processing (interface adaptation), then encrypts the business information through the consensus algorithm (consensus management), transmits the encrypted and complete and consistent information to the shared ledger (network communication), and performs record storage; the smart contract module is responsible for the registration and issuance of contracts, contract triggering, and contract execution. Developers can define contract logic through a certain programming language, publish it to the blockchain (contract registration), trigger the execution according to the logic of the contract terms by calling keys or other events, complete the contract logic, and at the same time provide the functions of contract upgrade and cancellation; the operation detection module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation during the product release process, and the visual output of the real-time state during the product operation, such as: alarming, detecting network conditions, and detecting the health status of node devices, etc.

[0078] Artificial Intelligence (AI) uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, including theories, methods, technologies, and application systems for perceiving the environment, acquiring knowledge, and using knowledge to achieve the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a way similar to human intelligence. Artificial intelligence also studies the design principles and implementation methods of various intelligent machines to enable machines to have the functions of perception, reasoning, and decision-making.

[0079] Artificial intelligence technology is an interdisciplinary subject with a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. The software technologies of artificial intelligence mainly include several major directions such as computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning, autonomous driving, and intelligent transportation. Through artificial intelligence technology, the automated management of media data can be achieved. For example, when a certain condition is met, the corresponding smart contract can be called to improve the efficiency of data processing.

[0080] Optionally, this application can also adopt big data technology to achieve the storage and processing of media data on the blockchain.

[0081] In the embodiments of this application, please refer to Figure 1 , Figure 1 which is a network interaction architecture diagram for on-chain data processing provided by the embodiments of this application. As shown in Figure 1 , this solution is used for content pledge in the blockchain. The blockchain network 101 can include multiple blockchain nodes, such as blockchain nodes 101a, 101b, and 101c. Any blockchain node can deploy or access a data management platform, which is used for the release and interaction of media data and can be considered as a platform deployed in the blockchain network. Among them, a blockchain node can release media data in the data management platform. At this time, this blockchain node can be considered as a data release node; a blockchain node can also conduct pledge processing on the media data that has been released in the data management platform. At this time, it can be recorded as a business node; when a blockchain node is used for media data management, it can be recorded as a platform management node, etc.

[0082] Specifically, please refer to Figure 2 , Figure 2 which is a schematic diagram of an on-chain data processing scenario provided by the embodiments of this application. As shown in Figure 2As shown, the data publishing node 201 can upload the first media data 202 in the data management platform 203, that is, any blockchain node can upload media data in the data management platform 203. At this time, the data management platform 203 may include multiple media data, and the media platform resources associated with each media data, such as Figure 2 the media data 2041 and the media platform resources 2051 associated with the media data 2041 shown in, the media data 2042 and the media platform resources 2052 associated with the media data 2042, etc. At this time, the media data included in the data management platform 203 includes the first media data 202, and the media platform resources associated with each media data are used to recommend each media data. Optionally, when a media data viewing request of the first service node 206 is detected, the media data included in the data management platform and the media platform resources associated with the media data can be output. In response to the resource voting request of the first service node 206 for the second media data 207 in the media data, the first data volume indicated by the resource voting request can be obtained, and the voting platform resources of the first data volume can be obtained from the first platform resources owned by the first service node 206, and the voting platform resources are transferred to the media resource pool 208 of the second media data 207. Further, a resource voting transaction can be generated according to the first service node, the first data volume, and the second media data, and the resource voting transaction can be processed on the chain. By this method, the incentive for media data is participated by users, which can improve the user's association with the promotion of media data in the data management platform, improve the user's participation and the interaction degree with the data management platform, make the display of media data more fair and reasonable, and more in line with user needs, improve the platform performance and interactivity, and thus improve user stickiness. Among them, platform resources (such as media platform resources or voting platform resources, etc.) refer to the assets in the data management platform. For example, if the data management platform is a game platform, the platform resources can be game coins in the game application; if the data management platform is a community communication platform, the platform resources can be a kind of digital asset, etc., which are not limited here. Among them, the platform resources can circulate in the blockchain network.

[0083] Among them, the media data (such as the first media data and the second media data, etc.) involved in this application can be considered to include data of one or more media types, and the media types include but are not limited to audio type, video type, and text type, etc. That is, the media data can be audio data, text data, video data, image data, and mixed data, etc. The mixed data refers to data including multiple media types, such as data including text type and image type. For example, if the data management platform is a game platform, the media data can be game guides or game introductions, etc.; if the data management platform is a community communication platform, the media data can be topic exchange posts, novels, or articles, etc.

[0084] It can be understood that the blockchain node mentioned in the embodiments of the present application may be a computer device, and the computer device in the embodiments of the present application includes but is not limited to a terminal device or a server. In other words, the computer device may be a server or a terminal device, or a system composed of a server and a terminal device. Among them, the above-mentioned terminal device may be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a laptop computer, a palm computer, a vehicle-mounted device, an Augmented Reality / Virtual Reality (AR / VR) device, a head-mounted display, a smart TV, a wearable device, a smart speaker, a digital camera, a camera, and other mobile internet devices (MID) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. Among them, the above-mentioned server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, vehicle-road collaboration, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0085] Further, please refer to Figure 3 , Figure 3 is a flowchart of a method for processing on-chain data provided by the embodiments of the present application. As Figure 3 shown, any blockchain node is used as the execution subject for description, which can be denoted as the first blockchain node here. The on-chain data processing process includes the following steps:

[0086] Step S301: Receive the first media data uploaded by the data publishing node and publish the first media data in the data management platform.

[0087] In the embodiment of the present application, the first blockchain node may receive the first media data uploaded by the data publishing node and publish the first media data in the data management platform. At this time, the first blockchain node may be regarded as the platform management node for the data management platform. Optionally, the first blockchain node receives the first media data uploaded by the data publishing node, detects the publishing permission of the data publishing node, and publishes the first media data in the data management platform when the publishing permission detection of the data publishing node passes. Alternatively, the first blockchain node receives the first media data uploaded by the data publishing node, verifies the node of the data publishing node, including but not limited to the publishing permission detection, etc., verifies the first media data, including but not limited to the data legality verification, etc., generates the first voting data for the first media data and the data publishing node based on the node verification result of the data publishing node and the data verification result of the first media data; obtains the second voting data for the first media data and the data publishing node sent by other platform management nodes, determines the consensus result for the first media data and the data publishing node according to the first voting data and the second voting data, and other platform management nodes refer to the platform management nodes other than the first blockchain node; if the consensus result is the consensus passing result, then perform the on-chain processing on the first media data and the data publishing node, and publish the first media data in the data management platform. Among them, the data management platform refers to a decentralized platform deployed in the blockchain network, which can be jointly maintained and managed by multiple blockchain nodes, and the blockchain nodes that maintain and manage the data management platform are called platform management nodes.

[0088] Specifically, the first blockchain node receives the first media data uploaded by the data publishing node, obtains the first resource voting period of the first media data, and publishes the first resource voting period associated with the first media data to the data management platform. Specifically, the first blockchain node receives the first media data uploaded by the data publishing node, obtains the historical publishing information of the data publishing node, and performs node evaluation on the data publishing node based on the historical publishing information to obtain the data publishing coefficient corresponding to the data publishing node. Among them, the historical publishing information includes the historical media publishing times and historical media data volume of the data publishing node, etc. The historical media data volume refers to the data volume of the platform resources finally associated with the media data historically published by the data publishing node. Further, the basic voting period of the data management platform can be obtained, and the data publishing coefficient is used to adjust the voting period to determine the first resource voting period of the first media data; the first resource voting period is published to the data management platform in association with the first media data. Optionally, when the data publishing node has never published media data historically, the basic voting period can be determined as the first resource voting period of the first media data. Or, the first blockchain node can receive the first media data uploaded by the data publishing node, obtain the basic voting period, and determine the basic voting period as the first resource voting period of the first media data, etc.

[0089] Among them, the first media data can be any media data published in the data management platform, and can be data of one or more media types, that is, through the above process, any media data can be published in the data management platform.

[0090] Step S302, when a media data viewing request is detected, output the media data included in the data management platform and the media platform resources associated with the media data; the media data includes the first media data; the media platform resources are used to recommend the media data.

[0091] In the embodiment of the present application, when the first blockchain node detects a media data viewing request, it can output the media data included in the data management platform and the media information of the media data. Among them, the media data includes the first media data, and the media information can include, but is not limited to, the media platform resources associated with the corresponding media data, the remaining voting time, etc. Among them, the media platform resources are used to recommend the media data, and the remaining voting time is used to indicate the duration for which the corresponding media data can be voted. Specifically, output the media data included in the data management platform, as well as the data volume of the media platform resources associated with the media data, the remaining voting time, etc. For example, the resource voting period of media data 1 is 3 days. When outputting media data 1, if media data 1 has been uploaded for 2 days and 1 hour, the remaining voting time "23 hours" can be associated and displayed for the media data 1, etc.

[0092] Optionally, the media data included in the data management platform can be sorted to obtain a data sequence, and the data sequence is used to output the media data and the media information of the media data in the data management platform. Specifically, in a sorting method ①, the first blockchain node can obtain the media platform resources of the media data included in the data management platform, and sort the media data based on the media platform resources to obtain a first data sequence. Specifically, the media data can be sorted from largest to smallest according to the data volume of the media platform resources to obtain a first data sequence. Using the first data sequence, the media data and the media information associated with the media data are output in the data management platform. Through this method, sorting and output can be performed based on the media platform resources of the media data, so that the first data sequence can represent the popularity of the media platform resources, that is, it enables users to more conveniently obtain media data with higher data quality, thereby making the display of media data by the data management platform more fair and more in line with user needs, and can improve the platform performance and interactivity. Or, in a sorting method ②, the first blockchain node can obtain the data release time of the media data, and sort the media data using the data release time to obtain a second data sequence; using the second data sequence, the media data and the media platform resources associated with the media data are output in the data management platform. Through this method, users can obtain the latest released media data, improving the real-time nature of the media data display, and also enabling users to obtain the latest media data in a timely manner, improving the platform interactivity of the data management platform. Or, the media data can be sorted to obtain a first data sequence and a second data sequence, and the first data sequence or the second data sequence is used to output the media data and the media platform resources associated with the media data, etc.

[0093] Or, in a sorting method ③, when a media data viewing request is detected, the first blockchain node can obtain the media platform resources of the media data included in the data management platform and obtain the data release time of the media data. Using the media platform resources and the data release time of the media data, the data recommendation coefficient of the media data is determined, where the data recommendation coefficient is used to represent the vote recommendation degree of the corresponding media data, and the larger the data recommendation coefficient, the more the corresponding media data is recommended for voting. Among them, the data recommendation coefficient can be directly proportional to the data volume of the media platform resources and inversely proportional to the data release time. Optionally, the number of voted objects of the media data can also be obtained, and the data recommendation coefficient of the media data is determined using the media platform resources, the data release time, and the number of voted objects of the media data, etc., where the number of voted objects is the number of service nodes (i.e., users) that vote on the media data. For example, reference can be made to Figure 4 , Figure 4It is a schematic diagram of a possible data recommendation coefficient provided by an embodiment of the present application. This data recommendation coefficient is directly proportional to the data volume of media platform resources. As shown in region 401, this data recommendation coefficient is inversely proportional to the data release time. As shown in region 402. Of course, Figure 4 it is only a schematic diagram of a possible fluctuation of the data recommendation coefficient, and it can also be other change trends, such as or etc., which are not restricted here. Among them, a, b, and c can be regarded as recommendation parameter weights. The recommendation parameters refer to the parameters used to generate the data recommendation coefficient, such as the data volume of media platform resources and the data release time, etc. x1 is used to represent the media platform resources, and x2 is used to represent the data release time, etc. The data recommendation coefficient can be used to sort media data to obtain a third data sequence. Using the third data sequence, the media data and the media platform resources associated with the media data are output in the data management platform. Through this method, users can obtain more recommended media data, which can meet the voting needs of users and improve the platform performance of the data management platform.

[0094] Optionally, the media data viewing request is a media data voting viewing request. At this time, in sorting method ④, when a media data viewing request is detected and the media data included in the data management platform and the media platform resources associated with the media data are output, when a media data voting viewing request is detected, the first blockchain node can obtain the media data included in the data management platform and determine candidate media data from the media data; the candidate media data refers to the media data in the voting period. According to the media platform resources associated with the candidate media data, the number of candidate voting nodes, and the candidate voting duration, the data voting value of the candidate media data is determined; the data voting value is directly proportional to the data volume of the media platform resources of the candidate media data and inversely proportional to the number of candidate voting nodes and the candidate voting duration. Of course, optionally, the data voting value can also adopt the determination method of the data recommendation coefficient. Further, the candidate media data can be sorted based on the data voting value to obtain a fourth data sequence. Using the fourth data sequence, the candidate media data and the media platform resources associated with the candidate media data are output.

[0095] Optionally, any one or more of the above sorting methods can be used to sort the media data included in the data management platform to obtain the data sequence corresponding to the adopted sorting method. Based on the obtained data sequence, the media data included in the data management platform is output. For example, referring to Figure 5 shown Figure 5 is a schematic diagram of data display provided by an embodiment of the present application. As Figure 5As shown, when the first blockchain node detects a media data voting view request, it can output the media-related data 502 included in the data management platform on the data display page 501. The media-related data 502 includes media data and media information of the media data, etc. Optionally, the data display page 501 includes a latest release component 5031, a voting recommendation component 5032, a hottest data component 5033, etc. Among them, taking the latest release component 5031 as an example, assuming that the media information includes the data volume of the media platform resources and the remaining voting time, etc., in response to the data view request for the latest release component 5031, using the above sorting method ②, sort the media data included in the data management platform to obtain a second data sequence, and use the second data sequence to output the media data 5021 and the media information corresponding to the media data 5021 in the data management platform, such as the data volume 5022 of the media platform resources and the remaining voting time 5023, etc. Optionally, in response to the media data view request for the voting recommendation component 5032, a third data sequence can be obtained using the above sorting method ③, or a fourth data sequence can be obtained using the above sorting method ④, and the third data sequence or the fourth data sequence is used to output the media data and the media information corresponding to the media data in the data management platform. Optionally, in response to the media data view request for the hottest data component 5033, a first data sequence can be obtained using the above sorting method ①, and the first data sequence is used to output the media data and the media information corresponding to the media data in the data management platform. By outputting media data through multiple sorting methods, users can switch the required media data sequence based on their needs, which can improve the convenience of platform interaction.

[0096] Step S303: Respond to the resource voting request of the first service node for the second media data in the media data, obtain the first data volume indicated by the resource voting request, obtain the voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to the media resource pool of the second media data.

[0097] In an embodiment of the present application, the first blockchain node may respond to a resource voting request of the first service node for the second media data in the media data, obtain the first data volume indicated by the resource voting request, where the first data volume refers to the data volume of the platform resources that the first service node is to transfer to the second media data. Further, the voting platform resources of the first data volume may be obtained from the first platform resources owned by the first service node, and the voting platform resources may be transferred to the media resource pool of the second media data. Optionally, the resource voting request may carry a resource transfer signature of the first service node, and the resource transfer signature is used for node verification of the first service node. For example, the node public key of the first service node may be obtained, and the resource transfer signature may be verified using the node public key of the first service node. If the verification of the resource transfer signature passes, the voting platform resources of the first data volume are obtained from the first platform resources owned by the first service node, and the voting platform resources are transferred to the media resource pool of the second media data. Alternatively, the resource voting request may carry resource encrypted data, and the first blockchain node may obtain the platform private key of the data management platform, decrypt the resource encrypted data using the platform private key to obtain the resource data to be transferred, and based on the resource data to be transferred, transfer the voting platform resources of the first data volume in the first platform resources owned by the first service node to the media resource pool of the second media data. Alternatively, the resource voting request may carry a resource transfer signature and resource encrypted data, etc., which is not limited here. Optionally, the first blockchain node may also perform node verification on the first service node. If the first service node is a normal node and the first service node has the media data voting right, the voting platform resources of the first data volume may be obtained from the first platform resources owned by the first service node, and the voting platform resources may be transferred to the media resource pool of the second media data, etc. Optionally, the first service node and the first blockchain node may be the same node or different nodes.

[0098] Similarly, any service node may vote for any media data in the data management platform, where a service node may vote for one or more media data, and a media data may receive votes from one or more service nodes. For example, referring to Figure 6 , Figure 6 is a schematic diagram of a voting scenario provided by an embodiment of the present application. As Figure 6As shown in the figure, it is assumed that the data management platform 601 includes media data 1, media data 2, media data 3, media data 4, etc. The first service node 602 wants to vote for media data 3. That is, the first service node 602 can initiate a resource voting request for media data 3. The first blockchain node can, based on this resource voting request, transfer the voting platform resources of the first data volume of the first service node 602 to the media resource pool of media data 3. Further optionally, step S304 can be executed to perform blockchain processing on the voting process of the first service node 602 for media data 3, that is, upload it to the blockchain network 603.

[0099] At this time, in the media resource pool of any media data, it includes the voting platform resources transferred by each service node that votes for this media data.

[0100] Step S304: Generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform blockchain processing on the resource voting transaction.

[0101] In the embodiment of the present application, the first blockchain node can generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform blockchain processing on the resource voting transaction. For example, this resource voting transaction can be recorded as "First data volume: First service node -> Second media data", or "token: First data volume, from: First service node, to: Second media data", etc. Here, token is used to represent platform resources, from is used to represent the resource transfer address of this resource voting transaction, and to is used to represent the resource transfer-in address of this resource voting transaction, which is not limited here. Specifically, the first blockchain node can generate a resource voting transaction according to the first service node, the first data volume, and the second media data; broadcast the resource voting transaction to the consensus nodes, and when the consensus nodes pass the consensus on the resource voting transaction, upload the resource voting transaction to the blockchain network, that is, perform blockchain processing on the resource voting transaction.

[0102] Further optionally, it is possible to perform pledge confirmation for the business nodes that vote in the data management platform. Specifically, the first blockchain node can determine the associated resource data volume of the first business node from the media resource pool of the second media data. The associated resource data volume refers to the data volume of the platform resources voted by the first business node in the media resource pool of the second media data, and the associated resource data volume is greater than or equal to the first data volume. The node pledge coefficient of the first business node can be determined based on the associated resource data volume of the first business node, the number of historical voting objects, and the historical voting duration; the node pledge coefficient of the first business node is directly proportional to the associated resource data volume of the first business node and inversely proportional to the number of historical voting objects and the historical voting duration. A node pledge transaction can be generated based on the first business node, the node pledge coefficient of the first business node, and the second media data, and the node pledge transaction can be processed on the chain. Similarly, the node pledge coefficients of each business node that votes for the second media data can be obtained.

[0103] Optionally, the resource voting transaction and the node pledge transaction can be processed on the chain separately. For example, when the voting time of the second media data reaches the second resource voting period of the second media data, obtain the voting business nodes of the second media data and the node pledge coefficients of the voting business nodes, generate a node pledge transaction based on the voting business nodes, the node pledge coefficients of the voting business nodes, and the second media data, and process the node pledge transaction on the chain, where the voting business nodes include the first business node. Alternatively, the resource voting transaction and the node pledge transaction for the first business node can be encapsulated into a node voting block for the first business node, and the node voting block can be processed on the chain. At this time, if the first business node subsequently adds the data volume of the platform resources voted for the second media data, an updated voting transaction can be generated and processed on the chain.

[0104] Further optionally, when the voting time of the second media data reaches the second resource voting period of the second media data, based on the media resource pool of the second media data, determine the target resource data volume of the second media data. The target resource data volume refers to the data volume of the platform resources included in the media resource pool of the second media data. The target platform resources of the second media data can be obtained from the media resource pool of the second media data, and the node weights corresponding to N associated nodes associated with the second media data can be obtained; N is a positive integer, where the N associated nodes refer to the nodes associated with the second media data, and the N associated nodes can participate in the resource allocation of the second media data. Further, based on the node weights corresponding to the N associated nodes and the target resource data volume, the target platform resources can be transferred to the N associated nodes.

[0105] Optionally, in one case, the N associated nodes include N voting service nodes. At this time, when obtaining the node weights corresponding to the N associated nodes associated with the second media data, the N voting service nodes associated with the second media data and the node pledge coefficients corresponding to the N voting service nodes can be obtained; the N voting service nodes include the first service node. Perform a normalization process on the node pledge coefficients corresponding to the N voting service nodes to obtain the node weights corresponding to the N voting service nodes respectively.

[0106] Alternatively, in one case, the N associated nodes include M voting service nodes and a data management platform; M is a positive integer less than N, and at this time, M is N - 1. At this time, when obtaining the node weights corresponding to the N associated nodes associated with the second media data, the first management ratio of the data management platform can be obtained, the first voting ratio can be determined based on the first management ratio, and the first management ratio can be determined as the node weight of the data management platform. For example, if the first management ratio is 0.1, then the node weight of the data management platform is 0.1, and the first voting ratio is 0.9. Further, based on the node pledge coefficients corresponding to the M voting service nodes respectively, the first voting ratio is divided into the node weights corresponding to the M voting service nodes respectively. For example, assuming M is 4, and the node pledge coefficients corresponding to the M voting service nodes are 2.6, 3.9, 1.3, and 3.9 in sequence, the first voting ratio can be divided into

[0107] Alternatively, in one case, the N associated nodes may include M voting service nodes and a publishing service node, M is a positive integer less than N, and at this time, M is N - 1. The publishing service node refers to the service node that publishes the second media data. At this time, the first blockchain node can obtain the first publishing ratio of the publishing service node and determine the first publishing ratio as the node weight of the publishing service node. Determine the second voting ratio based on the first publishing ratio, and divide the second voting ratio into the node weights corresponding to the M voting service nodes respectively based on the node pledge coefficients corresponding to the M voting service nodes respectively.

[0108] Alternatively, in one case, the N associated nodes may include M voting service nodes, a publishing service node, a data management platform, etc., where M is a positive integer less than N. At this time, the second publishing ratio of the publishing service node and the second management ratio of the data management platform can be obtained, and the third voting ratio is determined based on the second publishing ratio and the second management ratio. Further, the second management ratio is determined as the node weight of the data management platform, and the second publishing ratio is determined as the node weight of the publishing service node. Based on the node pledge coefficients respectively corresponding to the M voting service nodes, the third voting ratio is divided into the node weights respectively corresponding to the M voting service nodes. Optionally, the first publishing ratio and the second publishing ratio may be the same or different, and the first management ratio and the second management ratio may be the same or different.

[0109] Among them, the composition of the N associated nodes can be specifically determined based on the resource allocation method of media data, which is not limited here.

[0110] Further, when transferring the target platform resources to the N associated nodes based on the node weights and the target resource data volume respectively corresponding to the N associated nodes, the target resource data volume can be divided into N to-be-allocated data volumes based on the node weights respectively corresponding to the N associated nodes; one associated node corresponds to one to-be-allocated data volume. Based on the to-be-allocated data volumes respectively corresponding to the N associated nodes, the target platform resources are divided into N to-be-allocated resources, and the N to-be-allocated resources are respectively sent to the corresponding associated nodes; according to the second media data, the N associated nodes, and the to-be-allocated data volumes respectively corresponding to the N associated nodes, a resource allocation transaction is generated, and the resource allocation transaction is processed on the chain.

[0111] In the embodiment of the present application, the first media data uploaded by the data publishing node can be received and the first media data can be published in the data management platform; when a media data viewing request is detected, the media data included in the data management platform and the media platform resources associated with the media data are output; the media data includes the first media data; the media platform resources are used to recommend the media data; in response to the resource voting request of the first service node for the second media data in the media data, the first data volume indicated by the resource voting request is obtained, and from the first platform resources owned by the first service node, the voting platform resources of the first data volume are obtained and transferred to the media resource pool of the second media data; a resource voting transaction is generated according to the first service node, the first data volume and the second media data, and the resource voting transaction is processed on the chain. Through the above process, users can publish media data on the data management platform and can also vote for the media data that has been published on the data management platform. This voting will be used in the recommendation of the media data, so that the incentive for the media data is participated by users, improving the user's association with the promotion of the media data in the data management platform, and increasing the user's participation and interaction with the data management platform. Moreover, the promotion of the media data by the data management platform is based on the platform resources provided by users, making the display of the media data more fair and more in line with user needs, improving the platform performance and interactivity, and thus increasing user stickiness.

[0112] Further, please refer to Figure 7 , Figure 7 which is a flowchart of an interactive method for on-chain data processing provided by an embodiment of the present application. As Figure 7 shown, the on-chain data processing process includes the following steps:

[0113] Step S701, publish platform resources.

[0114] In the embodiments of the present application, the data management platform may publish platform resources. Specifically, the data management platform may provide k resource processing tasks, where k is a positive integer, and users may obtain the platform resources in the data management platform based on the k resource processing tasks. Specifically, the data management platform may respond to a resource acquisition request of the second service node for the data management platform and output a task distribution list, which includes k resource processing tasks. The second service node may be any service node. Optionally, the k resource processing tasks may include, but are not limited to, resource acquisition tasks, basic resource tasks, regular resource tasks, and resource conversion tasks, etc. Among them, the resource acquisition task may be considered a time-limited task in the data management platform, such as a festival task, etc.; the basic resource task may be considered a long-term platform task provided by the data management platform, such as a daily check-in task, etc.; the regular resource may be considered a triggerable platform task provided by the data management platform, such as a video viewing task, etc. Specifically, the activity time distribution of the data management platform and the system network time may be obtained, and based on the system network time and the activity time distribution, the resource acquisition task may be determined. For example, if the system network time is during the Mid-Autumn Festival, the festival task for the Mid-Autumn Festival may be obtained and determined as the resource acquisition task. The basic resource tasks and regular resource tasks of the data management platform are obtained, and a task distribution list is output. The task distribution list includes resource acquisition tasks, basic resource tasks, regular resource tasks, and a resource conversion component, etc. The resource conversion component is used to provide resource conversion tasks, and users may convert the blockchain resources they own into platform resources through the resource conversion component. Optionally, if a trigger operation for a target resource task is detected, the task data volume associated with the target resource task is obtained, and the third platform resources of this task data volume are transferred to the second service node. For example, the data management platform may respond to a trigger operation for a target resource task, detect the completion status of the target resource task, and transfer the corresponding data volume of platform resources to the service node when the target resource task is completed.

[0115] Step S702, upload media data.

[0116] In the embodiments of the present application, the data publishing node may upload media data to the data management platform. For specific details, reference may be made to the relevant description in step S301 above. Figure 3 The data publishing node may be any blockchain node.

[0117] Step S703, view media data.

[0118] In the embodiments of the present application, the service node may view media data in the data management platform. Specifically, a media data viewing request may be sent to the data management platform. Reference may be made to Figure 3The relevant description in step S302. This service node can be any node that can access the data management platform, such as the first service node or the second service node mentioned above, etc.

[0119] Step S704 is for the media data transfer platform resources.

[0120] In the embodiments of the present application, the service node can vote for the favorite media data, that is, for the media data transfer platform resources. Specifically, reference can be made to Figure 3 The relevant description in step S303. Among them, this service node can be any node that can access the data management platform, such as the first service node or the second service node mentioned above, etc.

[0121] Optionally, the data management platform can also provide platform resources for the media data. Specifically, the interaction parameters of the second media data can be obtained, and the second media data is input into the data evaluation model for prediction to obtain the data quality of the second media data. Among them, the interaction parameters can include, but are not limited to, the number of interactions with the corresponding media data (such as likes, views, or forwards, etc.) and the interaction duration (such as view duration), etc. The interaction parameters are converted into interaction data volume by using the data quality, and the second platform resources are transferred to the media resource pool of the second media data; the data volume of the second platform resources is the interaction data volume. Or, the second media data can be input into the data evaluation model for prediction to obtain the data quality of the second media data, the interaction data volume is determined based on the data quality, and the second platform resources are transferred to the media resource pool of the second media data; the data volume of the second platform resources is the interaction data volume. At this time, in the media resource pool of any media data, it includes the platform resources provided by the service nodes that vote for this media data, and also includes the platform resources provided by the data management platform for this media data, etc.

[0122] Step S705, when the resource voting of the media data ends, allocate platform resources to the associated users of this media data.

[0123] In the embodiments of the present application, when the resource voting of the media data ends, that is, the voting time of this media data reaches the resource voting deadline of this media data, the data management platform can allocate platform resources to the associated nodes of the media data. Specifically, reference can be made to Figure 3 The resource allocation process after step S304, and execute step S706 to allocate platform resources to service nodes, data publishing nodes, etc., which will not be elaborated here.

[0124] Step S706, feedback the platform resources.

[0125] In the embodiments of the present application, optionally, the data management platform can call the voting contract, and in the voting contract, realize the resource allocation for the media data.

[0126] Through the above process, platform resources can be allocated to users to achieve platform incentives. Moreover, such incentives are participated by users, which makes the association between users and the promotion of media data in the data management platform closer, improving user participation and the degree of interaction with the data management platform. In addition, the promotion of media data by the data management platform is based on the platform resources provided by users, making the display of media data more fair and more in line with user needs, improving platform performance and enhancing user stickiness.

[0127] Further, please refer to Figure 8 , Figure 8 which is a schematic diagram of a on-chain data processing device provided by an embodiment of the present application. The on-chain data processing device may be a computer program (including program codes, etc.) running in a computer device. For example, the on-chain data processing device may be an application software. The device may be used to execute corresponding steps in the method provided by the embodiment of the present application. As Figure 8 shown, the on-chain data processing device 800 may be used for Figure 3 the computer device corresponding to the corresponding embodiment. Specifically, the device may include: a data publishing module 11, a data output module 12, a data voting module 13, and a transaction on-chain module 14.

[0128] The data publishing module 11 is configured to receive first media data uploaded by a data publishing node and publish the first media data in the data management platform;

[0129] The data output module 12 is configured to output the media data included in the data management platform and the media platform resources associated with the media data when detecting a media data viewing request. The media data includes the first media data. The media platform resources are used to recommend the media data;

[0130] The data voting module 13 is configured to respond to a resource voting request of a first service node for second media data in the media data, obtain a first data volume indicated by the resource voting request, obtain voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to the media resource pool of the second media data;

[0131] The transaction on-chain module 14 is configured to generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform on-chain processing on the resource voting transaction.

[0132] Among them, the data publishing module 11 includes:

[0133] A node evaluation unit 111, configured to receive first media data uploaded by a data publishing node, obtain historical publishing information of the data publishing node, perform node evaluation on the data publishing node based on the historical publishing information, and obtain a data publishing coefficient corresponding to the data publishing node;

[0134] A term determination unit 112, configured to obtain a basic voting term of the data management platform, perform term adjustment on the basic voting term by using the data publishing coefficient, and determine a first resource voting term for the first media data;

[0135] A data publishing unit 113, configured to associate and publish the first resource voting term with the first media data to the data management platform.

[0136] Among them, the data output module 12 includes:

[0137] A first sorting unit 121, configured to, when detecting a media data viewing request, obtain media platform resources of media data included in the data management platform, sort the media data based on the media platform resources, and obtain a first data sequence;

[0138] A second sorting unit 122, configured to obtain the data publishing time of the media data, sort the media data by using the data publishing time, and obtain a second data sequence;

[0139] A data output unit 123, configured to output the media data and the media platform resources associated with the media data in the data management platform by using the first data sequence or the second data sequence.

[0140] Among them, the data output module 12 includes:

[0141] An information acquisition unit 124, configured to, when detecting a media data viewing request, obtain media platform resources of media data included in the data management platform, and obtain the data publishing time of the media data;

[0142] A recommendation determination unit 125, configured to determine a data recommendation coefficient of the media data by using the media platform resources and the data publishing time of the media data;

[0143] A third sorting unit 126, configured to sort the media data by using the data recommendation coefficient to obtain a third data sequence, and use the third data sequence;

[0144] The data output unit 123 is further configured to output the media data and the media platform resources associated with the media data in the data management platform.

[0145] Among them, the media data viewing request is a media data voting viewing request; the data output module 12 includes:

[0146] A candidate determination unit 127, configured to obtain media data included in a data management platform and determine candidate media data from the media data when a media data vote viewing request is detected; the candidate media data refers to media data in a voting period.

[0147] A value determination unit 128, configured to determine the data voting value of the candidate media data according to the media platform resources associated with the candidate media data, the number of candidate voting nodes, and the candidate voting duration; the data voting value is directly proportional to the data volume of the media platform resources of the candidate media data and inversely proportional to the number of candidate voting nodes and the candidate voting duration.

[0148] A fourth sorting unit 129, configured to sort the candidate media data based on the data voting value to obtain a fourth data sequence.

[0149] The data output unit 123 is further configured to output the candidate media data and the media platform resources associated with the candidate media data by using the fourth data sequence.

[0150] Wherein, the apparatus 800 further includes:

[0151] A pledge determination module 15, configured to determine the associated resource data volume of the first service node from the media resource pool of the second media data, and determine the node pledge coefficient of the first service node according to the associated resource data volume of the first service node, the number of historical voting objects, and the historical voting duration; the node pledge coefficient of the first service node is directly proportional to the associated resource data volume of the first service node and inversely proportional to the number of historical voting objects and the historical voting duration.

[0152] A pledge on-chain module 16, configured to generate a node pledge transaction according to the first service node, the node pledge coefficient of the first service node, and the second media data, and perform on-chain processing on the node pledge transaction.

[0153] Wherein, the apparatus 800 further includes:

[0154] A data determination module 17, configured to determine the target resource data volume of the second media data based on the media resource pool of the second media data when the voting time of the second media data reaches the second resource voting period of the second media data.

[0155] A resource acquisition module 18, configured to acquire the target platform resources of the second media data from the media resource pool of the second media data.

[0156] A weight determination module 19, configured to obtain the node weights respectively corresponding to N associated nodes associated with the second media data; N is a positive integer.

[0157] A resource transfer module 20, configured to transfer target platform resources to N associated nodes based on the node weights and the target resource data volume respectively corresponding to the N associated nodes.

[0158] Among them, the N associated nodes include N voting service nodes; the weight determination module 19 includes:

[0159] A coefficient acquisition unit 191, configured to acquire N voting service nodes associated with the second media data, and the node pledge coefficients respectively corresponding to the N voting service nodes; the N voting service nodes include a first service node.

[0160] A normalization processing unit 192, configured to perform normalization processing on the node pledge coefficients respectively corresponding to the N voting service nodes to obtain the node weights respectively corresponding to the N voting service nodes.

[0161] Among them, the N associated nodes include M voting service nodes and a data management platform; M is a positive integer less than N;

[0162] The weight determination module 19 includes:

[0163] A proportion processing unit 193, configured to acquire a first management proportion of the data management platform, determine a first voting proportion based on the first management proportion, and determine the first management proportion as the node weight of the data management platform;

[0164] A weight determination unit 194, configured to divide the first voting proportion into the node weights respectively corresponding to the M voting service nodes based on the node pledge coefficients respectively corresponding to the M voting service nodes.

[0165] Among them, the resource transfer module 20 includes:

[0166] A data division unit 201, configured to divide the target resource data volume into N to-be-allocated data volumes based on the node weights respectively corresponding to the N associated nodes; one associated node corresponds to one to-be-allocated data volume;

[0167] A resource allocation unit 202, configured to divide the target platform resources into N to-be-allocated resources based on the to-be-allocated data volumes respectively corresponding to the N associated nodes, and send the N to-be-allocated resources to the corresponding associated nodes respectively;

[0168] An allocation and on-chain unit 203, configured to generate a resource allocation transaction according to the second media data, the N associated nodes, and the to-be-allocated data volumes respectively corresponding to the N associated nodes, and perform on-chain processing on the resource allocation transaction.

[0169] Among them, the apparatus 800 further includes:

[0170] A parameter conversion module 21, configured to obtain interaction parameters of the second media data, input the second media data into a data evaluation model for prediction, and obtain the data quality of the second media data.

[0171] An interaction processing module 22, configured to convert the interaction parameters into an interaction data volume by using the data quality, and transfer second platform resources to a media resource pool of the second media data; the data volume of the second platform resources is the interaction data volume.

[0172] Wherein, the apparatus 800 further includes:

[0173] A task determination module 23, configured to respond to a resource acquisition request of a second service node for a data management platform, obtain the activity time distribution of the data management platform and the system network time, and determine a resource acquisition task based on the system network time and the activity time distribution.

[0174] A task output module 24, configured to obtain a basic resource task and a regular resource task of the data management platform, and output a task distribution list; the task distribution list includes a resource acquisition task, a basic resource task, a regular resource task, and a resource conversion component.

[0175] A task processing module 25, configured to, if a trigger operation for a target resource task is detected, obtain the task data volume associated with the target resource task, and transfer third platform resources with the task data volume to the second service node.

[0176] An embodiment of the present application provides a device for processing on-chain data. The device can receive the first media data uploaded by a data publishing node and publish the first media data in a data management platform; when detecting a media data viewing request, output the media data included in the data management platform and the media platform resources associated with the media data; the media data includes the first media data; the media platform resources are used to recommend the media data; in response to a resource voting request from a first service node for the second media data in the media data, obtain the first data volume indicated by the resource voting request, obtain the voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to the media resource pool of the second media data; generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform on-chain processing on the resource voting transaction. Through the above process, users can publish media data on the data management platform and can also vote for the media data that has been published on the data management platform. This voting will be used in the recommendation of the media data, so that the incentive for the media data is participated by users, improving the user's association with the promotion of media data in the data management platform, increasing the user's participation and the interaction degree with the data management platform. Moreover, the promotion of media data by the data management platform is based on the platform resources provided by users, making the display of media data more fair and more in line with user needs, improving the platform performance and interactivity, thereby increasing user stickiness.

[0177] See Figure 9 , Figure 9 is a schematic structural diagram of a computer device provided by an embodiment of the present application. As Figure 9 shown, the computer device in the embodiment of the present application may include: one or more processors 901, a memory 902, and an input / output interface 903. The processor 901, the memory 902, and the input / output interface 903 are connected through a bus 904. The memory 902 is used to store a computer program, the computer program includes program instructions, and the input / output interface 903 is used for data interaction between each blockchain node, such as for data interaction between a data publishing node and a data management platform, and for data interaction between a data management platform and a service node; the processor 901 is used to execute the program instructions stored in the memory 902.

[0178] Among them, the processor 901 can perform the following operations:

[0179] Receive the first media data uploaded by a data publishing node and publish the first media data in a data management platform;

[0180] When a media data viewing request is detected, output the media data included in the output data management platform and the media platform resources associated with the media data; the media data includes first media data; the media platform resources are used to recommend the media data.

[0181] Respond to the resource voting request of the first service node for the second media data in the media data, obtain the first data volume indicated by the resource voting request, obtain the voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to the media resource pool of the second media data.

[0182] Generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform an on-chain process on the resource voting transaction.

[0183] In some possible implementation manners, the processor 901 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0184] The memory 902 may include a read-only memory and a random access memory, and provide instructions and data to the processor 901 and the input / output interface 903. A part of the memory 902 may also include a non-volatile random access memory. For example, the memory 902 may also store information about the device type.

[0185] In specific implementation, the computer device may execute the implementation manners provided in each step as described in the Figure 3 through its built-in various functional modules. For details, reference may be made to the implementation manners provided in each step as described in the Figure 3 and will not be elaborated here.

[0186] An embodiment of the present application provides a computer device, including: a processor, an input / output interface, and a memory. The processor obtains a computer program in the memory and executes the Figure 3For each step of the method shown, perform on-chain data processing operations. In the embodiments of the present application, it is realized to receive the first media data uploaded by the data publishing node and publish the first media data in the data management platform; when a media data viewing request is detected, output the media data included in the data management platform and the media platform resources associated with the media data; the media data includes the first media data; the media platform resources are used to recommend the media data; in response to the resource voting request of the first service node for the second media data in the media data, obtain the first data volume indicated by the resource voting request, obtain the voting platform resources of the first data volume from the first platform resources owned by the first service node, and transfer the voting platform resources to the media resource pool of the second media data; generate a resource voting transaction according to the first service node, the first data volume and the second media data, and perform on-chain processing on the resource voting transaction. Through the above process, users can publish media data on the data management platform and can also vote for the media data that has been published on the data management platform. This vote will be used in the recommendation of the media data, so that the incentive for the media data is participated by users, improving the user's association with the promotion of media data in the data management platform, and enhancing the user's participation and interaction with the data management platform. Moreover, the promotion of media data by the data management platform is based on the platform resources provided by users, making the display of media data more fair and more in line with user needs, improving the platform performance and interactivity, thereby enhancing user stickiness.

[0187] The embodiments of the present application also provide a computer-readable storage medium storing a computer program, which is adapted to be loaded and executed by the processor Figure 3 The on-chain data processing method provided by each step in Figure 3 The implementation manners provided by each step in, which will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either. For the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application, please refer to the description of the method embodiments of the present application. As an example, the computer program can be deployed to be executed on a computer device, or on multiple computer devices located at one place, or on multiple computer devices distributed at multiple places and interconnected through a communication network.

[0188] The computer-readable storage medium may be the on-chain data processing device provided in any of the foregoing embodiments or an internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0189] An embodiment of the present application also provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 3 the methods provided in various alternative manners in [description], realizing that users can publish media data on the data management platform and can also vote for the media data that has been published on the data management platform. That is, the management of media data on the blockchain by the data management platform is realized, and the votes of users on the media data will be used in the recommendation of the media data, so that the incentive for the media data is participated by users, improving the user's association with the promotion of media data in the data management platform, and improving the user's participation and interaction with the data management platform. Moreover, the promotion of media data by the data management platform is based on the platform resources provided by users, making the display of media data more fair and more in line with user needs, improving the platform performance and interactivity, thereby improving user stickiness.

[0190] The terms "first", "second", etc. in the description, claims and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or modules, but may optionally further include steps or modules not listed, or may optionally further include other step units inherent to these processes, methods, devices, products or equipment.

[0191] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in this description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0192] The methods and related devices provided in the embodiments of this application are described with reference to the method flowcharts and / or structural schematic diagrams provided in the embodiments of this application. Specifically, each process and / or block of the method flowchart and / or structural schematic diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices on a chain to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices on a chain generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or structural schematic Figure 1 one block or multiple blocks. These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing devices on a chain to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or structural schematic Figure 1 one block or multiple blocks. These computer program instructions can also be loaded onto a computer or other programmable data processing devices on a chain, so that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or structural schematic one block or multiple blocks.

[0193] The steps in the methods of the embodiments of this application can be adjusted, combined, and deleted according to actual needs.

[0194] The modules in the devices of the embodiments of this application can be combined, divided, and deleted according to actual needs.

[0195] The above-disclosed are only the preferred embodiments of this application. Of course, the scope of the rights of this application cannot be limited by this. Therefore, equivalent changes made according to the claims of this application still fall within the scope covered by this application.

Claims

1. A method for processing data on a chain, characterized in that The method includes: Receiving first media data uploaded by a data publishing node and publishing the first media data in a data management platform; When detecting a media data viewing request, outputting the media data included in the data management platform and the media platform resources associated with the media data; the media data includes the first media data; the media platform resources are used to recommend the media data; Responding to a resource voting request of a first service node for second media data in the media data, obtaining a first data volume indicated by the resource voting request, obtaining voting platform resources with the first data volume from the first platform resources owned by the first service node, and transferring the voting platform resources to a media resource pool of the second media data; Generating a resource voting transaction according to the first service node, the first data volume, and the second media data, and performing an on-chain process on the resource voting transaction.

2. The method according to claim 1, wherein The receiving first media data uploaded by a data publishing node and publishing the first media data in a data management platform includes: Receiving first media data uploaded by a data publishing node, obtaining historical publishing information of the data publishing node, and performing node evaluation on the data publishing node based on the historical publishing information to obtain a data publishing coefficient corresponding to the data publishing node; Obtaining a basic voting period of the data management platform, adjusting the basic voting period by using the data publishing coefficient to determine a first resource voting period of the first media data; Associating and publishing the first resource voting period with the first media data in the data management platform.

3. The method according to claim 1, wherein The when detecting a media data viewing request, outputting the media data included in the data management platform and the media platform resources associated with the media data includes: When detecting a media data viewing request, obtaining media platform resources of the media data included in the data management platform, and sorting the media data based on the media platform resources to obtain a first data sequence; Obtaining a data publishing time of the media data, and sorting the media data by using the data publishing time to obtain a second data sequence; Using the first data sequence or the second data sequence to output the media data and the media platform resources associated with the media data in the data management platform.

4. The method according to claim 1, wherein The when detecting a media data viewing request, outputting the media data included in the data management platform and the media platform resources associated with the media data includes: When detecting a media data viewing request, obtaining media platform resources of the media data included in the data management platform and obtaining a data publishing time of the media data; Determining a data recommendation coefficient of the media data by using the media platform resources and the data publishing time of the media data; Sorting the media data by using the data recommendation coefficient to obtain a third data sequence, and using the third data sequence to output the media data and the media platform resources associated with the media data in the data management platform.

5. The method according to claim 1, wherein The media data viewing request is a media data voting viewing request; When detecting a media data viewing request, output the media data included in the data management platform and the media platform resources associated with the media data, including: When detecting a media data voting viewing request, obtain the media data included in the data management platform, and determine candidate media data from the media data; the candidate media data refers to the media data in the voting period; Determine the data voting value of the candidate media data according to the media platform resources associated with the candidate media data, the number of candidate voting nodes, and the candidate voting duration; the data voting value is proportional to the data volume of the media platform resources of the candidate media data and inversely proportional to the number of candidate voting nodes and the candidate voting duration; Sort the candidate media data based on the data voting value to obtain a fourth data sequence, and use the fourth data sequence to output the candidate media data and the media platform resources associated with the candidate media data.

6. The method according to claim 1, wherein The method further includes: Determine the associated resource data volume of the first service node from the media resource pool of the second media data, and determine the node pledge coefficient of the first service node according to the associated resource data volume of the first service node, the number of historical voting objects, and the historical voting duration; the node pledge coefficient of the first service node is proportional to the associated resource data volume of the first service node and inversely proportional to the number of historical voting objects and the historical voting duration; Generate a node pledge transaction according to the first service node, the node pledge coefficient of the first service node, and the second media data, and perform an on-chain process on the node pledge transaction.

7. The method according to claim 6, wherein The method further includes: When the voting time of the second media data reaches the second resource voting deadline of the second media data, determine the target resource data volume of the second media data based on the media resource pool of the second media data; Obtain the target platform resources of the second media data from the media resource pool of the second media data, and obtain the node weights corresponding to N associated nodes respectively associated with the second media data; N is a positive integer; Transfer the target platform resources to the N associated nodes based on the node weights corresponding to the N associated nodes respectively and the target resource data volume.

8. The method according to claim 7, wherein The N associated nodes include N voting service nodes; the obtaining of the node weights corresponding to the N associated nodes respectively associated with the second media data includes: Obtain N voting service nodes associated with the second media data and the node pledge coefficients corresponding to the N voting service nodes respectively; the N voting service nodes include the first service node; Perform normalization processing on the node pledge coefficients corresponding to the N voting service nodes respectively to obtain the node weights corresponding to the N voting service nodes respectively.

9. The method according to claim 7, wherein The N associated nodes include M voting service nodes and the data management platform; M is a positive integer less than N; Obtaining the node weights corresponding to the N associated nodes associated with the second media data respectively includes: Obtaining the first management ratio of the data management platform, determining the first voting ratio based on the first management ratio, and determining the first management ratio as the node weight of the data management platform; Dividing the first voting ratio into the node weights corresponding to the M voting service nodes respectively based on the node pledge coefficients corresponding to the M voting service nodes respectively.

10. The method according to claim 7, characterized in that, Transferring the target platform resources to the N associated nodes based on the node weights corresponding to the N associated nodes respectively and the target resource data volume, including: Dividing the target resource data volume into N to-be-allocated data volumes based on the node weights corresponding to the N associated nodes respectively; one associated node corresponds to one to-be-allocated data volume; Dividing the target platform resources into N to-be-allocated resources based on the to-be-allocated data volumes corresponding to the N associated nodes respectively, and sending the N to-be-allocated resources to the corresponding associated nodes respectively; Generating a resource allocation transaction according to the second media data, the N associated nodes, and the to-be-allocated data volumes corresponding to the N associated nodes respectively, and performing an on-chain process on the resource allocation transaction.

11. The method according to claim 1, characterized in that, The method further includes: Obtaining the interaction parameter of the second media data, inputting the second media data into a data evaluation model for prediction, and obtaining the data quality of the second media data; Converting the interaction parameter into an interaction data volume by using the data quality, and transferring second platform resources to the media resource pool of the second media data; the data volume of the second platform resources is the interaction data volume.

12. The method according to claim 1, characterized in that, The method further includes: Responding to a resource acquisition request of a second service node for the data management platform, obtaining the activity time distribution and the system network time of the data management platform, and determining a resource acquisition task based on the system network time and the activity time distribution; Obtaining the basic resource task and the regular resource task of the data management platform, and outputting a task distribution list; the task distribution list includes the resource acquisition task, the basic resource task, the regular resource task, and a resource conversion component; If a trigger operation for a target resource task is detected, obtaining the task data volume associated with the target resource task, and transferring the third platform resources of the task data volume to the second service node.

13. A data processing device on a chain, characterized in that, The device includes: A data publishing module, configured to receive the first media data uploaded by a data publishing node, and publish the first media data in the data management platform; A data output module, configured to output the media data included in the data management platform and the media platform resources associated with the media data when a media data viewing request is detected; the media data includes the first media data; the media platform resources are used for recommending the media data. A data voting module, which is configured to respond to a resource voting request of a first service node for second media data in the media data, obtain a first data volume indicated by the resource voting request, obtain voting platform resources of the first data volume from first platform resources owned by the first service node, and transfer the voting platform resources to a media resource pool of the second media data; A transaction on-chain module, which is configured to generate a resource voting transaction according to the first service node, the first data volume, and the second media data, and perform on-chain processing on the resource voting transaction.

14. A computer device, characterized in that, It includes a processor, a memory, and an input / output interface; The processor is respectively connected to the memory and the input / output interface. Among them, the input / output interface is used to receive and output data, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1-12.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor so that a computer device with the processor executes the method according to any one of claims 1-12.

16. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the method according to any one of claims 1-12 is implemented.