A method, apparatus, system and device for generating a digital collectible

By deploying digital collectible contracts and data acquisition contracts on the blockchain, and utilizing distributed data acquisition nodes to automatically collect off-chain data and generate digital collectibles, the high operation and maintenance costs of manually acquiring off-chain data in existing technologies are solved, achieving efficient and secure digital collectible generation.

CN115130120BActive Publication Date: 2026-03-20SHANGHAI STAR MAP BIT INFORMATION TECH SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-06
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

In existing technologies, generating digital collectibles requires manual intervention or the deployment of scripts to periodically obtain off-chain data and trigger blockchain smart contracts, which cannot achieve automated generation, resulting in high operation and maintenance costs and low efficiency.

Method used

By deploying digital collectible contracts and data acquisition contracts on the blockchain, data acquisition requests are obtained and recorded in the event log. Distributed data acquisition nodes are used to automatically collect off-chain data, triggering the contract to automatically generate digital collectibles. Encryption and signature mechanisms are used to ensure data transmission security.

Benefits of technology

It enables the automated generation of digital collection contracts, reduces operation and maintenance costs, improves the success rate and security of data collection, and prevents single points of failure and data tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115130120B_ABST
    Figure CN115130120B_ABST
Patent Text Reader

Abstract

The application provides a technical solution for generating a digital collectible. The method comprises: a digital collectible contract module obtaining a collection request for data used for generating a digital collectible; a data collection contract module sending the collection request to each distributed data collection node; the distributed data collection node automatically generating a data collection task based on the collection request and performing the task, collecting data from a target data source, and sending the data back; a data collection contract aggregating a data set composed of data sent back by each distributed data collection node to obtain aggregated data, and the digital collectible contract module generating a digital collectible based on the aggregated data. The application actively collects data from multiple data sources through the distributed data collection node, aggregates the data through the data collection contract to obtain off-chain data actually used, triggers the digital collectible contract to automatically generate a digital collectible, reduces operation and maintenance costs, and prevents the failure of a single data collection node from causing the inability to obtain off-chain data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of blockchains, and in particular to a technology for generating digital collectibles. BACKGROUND

[0002] A digital collectible refers to a unique digital certificate corresponding to a work or artwork generated using blockchain technology. On the basis of protecting the digital copyright of specific works or artworks, it realizes real and reliable digital issuance, purchase, collection and use. Digital collectibles come in various forms, including but not limited to digital paintings, pictures, music, videos, 3D models, electronic tickets, digital souvenirs, etc. Each digital collectible maps to a unique sequence on the blockchain, is tamper-proof, cannot be divided, and cannot be replaced by another, and is a kind of NFT (Non-Fungible Token) on the blockchain.

[0003] The generation (or creation) of existing digital collectibles needs to be executed by a smart contract based on an NFT protocol on the blockchain. Due to the limitations of the consensus mechanism of the blockchain, the requestor for generating digital collectibles usually communicates with the nodes of the blockchain based on HTTP (HyperText Transfer Protocol) or RPC (Remote Procedure Call Protocol), provides relevant parameter information and a specific digital collectible contract, and initiates a minting request. Therefore, the digital collectible contract on the blockchain cannot directly and automatically obtain off-chain data related to the generated digital collectible, such as the off-chain sold-out number of the corresponding digital collectible, or the picture content features, address, and naming of the off-chain newly synthesized picture related to the generated digital collectible on the chain. The off-chain data needs to be obtained through manual methods or by deploying scripts for periodic execution. In addition, the execution of the smart contract on the existing blockchain needs to be triggered manually by a development and operation team or triggered by scripts deployed on a centralized server for periodic execution. The smart contract cannot be automatically executed at the first time when the off-chain data is obtained to complete the generation of the digital collectible. SUMMARY

[0004] The purpose of the present application is to provide a technical solution for generating digital collectibles to at least partially solve the technical problem of the prior art that requires manual or periodic execution of scripts to obtain off-chain data and trigger a blockchain smart contract to generate digital collectibles.

[0005] According to an aspect of the present application, a method for generating a digital collectible on a blockchain side is provided, wherein the method comprises:

[0006] acquiring a collection request for data used for generating a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters, and digital collectible attribute information;

[0007] recording the collection request into an event log of a blockchain, so that each distributed data collection node acquires the collection request from the event log;

[0008] receiving data corresponding to the digital collectible attribute information sent back by each distributed data collection node;

[0009] aggregating a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node to obtain aggregated data;

[0010] generating a digital collectible corresponding to the digital collectible attribute information based on the aggregated data.

[0011] Optionally, wherein after the acquiring of the collection request for data used for generating a digital collectible, the method further comprises:

[0012] encrypting the collection request to obtain encrypted data;

[0013] wherein the recording of the collection request into an event log of a blockchain, so that each distributed data collection node acquires the collection request from the event log comprises:

[0014] recording the encrypted data into an event log of a blockchain, so that each distributed data collection node acquires the encrypted data from the event log.

