Data processing method and device based on block chain, equipment and storage medium
Through resource customization smart contracts in the blockchain network, and the data of N trading institutions are used to generate customized digital resource data, the problems of incompleteness and accuracy of resource data in the existing technology are solved, and personalized customization and data comprehensiveness and unity are achieved.
Patent Information
- Application Number
- CN202311814875.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, the resource data of the trading institution is incomplete and the accuracy is difficult to guarantee, making it difficult for users to obtain digital resource data of interest.
Customized smart contracts through resource customization in blockchain networks, and their resource preference information is determined based on the historical business log data of business objects, thereby querying and sending customized digital resource data. The customized data is generated based on the digital resource data of N trading institutions, and N is a positive integer greater than 1.
It realizes personalized customization of digital resource data for business objects, improves the accuracy and comprehensiveness of customized data, and ensures the unity of data and the accuracy of reflecting the entire market.
Smart Images

Figure CN120218926A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a data processing method, device, equipment and storage medium based on blockchain. Background Art
[0002] Blockchain technology is a brand-new distributed infrastructure and computing method that uses a block chain data structure to verify and store data, uses a distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses smart contracts composed of automated script codes to program and operate data. Simply put, blockchain is a decentralized distributed ledger. With the wide recognition and acceptance of blockchain technology, a large number of digital resources have emerged in the blockchain network. The digital resources may include but are not limited to digital assets, props, character skins, diamonds, vouchers, famous paintings, buildings, and digital pets, etc. Understanding the resource data of digital resources (such as information and market data, etc.) can facilitate the development of business related to digital resources.
[0003] Currently, the resource data of digital resources is viewed in trading institutions. However, the resource data in trading institutions is generated by trading institutions according to the resource transaction data generated within their own institutions. The resource transaction data generated by different trading institutions is different and incomplete, resulting in difficulty in guaranteeing the accuracy of the provided resource data. At the same time, due to the large amount of resource data, it is difficult for users to view the resource data they are interested in. Summary of the Invention
[0004] The embodiments of the present application provide a data processing method, device, equipment and storage medium based on blockchain, which can customize digital resource data for business objects and improve the accuracy of customized digital resource data.
[0005] On the one hand, the embodiments of the present application provide a data processing method based on blockchain, including:
[0006] Obtain a data acquisition request for the resource data of a digital resource by a business object; the data acquisition request includes the object attribute information of the business object;
[0007] According to the object attribute information, verify the legality of the data acquisition request to obtain a legality verification result;
[0008] If the legality verification result indicates that the data acquisition request is legal, then through the resource customization smart contract in the blockchain network, determine the resource preference information of the business object regarding the digital resource according to the historical business log data of the business object;
[0009] Query the customized digital resource data associated with the business object from the resource database of the blockchain network according to the resource preference information, and send the customized digital resource data to the business object; the customized digital resource data is generated according to the digital resource data of N trading institutions, where N is a positive integer greater than 1.
[0010] An embodiment of the present application provides a blockchain-based data processing method on the one hand, including:
[0011] Send the data acquisition request of the resource data of the business object for the digital resource to the blockchain node in the blockchain network; the blockchain node is used to determine the resource preference information of the business object for the digital resource according to the data acquisition request, and according to the resource preference information, query the customized digital resource data associated with the business object from the resource database of the blockchain network; the customized digital resource data is generated according to the digital resource data of N trading institutions, where N is a positive integer greater than 1;
[0012] Receive the customized digital resource data returned by the blockchain node and display the customized digital resource data.
[0013] An embodiment of the present application provides a blockchain-based data processing device on the one hand, including:
[0014] A first acquisition module for acquiring a data acquisition request for the resource data of the business object for the digital resource; the data acquisition request includes the object attribute information of the business object;
[0015] A verification module for verifying the legality of the data acquisition request according to the object attribute information to obtain a legality verification result;
[0016] A determination module for, if the legality verification result indicates that the data acquisition request is legal, determining the resource preference information of the business object for the digital resource according to the historical business log data of the business object through the resource customization smart contract in the blockchain network;
[0017] A query module for querying the customized digital resource data associated with the business object from the resource database of the blockchain network according to the resource preference information, and sending the customized digital resource data to the business object; the customized digital resource data is generated according to the digital resource data of N trading institutions, where N is a positive integer greater than 1.
[0018] An embodiment of the present application provides a blockchain-based data processing device on the one hand, including:
[0019] A sending module, configured to send a data acquisition request of a business object for resource data of a digital resource to a blockchain node in a blockchain network; the blockchain node is configured to determine, according to the data acquisition request, resource preference information of the business object for the digital resource, and query customized digital resource data associated with the business object from a resource database of the blockchain network according to the resource preference information; the customized digital resource data is generated according to digital resource data in N trading institutions, and N is a positive integer greater than 1;
[0020] A display module, configured to receive the customized digital resource data returned by the blockchain node and display the customized digital resource data.
[0021] An embodiment of the present application provides a computer device on the one hand, including: a processor and a memory;
[0022] The processor is connected to the memory, wherein the memory is configured to store a computer program, and when the computer program is executed by the processor, the computer device is caused to execute the method provided by the embodiment of the present application.
[0023] An embodiment of the present application provides a computer-readable storage medium on the one hand. 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 having the processor executes the method provided by the embodiment of the present application.
[0024] An embodiment of the present application provides a computer program product or a computer program on the one hand. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a 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 method provided by the embodiment of the present application.
[0025] In the embodiment of the present application, resource preference information of a business object is determined through a resource customization smart contract in a blockchain network, and then customized digital resource data of the business object is determined according to the resource preference information. In this way, it is possible to achieve personalized customization of the required or interested customized digital resource data for different business objects, avoid the situation that the resource data obtained by the business object is not the data required or interested by the business object, and improve the push accuracy of the resource data. At the same time, since the customized resource data is generated according to the digital resource data of N trading institutions, compared with the digital resource data within a single trading institution, the digital resource data of N trading institutions is more comprehensive and diverse, and thus the accuracy and unity of the customized digital resource data can be ensured. Description of the Drawings
[0026] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying 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 accompanying drawings can also be obtained based on these drawings.
[0027] Figure 1a It is a schematic diagram of a blockchain structure provided by an embodiment of the present application;
[0028] Figure 1b It is a schematic diagram of block generation provided by an embodiment of the present application;
[0029] Figure 2 It is a schematic diagram of the structure of a data processing system based on blockchain provided by an embodiment of the present application;
[0030] Figure 3 It is a schematic diagram of a scenario for customizing digital resource data for a business object provided by an embodiment of the present application;
[0031] Figure 4 It is a first flowchart of a data processing method based on blockchain provided by an embodiment of the present application;
[0032] Figure 5 It is a schematic diagram of a business object self-customizing resource data provided by an embodiment of the present application;
[0033] Figure 6 It is a schematic diagram of customizing resource data for a business object provided by an embodiment of the present application;
[0034] Figure 7 It is a flowchart of a data processing method based on blockchain provided by an embodiment of the present application Figure 2 ;
[0035] Figure 8 It is a schematic diagram of displaying customized digital resource data provided by an embodiment of the present application;
[0036] Figure 9 It is a schematic diagram of the structure of a first data processing device based on blockchain provided by an embodiment of the present application;
[0037] Figure 10 It is a schematic diagram of the structure of a second data processing device based on blockchain provided by an embodiment of the present application;
[0038] Figure 11 It is a schematic diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners
[0039] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0040] This application relates to the field of artificial intelligence technology. Specifically, in the embodiments of this application, a preference prediction model can be used to predict the resource preference degree of a business object for a traded digital resource according to the interaction data of the business object for the traded digital resource, so as to improve the accuracy and efficiency of resource preference degree prediction. At the same time, an information prediction model can be used to predict the effectiveness of the information of the digital resource, so as to improve the accuracy and efficiency of effectiveness prediction.
[0041] Among them, Artificial Intelligence (AI) is to use a digital computer or a machine controlled by a digital computer to simulate, extend, and expand human intelligence, and is a theory, method, technology, and application system that can perceive the environment, acquire knowledge, and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science. It 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, enabling the machines to have the functions of perception, reasoning, and decision-making. Artificial intelligence technology is an interdisciplinary subject with a wide range of fields, including both hardware-level technologies and software-level technologies. The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, large voice 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.
[0042] Specifically, this application specifically relates to machine learning under artificial intelligence technology. Machine Learning (ML) is an interdisciplinary subject that involves multiple disciplines such as probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. It specifically studies how a computer simulates or realizes human learning behaviors to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve its own performance. Machine learning is the core of artificial intelligence and the fundamental way to make a computer intelligent, and its applications cover all fields of artificial intelligence. Machine learning and deep learning usually include technologies such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and rote learning.
[0043] This application relates to blockchain, which is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithms. Essentially, blockchain 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. Blockchain consists of multiple blocks. Refer to Figure 1a , Figure 1a which is a schematic diagram of a blockchain structure provided by an embodiment of this application. As shown in Figure 1a , blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores the input information feature value, version number, timestamp, and difficulty value. The block body stores the input information. The next block of the genesis block uses the genesis block as its parent block. The next block also includes a block header and a block body. The block header stores the input information feature value of the current block, the block header feature value of the parent block, version number, timestamp, and difficulty value, and so on. This ensures that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, guaranteeing the security of the input information in the block.
[0044] When generating each block in the blockchain, refer to Figure 1b , Figure 1b which is a schematic diagram of block generation provided by an embodiment of this application. When the node where it is located receives the input information, it verifies the input information. After the verification is completed, it stores the input information in the memory pool and updates the hash tree used to record the input information. Then, it updates the timestamp to the time when the input information is received and tries different random numbers, performing eigenvalue calculations multiple times so that the calculated eigenvalue can satisfy the following formula:
[0045] SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
[0046] where SHA256 in the formula is the eigenvalue algorithm used to calculate the eigenvalue; version (version number) is the version information of the relevant block protocol in the blockchain; prev_hash is the block header feature value of the parent block of the current block; merkle_root is the eigenvalue of the input information; ntime is the update time of the updated timestamp; nbits is the current difficulty, which is a fixed value within a period of time and is determined again after exceeding the fixed time period; x is a random number; TARGET is the eigenvalue threshold, and this eigenvalue threshold can be determined according to nbits.
[0047] Among them, when a random number that satisfies the above formula is calculated, the information can be correspondingly stored to generate a block header and a block body, thereby obtaining the current block. Subsequently, the blockchain can broadcast the newly generated current block externally, that is, send the current block to other nodes in the data sharing system where it is located. Each node in the data sharing system stores an identical blockchain, and other nodes verify the current block and add the current block to the blockchain they store after the verification is completed.
[0048] Please refer to Figure 2 , Figure 2 which is a schematic structural diagram of a blockchain-based data processing system provided by an embodiment of the present application. As Figure 2 shown, the blockchain-based data processing system may include a blockchain network 1X and a terminal device cluster 1Y. Among them, the blockchain network 1X may include: blockchain nodes 200a, blockchain nodes 200b, blockchain nodes 200c... and blockchain nodes 200n. It can be understood that the blockchain network 1X may include one or more blockchain nodes, and the embodiment of the present application does not limit the number of blockchain nodes. It can be understood that in the blockchain network 1X, the blockchain nodes 200a, blockchain nodes 200b, blockchain nodes 200c... and blockchain nodes 200n can perform data interaction through network connections. It should be understood that each blockchain node (for example, blockchain nodes 200a, blockchain nodes 200b, blockchain nodes 200c... and blockchain nodes 200n) in the blockchain network 1X can be used to maintain the same blockchain. A peer-to-peer network can be formed between any two blockchain nodes in the blockchain network 1X, and the peer-to-peer network can adopt a peer-to-peer transmission protocol, where the peer-to-peer transmission protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In a distributed system, any device such as a server or a terminal can join and become a blockchain node.
[0049] Among them, the terminal device cluster 1Y may include one or more terminal devices, and the number of terminal devices will not be limited here. As Figure 2 shown, it may specifically include terminal devices 100a, terminal devices 100b, terminal devices 100c,..., terminal devices 100n. As Figure 2As shown, terminal device 100a, terminal device 100b, terminal device 100c, ..., terminal device 100n can respectively connect to the blockchain node (such as blockchain node 200a) in blockchain network 1X, so that each terminal device can exchange data with the blockchain node in blockchain network 1X through the network connection. Among them, the blockchain node in blockchain network 1X can be the background server of the terminal device in terminal device cluster 1Y.
[0050] Each terminal device in the terminal device cluster 1Y may include: smart phones, tablet computers, laptop computers, desktop computers, intelligent voice interaction devices, smart home appliances (e.g., smart TVs), wearable devices, vehicle-mounted terminals, and other smart terminals with blockchain-based data processing functions. Figure 2 Each terminal device in the terminal device cluster 1Y shown in the figure can be installed with an application client having a blockchain-based data processing function. When the application client runs in each terminal device, it can be respectively connected to the above Figure 2 Data is exchanged between blockchain nodes (such as blockchain node 200a) in the blockchain network 1X shown. It can be understood that, through the application client with blockchain-based data processing function in the terminal device, the relevant business transactions of the smart contract in the above-mentioned blockchain network can be sent to the blockchain node in the blockchain network 1X. For example, the application client can specifically include a game client, a resource client, a multimedia client, etc. Among them, the application client in the embodiment of the present application can be integrated in a certain application client (such as a resource client integrated in a game client), and the application client can also be an independent application client. The embodiment of the present application does not limit the type of the application client.
[0051] For ease of understanding, the embodiments of the present application can be Figure 2 Select one terminal device from the multiple terminal devices shown as the target terminal device. Figure 2 The terminal device 100a shown serves as a target terminal device, and an application client with blockchain-based data processing functions can be installed in the target terminal device. At this time, the target terminal device can use the application client to send relevant business transactions regarding the smart contract in the above-mentioned blockchain network to the blockchain node in the blockchain network 1X.
[0052] It should be noted that all node devices in the blockchain network involved in the embodiments of the present application can be mobile phones, tablet computers, laptop computers, palmtop computers, mobile internet devices (MIDs), vehicles, roadside devices, aircraft, wearable devices, such as smart watches, smart bracelets, pedometers, and other intelligent devices with data processing functions. All node devices in the blockchain network can also be independent physical servers, or server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide 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, CDNs (Content Delivery Networks), and big data and artificial intelligence platforms. The device types corresponding to each node device can be the same or different.
[0053] Among them, digital resources can refer to resources stored digitally on the blockchain, including but not limited to digital pets, digital assets, props, character skins, diamonds, vouchers, famous paintings, buildings, etc. The resource client can be used to implement the resource management business function and establish a communication connection with the decentralized application client based on this resource management business function. The resource client is a tool for managing and storing users' digital resources. For example, digital resources can be transferred to other accounts based on the resource client, or digital resources transferred from other accounts can be received based on the resource client. The resource client can be a hardware device or a software program. The resource data of digital resources can include resource transaction statistical information of digital resources (such as market data) and resource information, etc. The resource transaction statistical information can include the daily resource value, the highest resource value, the lowest resource value, resource risks, resource trading volumes, resource value fluctuation curves, resource value duration rankings, etc. The resource information can include resource news information, resource report information, and resource analysis articles, etc. By understanding the resource data of digital resources, it is convenient for users to make more accurate processing decisions regarding related digital resource services.
[0054] Among them, the smart contract on the blockchain is a computer protocol designed to spread, verify, or execute contracts in an information-based manner. The smart contract allows for trustworthy transactions without a third party, and these transactions are queryable and irreversible. In fact, the smart contract is a piece of executable code that executes user transactions in an independent, secure, and reliable environment. The resource customization smart contract in this application can be used to determine the resource preference information of a business object for digital resources. This resource preference information may include the resource attribute information of the digital resources that the business object is interested in (such as concerned about), for example, the resource preference information may include the resource type, resource identifier, resource value, resource risk level, etc. of the digital resources that the business object is interested in. Specifically, the business object can customize the resource attribute information of the digital resources it needs to obtain in the resource customization smart contract, or alternatively, the resource customization smart contract can automatically customize the resource preference information of the digital resources that the business object is interested in. In this way, through the resource customization smart contract, it is possible to return the resource data of a certain digital resource to the business object, or shield the resource data of a certain digital resource from the business object, so as to achieve the function of customizing digital resource data for the business object and quickly provide the business object with the resource data of the current real-time digital resources.
[0055] For ease of subsequent understanding and description, an embodiment of this application may select a terminal device as the target terminal device in the Figure 2 terminal cluster shown. For example, terminal device 100a is used as the target terminal device. An application client is installed in the terminal device 100a, and the application client may include a game application client, a resource client, a video application client, an audio application client, etc. The terminal device 100a can obtain a data acquisition request for the resource data of a business object for digital resources. The business object may refer to the application client installed in the terminal device 100a. In this way, according to the business type of the application client (such as game business type, social business type, resource trading business type, etc.), the customized digital resource data corresponding to the application client can be obtained, and the application client can provide a resource query service for the client user (such as the logged-in user) in the application client. Of course, the business object may also be the terminal user of the terminal device 100a. In this way, the customized digital resource data corresponding to the terminal user can be obtained, facilitating the terminal user to view the resource data of the digital resources that they are interested in.
[0056] Specifically, the terminal device 100a can obtain a data acquisition request for resource data of a digital resource generated by an application client. This data acquisition request can refer to a data acquisition request for resource data of a digital resource generated by the application client at regular intervals to obtain customized digital resource data corresponding to the application client and display the customized digital resource data to the client user in the application client. Of course, this data acquisition request can also refer to a data acquisition request for resource data of a digital resource generated by the application client when the client user performs a viewing operation on the resource data of the digital resource in the application client. The data acquisition request is sent to a business blockchain node in the blockchain network through the terminal device 100a. The blockchain network can refer to the above-mentioned blockchain network 1X, and the business blockchain node can be any blockchain node in the above-mentioned blockchain network 1X.
[0057] For ease of understanding, take the business blockchain node as the blockchain node 200a as an example. The blockchain node 200a can verify the legality of the data acquisition request according to the object attribute information of the business object carried in the data acquisition request to obtain a legality verification result. This can facilitate the management of the resource data of the digital resource. If the legality verification result indicates that the data acquisition request is legal, the blockchain node 200a can determine the resource preference information of the business object regarding the digital resource according to the historical business log data of the business object through the resource customization smart contract in the blockchain network. The resource customization smart contract is used to customize the resource preference information of the business object for the digital resource. The resource preference information can refer to the resource attribute information of the digital resource that the business object is interested in (such as concerned about). For example, the resource preference information can include the resource type, resource identifier, resource value, resource risk level, etc. of the digital resource that the business object is interested in. The business object can customize the resource attribute information of the digital resource it needs to obtain in the resource customization smart contract, or can determine the resource preference information of the digital resource that the business object is interested in through the resource customization smart contract.
[0058] For example, when the business object needs to obtain the resource data of the digital resource Y001, it can configure the resource attribute information of the digital resource Y001 in the resource customization smart contract. It can be understood that through the resource customization smart contract, it is possible to return the resource data of a certain digital resource to the business object or block the resource data of a certain digital resource from the business object to achieve the function of customizing digital resource data for the business object and quickly providing the resource data of the current real-time digital resource for the business object.
[0059] Further, the blockchain node 200a may query, according to the resource preference information, the customized digital resource data associated with the business object from the resource database of the blockchain network, and send the customized digital resource data to the business object. The customized digital resource data is generated based on the digital resource data of N trading institutions, where N is a positive integer greater than 1. It can be seen that the embodiment of the present application can return the customized digital resource data to the business object, avoiding the situation that the resource data obtained by the business object is not the data required by the business object, or the need to search for the required resource data from a large amount of resource data, thus wasting time and resources. At the same time, the customized digital resource data is generated based on the digital resource data of N trading institutions. Compared with a single trading institution based on the digital resource data within the institution, the digital resource data obtained from multiple trading institutions is more comprehensive and diverse, that is, the data source for generating the resource data (i.e., the digital resource data of N trading institutions) is more comprehensive, realizing the provision of unified and market-wide customized digital resource data for the business object, which can improve the accuracy of the customized digital resource data.
[0060] Among them, the blockchain nodes of the above blockchain network 1X include consensus nodes and business nodes. The network structure of the blockchain network 1X can be a hierarchical structure, that is, the business nodes of the blockchain network 1X belong to the business network in the blockchain network 1X, and the consensus nodes of the blockchain network 1X belong to the consensus network in the blockchain network 1X. The business network and the consensus network are network-isolated, and communication between the consensus network and the business network is carried out through proxy nodes in the routing proxy network. The proxy node can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, CDN, and big data and artificial intelligence platforms, which is not limited here. Among them, the business node does not need to participate in the accounting consensus and is mainly used to execute transaction services to obtain transaction data associated with the transaction service. Here, the business node can be a full node containing a complete blockchain database or a lightweight node storing part of the data in the blockchain database, which will not be limited here. To reduce the waste of storage space of the business node, the business node in the embodiment of the present application can take a lightweight node (Simplified Payment Verification, abbreviated as SPV) as an example. The business node does not need to store complete transaction data, but obtains block header data and partially authorized visible block data (for example, transactions associated with the business node itself) from the consensus network through the proxy node. In this way, the blockchain network 1X can be network-layered through the proxy node to form a hierarchical structure of "business network - consensus network", thereby improving the confidentiality and security of data on the blockchain.
[0061] For ease of understanding, further, please refer to Figure 3 , Figure 3 which is a schematic diagram of a scenario for customizing digital resource data for a business object provided by an embodiment of the present application. As Figure 3 shown, taking the terminal device 30a as an example, which is installed with a resource client that provides a resource viewing service for digital resource data in the resource client, and the business object is the login object in the resource client, the terminal device 30a can be the terminal device held by the business object 30b. The terminal device 30a can be Figure 2 any one of the terminal device clusters 1Y in Figure 2 , such as the terminal device 30a can be the terminal device 100b in Figure 2Any blockchain node in the blockchain network 1X, such as the blockchain node 30e being the blockchain node 200a in the above-mentioned blockchain network 1X, and the node type of the blockchain node 30e is a business node in the business network. Specifically, a resource client can be installed in the terminal device 30a. The resource client is a tool for managing and storing user digital resources. For example, digital resources can be transferred to other accounts based on the resource client, and digital resources transferred from other accounts can also be received based on the resource client. The resource client provides a resource interface 30c for digital resources, and the resource interface 30c includes a resource data viewing control 30d for digital resources.
[0062] The terminal device 30a can obtain the trigger operation of the service object 30b on the resource data viewing control 30d, and in response to the trigger operation of the service object 30b on the resource data viewing control 30d, obtain the object attribute information of the service object. The object attribute information may include the object identifier, object name, object login information (login account password, login fingerprint information, login facial feature information, login voiceprint information, etc.) of the service object 30b. Further, the terminal device 30a can generate a data acquisition request for the resource data of the digital resources by the service object 30b according to the object attribute information, execute step S1, and send the data acquisition request for the resource data of the digital resources by the service object 30b to the blockchain node 30e. The blockchain node 30e can verify the legality of the data acquisition request according to the object attribute information of the service object, and obtain a legality verification result. For example, the blockchain node 30e can verify the acquisition permission of the service object 30b for the resource data of the digital resources, and only when the service object 30b has the acquisition permission can it acquire the resource data of the digital resources. In this way, it is convenient to effectively manage the acquisition service of the resource data of digital resources and avoid illegal services from acquiring the resource data of digital resources.
[0063] Specifically, when the blockchain node 30e determines that the data acquisition request is legal, it obtains the historical business log data of the business object 30b through the resource customization smart contract in the blockchain network. The historical business log data may refer to the resource customization log data of the business object 30b configuring the resource data it needs in the resource customization smart contract. The resource customization smart contract is used to determine the resource preference information of the business object for digital resources. The resource preference information may include the resource attribute information of the digital resources that the business object is interested in (such as concerned about), such as the resource type, resource identifier, resource value, resource risk, etc. of the digital resources that the business object is interested in. It can be understood that in the resource customization smart contract, the resource attribute information of the resource data required by the business object 30b is configured. For example, if the business object 30b needs to obtain the resource data of digital resource Y001, the resource attribute information of the business object 30b needing digital resource Y001 can be configured in the resource customization smart contract. In this way, the resource customization log data of the business object 30b for digital resources in the historical time period is stored in the resource customization smart contract, and the blockchain node 30e can obtain the resource customization log data of the business object 30b from the resource customization smart contract.
[0064] Furthermore, the blockchain node 30e can query the resource attribute information configured by the business object 30b from the resource customization log data of the business object 30b, and determine the resource attribute information configured by the business object 30b as the resource preference information of the business object 30b. The blockchain node 30e can query the customized digital resource data associated with the business object 30b from the resource database according to the resource preference information. The customized digital resource data is generated based on the digital resource data in N trading institutions and stored in the resource database, where N is a positive integer greater than 1. It can be understood that the digital resource data in the resource database is generated by fusing the digital resource data in multiple trading institutions, which is comprehensive and accurate, and thus realizes providing accurate and unified customized digital resource data that can reflect the overall market situation for the business object 30b. The blockchain node 30e can return the customized digital resource data of the business object 30b to the terminal device 30a, and the terminal device 30a can display the customized digital resource data of the business object 30b on the resource data page 30f of the resource client.
[0065] Among them, the customized digital resource data may include a list of digital resources that the business object 30b wants to understand, such as Figure 3As shown in the figure, the resource data page 30f displays a list of digital resources that the business object 30b wants to know and the basic resource information of each digital resource in the digital resource list, such as the resource name, the latest price, and the increase and decrease of the digital resources. Of course, when the terminal device 30a obtains the selection operation of the business object 30b for a certain digital resource in the digital resource list, it can display the resource data (i.e., the resource detail data) of the digital resource selected by the business object 30b. It can be seen that the customized digital resource data displayed on this resource data page 30f is the resource data customized for the business object 30b, that is, the customized digital resource data is the resource data of the digital resources that the business object itself is concerned about or interested in. In this way, it can be avoided that the resource data obtained by the business object is not what the business object needs or is interested in, or the business object needs to search for the resource data it needs or is interested in from a large amount of resource data, which can improve the accuracy of resource data acquisition.
[0066] Further, please refer to Figure 4 , Figure 4 which is a schematic flowchart I of a blockchain-based data processing method provided by an embodiment of the present application. As Figure 4 shown, this method can Figure 2 be executed by any blockchain node in the blockchain network 1X in
[0067] S101, obtain a data acquisition request of the business object for the resource data of the digital resource.
[0068] Specifically, the digital resource may refer to a resource stored digitally on the blockchain, including but not limited to digital pets, digital assets, props, character skins, diamonds, vouchers, famous paintings, buildings, etc. The resource data of the digital resource may include resource transaction statistical information and resource information of the digital resource. The resource transaction statistical information may include the daily resource value, the highest resource value, the lowest resource value, the resource risk, the resource trading volume, the resource value fluctuation curve, the resource value duration ranking, etc. The resource information may include resource news information, resource report information, and resource analysis articles, etc. By understanding the resource data of the digital resource, it is convenient to make more accurate processing decisions for the related business of the digital resource. When the business object triggers an acquisition operation for the resource data of the digital resource, the terminal device may obtain the object attribute information of the business object, generate a data acquisition request of the business object for the resource data of the digital resource according to the object attribute information of the business object, and send the data acquisition request to the blockchain node. The data acquisition request carries the object attribute information of the business object, and the object attribute information may include an object identifier, an object name, etc.
[0069] Among them, the business object can refer to the end user (such as the logged-in user in the application client), or it can refer to the application client in the terminal device. When the business object is the end user, when the end user needs to obtain the resource data of the digital resource, the end user can trigger the operation of obtaining the resource data of the digital resource in the application client in the terminal device. The terminal device can obtain the object attribute information of the end user and generate a data acquisition request for the resource data of the digital resource by the end user. The object attribute information of the end user can include the object name, object identifier, login information (such as login account password, login fingerprint information, login facial feature information, login voiceprint information, etc.). In this way, personalized resource data can be displayed for the end user, facilitating the end user to quickly obtain the resource data they need or are interested in, and facilitating the end user to make more accurate processing decisions on the relevant services of the digital resource.
[0070] Of course, the business object can also refer to the application client, such as the game application client and the social application client. Since the types of digital resources that users in application clients of different business types are concerned about are different. For example, users in the game application client are more concerned about the resource data of game-type digital resources (such as character skins, game props, etc.), and users in the social application client are more concerned about the resource data of social-type digital resources (such as digital assets, digital famous paintings, vouchers, etc.). Therefore, the application client can obtain the resource data of the digital resource corresponding to the application client according to its own business type. For example, the application client can regularly generate a data acquisition request for the resource data of the digital resource. The data acquisition request can include the client attribute information of the application client, and the client attribute information can include the client IP address, client identifier, etc. In this way, after the application client obtains the customized digital resource data, it can display the customized digital resource data to the users in the application client.
[0071] S102. Verify the legality of the data acquisition request according to the object attribute information to obtain a legality verification result.
[0072] Specifically, the blockchain node can verify the legality of the data acquisition request according to the object attribute information to obtain a legality verification result. The legality verification result can be used to indicate that the data acquisition request is legal, or to indicate that the data acquisition request is illegal. In this way, the effective management of the resource data of the digital resource can be improved, and illegal objects can be prevented from obtaining the resource data of the digital resource.
[0073] Optionally, the blockchain node verifies the legitimacy of the data acquisition request according to the object attribute information. The specific methods for obtaining the legitimacy verification result may include: obtaining the object public key of the business object from the blockchain network, and verifying the signature of the data acquisition request according to the object public key. When the signature verification of the data acquisition request passes, the data acquisition permission of the business object for the digital resource is verified according to the object attribute information of the business object to obtain a permission verification result. If the permission verification result indicates that the business object has the data acquisition permission for the digital resource, it is determined that the data acquisition request is legitimate, and a legitimacy verification result for indicating that the data acquisition request is legitimate is generated.
[0074] Specifically, the blockchain node can generate an initial data acquisition request for the resource data of the digital resource according to the object attribute information. At the same time, the blockchain node can sign the initial data acquisition request with the object private key of the business object to obtain the acquisition request signature information, and determine the initial data acquisition request and the acquisition request signature information as the data acquisition request for the resource data of the digital resource by the business object. When the business object is an application client, the object private key of the application client can be the private key of the client administrator. In this way, it can be avoided that the data acquisition request is tampered with by illegal objects, and the security of the data acquisition request can be ensured. The blockchain node can obtain the object public key of the business object from the blockchain network, and verify the signature of the request signature data in the data acquisition request according to the object public key and the acquisition signature algorithm used to sign the initial data acquisition request. Specifically, the acquisition signature algorithm can include any one of the BLS (Boneh-Lynn-Shacham Signature) signature algorithm, RSA signature algorithm, ECDSA (Elliptic Curve Digital Signature Algorithm) signature algorithm, Schnorr (a knowledge proof mechanism based on the discrete logarithm problem) signature algorithm, etc. Among them, the BLS signature algorithm is an encryption algorithm based on elliptic curves, and the length of the BLS signature algorithm is shorter (the signature is a point on the elliptic curve rather than two). The RSA signature algorithm is a classic asymmetric encryption algorithm. Different from the symmetric encryption algorithm, the RSA signature algorithm is an asymmetric encryption algorithm with two different keys, one is the public key and the other is the private key. The ECDSA signature algorithm is an asymmetric encryption algorithm implemented based on the mathematical theory of elliptic curves. Among them, in the ECDSA and Schnorr signature algorithms, after the message to be signed is hashed, the result (hash value) is a number. The BLS signature algorithm uses the hash value obtained from the transaction data as the x value of the point to find the corresponding point on the elliptic curve, and further signs the found point with the private key. The BLS signature algorithm does not require a random number generator, can aggregate all the signatures in the block into one, is easy to implement multi-signature, and can also avoid redundant communication between signers. In addition, the length of the BLS signature is shorter (the signature is a point on the elliptic curve rather than two), which is half of Schnorr or ECDSA.
[0075] For example, taking the acquisition of the signature algorithm as the RSA signature algorithm, the blockchain node can perform a hash operation on the initial data acquisition request to obtain the first digest information. At the same time, the blockchain node can use the object public key to verify the signature of the request signature information to obtain the second digest information. The blockchain node can compare the first digest information with the second digest information. If the first digest information matches the second digest information, it is determined that the signature verification of the data acquisition request is successful; if the first digest information does not match the second digest information, it is determined that the signature verification of the data acquisition request fails. When the signature verification of the data acquisition request passes, the blockchain node can verify the data acquisition permission of the business object regarding the digital resource according to the object attribute information of the business object to obtain the permission verification result. In this way, the resource data of the digital resource can be effectively managed, and it can be avoided that illegal objects obtain the resource data of the digital resource. If the permission verification result indicates that the business object has the data acquisition permission regarding the digital resource, it is determined that the data acquisition request is legal, and a legality verification result is generated to indicate that the data acquisition request is legal.
[0076] Optionally, the object attribute information of the business object includes an object identifier. The specific method for the blockchain node to verify the data acquisition permission of the business object regarding the digital resource according to the object attribute information of the business object may include: when the signature verification of the data acquisition request passes, obtaining the object identifier of the business object, and respectively matching degrees of identification with Q permission identifiers included in the permission identifier table. The permission identifier table includes the object identifiers of the permission objects having the data acquisition permission regarding the digital resource, and Q is a positive integer. The permission identifier table can be stored in the blockchain network. In this way, it can be avoided that the permission identifier table is illegally tampered with, and the storage security of the permission identifier table can be improved. It can be understood that the blockchain node can maintain the permission identifiers having the data acquisition permission regarding the digital resource, so that it can quickly and accurately verify whether the business object has the data acquisition permission for the digital resource, and the efficiency of permission verification can be improved. If there is a permission identifier in the permission identifier table whose degree of identification with the object identifier of the business object is greater than or equal to the matching degree threshold, the blockchain node can determine that the business object has the data acquisition permission regarding the digital resource, and generate a permission verification result to indicate that the business object has the data acquisition permission regarding the digital resource. Among them, the matching degree threshold can be set according to specific requirements.
[0077] Optionally, when the business object is an end user, the specific manner in which the blockchain node verifies the data acquisition permission of the business object for digital resources according to the object attribute information of the business object may further include: The blockchain node may generate a login status verification request for indicating the verification of the login status of the business object according to the object identifier of the business object, and send the status verification request to the terminal device corresponding to the business object through the terminal device interface corresponding to the business object. The terminal device corresponding to the business object is used to verify the user login status, such as verifying whether the business object is in a logged-in state in the application client, or verifying whether the business object is present (such as performing an indication operation to verify whether the business object is present), etc. The terminal device may generate a verification result of the login status of the business object and return the verification result to the blockchain node. If the blockchain node determines that the verification result indicates that the verification of the login status of the business object is successful (such as the business object is in a logged-in state in the application client, etc.), it is determined that the business object has the data acquisition permission for digital resources.
[0078] S103. If the legality verification result indicates that the data acquisition request is legal, then through the resource customization smart contract in the blockchain network, according to the historical business log data of the business object, determine the resource preference information of the business object for digital resources.
[0079] Specifically, if the blockchain node determines that the legality verification result indicates that the data acquisition request is legal, then through the resource customization smart contract in the blockchain network, according to the historical business log data of the business object, determine the resource preference information of the business object for digital resources. Among them, the resource customization smart contract may be a smart contract on the blockchain, used to determine the resource preference information of the business object for digital resources. The resource preference information may include the resource attribute information of the digital resources that the business object is interested in (such as concerned about), such as the resource type, resource identifier, resource value, resource risk, etc. of the digital resources that the business object is interested in. It can be understood that the resource data that the business object is interested in or concerned about can be customized through the resource customization smart contract, so as to realize returning the resource data of a certain digital resource to the business object, or shielding the resource data of a certain digital resource from the business object, and quickly providing the resource data of the current real-time digital resource for the business object. Among them, the historical business log data of the business object may include the resource customization log data of the business object for digital resources in the historical time period and the resource transaction log data of the business object for digital resources in the historical time period.
[0080] It can be understood that blockchain nodes can use resource customization smart contracts to provide the following two ways to determine the resource preference information of business objects regarding digital resources. Method 1: The business object freely customizes its own resource preference information in the resource customization smart contract. Specifically, the terminal device can obtain the resource attribute information of the digital resources that the business object is interested in or concerned about, call the resource customization smart contract, and use the resource attribute information of the digital resources that the business object is interested in or concerned about as the resource attribute information configured by the business object, and store it in the resource customization smart contract. In this way, the resource attribute information configured by the business object in the resource customization smart contract can be determined as the resource preference information of the business object, so as to enable the business object to freely customize the resource data it needs or is interested in, and then accurately provide resource data for the business object, so as to improve the accuracy of resource data acquisition and improve the user experience. Method 2: The resource customization smart contract automatically customizes resource data for the business object. Specifically, the resource customization smart contract can obtain the resource transaction log data of the business object regarding digital resources in the historical time period, and determine the resource preference information of the business object regarding digital resources according to the resource transaction log data.
[0081] Optionally, in the above Method 1, the historical business log data includes the resource customization log data of the business object for digital resources in the historical time period. The specific method for the blockchain node to determine the resource preference information of the business object regarding digital resources according to the historical business log data of the business object may include: If the legality verification result indicates that the data acquisition request is legal, then obtain the resource customization log data of the business object from the resource customization smart contract in the blockchain network. Parse out the resource attribute information configured by the business object from the resource customization log data, and determine the resource attribute information configured by the business object as the resource preference information of the business object regarding digital resources.
[0082] Specifically, the blockchain network includes a resource customization smart contract for customizing the resource preference information of business objects regarding digital resources. When a business object needs to customize the resource data it needs or is interested in, it can call the resource customization smart contract through the terminal device corresponding to the business object to customize the resource data it needs or is interested in. Specifically, the terminal device can obtain the resource attribute information of the digital resources that the business object needs to customize and the object identifier of the business object. For example, the resource attribute information may include resource identifier, resource type, resource value, etc. The terminal device can generate a resource data customization request carrying the resource attribute information and the object identifier, and send the resource data customization request to the resource customization smart contract through the call interface of the resource customization smart contract.
[0083] Specifically, through the resource customization smart contract, the resource attribute information carried in the resource data customization request is determined as the resource attribute information configured for the business object, and the resource attribute information configured for the business object is stored. In one embodiment, the resource customization smart contract can establish a binding relationship between the resource attribute information configured for the business object and the object identifier of the business object, generate binding relationship indication information about the binding relationship (such as a key-value pair recording the resource attribute information configured for the business object and the object identifier of the business object), and store the binding relationship indication information in the resource customization smart contract, which can facilitate quickly finding the resource attribute information configured for the business object. At the same time, the resource customization smart contract can record the resource customization log data of the above business object for digital resources. The resource customization log data is used to reflect the whole process of the business object customizing resource data, such as when the resource data customization request for the digital resources from the business object is received, what information the resource data customization request includes, when the resource customization smart contract generates the binding relationship between the resource attribute information configured for the business object and the object identifier of the business object, when the binding relationship indication information is generated, and the specific content of the binding relationship indication information, etc. In this way, the blockchain node can parse out the resource attribute information configured for the business object from the resource customization log data, and determine the resource attribute information configured for the business object as the resource preference information of the business object for digital resources.
[0084] For example, if the business object needs to obtain the resource data of digital resource Y001, the terminal device can obtain the resource attribute information of the digital resource Y001 and the object identifier of the business object, and send the resource attribute information of the digital resource Y001 and the object identifier of the business object to the resource customization smart contract through the call interface of the resource customization smart contract, and store the binding relationship indication information between the resource attribute information of the digital resource Y001 and the object identifier of the business object in the resource customization smart contract. In this way, the blockchain node can obtain the resource attribute information of the digital resource Y001 configured for the business object according to the resource customization log data of the business object, and determine the resource attribute information of the digital resource Y001 as the resource preference information of the business object. In this way, through the resource customization smart contract, the business object can freely customize the resource data of the digital resources it needs or is interested in, avoiding the business data obtained by the business object being the resource data that the business object is not interested in or does not need, and improving the accuracy of resource data push and the user experience. Of course, if there is no resource customization log data of the business object, indicating that the business object has not customized the resource attribute information it needs or is interested in, the above method two can be used to determine the resource preference information of the business object for digital resources.
[0085] Optionally, the specific manner of implementing the self-configuration of resource data by the business object through the resource customization smart contract may include: when the business object needs to customize the resource data it needs or is interested in, it can trigger a resource data customization operation for digital resources in the terminal device. The terminal device can obtain the resource attribute information of the digital resources to be customized by the business object based on this resource data customization operation. At the same time, the terminal device can generate an initial resource data customization request carrying the resource attribute information of the digital resources to be customized by the business object and the object identifier, sign the initial resource data customization request using the object private key of the business object to obtain the customization request signature information. Generate a resource data customization request for the digital resources by the business object according to the initial resource data customization request and the customization request signature information, and send this resource customization request to the resource customization smart contract through the call interface of the resource customization smart contract. The blockchain node can obtain the resource data customization request for the digital resources by the business object through the resource customization smart contract.
[0086] Furthermore, the blockchain node can verify the signature of the resource data customization request according to the object public key of the business object and the customization signature algorithm used to sign the initial resource data customization request to obtain the request signature verification result. Specifically, this customization signature algorithm can also be any one of the BLS signature algorithm, RSA signature algorithm, ECDSA signature algorithm, Schnorr signature algorithm, etc. The process of verifying the signature of the data acquisition request can be referred to above, and this will not be elaborated in this embodiment of the present application. In this way, verifying the signature of the resource data customization request can prevent illegal objects from illegally customizing the resource data of the business object or tampering with the resource attribute information configured by the business object. If the request signature verification result indicates that the resource data customization request signature verification is successful, the resource attribute information carried in the resource data customization request is determined as the resource attribute information configured by the business object. The blockchain node can establish a binding relationship between the resource attribute information configured by the business object and the object identifier of the business object through the resource customization smart contract, generate a binding relationship indication information about this binding relationship (such as a key-value pair recording the resource attribute information configured by the business object and the object identifier of the business object), and store this binding relationship indication information in the resource customization smart contract. In this way, the process of the business object self-customizing resource data through the resource customization smart contract leaves a trace on the chain, has traceability, and at the same time can ensure the storage security of the resource attribute information configured by the business object and improve the reliability of the resource attribute information configured by the business object.
[0087] Optionally, in the second method described above, the historical service log data includes resource transaction log data of the business object regarding digital resources within a historical time period. The specific method for the blockchain node to determine the resource preference information of the business object regarding digital resources based on the historical service log data of the business object may include: If the legality verification result indicates that the data acquisition request is legal, then call the resource customization smart contract in the blockchain network to obtain the resource transaction log data of the business object. Based on the resource transaction log data, determine the digital resources that have been traded by the business object for resource transactions within the historical time period, and determine the resource preference information of the business object regarding digital resources based on the traded digital resources.
[0088] Specifically, the blockchain node can call the resource customization smart contract in the blockchain network to obtain the resource transaction log data of the business object regarding digital resources within a historical time period. The resource transaction log data may include digital resource browsing data, digital resource purchase data, digital resource sale data, digital resource exchange data, etc. The blockchain node can parse out the traded digital resources of the business object for resource transactions within the historical time period from the resource transaction log data. For example, the traded digital resources may refer to the digital resources purchased, sold, or browsed by the business object within the historical time period. The blockchain node can determine the resource preference information of the business object regarding digital resources based on the traded digital resources. In one implementation, the blockchain node can determine the resource attribute information of the traded digital resources as the resource preference information of the business object. The resource attribute information of the traded digital resources may include resource identifiers, resource types, etc. Of course, since the number of traded digital resources may be large and not all of them may be of interest or needed by the business object, the blockchain node filters the traded digital resources and then determines the resource preference information of the business object regarding digital resources based on the filtered traded digital resources.
[0089] Of course, when the business object is a user of an application client, if the resource transaction log data and the resource customization log data of the business object are not obtained, the client service type of the application client where the business object is located can be obtained, such as a game service type, a social service type, a video service type, etc. Based on the client service type, determine the resource type of the digital resources that the business object is interested in, and determine the resource type that the business object is interested in as the resource preference information of the business object regarding digital resources. For example, users in application clients of the game service type are likely to be interested in digital resources of the game type, and users in application clients of the social service type are likely to be interested in digital resources of the social type.
[0090] Optionally, the specific manner in which the blockchain node determines the resource preference information of the business object regarding the digital resource based on the traded digital resource may include: obtaining the interaction data of the business object for the traded digital resource, and determining the resource preference degree of the business object for the traded digital resource according to the interaction data. According to the resource preference degree of the business object for the traded digital resource, determine the traded digital resources with a resource preference degree greater than or equal to the preference degree threshold from the traded digital resources as the preferred digital resources. Determine the resource attribute information of the preferred digital resources as the resource preference information of the business object regarding the digital resource.
[0091] Specifically, the blockchain node can obtain the interaction data of the business object for the traded digital resource through a resource customization smart contract, and determine the resource preference degree of the business object for the traded digital resource according to the interaction data. Specifically, the blockchain node can call a preference degree prediction model to predict the resource preference degree of the business object for the traded digital resource according to the interaction data of the business object for the traded digital resource. The preference degree prediction model can be trained with data such as the sample interaction data of the sample digital resource and the resource preference degree label of the sample object for the sample digital resource. Among them, the number of the traded digital resources can be one or more. For example, taking the traded digital resources including the first traded digital resource and the second traded digital resource as an example, if the purchase record data, sale record data, and browsing record data of the business object for the first traded digital resource are more, it indicates that the resource preference degree of the business object for the first traded digital resource is higher. If the purchase record data, sale record data, and browsing record data of the business object for the second traded digital resource are less, it indicates that the resource preference degree of the business object for the first traded digital resource is lower.
[0092] Further, the blockchain node can determine, according to the resource preference degree of the business object for the traded digital resources, the traded digital resources with a resource preference degree greater than or equal to the preference degree threshold from the traded digital resources as the preferred digital resources. The resource attribute information of the preferred digital resources is determined as the resource preference information of the business object for the digital resources. Among them, the preference degree threshold can be determined according to the number of resource types of the digital resources to be selected. For example, when three resource types need to be obtained, if the top three traded digital resources with the resource preference degree have different resource types, the resource preference degree corresponding to the third-ranked traded digital resource can be determined as the preference degree threshold. Of course, the resource preference degree can also be set according to the needs of the business object. For example, if the business object generally views more resource data (such as more than 15 pieces of resource data viewed), the preference degree threshold can be set smaller to obtain more resource data. If the business object generally views less resource data (such as more than 5 pieces of resource data viewed), the preference degree threshold can be set larger to obtain less resource data and the resource data that the business object is interested in. In this way, while ensuring that the business object can view sufficient resource data, the data volume of data transmission can also be reduced.
[0093] S104. According to the resource preference information, query the customized digital resource data associated with the business object from the resource database of the blockchain network, and send the customized digital resource data to the business object.
[0094] Specifically, the blockchain node can query the customized digital resource data associated with the business object from the resource database of the blockchain network according to the resource preference information, and send the customized digital resource data to the business object. Among them, the customized digital resource data is generated based on the digital resource data of N trading institutions and stored in the resource database, where N is a positive integer greater than 1. It can be understood that the digital resource data in the resource database is generated by fusing the digital resource data of multiple trading institutions. Compared with the resource data generated by a single trading institution based on the digital resource data in its own institution, the customized digital resource data in this application is more comprehensive and accurate, and thus can provide accurate and unified resource data that can reflect the digital resource status of the entire market for the business object. The blockchain node can return the customized digital resource data of the business object to the terminal device, and the terminal device can display the customized digital resource data of the business object on the resource data page of the resource client.
[0095] Optionally, when the resource preference information is the resource attribute information configured for the business object, the specific manner for the computer device to query the customized digital resource data associated with the business object from the resource database of the blockchain network may include: determining, from the candidate digital resource set, the digital resources whose resource attribute information matches the resource attribute information configured for the business object as the customized digital resources; querying the resource data of the customized digital resources from the resource database of the blockchain network to obtain candidate digital resource data; obtaining the data acquisition permission type of the business object for the digital resources, and determining, according to the data acquisition permission type, the digital resource data for which the business object has the acquisition permission from the candidate digital resource data; and determining the digital resource data for which the business object has the acquisition permission as the customized digital resource data associated with the business object.
[0096] Specifically, the blockchain node may determine, from the candidate digital resource set, the digital resources whose resource attribute information matches the resource attribute information configured for the business object as the customized digital resources. For example, when the resource attribute information configured for the business object is the resource identification information, the blockchain node may determine, from the candidate digital resource set, the digital resources whose resource identification information matches the resource identification information configured for the business object as the customized digital resources. For example, when the resource attribute information configured for the business object is the resource type information, the blockchain node may determine, from the candidate digital resource set, the digital resources whose resource type information matches the resource type information configured for the business object as the customized digital resources. Further, the blockchain node may query the resource data of the customized digital resources from the resource database of the blockchain network to obtain candidate digital resource data. The resource database includes the resource data of one or more digital resources, and the resource data of each digital resource is generated based on the digital resource data (such as transaction data and information) in multiple trading institutions, which is comprehensive and accurate. If the resource data of the customized digital resources cannot be queried from the resource database of the blockchain network, the blockchain node may obtain the transaction data and information about the customized digital resources from N trading institutions in real time, and generate the resource data of the customized digital resources according to the transaction data and information of the customized digital resources.
[0097] Furthermore, the blockchain node can obtain the data acquisition permission type of the business object for the digital resource, and determine the digital resource data that the business object has the acquisition permission for from the candidate digital resource data. Among them, the data acquisition permission can include partial resource data acquisition permission and full resource data acquisition permission. Since some resource data of certain digital resources is relatively private and can only be viewed by specific objects, the blockchain node can determine the resource data that the business object can view according to the data acquisition permission of the business object. In this way, the security of resource data acquisition can be ensured. The blockchain node can determine the digital resource data that the business object has the acquisition permission for as the customized digital resource data associated with the business object.
[0098] Of course, when the resource preference information is the resource attribute information of the traded digital resource or the resource attribute information of the preferred digital i resource, the method for determining the customized digital resource number associated with the business object can refer to the method for determining the customized digital resource number associated with the business object when the resource preference information is the resource attribute information configured for the business object, which will not be elaborated in this embodiment of the present application.
[0099] Optionally, the N trading institutions include off-chain trading institutions, on-chain trading institutions, and information platforms. The off-chain trading institutions can be centralized trading institutions for conducting centralized resource trading services. The on-chain trading institutions can be decentralized trading institutions for conducting decentralized resource trading services. The resource information platform can be an external resource platform, such as a news platform, a communication platform, etc. The blockchain node can obtain the off-chain resource trading data of the digital resource from the off-chain trading institutions, obtain the on-chain resource trading data of the digital resource from the blockchain associated with the on-chain trading institutions, and obtain the resource information of the digital resource from the information platforms. According to the off-chain resource trading data, on-chain resource trading data, and resource information, resource data corresponding to M types of digital resources are generated. The resource data corresponding to the M types of digital resources includes customized digital resource data, and M is a positive integer. It can be understood that the blockchain node can obtain the resource trading data and resource information of multiple digital resources from the off-chain trading institutions, on-chain trading institutions, and information platforms. In this way, by a large amount of comprehensive resource trading data and resource information, the resource data of the digital resource is generated, which can ensure the accuracy of the resource data of the digital resource and reflect the digital resource status of the entire market. The blockchain node stores the resource data corresponding to the M types of digital resources in the resource database of the blockchain network. In this way, the storage security of the resource data corresponding to the M types of digital resources can be ensured.
[0100] Optionally, the M types of digital resources include digital resource M i, where i is a positive integer less than or equal to M. For the sake of understanding, the following takes the digital resource M i as an example. The specific ways for the blockchain node to generate the resource data corresponding to the digital resource M i may include: obtaining the resource transaction data corresponding to the digital resource M from the off-chain resource transaction data and on-chain resource transaction data. i Performing denoising processing on the resource transaction data corresponding to the digital resource M i to obtain the processed resource transaction data, and performing data analysis on the processed resource transaction data to obtain the resource transaction statistical information corresponding to the digital resource M i Obtaining the corresponding information from the resource information, i screening out the valid information from the information corresponding to the digital resource M i as the valid information corresponding to the digital resource M i Determining the valid information and the resource transaction statistical information as the resource data corresponding to the digital resource M i .
[0101] Specifically, the blockchain node can obtain the resource transaction data corresponding to the digital resource M from the off-chain resource transaction data and on-chain resource transaction data i , such as the resource purchase data, resource sale data, resource interaction data, etc. corresponding to the digital resource M i . At the same time, the blockchain node can obtain the corresponding information from the resource information, i such as the news information, academic exchange information, etc. of the digital resource. Further, the blockchain node can perform denoising processing on the resource transaction data corresponding to the digital resource M i to obtain the processed resource transaction data, which can facilitate the subsequent generation of the resource data of the digital resource and improve the accuracy of the resource data of the digital resource. Specifically, the denoising processing may include removing abnormal data, filling missing values, deleting duplicate data, etc. Further, the blockchain node can perform data analysis on the processed resource transaction data to obtain the resource transaction statistical information corresponding to the digital resource M i . Specifically, the blockchain node can perform trend analysis, volatility analysis, trading volume analysis, etc. on the processed resource transaction data. The resource transaction statistical information may include the current value, historical highest value, historical lowest value, trading volatility curve graph, resource market value ranking, K-line, etc. of the digital resource. Among them, the K-line is a curve recording the resource value fluctuation, which can include intraday, daily K-line, weekly K-line, monthly K-line, annual K-line, etc.
[0102] The blockchain node can obtain from the digital resource M iScreen out the valid information from the corresponding information, and use it as digital resource M i The corresponding valid information. Since the information that is not valid is rumor-mongering and has low accuracy, the information that is not valid can be excluded to ensure the accuracy of the resource data. Specifically, the blockchain node can call the information prediction model to predict digital resource M i The validity of the corresponding information. When the validity of the information corresponding to digital resource M i is less than or equal to the validity threshold, it is determined that the information corresponding to digital resource M i is not valid. When the validity of the information corresponding to digital resource M i is greater than the validity threshold, it is determined that the information corresponding to digital resource M i is valid. The blockchain node can use the valid information corresponding to digital resource M i and the resource transaction statistical information as the resource data corresponding to digital resource M i At the same time, the blockchain node can perform data visualization on the resource data corresponding to digital resource M i to facilitate an intuitive understanding of the resource trend and resource characteristics of digital resource M i It can be seen that the embodiments of the present application can ensure the accuracy and comprehensiveness of the resource data of digital resources.
[0103] As Figure 5 shown, Figure 5 is a schematic diagram of the business object provided by the embodiments of the present application for customizing resource data by itself. As Figure 5As shown in the figure, the terminal device can obtain the resource attribute information of the business object regarding the digital resource configuration, that is, the resource attribute information of the digital resources required or interested by the business object. Specifically, the business object can configure the resource attribute information of the required or interested digital resources in the resource data customization page of the terminal device. For example, the business object can input the resource attribute information of the required or interested digital resources in the resource data customization page, or select one or more candidate digital resources from one or more candidate digital resources displayed in the resource data customization page. The terminal device can use the resource attribute information of the one or more candidate digital resources selected by the business object as the resource attribute information of the digital resources required or interested by the business object. The terminal device can generate a resource data customization request carrying the resource attribute information according to the resource attribute information of the required or interested digital resources, call the invocation interface of the resource customization smart contract on the blockchain of the blockchain network, and send the resource data customization request to the resource customization smart contract. The resource customization smart contract can determine the resource attribute information carried in the resource data customization request as the resource attribute information configured by the business object and store the resource attribute information configured by the business object.
[0104] As Figure 5 As shown in the figure, on the blockchain side (that is, the blockchain nodes in the blockchain network have built a resource data platform, which includes an access service, a resource transaction statistics service, a resource information service, a transaction statistics asynchronous task, and an information synchronization service. Among them, the access service is used to receive a data acquisition request for the resource data of the digital resources, and according to the data acquisition request, call the resource transaction statistics service and the resource information service to query the resource data. Among them, the resource transaction statistics service can query the resource transaction statistics information of the digital resources from the resource database, and the resource transaction statistics information can include the current value, the historical highest value, the historical lowest value, the transaction volatility curve graph, the resource market value ranking, the K line, etc. of the digital resources. Among them, the resource information service can query the resource information of the digital resources from the resource database, and the resource information can include news information, academic exchange information, etc. Among them, the transaction statistics asynchronous task is used to regularly obtain the off-chain resource transaction data of the digital resources from the centralized trading institution and obtain the on-chain resource transaction data of the digital resources from the decentralized trading institution in the blockchain network. At the same time, the transaction statistics asynchronous task can also obtain the resource attribute information configured by the business object from the resource customization smart contract on the blockchain. Of course, when the resource customization smart contract receives the resource attribute information configured by the business object, it can also send the resource attribute information configured by the business object to the transaction statistics asynchronous task.
[0105] The transaction statistics asynchronous task can store the off-chain resource transaction data, on-chain resource transaction data, and resource attribute information configured by the business object obtained at regular intervals into the resource database, which can be located in the blockchain network to ensure the security of the data in the resource database. Among them, the information synchronization service can regularly obtain the resource information about digital resources from the resource information platform and store the resource information into the resource database. As Figure 5 shown, when the resource data page in the terminal device receives the acquisition operation of the resource data of the digital resource by the business object, the terminal device can generate a data acquisition request for the resource data of the digital resource by the business object and send the data acquisition request to the background server of the application client (i.e., the client logged in by the business object). The background server can forward the data acquisition request to the blockchain side. When the access service in the resource data platform on the blockchain side receives the data acquisition request, it can authenticate the business object. When the authentication of the business object is successful, it calls the resource transaction statistics service through the remote call interface (i.e., the RPC interface) of the resource transaction statistics service to query the resource transaction statistics data of the customized digital resource associated with the business object from the resource database. The customized digital resource is determined based on the resource attribute information configured by the business object. At the same time, the access service can call the resource information service through the remote call interface (i.e., the RPC interface) of the resource information service to query the valid information of the customized digital resource associated with the business object from the resource database, and determine the resource transaction statistics information and the valid information of the customized digital resource as the customized digital resource data associated with the business object. It can be seen that the embodiment of the present application can enable the business object to customize the required or interesting customized digital resource data by itself, and at the same time can ensure the accuracy, comprehensiveness, and real-time nature of the customized digital resource data, improving the user experience.
[0106] As Figure 6 shown, Figure 6 is a schematic diagram of customizing resource data for a business object provided by an embodiment of the present application. As Figure 6As shown, taking the business object as the business client (i.e., the application client) as an example, the business client can call the resource customization smart contract to customize the resource attribute information of the digital resources required by the business client. The resource attribute information can include resource type, resource identifier, and resource value, etc. The resource customization smart contract can store the resource attribute information configured by the business client. The resource data synchronization service can synchronize the resource attribute information configured by the business client in the resource customization smart contract and initialize the resource attribute information configured by the business object. The resource data synchronization service can include a transaction synchronization asynchronous task and an information synchronization service. The transaction statistics asynchronous task is used to regularly obtain off-chain resource transaction data of digital resources from a centralized trading institution and on-chain resource transaction data of digital resources from a decentralized trading institution in the blockchain network. At the same time, the transaction statistics asynchronous task can also obtain the resource attribute information configured by the business object from the resource customization smart contract on the blockchain. Of course, when the resource customization smart contract receives the resource attribute information configured by the business object, it can send the resource attribute information configured by the business object to the transaction statistics asynchronous task. The transaction statistics asynchronous task can store the regularly obtained off-chain resource transaction data, on-chain resource transaction data, and the resource attribute information configured by the business object in the resource database. The resource database can be located in the blockchain network to ensure the security of the data in the resource database. Among them, the information synchronization service can regularly obtain resource information of digital resources from the resource information platform and store the resource information in the resource database.
[0107] As Figure 6 shown, the resource data synchronization service can obtain on-chain resource transaction data of digital resources from a decentralized trading institution and off-chain resource transaction resources of digital resources from a centralized trading institution. Among them, client users in the business client (such as logged-in users, using users, etc.) can log in to the resource client, and the resource client can be a client integrated in the business client (such as a game application). The resource client can sign the on-chain transaction generated by the business object in the resource client and send the on-chain transaction to a decentralized trading institution for trading through the decentralized trading institution contract. Similarly, the resource client can send the on-chain transaction to a centralized trading institution for trading through the centralized trading institution contract. The resource data synchronization service can process and analyze the digital resource data obtained from the decentralized trading institution, the centralized trading institution, and the resource information platform to generate resource data of various digital resources.
[0108] As Figure 6As shown in the figure, the front-end page of the resource client can send a data acquisition request of the client user to the access gateway service. The access gateway service can authenticate the login status of the client user. That is, the access gateway service can, through the interface of the service client, request the service client to verify the login status of the client user (such as verifying whether the client user is in the logged-in state, etc.). The service client can return the verification result to the access gateway service. If the verification result indicates that the authentication of the client user is successful, the access gateway service can call the data query service to query the resource data. The data query service can include a resource transaction statistics service and a resource information service. The resource transaction statistics service can query the resource transaction statistics information of digital resources from the resource database. The resource transaction statistics information can include the current value, historical highest value, historical lowest value, transaction fluctuation curve graph, resource market value ranking, K-line, etc. of the digital resources. Among them, the resource information service can query the resource information of digital resources from the resource database. The resource information can include news information, academic exchange information, etc. The data query service can determine the customized digital resource data managed by the service client according to the resource attribute information configured by the service client, and return the customized digital resource data to the access gateway service. The access gateway service returns the customized digital resource data to the resource client, and the resource client can display the customized digital resource data on the resource display page. It can be seen that the service client can also customize the resource data belonging to its own client to display the resource data to the client users within the client.
[0109] In the embodiment of the present application, through the resource customization smart contract in the blockchain network, the resource preference information of the business object is determined, and then the customized digital resource data of the business object is determined according to the resource preference information. In this way, it is possible to achieve personalized customization of the required or interested customized digital resource data for different business objects, avoid the situation that the resource data obtained by the business object is not the data required or interested by the business object, and improve the accuracy of resource data push. At the same time, since the customized resource data is generated based on the digital resource data of N trading institutions, compared with the digital resource data within a single trading institution, the digital resource data of N trading institutions is more comprehensive and diverse, and thus the accuracy and unity of the customized digital resource data can be ensured.
[0110] Further, please refer to Figure 7 , Figure 7 is a schematic flowchart of a blockchain-based data processing method provided by an embodiment of the present application Figure 2 . As Figure 7 shown, this method can Figure 2 be executed by any terminal device in the terminal device cluster 1Y in
[0111] S201, send a data acquisition request of the resource data of the business object for the digital resource to the blockchain nodes in the blockchain network.
[0112] Specifically, when the business object needs to acquire the resource data of the digital resource, the acquisition operation of the resource data of the digital resource can be implemented in the terminal device associated with the business object (such as the terminal device held by the business object). The terminal device can, in response to the trigger operation of the business object for the resource data, acquire the object attribute information of the business object, and the object attribute information can include the object name, object identifier, etc. The terminal device can generate a data acquisition request of the resource data of the business object for the digital resource according to the object attribute information of the business object, and the data acquisition request is used to indicate that the customized digital resource data associated with the business object needs to be acquired. Further, the terminal device can send the data acquisition request to the blockchain nodes in the blockchain network, and the blockchain nodes can be business nodes. Among them, the blockchain nodes can, according to the object attribute information in the data acquisition request, verify the legality of the data acquisition request to obtain a legality verification result. When the legality verification result indicates that the data acquisition request is legal, the blockchain nodes can, through the resource customization smart contract in the blockchain network, determine the resource preference information of the business object regarding the digital resource according to the historical business log data of the business object. The blockchain nodes can, according to the resource preference information, query the customized digital resource data associated with the business object from the resource database in the blockchain network, and the customized digital resource data is generated according to the digital resource data in N trading institutions, where N is a positive integer greater than 1.
[0113] Among them, the customized digital resource data may include the resource data of the customized digital resource, and the resource data may include resource transaction statistics information, valid information, etc. Among them, the resource transaction statistics information may include the current value, historical highest value, historical lowest value, transaction fluctuation curve graph, resource market value ranking, K-line, etc. of the digital resource. The valid information may include valid news information, academic exchange information, etc. The specific content for the blockchain node to determine the customized digital resource data corresponding to the business object may refer to the content of the above steps S101 - S104, which will not be elaborated in this embodiment of the present application. It can be seen that by the blockchain node, customized digital resource data can be returned to the business object, which can improve the interest of the business object in the customized digital resource data, realize returning the resource data of a certain digital resource to the business object, or shielding the resource data of a certain digital resource from the business object, and quickly providing the resource data of the current real-time digital resource to the business object. At the same time, since the customized digital resource data is generated in real time based on the digital resource data in multiple trading institutions, compared with the resource data generated by a single trading institution based on the digital resource data in its own institution, the customized digital resource data in this application is more comprehensive and accurate, and thus realizes providing accurate and unified resource data for the business object that can reflect the digital resource status of the entire market.
[0114] S202. Receive the customized digital resource data returned by the blockchain node and display the customized digital resource data.
[0115] Specifically, the terminal device may receive the customized digital resource data returned by the blockchain node and display the customized digital resource data on the resource data page. It can be seen that this application can customize the resource data of the digital resource for the business object, so that the customized resource data for the business object is what the business object is interested in or needs, avoiding displaying resource data that the business object is not interested in or needs, or the business object needs to search for the resource data it is interested in or needs from a large amount of resource data, which is time-consuming and laborious, and can improve the accuracy of obtaining the resource data of the digital resource and improve the user experience.
[0116] Optionally, the customized digital resource data includes the resource transaction statistics data and valid information of the customized digital resource. The specific manner for the terminal device to display the customized digital resource data may include: displaying a resource data page about the customized digital resource, displaying the resource transaction statistics data of the customized digital resource on the resource data page, and displaying a resource information control. In response to a trigger operation on the resource information control, display a list of valid information of the customized digital resource on the resource data page. In response to a selection operation on the valid information in the list of valid information, display an information details interface of the valid information determined by the selection operation.
[0117] Specifically, when a service object triggers an operation to obtain resource data for digital resources, the terminal device can obtain the customized digital resource data of the service object from a blockchain node. The customized digital resource data includes the resource transaction statistics data and valid information of the customized digital resources. The terminal device can display a resource data page for the customized digital resources, display the resource transaction statistics data of the customized digital resources on the resource data page, and display a resource information control. Among them, the resource transaction statistics data can include the current value, historical highest value, historical lowest value, transaction fluctuation curve graph, resource market value ranking, K-line, etc. of the customized digital resources. The service object can view the resource transaction statistics data of the customized digital resources on the resource data page. When the terminal device detects a trigger operation by the service object on the real-time resource information control, it can, in response to the trigger operation on the resource information control, display a list of valid information of the customized digital resources on the resource data page. Since the number of valid information of the customized digital resources can be one or more, to facilitate the service object to intuitively view the valid information of the customized digital resources, a list of valid information that can display the valid information can be displayed.
[0118] Specifically, when the terminal device detects a selection operation by the service object on any one of the valid information in the list of valid information, the terminal device can, in response to the selection operation on the valid information in the list of valid information, display an information details page of the valid information selected by the selection operation. The information details page includes the specific content of the valid information selected by the selection operation. It can be seen that this application can not only provide the service object with the current real-time and latest customized digital resource data, that is, provide the service object with updated and timely customized digital resource data, but also ensure the accuracy and comprehensiveness of the customized digital resource data, so as to enable the service object to conveniently view the latest resource data and improve the user experience.
[0119] Optionally, the terminal device can display the customized digital resource data of the service object through a resource data page plugin. When the blockchain node returns the customized digital resource data of the service object, it can obtain the page rendering parameters adapted to the resource data page plugin in the terminal device, perform rendering processing on the customized digital resource data of the service object according to the page rendering parameters, obtain a resource data page including the customized digital resource data of the service object, and send the resource data page to the terminal device. In this way, the terminal device can call the resource data page plugin and display the resource data page in the application client where the resource data page plugin is located. In this way, the display efficiency and display effect of the customized digital resource data can be improved, and thus the user experience can be improved.
[0120] As Figure 8 shown, Figure 8It is a schematic diagram showing customized digital resource data provided in an embodiment of the present application. As Figure 8 shown, taking the business object as the client user as an example, the terminal device can display the customized digital resource data of the business object on the resource data page 80a of the resource client. As Figure 8 shown, the customized digital resource data includes the resource data of digital resource Y001, the resource data of digital resource Y002, the resource data of digital resource Y003, the resource data of digital resource Y004, the resource data of digital resource Y005, the resource data of digital resource Y006, and the resource data of digital resource Y007, etc. The terminal device can display a digital resource list on the resource data page 80a, which is convenient for the business object to view the resource data of the digital resources currently needed. When the business object needs to view the resource data of digital resource Y005, the terminal device can respond to the viewing operation of the business object for digital resource Y005 and display the resource transaction statistics data page 80b of digital resource Y005. The resource transaction statistics data page 80b shows the resource transaction statistics data of digital resource Y005, such as the current resource value of digital resource Y005, the growth value compared with the previous day is +48.59, the growth rate compared with the previous day is +0.16%, the highest value today is 30403.79, the lowest value today is 30080.16, K-line (such as intraday, 5-day, daily K, weekly K, monthly K, etc.) and resource profile, etc. The resource profile may include the resource market value ranking (i.e., the first), the first issue time (i.e., 8:00 am on July 13, 2010), the resource risk (i.e., medium risk), etc.
[0121] As Figure 8 shown, the resource transaction statistics data page 80b may further include a resource information control. When the business object triggers the resource information control, the terminal device can respond to the trigger operation for the resource information control and display the resource information page 80c of digital resource Y005. Since the number of valid resource information of digital resource Y005 can be one or more, an effective resource information list can be displayed on the resource information page 80c. The effective resource information list includes multiple pieces of effective resource information, which is convenient for the business object to view the effective resource information currently needed. When the business object needs to view the first piece of effective resource information in the effective resource information list, the terminal device can display the information details page of the resource information of digital resource Y005, that is, display the information details page 80d of the first piece of effective resource information. As Figure 8 shown, the information details page 80d shows the specific content of the first piece of effective resource information.
[0122] In the embodiments of the present application, the resource preference information of a business object is determined through a resource customization smart contract in a blockchain network, and then the customized digital resource data of the business object is determined according to the resource preference information. In this way, it is possible to achieve personalized customization of the required or interested customized digital resource data for different business objects, avoid the situation where the resource data obtained by the business object is not the data required or interested by the business object, and improve the accuracy of resource data push. At the same time, since the customized resource data is generated based on the digital resource data of N trading institutions, compared with the digital resource data within a single trading institution, the digital resource data of N trading institutions is more comprehensive and diverse, and thus the accuracy and uniformity of the customized digital resource data can be ensured.
[0123] Further, please refer to Figure 9 , Figure 9 which is a schematic structural diagram of a blockchain-based data processing device 1 provided by the embodiments of the present application. The blockchain-based data processing device 1 can be a computer program (including program code) running in a computer device. For example, the blockchain-based data processing device 1 is an application software; the blockchain-based data processing device 1 can be used to execute the corresponding steps in the method provided by the embodiments of the present application. As Figure 9 shown, the blockchain-based data processing device 1 can be any blockchain node in the blockchain network. The blockchain-based data processing device 1 can include: a first acquisition module 11, a verification module 12, a determination module 13, a query module 14, a second acquisition module 15, a third acquisition module 16, a fourth acquisition module 17, a generation module 18, and a storage module 19.
[0124] The first acquisition module 11 is used to acquire a data acquisition request for the resource data of a business object for digital resources; the data acquisition request includes the object attribute information of the business object.
[0125] The verification module 12 is used to verify the legality of the data acquisition request according to the object attribute information to obtain a legality verification result.
[0126] The determination module 13 is used to, if the legality verification result indicates that the data acquisition request is legal, determine the resource preference information of the business object for digital resources through a resource customization smart contract in the blockchain network according to the historical business log data of the business object.
[0127] The query module 14 is used to query the customized digital resource data associated with the business object from the resource database of the blockchain network according to the resource preference information, and send the customized digital resource data to the business object; the customized digital resource data is generated based on the digital resource data of N trading institutions, and N is a positive integer greater than 1.
[0128] Among them, the historical service log data includes resource customization log data of business objects for digital resources within a historical time period;
[0129] The determination module 13 includes:
[0130] The first acquisition unit 1301 is configured to, if the legality verification result indicates that the data acquisition request is legal, acquire the resource customization log data of the business object from the resource customization smart contract in the blockchain network;
[0131] The parsing unit 1302 is configured to parse the resource attribute information configured by the business object from the resource customization log data;
[0132] The first determination unit 1303 is configured to determine the resource attribute information configured by the business object as the resource preference information of the business object for digital resources.
[0133] Among them, the determination module 13 further includes
[0134] The second acquisition unit 1304 is configured to acquire the resource data customization request of the business object for digital resources through the resource customization smart contract;
[0135] The first signature verification unit 1305 is configured to perform signature verification on the resource data customization request according to the public key of the business object to obtain a request signature verification result;
[0136] The second determination unit 1306 is configured to, if the request signature verification result indicates that the resource data customization request is successfully verified, determine the resource attribute information carried in the resource data customization request as the resource attribute information configured by the business object, and store the resource attribute information configured by the business object.
[0137] Among them, the query module 14 includes:
[0138] The third determination unit 1401 is configured to determine, from the candidate digital resource set, the digital resources whose resource attribute information matches the resource attribute information configured by the business object as the customized digital resources;
[0139] The query unit 1402 is configured to query the resource data of the customized digital resources from the resource database in the blockchain network to obtain candidate digital resource data;
[0140] The fourth determination unit 1403 is configured to obtain the data acquisition permission type of the business object for digital resources, and determine, according to the data acquisition permission type, the digital resource data that the business object has the acquisition permission for from the candidate digital resource data;
[0141] A fifth determination unit 1404, configured to determine digital resource data that a service object has access rights to as customized digital resource data associated with the service object.
[0142] Among them, the historical service log data includes resource transaction log data of the service object regarding digital resources within a historical time period;
[0143] The determination module 13 further includes:
[0144] A third acquisition unit 1307, configured to, if the legality verification result indicates that the data acquisition request is legal, call a resource customization smart contract in the blockchain network to acquire the resource transaction log data of the service object;
[0145] A sixth determination unit 1308, configured to determine the traded digital resources of the service object for resource transactions within a historical time period according to the resource transaction log data;
[0146] A seventh determination unit 1309, configured to determine the resource preference information of the service object regarding digital resources according to the traded digital resources.
[0147] Among them, the seventh determination unit 1309 is specifically configured to:
[0148] Acquire the interaction data of the service object for the traded digital resources, and determine the resource preference degree of the service object for the traded digital resources according to the interaction data;
[0149] According to the resource preference degree of the service object for the traded digital resources, determine the traded digital resources with a resource preference degree greater than or equal to the preference degree threshold from the traded digital resources as the preferred digital resources;
[0150] Determine the resource attribute information of the preferred digital resources as the resource preference information of the service object regarding digital resources.
[0151] Among them, the N trading institutions include off-chain trading institutions, on-chain trading institutions, and information platforms; the data device based on the blockchain further includes:
[0152] A second acquisition module 15, configured to acquire off-chain resource transaction data regarding digital resources from off-chain trading institutions;
[0153] A third acquisition module 16, configured to acquire on-chain resource transaction data regarding digital resources from the blockchain associated with on-chain trading institutions;
[0154] A fourth acquisition module 17, configured to acquire resource information regarding digital resources from information platforms;
[0155] A generation module 18, configured to generate resource data corresponding to M digital resources according to off-chain resource transaction data, on-chain resource transaction data, and resource information; the resource data corresponding to the M digital resources includes customized digital resource data; M is a positive integer;
[0156] A storage module 19, configured to store the resource data corresponding to the M digital resources into a resource database of the blockchain network.
[0157] Among them, the M digital resources include digital resource M i ; i is a positive integer less than or equal to M;
[0158] The generation module 18 includes:
[0159] A fourth acquisition unit 1801, configured to acquire the resource transaction data corresponding to digital resource M from the off-chain resource transaction data and the on-chain resource transaction data; i The corresponding resource transaction data;
[0160] A data analysis unit 1802, configured to perform denoising processing on the resource transaction data corresponding to digital resource M to obtain processed resource transaction data, and perform data analysis on the processed resource transaction data to obtain the resource transaction statistical information corresponding to digital resource M; i The corresponding resource transaction statistical information; i A screening unit 1803, configured to acquire the corresponding information of digital resource M from the resource information, and screen out the valid information from the corresponding information of digital resource M as the valid information corresponding to digital resource M;
[0161] An eighth determination unit 1804, configured to determine the valid information and the resource transaction statistical information as the resource data corresponding to digital resource M; i The corresponding information; i The corresponding valid information; i The corresponding valid information;
[0162] An eighth determination unit 1804, configured to determine the valid information and the resource transaction statistical information as the resource data corresponding to digital resource M; i The corresponding resource data.
[0163] Among them, the verification module 12 includes:
[0164] A second signature verification unit 1201, configured to acquire the object public key of the service object from the blockchain network, and verify the signature of the data acquisition request according to the object public key;
[0165] A verification unit 1202, configured to, when the signature verification of the data acquisition request passes, verify the data acquisition permission of the service object regarding the digital resource according to the object attribute information of the service object to obtain a permission verification result;
[0166] A generation unit 1203, configured to determine that a data acquisition request is legal if an authority verification result indicates that a service object has the data acquisition authority for digital resources, and generate a legality verification result for indicating that the data acquisition request is legal.
[0167] Among them, the object attribute information of the service object includes an object identifier;
[0168] The verification unit 1202 is specifically configured to:
[0169] When the signature verification of the data acquisition request passes, obtain the object identifier of the service object, and respectively match the identity with Q authority identifiers included in the authority identifier table; the authority identifier table includes the object identifiers of the authority objects having the data acquisition authority for digital resources; Q is a positive integer;
[0170] If there is an authority identifier in the authority identifier table whose identity matching degree with the object identifier of the service object is greater than or equal to the matching degree threshold, it is determined that the service object has the data acquisition authority for digital resources;
[0171] Generate an authority verification result for indicating that the service object has the data acquisition authority for digital resources.
[0172] In the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit including the functions of the module or unit. According to an embodiment of the present application, Figure 9 Each module in the blockchain-based data processing device 1 shown can be separately or entirely combined into one or several units to form, or a certain (some) unit can be further split into at least two sub-units with smaller functions, and the same operations can be achieved without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In practical applications, the function of one module can also be implemented by at least two units, or the functions of at least two modules can be implemented by one unit. In other embodiments of the present application, the blockchain-based data processing device 1 can also include other units. In practical applications, these functions can also be assisted by other units and can be achieved by the cooperation of at least two units.
[0173] According to an embodiment of the present application, it is possible to run a computer program (including program code) capable of executing the respective steps involved in the corresponding method shown in Figure 4 on a general-purpose computer device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), etc., to construct a blockchain-based data processing device 1 as shown in Figure 9 and to implement the blockchain-based data processing method of the embodiment of the present application. The above computer program can be recorded on, for example, a computer-readable recording medium, loaded into the above computer device through the computer-readable recording medium, and run therein.
[0174] In the embodiment of the present application, the resource preference information of the service object is determined through a resource customization smart contract in the blockchain network, and then the customized digital resource data of the service object is determined according to the resource preference information. In this way, it is possible to achieve personalized customization of the required or interested customized digital resource data for different service objects, avoid the situation that the resource data obtained by the service object is not the data required or interested by the service object, and improve the accuracy of resource data push. At the same time, since the customized resource data is generated based on the digital resource data of N trading institutions, compared with the digital resource data within a single trading institution, the digital resource data of N trading institutions is more comprehensive and diverse, and thus the accuracy and uniformity of the customized digital resource data can be ensured.
[0175] Further, please refer to Figure 10 , Figure 10 which is a schematic structural diagram of a blockchain-based data processing device 2 provided by an embodiment of the present application. The blockchain-based data processing device 2 can be a computer program (including program code) running in a computer device. For example, the blockchain-based data processing device 2 is an application software; the blockchain-based data processing device 2 can be used to execute the corresponding steps in the method provided by the embodiment of the present application. As shown in Figure 10 , the blockchain-based data processing device 2 can be any terminal device in the terminal device cluster. The blockchain-based data processing device 2 can include: a sending module 21 and a display module 22.
[0176] A sending module 21 is configured to send a data acquisition request of a business object for resource data of a digital resource to a blockchain node in a blockchain network; the blockchain node is configured to determine, according to the data acquisition request, resource preference information of the business object regarding the digital resource, and query, according to the resource preference information, customized digital resource data associated with the business object from a resource database of the blockchain network; the customized digital resource data is generated according to digital resource data in N trading institutions, and N is a positive integer greater than 1;
[0177] A display module 22 is configured to receive the customized digital resource data returned by the blockchain node and display the customized digital resource data.
[0178] Wherein, the customized digital resource data includes resource transaction statistical data of the customized digital resource and valid information;
[0179] The display module 22 includes:
[0180] A first display unit 2201 is configured to display a resource data page regarding the customized digital resource, display the resource transaction statistical data of the customized digital resource in the resource data page, and display a resource information control;
[0181] A second display unit 2202 is configured to, in response to a trigger operation on the resource information control, display a list of valid information of the customized digital resource in the resource data page;
[0182] A third display unit 2203 is configured to, in response to a selection operation on the valid information in the list of valid information, display an information details page of the valid information determined by the selection operation.
[0183] In an embodiment of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit including the function of the module or unit. According to an embodiment of the present application, Figure 10Each module in the blockchain-based data processing apparatus II shown can be separately or entirely combined into one or several units to form, or a certain one (or some) of the units can be further split into at least two smaller sub-units in terms of function, which can achieve the same operations without affecting the realization of the technical effects of the embodiments of this application. The above modules are divided based on logical functions. In practical applications, the function of one module can also be realized by at least two units, or the functions of at least two modules can be realized by one unit. In other embodiments of this application, the blockchain-based data processing apparatus II can also include other units. In practical applications, these functions can also be assisted by other units and can be realized by the cooperation of at least two units.
[0184] According to an embodiment of this application, it can be achieved by running a computer program (including program code) capable of executing the respective steps involved in the corresponding method shown in Figure 7 on a general computer device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM), to construct the blockchain-based data processing apparatus II shown in Figure 10 and to implement the blockchain-based data processing method of the embodiments of this application. The above computer program can be recorded on, for example, a computer-readable recording medium, loaded into the above computer device through the computer-readable recording medium, and run therein.
[0185] In the embodiments of this application, through the resource customization smart contract in the blockchain network, the resource preference information of the business object is determined, and then the customized digital resource data of the business object is determined according to the resource preference information. In this way, it can be realized to customize the required or interested customized digital resource data for different business objects, which can avoid the situation that the resource data obtained by the business object is not the data required or interested by the business object, and can improve the accuracy of the push of the resource data. At the same time, since the customized resource data is generated based on the digital resource data of N trading institutions, compared with the digital resource data within a single trading institution, the digital resource data of N trading institutions is more comprehensive and diverse, and thus the accuracy and unity of the customized digital resource data can be ensured.
[0186] Further, please refer to Figure 11 , Figure 11 which is a schematic diagram of a computer device provided by an embodiment of this application. As Figure 11 shown, the computer device 3000 can be the above-mentioned Figure 2For the terminal device or blockchain node in the corresponding embodiment, the computer device 3000 may include: at least one processor 3001, such as a CPU, at least one network interface 3004, a user interface 3003, a memory 3005, and at least one communication bus 3002. Among them, the communication bus 3002 is used to realize the connection and communication between these components. Among them, the user interface 3003 may include a display screen (Display) and a keyboard (Keyboard), and the network interface 3004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 3005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The storage 3005 may optionally also be at least one storage device located far from the aforementioned processor 3001. As Figure 11 shown, the memory 3005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.
[0187] In Figure 11 the computer device 3000 shown, the network interface 3004 is mainly used for the second node device to communicate with the target relay server and the target oracle server through the network; while the user interface 3003 is mainly used to provide an interface for users to input; and the processor 3001 may be used to call the device control application program stored in the memory 3005 to implement:
[0188] Obtain a data acquisition request for resource data of a digital resource by a service object; the data acquisition request includes object attribute information of the service object;
[0189] Verify the legality of the data acquisition request according to the object attribute information to obtain a legality verification result;
[0190] If the legality verification result indicates that the data acquisition request is legal, then through the resource customization smart contract in the blockchain network, determine the resource preference information of the service object regarding the digital resource according to the historical business log data of the service object;
[0191] According to the resource preference information, query the customized digital resource data associated with the service object from the resource database of the blockchain network, and send the customized digital resource data to the service object; the customized digital resource data is generated according to the digital resource data of N trading institutions, and N is a positive integer greater than 1.
[0192] It should be understood that the computer device 3000 described in the embodiments of the present application may also execute the foregoing Figure 7Corresponding to the description of the blockchain-based data processing method in the embodiments, the computer device 3000 described in the embodiments of the present application can also execute the foregoing Figure 9 or Figure 10 Corresponding to the description of the blockchain-based data processing device in the embodiments respectively, which will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either.
[0193] In addition, it should be pointed out here that: The embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the foregoing blockchain-based data processing device, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the foregoing Figure 4 or Figure 7 The description of the blockchain-based data processing method in the corresponding embodiments, so it 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 program instructions can be deployed to be executed on a computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected through a communication network. The multiple computing devices distributed at multiple locations and interconnected through a communication network can form a blockchain system.
[0194] On the one hand, the present application 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 can execute the foregoing Figure 4 or Figure 7 The description of the blockchain-based data processing method in the corresponding embodiments, which will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either.
[0195] It should be noted that in the practical application of the relevant data collection and processing in the present application, the informed consent or separate consent (or with a legal basis) of the personal information subject should be obtained strictly in accordance with the requirements of relevant national laws and regulations, and subsequent data use and processing behaviors should be carried out within the scope authorized by laws and regulations and the personal information subject. For example, when the present application obtains the object attribute information of the business object (such as object identifier, object name information, object account password, object voiceprint information, object facial features), etc., the informed consent or separate consent of the business object needs to be obtained.
[0196] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above various methods. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0197] The above-disclosed are only the preferred embodiments of the present application. Of course, the scope of the rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A blockchain-based data processing method, characterized in that, Including: Obtaining a data acquisition request for resource data of a digital resource by a service object; The data acquisition request includes object attribute information of the service object; According to the object attribute information, verifying the legality of the data acquisition request to obtain a legality verification result; If the legality verification result indicates that the data acquisition request is legal, then through a resource customization smart contract in the blockchain network, determining resource preference information of the service object regarding the digital resource according to historical business log data of the service object; According to the resource preference information, querying customized digital resource data associated with the service object from a resource database of the blockchain network, and sending the customized digital resource data to the service object; the customized digital resource data is generated according to digital resource data of N trading institutions, and N is a positive integer greater than 1.
2. The method according to claim 1, wherein The historical business log data includes resource customization log data of the service object for the digital resource within a historical time period; The step of if the legality verification result indicates that the data acquisition request is legal, then through a resource customization smart contract in the blockchain network, determining resource preference information of the service object regarding the digital resource according to historical business log data of the service object includes: If the legality verification result indicates that the data acquisition request is legal, then obtaining resource customization log data of the service object from a resource customization smart contract in the blockchain network; Parsing resource attribute information configured by the service object from the resource customization log data; Determining the resource attribute information configured by the service object as the resource preference information of the service object regarding the digital resource.
3. The method according to claim 2, wherein The method further includes: Obtaining a resource data customization request of the service object for the digital resource through the resource customization smart contract; Verifying the signature of the resource data customization request according to the object public key of the service object to obtain a request signature verification result; If the request signature verification result indicates that the resource data customization request is successfully verified, then determining the resource attribute information carried in the resource data customization request as the resource attribute information configured by the service object, and storing the resource attribute information configured by the service object.
4. The method according to claim 2, wherein The step of querying customized digital resource data associated with the service object from a resource database of the blockchain network according to the resource preference information includes: Determining a digital resource whose resource attribute information matches the resource attribute information configured by the service object from a candidate digital resource set as a customized digital resource; Querying resource data of the customized digital resource from a resource database of the blockchain network to obtain candidate digital resource data; Obtaining a data acquisition permission type of the service object for the digital resource, and according to the data acquisition permission type, determining digital resource data that the service object has the acquisition permission for from the candidate digital resource data; Determining the digital resource data that the service object has the acquisition permission for as the customized digital resource data associated with the service object.
5. The method according to claim 1, characterized in that, The historical service log data includes resource transaction log data of the service object regarding digital resources within a historical time period; If the legality verification result indicates that the data acquisition request is legal, then through a resource customization smart contract in the blockchain network, based on the historical service log data of the service object, determine the resource preference information of the service object regarding digital resources, including: If the legality verification result indicates that the data acquisition request is legal, then call the resource customization smart contract in the blockchain network to obtain the resource transaction log data of the service object; Based on the resource transaction log data, determine the traded digital resources for which the service object has conducted resource transactions within the historical time period; Based on the traded digital resources, determine the resource preference information of the service object regarding digital resources.
6. The method according to claim 5, wherein The determining the resource preference information of the service object regarding digital resources based on the traded digital resources includes: Obtain the interaction data of the service object for the traded digital resources, and based on the interaction data, determine the resource preference degree of the service object for the traded digital resources; Based on the resource preference degree of the service object for the traded digital resources, determine, from the traded digital resources, the traded digital resources for which the resource preference degree is greater than or equal to the preference degree threshold as the preferred digital resources; Determine the resource attribute information of the preferred digital resources as the resource preference information of the service object regarding digital resources.
7. The method according to claim 1, characterized in that The N trading institutions include off-chain trading institutions, on-chain trading institutions, and information platforms; the method further includes: Obtain off-chain resource transaction data regarding digital resources from the off-chain trading institutions; Obtain on-chain resource transaction data regarding digital resources from the blockchain associated with the on-chain trading institutions; Obtain resource information regarding digital resources from the information platforms; Based on the off-chain resource transaction data, the on-chain resource transaction data, and the resource information, generate resource data corresponding to M types of digital resources respectively; the resource data corresponding to the M types of digital resources respectively includes the customized digital resource data; M is a positive integer; Store the resource data corresponding to the M types of digital resources respectively into the resource database of the blockchain network.
8. The method according to claim 7, characterized in that, The M digital resources include digital resource M i ; i is a positive integer less than or equal to M; The generating the resource data corresponding to M types of digital resources respectively based on the off-chain resource transaction data, the on-chain resource transaction data, and the resource information includes: Obtain the resource transaction data corresponding to the digital resource M from the off-chain resource transaction data and the on-chain resource transaction data i ; For the digital resource M i Perform denoising processing on the corresponding resource transaction data to obtain the processed resource transaction data, and perform data analysis on the processed resource transaction data to obtain the resource transaction statistical information corresponding to the digital resource M i ; Obtain the digital resource M from the resource information. i For the corresponding information, from the digital resource M i screen out the valid information from the corresponding information as the valid information corresponding to the digital resource M i corresponding to the digital resource M; Determine the effective information and the resource transaction statistical information as the digital resource M i The corresponding resource data.
9. The method according to claim 1, wherein Verifying the legality of the data acquisition request based on the object attribute information to obtain a legality verification result, including: Obtain the object public key of the service object from the blockchain network, and verify the signature of the data acquisition request based on the object public key; When the signature verification of the data acquisition request passes, verify the data acquisition permission of the service object regarding digital resources based on the object attribute information of the service object to obtain a permission verification result; If the permission verification result indicates that the business object has the data acquisition permission for the digital resource, determine that the data acquisition request is legal, and generate a legality verification result for indicating that the data acquisition request is legal.
10. The method according to claim 9, wherein The object attribute information of the business object includes an object identifier. When the signature verification of the data acquisition request passes, according to the object attribute information of the business object, verify the data acquisition permission of the business object for the digital resource to obtain a permission verification result, including: When the signature verification of the data acquisition request passes, obtain the object identifier of the business object, and respectively obtain the identification matching degrees between the object identifier and Q permission identifiers included in the permission identifier table; the permission identifier table includes the object identifiers of the permission objects having the data acquisition permission for the digital resource; Q is a positive integer. If there is a permission identifier in the permission identifier table whose identification matching degree with the object identifier of the business object is greater than or equal to the matching degree threshold, determine that the business object has the data acquisition permission for the digital resource. Generate a permission verification result for indicating that the business object has the data acquisition permission for the digital resource.
11. A data processing method based on blockchain, characterized in that, Including: Send the data acquisition request of the business object for the resource data of the digital resource to the blockchain node in the blockchain network. The blockchain node is used to determine the resource preference information of the business object for the digital resource according to the data acquisition request, and query the customized digital resource data associated with the business object from the resource database of the blockchain network according to the resource preference information. The customized digital resource data is generated according to the digital resource data in N trading institutions, and N is a positive integer greater than 1. Receive the customized digital resource data returned by the blockchain node, and display the customized digital resource data.
12. The method according to claim 11, wherein The customized digital resource data includes the resource transaction statistical data and valid information of the customized digital resource. The displaying the customized digital resource data includes: Display a resource data page for the customized digital resource, display the resource transaction statistical data of the customized digital resource on the resource data page, and display a resource information control. In response to a trigger operation on the resource information control, display a list of valid information of the customized digital resource on the resource data page. In response to a selection operation on the valid information in the list of valid information, display an information details page of the valid information determined by the selection operation.
13. A data processing device based on blockchain, characterized in that, Including: A first acquisition module for acquiring a data acquisition request of a business object for the resource data of a digital resource. The data acquisition request includes the object attribute information of the business object. A verification module for verifying the legality of the data acquisition request according to the object attribute information to obtain a legality verification result. A determination module, configured to, if the legality verification result indicates that the data acquisition request is legal, determine, via a resource customization smart contract in a blockchain network, resource preference information of the business object regarding digital resources according to historical business log data of the business object; A query module, configured to query, according to the resource preference information, customized digital resource data associated with the business object from a resource database of the blockchain network, and send the customized digital resource data to the business object; the customized digital resource data is generated according to digital resource data of N trading institutions, and N is a positive integer greater than 1.
14. A computer device, characterized in that, Comprising: A processor and a memory; The processor is connected to the memory, wherein the memory is used for storing a computer program, and the processor is used for calling the computer program to enable the computer device to execute the method according to any one of claims 1-12.
15. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and the computer program is adapted to be loaded and executed by a processor to enable a computer device having the processor to execute the method according to any one of claims 1-12.
16. A computer program product or a computer program, characterized in that, The computer program product or the computer program comprises computer instructions, the computer instructions are stored in the computer-readable storage medium, and the computer instructions are adapted to be read and executed by a processor to enable a computer device having the processor to execute the method according to any one of claims 1-12.