[0015] Optionally, if the data sent back by each distributed data collection node in response to the collection request is signature data, the aggregating of a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node to obtain aggregated data comprises:

[0016] verifying the signature data sent back by each distributed data collection node, and if the verification is passed, obtaining data after the signature is removed;

[0017] aggregating a set composed of the data after the signature is removed to obtain aggregated data.

[0018] According to another aspect of the present application, a method for generating a digital collectible at a distributed data collection node end is provided, wherein the method comprises:

[0019] acquiring a collection request for data used for generating a digital collectible from an event log of a blockchain, wherein the collection request at least includes target data source information, data collection time parameters, and digital collectible attribute information;

[0020] According to the data collection time parameter, a preset task generation program is automatically executed to generate a data collection task;

[0021] The data collection task is executed to collect data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information;

[0022] The data is sent to a blockchain to enable the blockchain to generate a digital collectible corresponding to the digital collectible attribute information based on the data.

[0023] Optionally, if the collection request is encrypted, before the data collection task is generated according to the data collection time parameter, the method further comprises:

[0024] The collection request is decrypted to obtain the target data source information, the data collection time parameter, and the digital collectible attribute information.

[0025] Optionally, before the data is sent to the blockchain, the method further comprises:

[0026] The data is signed to obtain signed data.

[0027] The data is sent to the blockchain.

[0028] The signed data is sent to the blockchain.

[0029] According to another aspect of the present application, a device for generating a digital collectible on a blockchain side is provided, characterized in that the device comprises:

[0030] A digital collectible contract module is configured to obtain a collection request for data used to generate a digital collectible, wherein the collection request includes at least target data source information, a data collection time parameter, and digital collectible attribute information, and generate a digital collectible corresponding to the digital collectible attribute information based on aggregated data.

[0031] A data collection contract module is configured to record the collection request in an event log of a blockchain, so that each distributed data collection node obtains the collection request from the event log, receives data corresponding to the digital collectible attribute information returned by each distributed data collection node, aggregates a set composed of the data corresponding to the digital collectible attribute information returned by each distributed data collection node to obtain the aggregated data.

[0032] Optionally, if the data returned by each distributed data collection node is signed data, the data collection contract module is further configured to:

[0033] verifying the signature data sent back by each distributed data collection node, and if the verification is passed, obtaining the data after removing the signature;

[0034] aggregating the set composed of the data after removing the signature to obtain aggregated data.

[0035] According to still another aspect of the present application, a kind of distributed data collection node end for generating digital collectible device is provided, characterized in that, the device includes:

[0036] Interaction module, for obtaining the collection request of data for generating digital collectible from the event log of blockchain, wherein the collection request at least includes target data source information, data collection time parameter and digital collectible attribute information, and the data collected by data collection module is sent to blockchain, to make the blockchain generate the digital collectible corresponding to the digital collectible attribute information based on the data;

[0037] Task module, for automatically executing preset task generation program according to the data collection time parameter, and generating data collection task;

[0038] Data collection module, for executing the data collection task, and collecting the data corresponding to the digital collectible attribute information from the target data source corresponding to the target data source information.

[0039] Optionally, the kind of distributed data collection node end for generating digital collectible device further includes:

[0040] Signature module, for signing the data collected by the data collection module, and obtaining signature data;

[0041] Wherein, the interaction module is used to send the signature data to blockchain, to make the blockchain generate the digital collectible corresponding to the digital collectible attribute information based on signature verification passed signature data.

[0042] According to still another aspect of the present application, a kind of for generating digital collectible system is provided, characterized in that, the system includes:

[0043] The blockchain is used to obtain a collection request for data used to generate a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters and digital collectible attribute information, and the collection request is recorded in an event log of the blockchain, and data corresponding to the digital collectible attribute information sent back by each distributed data collection node is received, a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node is aggregated, aggregated data is obtained, and a digital collectible corresponding to the digital collectible attribute information is generated based on the aggregated data;

[0044] The distributed data collection node is used to obtain the collection request from the event log of the blockchain, automatically execute a preset task generation program according to the data collection time parameters, generate a data collection task and execute it, collect data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information, and send the data to the blockchain.

[0045] Compared with the prior art, the present application provides a technical solution for generating a digital collectible. The method comprises: a digital collectible contract module of a blockchain obtaining a collection request for data used to generate a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters and digital collectible attribute information; a data collection contract module of the blockchain recording the collection request in an event log of the blockchain, so that each distributed data collection node obtains the collection request from the event log; the distributed data collection node obtains the collection request from the event log, automatically executes a preset task generation program according to the data collection time parameters, generates a data collection task, executes the data collection task, collects data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information, and sends the data to the data collection contract module; the data collection contract receives data corresponding to the digital collectible attribute information sent back by each distributed data collection node, aggregates a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node, obtains aggregated data, and the digital collectible contract module generates a digital collectible corresponding to the digital collectible attribute information based on the aggregated data. Optionally, the distributed data collection node signs the data collected from the target data source corresponding to the target data source information and corresponding to the digital collectible attribute information before sending the data to the blockchain, obtains signed data, and then sends the signed data to the blockchain; after receiving the signed data, the data collection contract verifies the signed data sent back by each distributed data collection node, and if the verification is passed, obtains data without the signature, aggregates a set composed of the data without the signature, and obtains aggregated data.

[0046] The technical solution for generating a digital collectible provided by the present application can bring the following technical effects:

[0047] By deploying the data collection contract of the blockchain and the distributed data collection node off-chain, the chain data can be automatically collected according to the data collection request initiated by the generation of the digital collectible based on the digital collectible contract of the blockchain, and the digital collectible contract is automatically triggered to generate the digital collectible, without the need for manual collection of chain data and triggering of the digital collectible contract, thereby realizing automatic generation of the digital collectible based on the digital collectible contract, reducing the operation and maintenance cost; and the distributed data collection node collects chain data of multiple data sources, and the aggregation result is used as the actual chain data, which can prevent the failure of a single data collection node from causing the chain data to be inaccessible, and can also prevent a single data source from tampering with the data. The collected data can also be sent to the blockchain after being signed by the distributed data collection node, so as to ensure that the data is sent by the data collection node with a determined identity, thereby improving the security and privacy. BRIEF DESCRIPTION OF DRAWINGS

[0048] Other features, objects and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments made with reference to the accompanying drawings:

[0049] Figure 1 A flow chart of a method for generating a digital collectible on the blockchain side according to an aspect of the present application is shown;

[0050] Figure 2 A flow chart of a method for generating a digital collectible on the distributed data collection node side according to another aspect of the present application is shown;

[0051] Figure 3 A schematic diagram of an apparatus for generating a digital collectible on the blockchain side according to another aspect of the present application is shown;

[0052] Figure 4 A schematic diagram of an apparatus for generating a digital collectible on the distributed data collection node side according to another aspect of the present application is shown;

[0053] Figure 5 A schematic diagram of a system for generating a digital collectible according to another aspect of the present application is shown;

[0054] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0055] The present application will be described in further detail below with reference to the accompanying drawings.

[0056] In a typical configuration of various embodiments of this application, the method execution entity, each trusted party of the system, and / or each module of the device may include one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0057] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0058] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.

[0059] This application involves the generation of digital collectibles on the blockchain. In practical applications, when there is a need to generate digital collectibles on the blockchain, a collection request is generated through digital collectible contracts and data acquisition contracts deployed in the blockchain nodes to obtain the off-chain data required to generate the digital collectible. The collection request is recorded in the blockchain's event log. Several distributed off-chain data acquisition nodes that can communicate with the nodes retrieve the collection request from the blockchain's event log, generate a data acquisition task, and execute the data acquisition task. After collecting data of different data types from various target data sources, the data is aggregated into the required off-chain data. The digital collectible contract then generates the corresponding digital collectible based on this off-chain data.

[0060] The blockchain involved in the present application is a chain composed of one block after another, wherein each block stores certain information and is connected in the order of time of its generation. This chain is stored in each node that generates the block, and as long as one node in the entire blockchain system can work, the entire blockchain is secure. A node is a computer device that deploys and runs program code related to the blockchain, and provides storage space and computing power support for the entire blockchain system. If any information in the blockchain is to be modified, the consent of more than half of the nodes must be obtained and the corresponding information in all nodes must be modified synchronously. Since different nodes are usually in the hands of different subjects, it is extremely difficult to illegally tamper with information in the blockchain. Compared with traditional networks, the blockchain has two core features: data is difficult to tamper with and is decentralized, so the information recorded in the blockchain is more authentic and reliable, and can help solve the problem of mutual distrust among people. The blockchain involved in the present application can be a blockchain that adopts the EVM (Ethereum Virtual Machine) mechanism.

[0061] The digital collectible contract and the data collection contract involved in the present application are smart contracts deployed in nodes to realize different functions. The smart contract is a program code written based on certain specification standards and deployed on the blockchain. Once an event triggers the execution clause in the smart contract, the smart contract is automatically executed. The digital collectible contract involved in the present application can be a program code written based on the NFT protocol standard such as the ERC721 standard.

[0062] The distributed data collection node involved in the present application is a device deployed on any computer device that can communicate with the blockchain node. The computer device can be a blockchain node or other computer devices, which are not limited here.

[0063] Among them, the computer device involved in the present application includes but is not limited to a personal computer, a notebook computer, an industrial computer, a server, a network host, a single network server or a network server cluster. Here, the computer device is only an example, and other existing or future devices and / or resource platforms suitable for the present application should also be included in the protection scope of the present application, which are hereby included by reference.

[0064] In order to further illustrate the technical means adopted by the present application and the effects achieved, the technical solutions of the present application will be described clearly and completely below in combination with the drawings and embodiments.

[0065] Figure 1 A method flowchart for generating a digital collectible by a blockchain end according to an aspect of the present application is shown, wherein the method of one embodiment includes:

[0066] S101 acquire a collection request for data used to generate a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters, and digital collectible attribute information;

[0067] S102 record the collection request in an event log of a blockchain, so that each distributed data collection node acquires the collection request from the event log;

[0068] S103 receive data corresponding to the digital collectible attribute information sent back by each distributed data collection node;

[0069] S104 aggregate a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node, to obtain aggregated data;

[0070] S105 generate a digital collectible corresponding to the digital collectible attribute information based on the aggregated data.

[0071] This embodiment is a related technical solution of the blockchain end in the method for generating a digital collectible involved in the present application.

[0072] In this embodiment, in step S101, a user acquires a collection request for data used to generate a digital collectible through a digital collectible contract deployed in a node of a blockchain, wherein the collection request at least includes target data source information, data collection time parameters, and digital collectible attribute information. For example, the target data source information can be an address where data required for generating a digital collectible is located, and multiple target data source information can be included to avoid tampering of the data source data. The data collection time parameters can be a time point for executing a data collection task, or a timing period or time range for periodically executing a data collection task. The digital collectible attribute information can include metadata of a work or artwork corresponding to a digital collectible, including but not limited to: a storage address, characteristics, name, and characteristic code or direct code of a work (such as a digital painting, picture, music, video, 3D model, electronic ticket, digital souvenir, etc.) of the digital collectible, wherein the digital collectible attribute information can directly indicate the content of the digital collectible, and is recorded in the digital collectible contract on the chain in the form of a digital collectible. The collection request can further include initiator information, version number, callback address, and other information indicating relevant identity information and specific request content.

[0073] To ensure that the digital collectible contract can receive data to generate digital collectibles, and to avoid the problem of being unable to obtain data due to single point failure, in addition to including multiple target data source information in the collection request, a plurality of distributed data collection nodes can also be deployed to obtain the collection request respectively, so as to ensure the success rate of data collection. According to the event triggering mechanism of the blockchain, when the digital collectible contract obtains the collection request, it will trigger a blockchain event. In this embodiment, in step S102, the data collection contract deployed in the node of the blockchain records the collection request as a blockchain event in the event log of the blockchain, so that each distributed data collection node obtains the collection request by monitoring the event log of the blockchain.

[0074] When each distributed data collection node receives the collection request, it will generate a data collection task based on the collection request and execute the data collection task to collect data corresponding to the digital collectible attribute information from the target data source. Since the type of data collected from the data source may not be directly usable for the digital collectible contract to generate digital collectibles, it needs to be converted to a data type that can be used by the digital collectible contract and / or processed for abnormal values, and then the collected data is sent to the blockchain. If the collection request includes information of several different target data sources, the data collected from different target data sources is converted to a data type that can be used by the digital collectible contract, and then sent to the blockchain. In this embodiment, in step S103, the data corresponding to the collection request returned by each distributed data collection node is received through the data collection contract.

[0075] In this embodiment, in step S104, the data collection contract aggregates the data set composed of the data corresponding to the digital collectible attribute information returned by each distributed data collection node to obtain aggregated data.

[0076] In this embodiment, in step S104, the data collection contract aggregates the data set composed of the data corresponding to the digital collectible attribute information returned by each distributed data collection node to obtain aggregated data.

[0077] In this embodiment, in step S105, the digital collectible contract generates a digital collectible corresponding to the digital collectible attribute information based on the aggregated data.

[0078] In an optional embodiment, in order to improve the security in the transmission process of the collection request, in step S101, after the user initiates the collection request for the data required for generating the digital collectible through the digital collectible contract deployed in the node of the blockchain, the collection request is encrypted, for example, using the public key in the public-private key pair generated by the asymmetric encryption algorithm RSA to obtain encrypted data. In step S102, the data collection contract deployed in the node of the blockchain records the encrypted data as a blockchain event in the event log of the blockchain, so that each distributed data collection node obtains the encrypted data from the event log. Accordingly, when each distributed data collection node receives the encrypted data, it first decrypts the encrypted data using the corresponding private key obtained through the secure channel, for example, if the public key in the public-private key pair generated by the asymmetric encryption algorithm RSA is used for encryption, the corresponding private key obtained through the secure channel is used to decrypt the encrypted data, and the collection request is obtained. Based on the collection request, a data collection task is generated and executed, and the data corresponding to the digital collectible attribute information is collected from the target data source. Since the type of data collected from the data source may not be directly available for the digital collectible contract to generate a digital collectible, data type format conversion and / or outlier processing are required to adapt the collected data to a data type available for the digital collectible contract, and then the data is sent to the blockchain. If the collection request contains information of several different target data sources, the data collected from different target data sources is converted to a data type available for the digital collectible contract, and then sent to the blockchain. The encryption and decryption of the collection request in this application can also be implemented by other encryption algorithms, as long as the decryption key can be securely obtained by the data collection node. Here, the specific implementation of encryption and decryption is not limited, and any encryption and decryption method that can ensure that the data collection node securely obtains the decryption key, such as the application, should be included in the protection scope of the application.

[0079] In order to ensure that the data received by the blockchain is sent from a distributed data collection node with a determined identity and protect privacy, the data can be signed before being sent back to the blockchain. In an optional embodiment, if the data sent back by each distributed data collection node in response to the collection request is signed data, in step S103, the data sent back by each distributed data collection node in response to the collection request is signed data, and in step S104, the signed data sent back by each distributed data collection node is verified first. If the verification is passed, the signature is removed to obtain the data after the signature is removed, and the set composed of the data after the signature is removed is aggregated to obtain aggregated data.

[0080] Figure 2A method flowchart for generating a digital collectible by a distributed data collection node according to another aspect of the application is shown, wherein the method of one embodiment comprises:

[0081] S201 acquiring a data collection request for generating a digital collectible from an event log of a blockchain, wherein the data collection request at least includes target data source information, data collection time parameters and digital collectible attribute information;

[0082] S202 automatically executing a preset task generation program according to the data collection time parameters to generate a data collection task;

[0083] S203 executing the data collection task to collect data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information;

[0084] S204 sending the data to the blockchain to enable the blockchain to generate a digital collectible corresponding to the digital collectible attribute information based on the data.

[0085] This embodiment is a related technical solution of the distributed data collection node end of the method for generating a digital collectible according to the application.

[0086] Each distributed data collection node will monitor the event log of the blockchain in real time, and when a new collection request is recorded in the event log of the blockchain, in this embodiment, in step S201, each distributed data collection node acquires a data collection request for generating a digital collectible from an event log of a blockchain, wherein the data collection request at least includes target data source information, data collection time parameters and digital collectible attribute information. For example, the target data source information can be the address where the data required for generating the digital collectible is located, and in order to avoid tampering with the data source data, multiple target data source information can be included; the data collection time parameter can be a time point for executing the data collection task, or a timing period or time range for periodically executing the data collection task; the digital collectible attribute information can include the metadata of the work or artwork corresponding to the digital collectible, including but not limited to: the storage address, characteristics, name, and characteristic code or direct code of the work (such as digital paintings, pictures, music, videos, 3D models, electronic tickets, digital souvenirs, etc.) corresponding to the digital collectible, wherein the digital collectible attribute information can directly indicate the content of the digital collectible, and the digital collectible is recorded in the chain in the form of a digital collectible contract. The data collection request can also include initiator information, version number, callback address and other information indicating the identity and specific request content of the data collection request.

[0087] Continuing in this embodiment, in step S202, the distributed data acquisition node automatically executes a preset task generation program based on the data acquisition time parameter in the received acquisition request, using the target data source information and digital collection attribute information in the acquisition request as parameters for the data acquisition task, and generates a data acquisition task.

[0088] Continuing in this embodiment, in step S203, the distributed data acquisition node executes the data acquisition task generated in step S202, and acquires data corresponding to the digital collection attribute information from the target data source corresponding to the target data source information.

[0089] Continuing in this embodiment, in step S204, the distributed data acquisition node sends the acquired data corresponding to the digital collectible attribute information to the blockchain, so that the blockchain generates digital collectibles corresponding to the digital collectible attribute information based on the data.

[0090] To enhance security, the blockchain can encrypt the content of the collection request to obtain encrypted data, which is then recorded as a blockchain event in the blockchain's event log. In one optional embodiment, if the distributed data collection node obtains encrypted data from the blockchain's event log, then in step S202, the obtained encrypted data is first decrypted to obtain the target data source information, data collection time parameters, and digital collection attribute information from the decrypted collection request. Then, based on the data collection time parameters, a preset task generation program is automatically executed, using the target data source information and digital collection attribute information from the collection request as parameters for the data collection task to generate a data collection task.

[0091] To ensure that the data received by the blockchain originates from a distributed data collection node with a verified identity and to protect privacy, the data can be signed before being sent back by the distributed data collection node, and the signed data can be sent back to the blockchain. In one optional embodiment, in step S204, the data is first signed to obtain signed data, and then the signed data is sent to the blockchain so that the blockchain can generate a digital collectible corresponding to the attribute information of the digital collectible based on the signed data.

[0092] Figure 3 The diagram illustrates a blockchain-based device for generating digital collectibles according to another aspect of this application. The device is deployed in node 310 of blockchain 300. One embodiment of the device includes:

[0093] The digital collectible contract module 311 is used to obtain a collection request for data used to generate digital collectibles. The collection request includes at least target data source information, data collection time parameters, and digital collectible attribute information, and generates digital collectibles corresponding to the digital collectible attribute information based on the aggregated data.

[0094] The data collection agreement module 312 is configured to record the collection request in the event log of the blockchain, so that each distributed data collection node obtains the collection request from the event log of the blockchain, and receives the data corresponding to the digital collectible attribute information returned by each distributed data collection node. The data corresponding to the digital collectible attribute information returned by each distributed data collection node is aggregated to obtain the aggregated data.

[0095] The apparatuses and modules involved in the embodiment are used to implement the foregoing Figure 1 The method of the embodiment.

[0096] In this embodiment, the digital collectible contract module 311 deployed in the node 310 of the blockchain 300 obtains a collection request for collecting data for generating a digital collectible, wherein the collection request at least includes target data source information, a data collection time parameter, and digital collectible attribute information. According to a blockchain event triggering mechanism, the data collection agreement module 312 records the collection request as a blockchain event in the event log of the blockchain, so that each distributed data collection node 400 obtains the collection request by monitoring the event log of the blockchain, generates a data collection task according to the data collection time parameter in the collection request, collects data corresponding to the digital collectible attribute information from the target data source according to the target data source information, and adapts the collected data to convert it into data corresponding to the digital collectible attribute information that is applicable to the digital collectible contract module 311, and then returns the data to the data collection agreement module 312. The data collection agreement module 312 receives the data corresponding to the digital collectible attribute information returned by each distributed data collection node 400, aggregates a set composed of the data corresponding to the digital collectible attribute information returned by each distributed data collection node, and obtains aggregated data. The digital collectible contract module 311 generates a digital collectible corresponding to the digital collectible attribute information based on the aggregated data.

[0097] In order to improve the security in the transmission process of the collection request, in an optional embodiment, the digital collectible contract module 311 obtains a collection request for collecting data for generating a digital collectible, and encrypts the collection request by using an encryption key generated by an encryption and decryption algorithm, triggers a blockchain event, and records the encrypted collection request in the event log of the blockchain by the data collection agreement module 312. Correspondingly, after the distributed data collection node 400 obtains the encrypted collection request from the event log of the blockchain, the distributed data collection node 400 decrypts the encrypted collection request by using a decryption key generated by the same encryption and decryption algorithm, and obtains the collection request. The distributed data collection node 400 obtains the decryption key through a secure channel.

[0098] To ensure that the data received by the blockchain is from a distributed data collection node with a determined identity, and to protect privacy, the data can be signed before being sent back by the distributed data collection node 400, and the signed data is sent back to the blockchain. In an optional embodiment, if the data collection contract module 312 receives signed data from each distributed data collection node corresponding to the collection request, the signed data sent back by each distributed data collection node is first verified, and if the verification is passed, the data without the signature is obtained, and the set composed of the data without the signature is aggregated to obtain aggregated data.

[0099] Figure 4 An apparatus for generating a digital collectible according to another aspect of the present application is shown, which is deployed in a distributed data collection node 400. In one embodiment, the apparatus includes:

[0100] An interaction module 410 is configured to obtain a collection request for data used to generate a digital collectible from an event log of a blockchain, wherein the collection request includes at least target data source information, a data collection time parameter, and digital collectible attribute information, and send data collected by a data collection module to the blockchain, so that the blockchain generates a digital collectible corresponding to the digital collectible attribute information based on the data;

[0101] A task module 420 is configured to automatically execute a preset task generation program according to the data collection time parameter to generate a data collection task.

[0102] A data collection module 430 is configured to execute the data collection task to collect data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information.

[0103] The apparatus and modules involved in this embodiment are used to implement Figure 2 the method of the illustrated embodiment.

[0104] In this embodiment, the interaction module 410 of each distributed data collection node 400 monitors the event log of the blockchain in real time, and when a new collection request is found to be recorded in the event log of the blockchain, acquires the collection request from the event log, wherein the collection request at least includes target data source information, data collection time parameters and digital collectible attribute information; the task module 420 automatically executes a preset task generation program according to the data collection time parameters in the collection request, takes the target data source information and the digital collectible attribute information in the collection request as parameters of a data collection task, and generates a data collection task; the data collection module 430 executes the data collection task, collects data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information; and the interaction module 410 sends the data to the data collection contract module 312.

[0105] In order to ensure that the data received by the blockchain is sent from a distributed data collection node with a determined identity and protect privacy, the data can be signed before being sent back by the distributed data collection node, and the signed data is sent back to the blockchain. In an optional embodiment, the apparatus further includes a signature module 440 (not shown) for signing the data collected by the data collection module to obtain signed data, wherein the interaction module 410 sends the signed data to the blockchain, so that the blockchain generates a digital collectible corresponding to the digital collectible attribute information based on the signed data that passes the signature verification.

[0106] Figure 5 A system for generating a digital collectible is shown according to another aspect of the present application, wherein one embodiment of the system includes:

[0107] The blockchain 300 is used to acquire a collection request for data used to generate a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters and digital collectible attribute information, and the collection request is recorded in the event log of the blockchain, so that the distributed data collection node acquires the collection request from the event log, receives data corresponding to the digital collectible attribute information sent back by each distributed data collection node, aggregates a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node, obtains aggregated data, and generates a digital collectible corresponding to the digital collectible attribute information based on the aggregated data;

[0108] The distributed data collection node 400 is used to acquire the collection request from the event log of the blockchain, automatically execute a preset task generation program according to the data collection time parameters, generate a data collection task and execute it, collect data corresponding to the digital collectible attribute information from a target data source corresponding to the target data source information, and send the data to the blockchain.

[0109] The system involved in this embodiment is used to implement the method of each of the embodiments shown in the foregoing Figure 1 、 Figure 2 The system involved in this embodiment includes the device of each of the embodiments shown in the foregoing Figure 3 、 Figure 4

[0110] In this embodiment, the digital collectible contract module 311 deployed in the node 310 of the blockchain 300 acquires a collection request for data used to generate a digital collectible, wherein the collection request at least includes target data source information, data collection time parameters and digital collectible attribute information, triggers a blockchain event, and sends the collection request to the data collection contract module 312; the data collection contract module 312 records the collection request into an event log of the blockchain; the interaction module 410 of each distributed data collection node 400 monitors the event log of the blockchain, and acquires a new collection request when finding that the event log records the new collection request; the task module 420 of the distributed data collection node 400 automatically executes a preset task generation program according to the data collection time parameters in the collection request, takes the target data source information and the digital collectible attribute information in the collection request as parameters of a data collection task, and generates the data collection task; the data collection module 430 of the distributed data collection node 400 executes the data collection task, collects data corresponding to the digital collectible attribute information from a target data source 500 corresponding to the target data source information, and sends the data to the blockchain 300 for processing by the data collection contract module 312.

[0111] The data collection contract module 312 receives the data corresponding to the digital collectible attribute information sent back by each distributed data collection node 400, aggregates a data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node, obtains aggregated data, and then the digital collectible contract module 311 generates a digital collectible corresponding to the digital collectible attribute information based on the aggregated data.

[0112] In an optional embodiment of the present application, a computer readable medium is also provided, which stores computer readable instructions executable by a processor to implement the foregoing method.

[0113] It should be noted that each method embodiment in the present application can be implemented in software and / or a combination of software and hardware. The software program involved in the present application can be executed by a processor to implement the steps or functions of each embodiment described above. Similarly, the software program (including the related data structure) of the present application can be stored in a computer readable recording medium.

[0114] ​In addition, part of the present application can be applied as a computer program product, for example, computer program instructions, when executed by a computer, through the operation of the computer, the method and / or technical solutions according to the present application can be called or provided. The program instructions for calling the method of the present application can be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal bearing medium, and / or stored in the working memory of the computer equipment running according to the program instructions.

[0115] In still another optional embodiment of the present application, a device for generating a digital collectible is also provided, which comprises a memory storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the method and / or technical solutions of the above-mentioned embodiments and / or optional embodiments.

[0116] It is obvious for those skilled in the art that the present application is not limited to the details of the above-mentioned exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be regarded as exemplary and non-limiting in any respect, and the scope of the present application is defined by the appended claims rather than the above description, and all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The plurality of units or devices stated in the device claims can also be implemented by one unit or device through software and / or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for generating digital collectibles on a blockchain platform, characterized in that, The method includes: The digital collectibles contract deployed in the blockchain node obtains a data collection request for generating digital collectibles, wherein the data collection request includes at least target data source information, data collection time parameters, and digital collectible attribute information. The blockchain event is triggered according to the blockchain event triggering mechanism. The data collection request is recorded in the blockchain event log through the data collection contract deployed in the blockchain node, so that each distributed data collection node can obtain the collection request from the event log. Receive data sent back by each distributed data acquisition node that corresponds to the attribute information of the digital collection; The data set consisting of data sent back by each distributed data acquisition node corresponding to the attribute information of the digital collection is aggregated to obtain aggregated data; Digital collectibles are generated based on the aggregated data and their corresponding attribute information through digital collectible contracts.

2. The method according to claim 1, characterized in that, After obtaining the data acquisition request for generating digital collectibles, the method further includes: The acquisition request is encrypted to obtain encrypted data; The step of recording the collection request in the blockchain's event log, so that each distributed data collection node can obtain the collection request from the event log, includes: The encrypted data is recorded in the blockchain's event log so that each distributed data acquisition node can retrieve the encrypted data from the event log.

3. The method according to claim 1, characterized in that, If the data returned by each distributed data acquisition node in response to the acquisition request is signed data, then the aggregation of the data set composed of data returned by each distributed data acquisition node corresponding to the attribute information of the digital collection to obtain aggregated data includes: Verify the signature data sent back by each distributed data collection node. If the verification passes, obtain the data after removing the signature. Aggregate the set of data after removing the signature to obtain aggregated data.

4. A method for generating digital collectibles using distributed data acquisition nodes, characterized in that, The method includes: The data collection request for generating digital collectibles is obtained from the event log of the blockchain. The data collection request includes at least target data source information, data collection time parameters, and digital collectible attribute information. The data collection request for generating digital collectibles is obtained through a digital collectible contract deployed in the blockchain node. A blockchain event is triggered according to the blockchain event triggering mechanism. The data collection request is recorded in the event log of the blockchain through a data collection contract deployed in the blockchain node. Based on the data acquisition time parameters, the preset task generation program is automatically executed to generate data acquisition tasks; Execute the data acquisition task to collect data corresponding to the digital collection attribute information from the target data source corresponding to the target data source information; The data is sent to the blockchain so that the blockchain generates digital collectibles corresponding to the attribute information of the digital collectibles based on the data.

5. The method according to claim 4, characterized in that, If the data acquisition request is encrypted, then before automatically executing the preset task generation program to generate the data acquisition task based on the data acquisition time parameter, the method further includes: The collection request is decrypted to obtain the target data source information, the data collection time parameters, and the digital collection attribute information.

6. The method according to claim 4, characterized in that, Before sending the data to the blockchain, the method further includes: The data is signed to obtain signed data; Sending the data to the blockchain includes: The signature data is sent to the blockchain.

7. A device for generating digital collectibles on a blockchain platform, characterized in that, The device includes: The digital collectibles contract module is used to obtain data collection requests for generating digital collectibles through digital collectibles contracts deployed in blockchain nodes. The collection requests include at least target data source information, data collection time parameters, and digital collectible attribute information. The module also generates digital collectibles corresponding to the digital collectible attribute information based on the aggregated data obtained from the data collection contracts. The data acquisition contract module is used to trigger blockchain events according to the blockchain's event triggering mechanism. Through the data acquisition contract deployed in the blockchain nodes, the acquisition request is recorded in the blockchain's event log, so that each distributed data acquisition node can obtain the acquisition request from the event log and receive the data corresponding to the digital collection attribute information sent back by each distributed data acquisition node. The module aggregates the set of data corresponding to the digital collection attribute information sent back by each distributed data acquisition node to obtain the aggregated data.

8. The apparatus according to claim 7, characterized in that, If the data sent back by each distributed data collection node is signed data, then the data collection contract module is also used for: Verify the signature data sent back by each distributed data collection node. If the verification passes, obtain the data after removing the signature. Aggregate the set of data after removing the signature to obtain aggregated data.

9. A device for generating digital collectibles using distributed data acquisition nodes, characterized in that, The device includes: An interaction module is used to obtain data collection requests for generating digital collectibles from the blockchain's event log. The collection requests include at least target data source information, data collection time parameters, and digital collectible attribute information. The module obtains the data collection requests for generating digital collectibles through a digital collectible contract deployed in the blockchain node. A blockchain event is triggered according to the blockchain's event triggering mechanism. The data collection requests are recorded in the blockchain's event log through the data collection contract deployed in the blockchain node. The data collected by the data collection module is then sent to the blockchain, enabling the blockchain to generate digital collectibles corresponding to the digital collectible attribute information based on the data, using the data collection contract and the digital collectible contract. The task module is used to automatically execute a preset task generation program to generate data acquisition tasks based on the data acquisition time parameters. The data acquisition module is used to perform the data acquisition task and collect data corresponding to the digital collection attribute information from the target data source corresponding to the target data source information.

10. The apparatus according to claim 9, characterized in that, The device further includes: The signature module is used to sign the data collected by the data acquisition module to obtain signed data; The interaction module is used to send the signature data to the blockchain, so that the blockchain can generate a digital collectible corresponding to the attribute information of the digital collectible based on the signature data that has passed signature verification.

11. A system for generating digital collectibles, characterized in that, include: The blockchain is used to obtain data collection requests for generating digital collectibles through digital collectible contracts deployed in blockchain nodes. The collection request includes at least target data source information, data collection time parameters, and digital collectible attribute information. It also triggers blockchain events according to the blockchain's event triggering mechanism. The data collection contract deployed in the blockchain nodes records the collection request in the blockchain's event log and receives data corresponding to the digital collectible attribute information sent back by each distributed data collection node. The data set composed of the data corresponding to the digital collectible attribute information sent back by each distributed data collection node is aggregated to obtain aggregated data. Based on the aggregated data, a digital collectible corresponding to the digital collectible attribute information is generated. Distributed data acquisition nodes are used to obtain the acquisition request from the event log of the blockchain, automatically execute a preset task generation program according to the data acquisition time parameter, generate and execute a data acquisition task, collect data corresponding to the digital collection attribute information from the target data source corresponding to the target data source information, and send the data to the blockchain.

12. A computer-readable medium, characterized in that, It stores computer-readable instructions that are executed by a processor to implement the method as described in any one of claims 1 to 6.

13. An apparatus for generating digital collectibles, characterized in that, The device includes: One or more processors; and A memory storing computer-readable instructions, which, when executed, cause the processor to perform the operations of the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Asset digitization method, system and equipment

    CN114331407A

  • Digital product issuing hosting method and equipment

    CN114493610A